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
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getAsOf()
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()
Thetype
of the balance.int
hashCode()
void
The time that the external institution calculated this balance.void
setCash
(Account.Balance.Cash cash) void
setCredit
(Account.Balance.Credit credit) void
setCurrent
(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.void
Thetype
of the balance.Methods inherited from class com.stripe.model.StripeObject
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
Thetype
of 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
Thetype
of 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()
-