Class Account.BalanceRefresh

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

public static class Account.BalanceRefresh extends StripeObject
The credit that has been used 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.

  • Constructor Details

    • BalanceRefresh

      public BalanceRefresh()
  • Method Details

    • getLastAttemptedAt

      public Long getLastAttemptedAt()
      The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
    • getNextRefreshAvailableAt

      public Long getNextRefreshAvailableAt()
      Time at which the next balance refresh can be initiated. This value will be null when status is pending. Measured in seconds since the Unix epoch.
    • getStatus

      public String getStatus()
      The status of the last refresh attempt.

      One of failed, pending, or succeeded.

    • setLastAttemptedAt

      public void setLastAttemptedAt(Long lastAttemptedAt)
      The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
    • setNextRefreshAvailableAt

      public void setNextRefreshAvailableAt(Long nextRefreshAvailableAt)
      Time at which the next balance refresh can be initiated. This value will be null when status is pending. Measured in seconds since the Unix epoch.
    • setStatus

      public void setStatus(String status)
      The status of the last refresh attempt.

      One of failed, pending, or succeeded.

    • 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