Package com.stripe.param.v2.core
Class AccountCreateParams.Identity.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Identity.Builder
- Enclosing class:
- AccountCreateParams.Identity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()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.setAttestations(AccountCreateParams.Identity.Attestations attestations) Attestations from the identity's key people, e.g.setBusinessDetails(AccountCreateParams.Identity.BusinessDetails businessDetails) Information about the company or business.setCountry(String country) The country in which the account holder resides, or in which the business is legally established.setEntityType(AccountCreateParams.Identity.EntityType entityType) The entity type represented by the Account.setIndividual(AccountCreateParams.Identity.Individual individual) Information about the person represented by the account.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAttestations
public AccountCreateParams.Identity.Builder setAttestations(AccountCreateParams.Identity.Attestations attestations) Attestations from the identity's key people, e.g. owners, executives, directors, representatives. -
setBusinessDetails
public AccountCreateParams.Identity.Builder setBusinessDetails(AccountCreateParams.Identity.BusinessDetails businessDetails) Information about the company or business. -
setCountry
The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. -
setEntityType
public AccountCreateParams.Identity.Builder setEntityType(AccountCreateParams.Identity.EntityType entityType) The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated. -
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.Identity.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. SeeAccountCreateParams.Identity.extraParamsfor the field documentation. -
setIndividual
public AccountCreateParams.Identity.Builder setIndividual(AccountCreateParams.Identity.Individual individual) Information about the person represented by the account.
-