Class Account.Balance

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.financialconnections.Account.Balance
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Account

public static class Account.Balance extends StripeObject
  • Constructor Details

    • Balance

      public Balance()
  • Method Details

    • getAsOf

      public Long getAsOf()
      The time that the external institution calculated this balance. Measured in seconds since the Unix epoch.
    • getCash

      public Account.Balance.Cash getCash()
    • getCredit

      public Account.Balance.Credit getCredit()
    • getCurrent

      public Map<String,Long> getCurrent()
      The balances owed to (or by) the account holder.

      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

      public String getType()
      The type of the balance. An additional hash is included on the balance with a name matching this value.

      One of cash, or credit.

    • setAsOf

      public void setAsOf(Long asOf)
      The time that the external institution calculated this balance. Measured in seconds since the Unix epoch.
    • setCash

      public void setCash(Account.Balance.Cash cash)
    • setCredit

      public void setCredit(Account.Balance.Credit credit)
    • setCurrent

      public void setCurrent(Map<String,Long> current)
      The balances owed to (or by) the account holder.

      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

      public void setType(String type)
      The type of the balance. An additional hash is included on the balance with a name matching this value.

      One of cash, or credit.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object