Class InferredBalance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.InferredBalance
- All Implemented Interfaces:
HasId
,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
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
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()
static InferredBalanceCollection
list
(String account, InferredBalanceListParams params) Lists the recorded inferred balances for a Financial ConnectionsAccount
.static InferredBalanceCollection
list
(String account, InferredBalanceListParams params, RequestOptions options) Lists the recorded inferred balances for a Financial ConnectionsAccount
.static InferredBalanceCollection
Lists the recorded inferred balances for a Financial ConnectionsAccount
.static InferredBalanceCollection
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, classUrl, classUrl, fullUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
InferredBalance
public InferredBalance()
-
-
Method Details
-
list
public static InferredBalanceCollection list(String account, Map<String, Object> params) throws StripeExceptionLists the recorded inferred balances for a Financial ConnectionsAccount
.- Throws:
StripeException
-
list
public static InferredBalanceCollection list(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionLists the recorded inferred balances for a Financial ConnectionsAccount
.- Throws:
StripeException
-
list
public static InferredBalanceCollection list(String account, InferredBalanceListParams params) throws StripeException Lists the recorded inferred balances for a Financial ConnectionsAccount
.- Throws:
StripeException
-
list
public static InferredBalanceCollection list(String account, InferredBalanceListParams 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.
-