Package com.stripe.param.v2.core
Class AccountTokenCreateParams.Identity.Individual.Builder
java.lang.Object
com.stripe.param.v2.core.AccountTokenCreateParams.Identity.Individual.Builder
- Enclosing class:
- AccountTokenCreateParams.Identity.Individual
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd an element to `additionalAddresses` list.Add an element to `additionalNames` list.addAllAdditionalAddress(List<AccountTokenCreateParams.Identity.Individual.AdditionalAddress> elements) Add all elements to `additionalAddresses` list.Add all elements to `additionalNames` list.Add all elements to `idNumbers` list.addAllNationality(List<String> elements) Add all elements to `nationalities` list.Add an element to `idNumbers` list.addNationality(String element) 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, 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.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(AccountTokenCreateParams.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 AccountTokenCreateParams.Identity.Individual.Builder addAdditionalAddress(AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.additionalAddressesfor the field documentation. -
addAllAdditionalAddress
public AccountTokenCreateParams.Identity.Individual.Builder addAllAdditionalAddress(List<AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.additionalAddressesfor the field documentation. -
addAdditionalName
public AccountTokenCreateParams.Identity.Individual.Builder addAdditionalName(AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.additionalNamesfor the field documentation. -
addAllAdditionalName
public AccountTokenCreateParams.Identity.Individual.Builder addAllAdditionalName(List<AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.additionalNamesfor the field documentation. -
setAddress
public AccountTokenCreateParams.Identity.Individual.Builder setAddress(AccountTokenCreateParams.Identity.Individual.Address address) The individual's residential address. -
setDateOfBirth
public AccountTokenCreateParams.Identity.Individual.Builder setDateOfBirth(AccountTokenCreateParams.Identity.Individual.DateOfBirth dateOfBirth) The individual's date of birth. -
setDocuments
public AccountTokenCreateParams.Identity.Individual.Builder setDocuments(AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.extraParamsfor the field documentation. -
putAllExtraParam
public AccountTokenCreateParams.Identity.Individual.Builder putAllExtraParam(Map<String, Object> map) 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. SeeAccountTokenCreateParams.Identity.Individual.extraParamsfor the field documentation. -
setGivenName
The individual's first name. -
addIdNumber
public AccountTokenCreateParams.Identity.Individual.Builder addIdNumber(AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.idNumbersfor the field documentation. -
addAllIdNumber
public AccountTokenCreateParams.Identity.Individual.Builder addAllIdNumber(List<AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.idNumbersfor the field documentation. -
setLegalGender
public AccountTokenCreateParams.Identity.Individual.Builder setLegalGender(AccountTokenCreateParams.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. SeeAccountTokenCreateParams.Identity.Individual.metadatafor the field documentation. -
putMetadata
public AccountTokenCreateParams.Identity.Individual.Builder putMetadata(String key, EmptyParam value) 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. SeeAccountTokenCreateParams.Identity.Individual.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`. SeeAccountTokenCreateParams.Identity.Individual.metadatafor the field documentation. -
addNationality
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. SeeAccountTokenCreateParams.Identity.Individual.nationalitiesfor the field documentation. -
addAllNationality
public AccountTokenCreateParams.Identity.Individual.Builder addAllNationality(List<String> 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. SeeAccountTokenCreateParams.Identity.Individual.nationalitiesfor the field documentation. -
setPhone
The individual's phone number. -
setPoliticalExposure
public AccountTokenCreateParams.Identity.Individual.Builder setPoliticalExposure(AccountTokenCreateParams.Identity.Individual.PoliticalExposure politicalExposure) The individual's political exposure. -
setRelationship
public AccountTokenCreateParams.Identity.Individual.Builder setRelationship(AccountTokenCreateParams.Identity.Individual.Relationship relationship) The relationship that this individual has with the account's identity. -
setScriptAddresses
public AccountTokenCreateParams.Identity.Individual.Builder setScriptAddresses(AccountTokenCreateParams.Identity.Individual.ScriptAddresses scriptAddresses) The script addresses (e.g., non-Latin characters) associated with the individual. -
setScriptNames
public AccountTokenCreateParams.Identity.Individual.Builder setScriptNames(AccountTokenCreateParams.Identity.Individual.ScriptNames scriptNames) The individuals primary name in non latin script. -
setSurname
The individual's last name.
-