Class WalletAvailableBalance


  • public class WalletAvailableBalance
    extends java.lang.Object
    • Constructor Detail

      • WalletAvailableBalance

        public WalletAvailableBalance​(java.lang.String currency,
                                      long value,
                                      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()
      • 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.

      • 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