Class AccountInferredBalance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.AccountInferredBalance
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getAsOf()
The time for which this balance was calculated, measured in seconds since the Unix epoch.The balances owed to (or by) the account holder.getId()
Unique identifier for the object.String representing the object's type.int
hashCode()
list
(String account, AccountInferredBalanceListParams params) Lists the recorded inferred balances for a Financial ConnectionsAccount
.list
(String account, AccountInferredBalanceListParams params, RequestOptions options) Lists the recorded inferred balances for a Financial ConnectionsAccount
.Lists the recorded inferred balances for a Financial ConnectionsAccount
.Lists the recorded inferred balances for a Financial ConnectionsAccount
.void
The time for which this balance was calculated, measured in seconds since the Unix epoch.void
setCurrent
(Map<String, Long> current) The balances owed to (or by) the account holder.void
Unique identifier for the object.void
String representing the object's type.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, rawRequest, setExpandableFieldId, setResponseGetter, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
AccountInferredBalance
public AccountInferredBalance()
-
-
Method Details
-
list
public static AccountInferredBalanceCollection list(String account, Map<String, Object> params) throws StripeExceptionLists the recorded inferred balances for a Financial ConnectionsAccount
.- Throws:
StripeException
-
list
public static AccountInferredBalanceCollection list(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionLists the recorded inferred balances for a Financial ConnectionsAccount
.- Throws:
StripeException
-
list
public static AccountInferredBalanceCollection list(String account, AccountInferredBalanceListParams params) throws StripeException Lists the recorded inferred balances for a Financial ConnectionsAccount
.- Throws:
StripeException
-
list
public static AccountInferredBalanceCollection list(String account, AccountInferredBalanceListParams params, RequestOptions options) throws StripeException Lists the recorded inferred balances for a Financial ConnectionsAccount
.- Throws:
StripeException
-
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
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
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.account_inferred_balance
. -
setAsOf
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
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
Unique identifier for the object. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.account_inferred_balance
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-