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.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.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.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
(AccountUpdateParams.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
(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. -
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. -
setAddress
public AccountUpdateParams.Identity.Individual.Builder setAddress(AccountUpdateParams.Identity.Individual.Address address) The individual's residential address. -
setDateOfBirth
public AccountUpdateParams.Identity.Individual.Builder setDateOfBirth(AccountUpdateParams.Identity.Individual.DateOfBirth dateOfBirth) 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. -
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. -
setLegalGender
public AccountUpdateParams.Identity.Individual.Builder setLegalGender(AccountUpdateParams.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. 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
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
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. -
setRelationship
public AccountUpdateParams.Identity.Individual.Builder setRelationship(AccountUpdateParams.Identity.Individual.Relationship relationship) 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. -
setScriptNames
public AccountUpdateParams.Identity.Individual.Builder setScriptNames(AccountUpdateParams.Identity.Individual.ScriptNames scriptNames) The individuals primary name in non latin script. -
setSurname
The individual's last name. -
setSurname
The individual's last name.
-