Package com.stripe.model
Class Balance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.Balance
- All Implemented Interfaces:
StripeObjectInterface
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFunds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API.Funds held due to negative balances on connected Custom accounts.Funds that can be paid out using Instant Payouts.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.Funds that are not yet available in the balance, due to the 7-day rolling pay cycle.inthashCode()static Balanceretrieve()Retrieves the current account balance, based on the authentication that was used to make the request.static Balanceretrieve(RequestOptions options) Retrieves the current account balance, based on the authentication that was used to make the request.static Balanceretrieve(BalanceRetrieveParams params, RequestOptions options) Retrieves the current account balance, based on the authentication that was used to make the request.static Balanceretrieve(Map<String, Object> params, RequestOptions options) Retrieves the current account balance, based on the authentication that was used to make the request.voidsetAvailable(List<Balance.Money> available) Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API.voidsetConnectReserved(List<Balance.Money> connectReserved) Funds held due to negative balances on connected Custom accounts.voidsetInstantAvailable(List<Balance.Money> instantAvailable) Funds that can be paid out using Instant Payouts.voidsetIssuing(Balance.Details issuing) voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetPending(List<Balance.Money> pending) Funds that are not yet available in the balance, due to the 7-day rolling pay cycle.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Balance
public Balance()
-
-
Method Details
-
retrieve
Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see Accounting for negative balances.- Throws:
StripeException
-
retrieve
Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see Accounting for negative balances.- Throws:
StripeException
-
retrieve
public static Balance retrieve(Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see Accounting for negative balances.- Throws:
StripeException
-
retrieve
public static Balance retrieve(BalanceRetrieveParams params, RequestOptions options) throws StripeException Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see Accounting for negative balances.- Throws:
StripeException
-
getAvailable
Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API. The available balance for each currency and payment type can be found in thesource_typesproperty. -
getConnectReserved
Funds held due to negative balances on connected Custom accounts. The connect reserve balance for each currency and payment type can be found in thesource_typesproperty. -
getInstantAvailable
Funds that can be paid out using Instant Payouts. -
getIssuing
-
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
balance. -
getPending
Funds that are not yet available in the balance, due to the 7-day rolling pay cycle. The pending balance for each currency, and for each payment type, can be found in thesource_typesproperty. -
setAvailable
Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API. The available balance for each currency and payment type can be found in thesource_typesproperty. -
setConnectReserved
Funds held due to negative balances on connected Custom accounts. The connect reserve balance for each currency and payment type can be found in thesource_typesproperty. -
setInstantAvailable
Funds that can be paid out using Instant Payouts. -
setIssuing
-
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
balance. -
setPending
Funds that are not yet available in the balance, due to the 7-day rolling pay cycle. The pending balance for each currency, and for each payment type, can be found in thesource_typesproperty. -
equals
-
canEqual
-
hashCode
public int hashCode()
-