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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor 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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanString representing the object's type.inthashCode()static BalanceSettingsretrieve()Retrieves balance settings for a given connected account.static BalanceSettingsretrieve(RequestOptions options) Retrieves balance settings for a given connected account.static BalanceSettingsretrieve(BalanceSettingsRetrieveParams params, RequestOptions options) Retrieves balance settings for a given connected account.static BalanceSettingsretrieve(Map<String, Object> params, RequestOptions options) Retrieves balance settings for a given connected account.voidString representing the object's type.voidsetPayments(BalanceSettings.Payments payments) voidsetResponseGetter(StripeResponseGetter responseGetter) The number of days charge funds are held before becoming available.static BalanceSettingsupdate(BalanceSettingsUpdateParams params) Updates balance settings for a given connected account.static BalanceSettingsupdate(BalanceSettingsUpdateParams params, RequestOptions options) Updates balance settings for a given connected account.static BalanceSettingsUpdates balance settings for a given connected account.static BalanceSettingsupdate(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, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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. If present, overrides the default, or minimum available, for the account.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance 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()
-