Class InferredBalance

java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.InferredBalance
All Implemented Interfaces:
HasId, StripeObjectInterface

public class InferredBalance extends ApiResource implements HasId
A historical balance for the account on a particular day. It may be sourced from a balance snapshot provided by a financial institution, or inferred using transactions data.
  • Constructor Details

    • InferredBalance

      public InferredBalance()
  • Method Details

    • list

      public static InferredBalanceCollection list(String account, Map<String,Object> params) throws StripeException
      Lists the recorded inferred balances for a Financial Connections Account.
      Throws:
      StripeException
    • list

      public static InferredBalanceCollection list(String account, Map<String,Object> params, RequestOptions options) throws StripeException
      Lists the recorded inferred balances for a Financial Connections Account.
      Throws:
      StripeException
    • list

      public static InferredBalanceCollection list(String account, InferredBalanceListParams params) throws StripeException
      Lists the recorded inferred balances for a Financial Connections Account.
      Throws:
      StripeException
    • list

      public static InferredBalanceCollection list(String account, InferredBalanceListParams params, RequestOptions options) throws StripeException
      Lists the recorded inferred balances for a Financial Connections Account.
      Throws:
      StripeException
    • getAsOf

      public Long getAsOf()
      The time for which this balance was calculated, measured in seconds since the Unix epoch. If the balance was computed by Stripe and not provided directly by a financial institution, it will always be 23:59:59 UTC.
    • 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.

    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to financial_connections.account_inferred_balance.

    • setAsOf

      public void setAsOf(Long asOf)
      The time for which this balance was calculated, measured in seconds since the Unix epoch. If the balance was computed by Stripe and not provided directly by a financial institution, it will always be 23:59:59 UTC.
    • 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.

    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to financial_connections.account_inferred_balance.

    • 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
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId