Class Account.Balance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.financialconnections.Account.Balance
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account
For more details about Balance, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Cash, please refer to the API Reference.static classFor more details about Credit, please refer to the API Reference. -
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, before subtracting any outbound pending transactions or adding any inbound pending transactions.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, before subtracting any outbound pending transactions or adding any inbound pending transactions.voidThetypeof the balance.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, 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, before subtracting any outbound pending transactions or adding any inbound pending transactions.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, before subtracting any outbound pending transactions or adding any inbound pending transactions.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()
-