Package com.stripe.param.v2.core
Class AccountCreateParams.Identity.Individual.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Identity.Individual.Builder
- Enclosing class:
- AccountCreateParams.Identity.Individual
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd an element to `additionalAddresses` list.Add an element to `additionalNames` list.Add all elements to `additionalAddresses` list.Add all elements to `additionalNames` list.Add all elements to `idNumbers` list.Add all elements to `nationalities` list.Add an element to `idNumbers` list.Add an element to `nationalities` 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.The individual's residential address.The individual's date of birth.Documents that may be submitted to satisfy various informational requests.The individual's email address.setGivenName
(String givenName) The individual's first name.The individual's gender (International regulations require either "male" or "female").The individual's phone number.setPoliticalExposure
(AccountCreateParams.Identity.Individual.PoliticalExposure politicalExposure) The individual's political exposure.The relationship that this individual has with the account's identity.The script addresses (e.g., non-Latin characters) associated with the individual.The individuals primary name in non latin script.setSurname
(String surname) The individual's last name.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAdditionalAddress
public AccountCreateParams.Identity.Individual.Builder addAdditionalAddress(AccountCreateParams.Identity.Individual.AdditionalAddress element) Add an element to `additionalAddresses` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.additionalAddresses
for the field documentation. -
addAllAdditionalAddress
public AccountCreateParams.Identity.Individual.Builder addAllAdditionalAddress(List<AccountCreateParams.Identity.Individual.AdditionalAddress> elements) Add all elements to `additionalAddresses` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.additionalAddresses
for the field documentation. -
addAdditionalName
public AccountCreateParams.Identity.Individual.Builder addAdditionalName(AccountCreateParams.Identity.Individual.AdditionalName element) Add an element to `additionalNames` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.additionalNames
for the field documentation. -
addAllAdditionalName
public AccountCreateParams.Identity.Individual.Builder addAllAdditionalName(List<AccountCreateParams.Identity.Individual.AdditionalName> elements) Add all elements to `additionalNames` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.additionalNames
for the field documentation. -
setAddress
public AccountCreateParams.Identity.Individual.Builder setAddress(AccountCreateParams.Identity.Individual.Address address) The individual's residential address. -
setDateOfBirth
public AccountCreateParams.Identity.Individual.Builder setDateOfBirth(AccountCreateParams.Identity.Individual.DateOfBirth dateOfBirth) The individual's date of birth. -
setDocuments
public AccountCreateParams.Identity.Individual.Builder setDocuments(AccountCreateParams.Identity.Individual.Documents documents) Documents that may be submitted to satisfy various informational requests. -
setEmail
The individual's email address. -
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.Individual.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.Identity.Individual.extraParams
for the field documentation. -
setGivenName
The individual's first name. -
addIdNumber
public AccountCreateParams.Identity.Individual.Builder addIdNumber(AccountCreateParams.Identity.Individual.IdNumber element) Add an element to `idNumbers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.idNumbers
for the field documentation. -
addAllIdNumber
public AccountCreateParams.Identity.Individual.Builder addAllIdNumber(List<AccountCreateParams.Identity.Individual.IdNumber> elements) Add all elements to `idNumbers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.idNumbers
for the field documentation. -
setLegalGender
public AccountCreateParams.Identity.Individual.Builder setLegalGender(AccountCreateParams.Identity.Individual.LegalGender legalGender) The individual's gender (International regulations require either "male" or "female"). -
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.Identity.Individual.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.Identity.Individual.metadata
for the field documentation. -
addNationality
public AccountCreateParams.Identity.Individual.Builder addNationality(AccountCreateParams.Identity.Individual.Nationality element) Add an element to `nationalities` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.nationalities
for the field documentation. -
addAllNationality
public AccountCreateParams.Identity.Individual.Builder addAllNationality(List<AccountCreateParams.Identity.Individual.Nationality> elements) Add all elements to `nationalities` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountCreateParams.Identity.Individual.nationalities
for the field documentation. -
setPhone
The individual's phone number. -
setPoliticalExposure
public AccountCreateParams.Identity.Individual.Builder setPoliticalExposure(AccountCreateParams.Identity.Individual.PoliticalExposure politicalExposure) The individual's political exposure. -
setRelationship
public AccountCreateParams.Identity.Individual.Builder setRelationship(AccountCreateParams.Identity.Individual.Relationship relationship) The relationship that this individual has with the account's identity. -
setScriptAddresses
public AccountCreateParams.Identity.Individual.Builder setScriptAddresses(AccountCreateParams.Identity.Individual.ScriptAddresses scriptAddresses) The script addresses (e.g., non-Latin characters) associated with the individual. -
setScriptNames
public AccountCreateParams.Identity.Individual.Builder setScriptNames(AccountCreateParams.Identity.Individual.ScriptNames scriptNames) The individuals primary name in non latin script. -
setSurname
The individual's last name.
-