Package com.stripe.param.v2.core
Class AccountUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Builder
- Enclosing class:
- AccountUpdateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllInclude(List<AccountUpdateParams.Include> elements) Add all elements to `include` list.addInclude(AccountUpdateParams.Include element) Add an element to `include` list.build()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata(Map<String, Object> map) Add all map key/value pairs to `metadata` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata(String key, EmptyParam value) Add a key/value pair to `metadata` map.putMetadata(String key, String value) Add a key/value pair to `metadata` map.setConfiguration(AccountUpdateParams.Configuration configuration) An Account Configuration which allows the Account to take on a key persona across Stripe products.setContactEmail(EmptyParam contactEmail) The default contact email address for the Account.setContactEmail(String contactEmail) The default contact email address for the Account.setDashboard(AccountUpdateParams.Dashboard dashboard) A value indicating the Stripe dashboard this Account has access to.setDefaults(AccountUpdateParams.Defaults defaults) Default values to be used on Account Configurations.setDisplayName(EmptyParam displayName) A descriptive name for the Account.setDisplayName(String displayName) A descriptive name for the Account.setIdentity(AccountUpdateParams.Identity identity) Information about the company, individual, and business represented by the Account.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setConfiguration
public AccountUpdateParams.Builder setConfiguration(AccountUpdateParams.Configuration configuration) An Account Configuration which allows the Account to take on a key persona across Stripe products. -
setContactEmail
The default contact email address for the Account. Required when configuring the account as a merchant or recipient. -
setContactEmail
The default contact email address for the Account. Required when configuring the account as a merchant or recipient. -
setDashboard
A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account. -
setDefaults
Default values to be used on Account Configurations. -
setDisplayName
A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account. -
setDisplayName
A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account. -
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.extraParamsfor 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.extraParamsfor the field documentation. -
setIdentity
Information about the company, individual, and business represented by the Account. -
addInclude
Add an element to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.includefor the field documentation. -
addAllInclude
Add all elements to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.includefor the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountUpdateParams.metadatafor the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountUpdateParams.metadatafor the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. Map values can only be one of the following types: `String`, `EmptyParam`. SeeAccountUpdateParams.metadatafor the field documentation.
-