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 Details

  • Constructor Details

  • Method Details

    • date

      public HistoricalBalance date​(java.time.LocalDate 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

      public HistoricalBalance current​(java.lang.Double 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

      public HistoricalBalance isoCurrencyCode​(java.lang.String 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

      public HistoricalBalance unofficialCurrencyCode​(java.lang.String 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 class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object