Package com.stripe.param.v2.core
Class AccountCreateParams.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Builder
- Enclosing class:
- AccountCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllInclude
(List<AccountCreateParams.Include> elements) Add all elements to `include` list.addInclude
(AccountCreateParams.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, String> 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, String value) Add a key/value pair to `metadata` map.setConfiguration
(AccountCreateParams.Configuration configuration) An Account Configuration which allows the Account to take on a key persona across Stripe products.setContactEmail
(String contactEmail) The default contact email address for the Account.setDashboard
(AccountCreateParams.Dashboard dashboard) A value indicating the Stripe dashboard this Account has access to.setDefaults
(AccountCreateParams.Defaults defaults) Default values to be used on Account Configurations.setDisplayName
(String displayName) A descriptive name for the Account.setIdentity
(AccountCreateParams.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 AccountCreateParams.Builder setConfiguration(AccountCreateParams.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. -
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. -
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. SeeAccountCreateParams.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. SeeAccountCreateParams.extraParams
for 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. SeeAccountCreateParams.include
for 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. SeeAccountCreateParams.include
for 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. SeeAccountCreateParams.metadata
for 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. SeeAccountCreateParams.metadata
for the field documentation.
-