Package io.moov.sdk.models.components
Class WalletAvailableBalance
- java.lang.Object
-
- io.moov.sdk.models.components.WalletAvailableBalance
-
public class WalletAvailableBalance extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWalletAvailableBalance.Builder
-
Constructor Summary
Constructors Constructor Description WalletAvailableBalance(java.lang.String currency, long value, java.lang.String valueDecimal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WalletAvailableBalance.Builderbuilder()java.lang.Stringcurrency()A 3-letter ISO 4217 currency code.booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()longvalue()Quantity in the smallest unit of the specified currency.java.lang.StringvalueDecimal()WalletAvailableBalancewithCurrency(java.lang.String currency)A 3-letter ISO 4217 currency code.WalletAvailableBalancewithValue(long value)Quantity in the smallest unit of the specified currency.WalletAvailableBalancewithValueDecimal(java.lang.String valueDecimal)
-
-
-
Method Detail
-
currency
public java.lang.String currency()
A 3-letter ISO 4217 currency code.
-
value
public long value()
Quantity in the smallest unit of the specified currency.In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
-
valueDecimal
public java.lang.String valueDecimal()
-
builder
public static final WalletAvailableBalance.Builder builder()
-
withCurrency
public WalletAvailableBalance withCurrency(java.lang.String currency)
A 3-letter ISO 4217 currency code.
-
withValue
public WalletAvailableBalance withValue(long value)
Quantity in the smallest unit of the specified currency.In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
-
withValueDecimal
public WalletAvailableBalance withValueDecimal(java.lang.String valueDecimal)
-
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
-
-