Class AggregateBalance
-
- All Implemented Interfaces:
public final class AggregateBalanceAggregate Balance across all end-user accounts
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAggregateBalance.BuilderA builder for AggregateBalance.
public final classAggregateBalance.FinancialAccountTypeType of financial account
-
Method Summary
Modifier and Type Method Description final LongavailableAmount()Funds available for spend in the currency's smallest unit (e.g. final OffsetDateTimecreated()Date and time for when the balance was first created. final Stringcurrency()3-character alphabetic ISO 4217 code for the local currency of the balance. final AggregateBalance.FinancialAccountTypefinancialAccountType()Type of financial account final StringlastFinancialAccountToken()Globally unique identifier for the financial account that had its balance updated most recently final StringlastTransactionEventToken()Globally unique identifier for the last transaction event that impacted this balance final StringlastTransactionToken()Globally unique identifier for the last transaction that impacted this balance final LongpendingAmount()Funds not available for spend due to card authorizations or pending ACH release. final LongtotalAmount()The sum of available and pending balance in the currency's smallest unit (e.g. final OffsetDateTimeupdated()Date and time for when the balance was last updated. final JsonField<Long>_availableAmount()Returns the raw JSON value of availableAmount. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<String>_currency()Returns the raw JSON value of currency. final JsonField<AggregateBalance.FinancialAccountType>_financialAccountType()Returns the raw JSON value of financialAccountType. final JsonField<String>_lastFinancialAccountToken()Returns the raw JSON value of lastFinancialAccountToken. final JsonField<String>_lastTransactionEventToken()Returns the raw JSON value of lastTransactionEventToken. final JsonField<String>_lastTransactionToken()Returns the raw JSON value of lastTransactionToken. final JsonField<Long>_pendingAmount()Returns the raw JSON value of pendingAmount. final JsonField<Long>_totalAmount()Returns the raw JSON value of totalAmount. final JsonField<OffsetDateTime>_updated()Returns the raw JSON value of updated. final Map<String, JsonValue>_additionalProperties()final AggregateBalance.BuildertoBuilder()final AggregateBalancevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AggregateBalance.Builderbuilder()Returns a mutable builder for constructing an instance of AggregateBalance. -
-
Method Detail
-
availableAmount
final Long availableAmount()
Funds available for spend in the currency's smallest unit (e.g., cents for USD)
-
created
final OffsetDateTime created()
Date and time for when the balance was first created.
-
currency
final String currency()
3-character alphabetic ISO 4217 code for the local currency of the balance.
-
financialAccountType
final AggregateBalance.FinancialAccountType financialAccountType()
Type of financial account
-
lastFinancialAccountToken
final String lastFinancialAccountToken()
Globally unique identifier for the financial account that had its balance updated most recently
-
lastTransactionEventToken
final String lastTransactionEventToken()
Globally unique identifier for the last transaction event that impacted this balance
-
lastTransactionToken
final String lastTransactionToken()
Globally unique identifier for the last transaction that impacted this balance
-
pendingAmount
final Long pendingAmount()
Funds not available for spend due to card authorizations or pending ACH release. Shown in the currency's smallest unit (e.g., cents for USD)
-
totalAmount
final Long totalAmount()
The sum of available and pending balance in the currency's smallest unit (e.g., cents for USD)
-
updated
final OffsetDateTime updated()
Date and time for when the balance was last updated.
-
_availableAmount
final JsonField<Long> _availableAmount()
Returns the raw JSON value of availableAmount.
Unlike availableAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_currency
final JsonField<String> _currency()
Returns the raw JSON value of currency.
Unlike currency, this method doesn't throw if the JSON field has an unexpected type.
-
_financialAccountType
final JsonField<AggregateBalance.FinancialAccountType> _financialAccountType()
Returns the raw JSON value of financialAccountType.
Unlike financialAccountType, this method doesn't throw if the JSON field has an unexpected type.
-
_lastFinancialAccountToken
final JsonField<String> _lastFinancialAccountToken()
Returns the raw JSON value of lastFinancialAccountToken.
Unlike lastFinancialAccountToken, this method doesn't throw if the JSON field has an unexpected type.
-
_lastTransactionEventToken
final JsonField<String> _lastTransactionEventToken()
Returns the raw JSON value of lastTransactionEventToken.
Unlike lastTransactionEventToken, this method doesn't throw if the JSON field has an unexpected type.
-
_lastTransactionToken
final JsonField<String> _lastTransactionToken()
Returns the raw JSON value of lastTransactionToken.
Unlike lastTransactionToken, this method doesn't throw if the JSON field has an unexpected type.
-
_pendingAmount
final JsonField<Long> _pendingAmount()
Returns the raw JSON value of pendingAmount.
Unlike pendingAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_totalAmount
final JsonField<Long> _totalAmount()
Returns the raw JSON value of totalAmount.
Unlike totalAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_updated
final JsonField<OffsetDateTime> _updated()
Returns the raw JSON value of updated.
Unlike updated, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AggregateBalance.Builder toBuilder()
-
validate
final AggregateBalance validate()
-
builder
final static AggregateBalance.Builder builder()
Returns a mutable builder for constructing an instance of AggregateBalance.
The following fields are required:
.availableAmount() .created() .currency() .financialAccountType() .lastFinancialAccountToken() .lastTransactionEventToken() .lastTransactionToken() .pendingAmount() .totalAmount() .updated()
-
-
-
-