Package com.stripe.model
Class BalanceSettings
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.BalanceSettings
- All Implemented Interfaces:
StripeActiveObject
,StripeObjectInterface
Options for customizing account balances and payout settings for a Stripe platform’s connected
accounts.
This API is only available for users enrolled in the public preview for Accounts v2 on Stripe Connect. If you are not in this preview, please use the Accounts v1 API to manage your connected accounts’ balance settings instead.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Payments, please refer to the API Reference.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
String representing the object's type.int
hashCode()
static BalanceSettings
retrieve()
Retrieves balance settings for a given connected account.static BalanceSettings
retrieve
(RequestOptions options) Retrieves balance settings for a given connected account.static BalanceSettings
retrieve
(BalanceSettingsRetrieveParams params, RequestOptions options) Retrieves balance settings for a given connected account.static BalanceSettings
retrieve
(Map<String, Object> params, RequestOptions options) Retrieves balance settings for a given connected account.void
String representing the object's type.void
setPayments
(BalanceSettings.Payments payments) void
setResponseGetter
(StripeResponseGetter responseGetter) The number of days charge funds are held before becoming available.static BalanceSettings
update
(BalanceSettingsUpdateParams params) Updates balance settings for a given connected account.static BalanceSettings
update
(BalanceSettingsUpdateParams params, RequestOptions options) Updates balance settings for a given connected account.static BalanceSettings
Updates balance settings for a given connected account.static BalanceSettings
update
(Map<String, Object> params, RequestOptions options) Updates balance settings for a given connected account.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, 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
-
BalanceSettings
public BalanceSettings()
-
-
Method Details
-
retrieve
Retrieves balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
retrieve
Retrieves balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
retrieve
public static BalanceSettings retrieve(Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
retrieve
public static BalanceSettings retrieve(BalanceSettingsRetrieveParams params, RequestOptions options) throws StripeException Retrieves balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
update
Updates balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
update
public static BalanceSettings update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
update
Updates balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
update
public static BalanceSettings update(BalanceSettingsUpdateParams params, RequestOptions options) throws StripeException Updates balance settings for a given connected account. Related guide: Making API calls for connected accounts- Throws:
StripeException
-
setResponseGetter
The number of days charge funds are held before becoming available.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
balance_settings
. -
getPayments
-
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
balance_settings
. -
setPayments
-
equals
-
canEqual
-
hashCode
public int hashCode()
-