Package com.stripe.param
Class AccountUpdateParams.Individual.Builder
java.lang.Object
com.stripe.param.AccountUpdateParams.Individual.Builder
- Enclosing class:
- AccountUpdateParams.Individual
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFullNameAlias
(List<String> elements) Add all elements to `fullNameAliases` list.addFullNameAlias
(String element) Add an element to `fullNameAliases` 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 primary address.setAddressKana
(AccountUpdateParams.Individual.AddressKana addressKana) The Kana variation of the individual's primary address (Japan only).setAddressKanji
(AccountUpdateParams.Individual.AddressKanji addressKanji) The Kanji variation of the individual's primary address (Japan only).The individual's date of birth.setDob
(EmptyParam dob) The individual's date of birth.setEmail
(EmptyParam email) The individual's email address.The individual's email address.setFirstName
(EmptyParam firstName) The individual's first name.setFirstName
(String firstName) The individual's first name.setFirstNameKana
(EmptyParam firstNameKana) The Kana variation of the individual's first name (Japan only).setFirstNameKana
(String firstNameKana) The Kana variation of the individual's first name (Japan only).setFirstNameKanji
(EmptyParam firstNameKanji) The Kanji variation of the individual's first name (Japan only).setFirstNameKanji
(String firstNameKanji) The Kanji variation of the individual's first name (Japan only).setFullNameAliases
(EmptyParam fullNameAliases) A list of alternate names or aliases that the individual is known by.setFullNameAliases
(List<String> fullNameAliases) A list of alternate names or aliases that the individual is known by.setGender
(EmptyParam gender) The individual's gender (International regulations require either "male" or "female").The individual's gender (International regulations require either "male" or "female").setIdNumber
(EmptyParam idNumber) The government-issued ID number of the individual, as appropriate for the representative's country.setIdNumber
(String idNumber) The government-issued ID number of the individual, as appropriate for the representative's country.setIdNumberSecondary
(EmptyParam idNumberSecondary) The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks.setIdNumberSecondary
(String idNumberSecondary) The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks.setLastName
(EmptyParam lastName) The individual's last name.setLastName
(String lastName) The individual's last name.setLastNameKana
(EmptyParam lastNameKana) The Kana variation of the individual's last name (Japan only).setLastNameKana
(String lastNameKana) The Kana variation of the individual's last name (Japan only).setLastNameKanji
(EmptyParam lastNameKanji) The Kanji variation of the individual's last name (Japan only).setLastNameKanji
(String lastNameKanji) The Kanji variation of the individual's last name (Japan only).setMaidenName
(EmptyParam maidenName) The individual's maiden name.setMaidenName
(String maidenName) The individual's maiden name.setMetadata
(EmptyParam metadata) Set of key-value pairs that you can attach to an object.setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.setPhone
(EmptyParam phone) The individual's phone number.The individual's phone number.setPoliticalExposure
(AccountUpdateParams.Individual.PoliticalExposure politicalExposure) Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.setRegisteredAddress
(AccountUpdateParams.Individual.RegisteredAddress registeredAddress) The individual's registered address.setRelationship
(AccountUpdateParams.Individual.Relationship relationship) Describes the person’s relationship to the account.setSsnLast4
(EmptyParam ssnLast4) The last four digits of the individual's Social Security Number (U.S.setSsnLast4
(String ssnLast4) The last four digits of the individual's Social Security Number (U.S.setVerification
(AccountUpdateParams.Individual.Verification verification) The individual's verification document information.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public AccountUpdateParams.Individual.Builder setAddress(AccountUpdateParams.Individual.Address address) The individual's primary address. -
setAddressKana
public AccountUpdateParams.Individual.Builder setAddressKana(AccountUpdateParams.Individual.AddressKana addressKana) The Kana variation of the individual's primary address (Japan only). -
setAddressKanji
public AccountUpdateParams.Individual.Builder setAddressKanji(AccountUpdateParams.Individual.AddressKanji addressKanji) The Kanji variation of the individual's primary address (Japan only). -
setDob
The individual's date of birth. -
setDob
The individual's date of birth. -
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.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.Individual.extraParams
for the field documentation. -
setFirstName
The individual's first name. -
setFirstName
The individual's first name. -
setFirstNameKana
The Kana variation of the individual's first name (Japan only). -
setFirstNameKana
The Kana variation of the individual's first name (Japan only). -
setFirstNameKanji
The Kanji variation of the individual's first name (Japan only). -
setFirstNameKanji
The Kanji variation of the individual's first name (Japan only). -
addFullNameAlias
Add an element to `fullNameAliases` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.Individual.fullNameAliases
for the field documentation. -
addAllFullNameAlias
Add all elements to `fullNameAliases` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.Individual.fullNameAliases
for the field documentation. -
setFullNameAliases
A list of alternate names or aliases that the individual is known by. -
setFullNameAliases
A list of alternate names or aliases that the individual is known by. -
setGender
The individual's gender (International regulations require either "male" or "female"). -
setGender
The individual's gender (International regulations require either "male" or "female"). -
setIdNumber
The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a PII token created with Stripe.js. -
setIdNumber
The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a PII token created with Stripe.js. -
setIdNumberSecondary
The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a PII token created with Stripe.js. -
setIdNumberSecondary
The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a PII token created with Stripe.js. -
setLastName
The individual's last name. -
setLastName
The individual's last name. -
setLastNameKana
The Kana variation of the individual's last name (Japan only). -
setLastNameKana
The Kana variation of the individual's last name (Japan only). -
setLastNameKanji
The Kanji variation of the individual's last name (Japan only). -
setLastNameKanji
The Kanji variation of the individual's last name (Japan only). -
setMaidenName
The individual's maiden name. -
setMaidenName
The individual's maiden name. -
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.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. SeeAccountUpdateParams.Individual.metadata
for the field documentation. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
setPhone
The individual's phone number. -
setPhone
The individual's phone number. -
setPoliticalExposure
public AccountUpdateParams.Individual.Builder setPoliticalExposure(AccountUpdateParams.Individual.PoliticalExposure politicalExposure) Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. -
setRegisteredAddress
public AccountUpdateParams.Individual.Builder setRegisteredAddress(AccountUpdateParams.Individual.RegisteredAddress registeredAddress) The individual's registered address. -
setRelationship
public AccountUpdateParams.Individual.Builder setRelationship(AccountUpdateParams.Individual.Relationship relationship) Describes the person’s relationship to the account. -
setSsnLast4
The last four digits of the individual's Social Security Number (U.S. only). -
setSsnLast4
The last four digits of the individual's Social Security Number (U.S. only). -
setVerification
public AccountUpdateParams.Individual.Builder setVerification(AccountUpdateParams.Individual.Verification verification) The individual's verification document information.
-