Class Account.Balance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.financialconnections.Account.Balance
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetAsOf()The time that the external institution calculated this balance.getCash()The balances owed to (or by) the account holder.getType()Thetypeof the balance.inthashCode()voidThe time that the external institution calculated this balance.voidsetCash(Account.Balance.Cash cash) voidsetCredit(Account.Balance.Credit credit) voidsetCurrent(Map<String, Long> current) The balances owed to (or by) the account holder.voidThetypeof the balance.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Balance
public Balance()
-
-
Method Details
-
getAsOf
The time that the external institution calculated this balance. Measured in seconds since the Unix epoch. -
getCash
-
getCredit
-
getCurrent
The balances owed to (or by) the account holder.Each key is a three-letter ISO currency code, in lowercase.
Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
-
getType
Thetypeof the balance. An additional hash is included on the balance with a name matching this value.One of
cash, orcredit. -
setAsOf
The time that the external institution calculated this balance. Measured in seconds since the Unix epoch. -
setCash
-
setCredit
-
setCurrent
The balances owed to (or by) the account holder.Each key is a three-letter ISO currency code, in lowercase.
Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
-
setType
Thetypeof the balance. An additional hash is included on the balance with a name matching this value.One of
cash, orcredit. -
equals
-
canEqual
-
hashCode
public int hashCode()
-