Package com.plaid.client.model
Class HistoricalBalance
java.lang.Object
com.plaid.client.model.HistoricalBalance
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class HistoricalBalance
extends java.lang.Object
An object representing a balance held by an account in the past
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_CURRENT
static java.lang.String
SERIALIZED_NAME_DATE
static java.lang.String
SERIALIZED_NAME_ISO_CURRENCY_CODE
static java.lang.String
SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE
-
Constructor Summary
Constructors Constructor Description HistoricalBalance()
-
Method Summary
Modifier and Type Method Description HistoricalBalance
current(java.lang.Double current)
HistoricalBalance
date(java.time.LocalDate date)
boolean
equals(java.lang.Object o)
java.lang.Double
getCurrent()
The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction.java.time.LocalDate
getDate()
The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD)java.lang.String
getIsoCurrencyCode()
The ISO-4217 currency code of the balance.java.lang.String
getUnofficialCurrencyCode()
The unofficial currency code associated with the balance.int
hashCode()
HistoricalBalance
isoCurrencyCode(java.lang.String isoCurrencyCode)
void
setCurrent(java.lang.Double current)
void
setDate(java.time.LocalDate date)
void
setIsoCurrencyCode(java.lang.String isoCurrencyCode)
void
setUnofficialCurrencyCode(java.lang.String unofficialCurrencyCode)
java.lang.String
toString()
HistoricalBalance
unofficialCurrencyCode(java.lang.String unofficialCurrencyCode)
-
Field Details
-
SERIALIZED_NAME_DATE
public static final java.lang.String SERIALIZED_NAME_DATE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CURRENT
public static final java.lang.String SERIALIZED_NAME_CURRENT- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISO_CURRENCY_CODE
public static final java.lang.String SERIALIZED_NAME_ISO_CURRENCY_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE
public static final java.lang.String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE- See Also:
- Constant Field Values
-
-
Constructor Details
-
HistoricalBalance
public HistoricalBalance()
-
-
Method Details
-
date
-
getDate
public java.time.LocalDate getDate()The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD)- Returns:
- date
-
setDate
public void setDate(java.time.LocalDate date) -
current
-
getCurrent
public java.lang.Double getCurrent()The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction. If the account has any pending transactions, historical balance amounts on or after the date of the earliest pending transaction may differ if retrieved in subsequent Asset Reports as a result of those pending transactions posting.- Returns:
- current
-
setCurrent
public void setCurrent(java.lang.Double current) -
isoCurrencyCode
-
getIsoCurrencyCode
@Nullable public java.lang.String getIsoCurrencyCode()The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`.- Returns:
- isoCurrencyCode
-
setIsoCurrencyCode
public void setIsoCurrencyCode(java.lang.String isoCurrencyCode) -
unofficialCurrencyCode
-
getUnofficialCurrencyCode
@Nullable public java.lang.String getUnofficialCurrencyCode()The unofficial currency code associated with the balance. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.- Returns:
- unofficialCurrencyCode
-
setUnofficialCurrencyCode
public void setUnofficialCurrencyCode(java.lang.String unofficialCurrencyCode) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-