Package io.moov.sdk.models.components
Class IncurredFee
- java.lang.Object
-
- io.moov.sdk.models.components.IncurredFee
-
public class IncurredFee extends java.lang.ObjectIncurredFeeA fee incurred by a user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIncurredFee.Builder
-
Constructor Summary
Constructors Constructor Description IncurredFee()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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>accountID()java.util.Optional<AmountDecimal>amount()static IncurredFee.Builderbuilder()java.util.Optional<java.time.OffsetDateTime>createdOn()booleanequals(java.lang.Object o)java.util.Optional<java.lang.String>feeID()java.util.Optional<java.lang.String>feeName()java.util.Optional<GeneratedBy>generatedBy()The entity that generated the fee.inthashCode()java.lang.StringtoString()java.util.Optional<java.lang.String>walletID()IncurredFeewithAccountID(java.lang.String accountID)IncurredFeewithAccountID(java.util.Optional<java.lang.String> accountID)IncurredFeewithAmount(AmountDecimal amount)IncurredFeewithAmount(java.util.Optional<? extends AmountDecimal> amount)IncurredFeewithCreatedOn(java.time.OffsetDateTime createdOn)IncurredFeewithCreatedOn(java.util.Optional<java.time.OffsetDateTime> createdOn)IncurredFeewithFeeID(java.lang.String feeID)IncurredFeewithFeeID(java.util.Optional<java.lang.String> feeID)IncurredFeewithFeeName(java.lang.String feeName)IncurredFeewithFeeName(java.util.Optional<java.lang.String> feeName)IncurredFeewithGeneratedBy(GeneratedBy generatedBy)The entity that generated the fee.IncurredFeewithGeneratedBy(java.util.Optional<? extends GeneratedBy> generatedBy)The entity that generated the fee.IncurredFeewithWalletID(java.lang.String walletID)IncurredFeewithWalletID(java.util.Optional<java.lang.String> walletID)
-
-
-
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()
-
amount
public java.util.Optional<AmountDecimal> amount()
-
generatedBy
public java.util.Optional<GeneratedBy> generatedBy()
The entity that generated the fee.
-
builder
public static IncurredFee.Builder builder()
-
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)
-
withAmount
public IncurredFee withAmount(AmountDecimal amount)
-
withAmount
public IncurredFee withAmount(java.util.Optional<? extends AmountDecimal> amount)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-