Class IncurredFee


  • public class IncurredFee
    extends java.lang.Object
    IncurredFee

    A fee incurred by a user.

    • Constructor Detail

      • IncurredFee

        public IncurredFee​(java.util.Optional<java.lang.String> feeID,
                           java.util.Optional<java.lang.String> accountID,
                           java.util.Optional<java.lang.String> walletID,
                           java.util.Optional<java.time.OffsetDateTime> createdOn,
                           java.util.Optional<java.lang.String> feeName,
                           java.util.Optional<? extends AmountDecimal> amount,
                           java.util.Optional<? extends GeneratedBy> generatedBy)
      • IncurredFee

        public IncurredFee()
    • Method Detail

      • feeID

        public java.util.Optional<java.lang.String> feeID()
      • accountID

        public java.util.Optional<java.lang.String> accountID()
      • walletID

        public java.util.Optional<java.lang.String> walletID()
      • createdOn

        public java.util.Optional<java.time.OffsetDateTime> createdOn()
      • feeName

        public java.util.Optional<java.lang.String> feeName()
      • generatedBy

        public java.util.Optional<GeneratedBy> generatedBy()
        The entity that generated the fee.
      • withFeeID

        public IncurredFee withFeeID​(java.lang.String feeID)
      • withFeeID

        public IncurredFee withFeeID​(java.util.Optional<java.lang.String> feeID)
      • withAccountID

        public IncurredFee withAccountID​(java.lang.String accountID)
      • withAccountID

        public IncurredFee withAccountID​(java.util.Optional<java.lang.String> accountID)
      • withWalletID

        public IncurredFee withWalletID​(java.lang.String walletID)
      • withWalletID

        public IncurredFee withWalletID​(java.util.Optional<java.lang.String> walletID)
      • withCreatedOn

        public IncurredFee withCreatedOn​(java.time.OffsetDateTime createdOn)
      • withCreatedOn

        public IncurredFee withCreatedOn​(java.util.Optional<java.time.OffsetDateTime> createdOn)
      • withFeeName

        public IncurredFee withFeeName​(java.lang.String feeName)
      • withFeeName

        public IncurredFee withFeeName​(java.util.Optional<java.lang.String> feeName)
      • withGeneratedBy

        public IncurredFee withGeneratedBy​(GeneratedBy generatedBy)
        The entity that generated the fee.
      • withGeneratedBy

        public IncurredFee withGeneratedBy​(java.util.Optional<? extends GeneratedBy> generatedBy)
        The entity that generated the fee.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object