Package com.stripe.param.v2.core
Class AccountUpdateParams.Identity.Individual.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Identity.Individual.Builder
- Enclosing class:
- AccountUpdateParams.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, 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.setAdditionalAddresses
(EmptyParam additionalAddresses) Additional addresses associated with the individual.setAdditionalAddresses
(List<AccountUpdateParams.Identity.Individual.AdditionalAddress> additionalAddresses) Additional addresses associated with the individual.setAdditionalNames
(EmptyParam additionalNames) Additional names (e.g.setAdditionalNames
(List<AccountUpdateParams.Identity.Individual.AdditionalName> additionalNames) Additional names (e.g.setAddress
(EmptyParam address) The individual's residential address.The individual's residential address.setDateOfBirth
(EmptyParam dateOfBirth) The individual's date of birth.The individual's date of birth.setDocuments
(EmptyParam documents) Documents that may be submitted to satisfy various informational requests.Documents that may be submitted to satisfy various informational requests.setEmail
(EmptyParam email) The individual's email address.The individual's email address.setGivenName
(EmptyParam givenName) The individual's first name.setGivenName
(String givenName) The individual's first name.setIdNumbers
(EmptyParam idNumbers) The identification numbers (e.g., SSN) associated with the individual.The identification numbers (e.g., SSN) associated with the individual.setLegalGender
(EmptyParam legalGender) The individual's gender (International regulations require either "male" or "female").The individual's gender (International regulations require either "male" or "female").setPhone
(EmptyParam phone) The individual's phone number.The individual's phone number.setPoliticalExposure
(EmptyParam politicalExposure) The individual's political exposure.setPoliticalExposure
(AccountUpdateParams.Identity.Individual.PoliticalExposure politicalExposure) The individual's political exposure.setRelationship
(EmptyParam relationship) The relationship that this individual has with the account's identity.The relationship that this individual has with the account's identity.setScriptAddresses
(EmptyParam scriptAddresses) The script addresses (e.g., non-Latin characters) associated with the individual.The script addresses (e.g., non-Latin characters) associated with the individual.setScriptNames
(EmptyParam scriptNames) The individuals primary name in non latin script.The individuals primary name in non latin script.setSurname
(EmptyParam surname) The individual's last name.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 AccountUpdateParams.Identity.Individual.Builder addAdditionalAddress(AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.additionalAddresses
for the field documentation. -
addAllAdditionalAddress
public AccountUpdateParams.Identity.Individual.Builder addAllAdditionalAddress(List<AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.additionalAddresses
for the field documentation. -
setAdditionalAddresses
public AccountUpdateParams.Identity.Individual.Builder setAdditionalAddresses(EmptyParam additionalAddresses) Additional addresses associated with the individual. -
setAdditionalAddresses
public AccountUpdateParams.Identity.Individual.Builder setAdditionalAddresses(List<AccountUpdateParams.Identity.Individual.AdditionalAddress> additionalAddresses) Additional addresses associated with the individual. -
addAdditionalName
public AccountUpdateParams.Identity.Individual.Builder addAdditionalName(AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.additionalNames
for the field documentation. -
addAllAdditionalName
public AccountUpdateParams.Identity.Individual.Builder addAllAdditionalName(List<AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.additionalNames
for the field documentation. -
setAdditionalNames
public AccountUpdateParams.Identity.Individual.Builder setAdditionalNames(EmptyParam additionalNames) Additional names (e.g. aliases) associated with the individual. -
setAdditionalNames
public AccountUpdateParams.Identity.Individual.Builder setAdditionalNames(List<AccountUpdateParams.Identity.Individual.AdditionalName> additionalNames) Additional names (e.g. aliases) associated with the individual. -
setAddress
public AccountUpdateParams.Identity.Individual.Builder setAddress(AccountUpdateParams.Identity.Individual.Address address) The individual's residential address. -
setAddress
The individual's residential address. -
setDateOfBirth
public AccountUpdateParams.Identity.Individual.Builder setDateOfBirth(AccountUpdateParams.Identity.Individual.DateOfBirth dateOfBirth) The individual's date of birth. -
setDateOfBirth
The individual's date of birth. -
setDocuments
public AccountUpdateParams.Identity.Individual.Builder setDocuments(AccountUpdateParams.Identity.Individual.Documents documents) Documents that may be submitted to satisfy various informational requests. -
setDocuments
Documents that may be submitted to satisfy various informational requests. -
setEmail
The individual's email address. -
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. SeeAccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.extraParams
for the field documentation. -
setGivenName
The individual's first name. -
setGivenName
The individual's first name. -
addIdNumber
public AccountUpdateParams.Identity.Individual.Builder addIdNumber(AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.idNumbers
for the field documentation. -
addAllIdNumber
public AccountUpdateParams.Identity.Individual.Builder addAllIdNumber(List<AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.idNumbers
for the field documentation. -
setIdNumbers
The identification numbers (e.g., SSN) associated with the individual. -
setIdNumbers
public AccountUpdateParams.Identity.Individual.Builder setIdNumbers(List<AccountUpdateParams.Identity.Individual.IdNumber> idNumbers) The identification numbers (e.g., SSN) associated with the individual. -
setLegalGender
public AccountUpdateParams.Identity.Individual.Builder setLegalGender(AccountUpdateParams.Identity.Individual.LegalGender legalGender) The individual's gender (International regulations require either "male" or "female"). -
setLegalGender
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. SeeAccountUpdateParams.Identity.Individual.metadata
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. SeeAccountUpdateParams.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. Map values can only be one of the following types: `String`, `EmptyParam`. SeeAccountUpdateParams.Identity.Individual.metadata
for the field documentation. -
addNationality
public AccountUpdateParams.Identity.Individual.Builder addNationality(AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.nationalities
for the field documentation. -
addAllNationality
public AccountUpdateParams.Identity.Individual.Builder addAllNationality(List<AccountUpdateParams.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. SeeAccountUpdateParams.Identity.Individual.nationalities
for the field documentation. -
setPhone
The individual's phone number. -
setPhone
The individual's phone number. -
setPoliticalExposure
public AccountUpdateParams.Identity.Individual.Builder setPoliticalExposure(AccountUpdateParams.Identity.Individual.PoliticalExposure politicalExposure) The individual's political exposure. -
setPoliticalExposure
public AccountUpdateParams.Identity.Individual.Builder setPoliticalExposure(EmptyParam politicalExposure) The individual's political exposure. -
setRelationship
public AccountUpdateParams.Identity.Individual.Builder setRelationship(AccountUpdateParams.Identity.Individual.Relationship relationship) The relationship that this individual has with the account's identity. -
setRelationship
The relationship that this individual has with the account's identity. -
setScriptAddresses
public AccountUpdateParams.Identity.Individual.Builder setScriptAddresses(AccountUpdateParams.Identity.Individual.ScriptAddresses scriptAddresses) The script addresses (e.g., non-Latin characters) associated with the individual. -
setScriptAddresses
public AccountUpdateParams.Identity.Individual.Builder setScriptAddresses(EmptyParam scriptAddresses) The script addresses (e.g., non-Latin characters) associated with the individual. -
setScriptNames
public AccountUpdateParams.Identity.Individual.Builder setScriptNames(AccountUpdateParams.Identity.Individual.ScriptNames scriptNames) The individuals primary name in non latin script. -
setScriptNames
The individuals primary name in non latin script. -
setSurname
The individual's last name. -
setSurname
The individual's last name.
-