Package com.stripe.param
Class TokenCreateParams.Account.Individual.Builder
java.lang.Object
com.stripe.param.TokenCreateParams.Account.Individual.Builder
- Enclosing class:
- TokenCreateParams.Account.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.The Kana variation of the individual's primary address (Japan only).The Kanji variation of the individual's primary address (Japan only).setDob
(EmptyParam dob) The individual's date of birth.The individual's date of birth.The individual's email address.setFirstName
(String firstName) The individual's first name.setFirstNameKana
(String firstNameKana) The Kana 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.The individual's gender (International regulations require either "male" or "female").setIdNumber
(String idNumber) The government-issued ID number of the individual, as appropriate for the representative's country.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
(String lastName) The individual's last name.setLastNameKana
(String lastNameKana) The Kana variation of the individual's last name (Japan only).setLastNameKanji
(String lastNameKanji) The Kanji variation of the individual's last name (Japan only).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.The individual's phone number.setPoliticalExposure
(TokenCreateParams.Account.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
(TokenCreateParams.Account.Individual.RegisteredAddress registeredAddress) The individual's registered address.Describes the person’s relationship to the account.setSsnLast4
(String ssnLast4) The last four digits of the individual's Social Security Number (U.S.The individual's verification document information.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public TokenCreateParams.Account.Individual.Builder setAddress(TokenCreateParams.Account.Individual.Address address) The individual's primary address. -
setAddressKana
public TokenCreateParams.Account.Individual.Builder setAddressKana(TokenCreateParams.Account.Individual.AddressKana addressKana) The Kana variation of the individual's primary address (Japan only). -
setAddressKanji
public TokenCreateParams.Account.Individual.Builder setAddressKanji(TokenCreateParams.Account.Individual.AddressKanji addressKanji) The Kanji variation of the individual's primary address (Japan only). -
setDob
public TokenCreateParams.Account.Individual.Builder setDob(TokenCreateParams.Account.Individual.Dob dob) The individual's date of birth. -
setDob
The individual's date of birth. -
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. SeeTokenCreateParams.Account.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. SeeTokenCreateParams.Account.Individual.extraParams
for the field documentation. -
setFirstName
The individual's first name. -
setFirstNameKana
The Kana 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. SeeTokenCreateParams.Account.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. SeeTokenCreateParams.Account.Individual.fullNameAliases
for the field documentation. -
setFullNameAliases
A list of alternate names or aliases that the individual is known by. -
setFullNameAliases
public TokenCreateParams.Account.Individual.Builder setFullNameAliases(List<String> fullNameAliases) 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"). -
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. -
setLastName
The individual's last name. -
setLastNameKana
The Kana 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. -
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. SeeTokenCreateParams.Account.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. SeeTokenCreateParams.Account.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. -
setPoliticalExposure
public TokenCreateParams.Account.Individual.Builder setPoliticalExposure(TokenCreateParams.Account.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 TokenCreateParams.Account.Individual.Builder setRegisteredAddress(TokenCreateParams.Account.Individual.RegisteredAddress registeredAddress) The individual's registered address. -
setRelationship
public TokenCreateParams.Account.Individual.Builder setRelationship(TokenCreateParams.Account.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). -
setVerification
public TokenCreateParams.Account.Individual.Builder setVerification(TokenCreateParams.Account.Individual.Verification verification) The individual's verification document information.
-