Package com.stripe.param.v2.core
Class AccountUpdateParams.Defaults.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Defaults.Builder
- Enclosing class:
- AccountUpdateParams.Defaults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllLocale
(List<AccountUpdateParams.Defaults.Locale> elements) Add all elements to `locales` list.Add an element to `locales` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Three-letter ISO currency code, in lowercase.setResponsibilities
(AccountUpdateParams.Defaults.Responsibilities responsibilities) Default responsibilities held by either Stripe or the platform.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCurrency
public AccountUpdateParams.Defaults.Builder setCurrency(AccountUpdateParams.Defaults.Currency currency) Three-letter ISO currency code, in lowercase. Must be a supported currency. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountUpdateParams.Defaults.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountUpdateParams.Defaults.extraParams
for the field documentation. -
addLocale
Add an element to `locales` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.Defaults.locales
for the field documentation. -
addAllLocale
public AccountUpdateParams.Defaults.Builder addAllLocale(List<AccountUpdateParams.Defaults.Locale> elements) Add all elements to `locales` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.Defaults.locales
for the field documentation. -
setResponsibilities
public AccountUpdateParams.Defaults.Builder setResponsibilities(AccountUpdateParams.Defaults.Responsibilities responsibilities) Default responsibilities held by either Stripe or the platform.
-