Package com.stripe.param
Class AccountPersonCreateParams.Builder
java.lang.Object
com.stripe.param.AccountPersonCreateParams.Builder
- Enclosing class:
- AccountPersonCreateParams
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllExpand
(List<String> elements) Add all elements to `expand` list.addAllFullNameAlias
(List<String> elements) Add all elements to `fullNameAliases` list.Add an element to `expand` 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.setAdditionalTosAcceptances
(AccountPersonCreateParams.AdditionalTosAcceptances additionalTosAcceptances) Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.The person's address.setAddressKana
(AccountPersonCreateParams.AddressKana addressKana) The Kana variation of the person's address (Japan only).setAddressKanji
(AccountPersonCreateParams.AddressKanji addressKanji) The Kanji variation of the person's address (Japan only).The person's date of birth.setDob
(EmptyParam dob) The person's date of birth.setDocuments
(AccountPersonCreateParams.Documents documents) Documents that may be submitted to satisfy various informational requests.The person's email address.setFirstName
(String firstName) The person's first name.setFirstNameKana
(String firstNameKana) The Kana variation of the person's first name (Japan only).setFirstNameKanji
(String firstNameKanji) The Kanji variation of the person's first name (Japan only).setFullNameAliases
(EmptyParam fullNameAliases) A list of alternate names or aliases that the person is known by.setFullNameAliases
(List<String> fullNameAliases) A list of alternate names or aliases that the person is known by.The person's gender (International regulations require either "male" or "female").setIdNumber
(String idNumber) The person's ID number, as appropriate for their country.setIdNumberSecondary
(String idNumberSecondary) The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks.setLastName
(String lastName) The person's last name.setLastNameKana
(String lastNameKana) The Kana variation of the person's last name (Japan only).setLastNameKanji
(String lastNameKanji) The Kanji variation of the person's last name (Japan only).setMaidenName
(String maidenName) The person'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.setNationality
(String nationality) The country where the person is a national.setPersonToken
(String personToken) A person token, used to securely provide details to the person.The person's phone number.setPoliticalExposure
(String 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
(AccountPersonCreateParams.RegisteredAddress registeredAddress) The person's registered address.setRelationship
(AccountPersonCreateParams.Relationship relationship) The relationship that this person has with the account's legal entity.setSsnLast4
(String ssnLast4) The last four digits of the person's Social Security number (U.S.setVerification
(AccountPersonCreateParams.Verification verification) The person's verification status.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAdditionalTosAcceptances
public AccountPersonCreateParams.Builder setAdditionalTosAcceptances(AccountPersonCreateParams.AdditionalTosAcceptances additionalTosAcceptances) Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements. -
setAddress
The person's address. -
setAddressKana
public AccountPersonCreateParams.Builder setAddressKana(AccountPersonCreateParams.AddressKana addressKana) The Kana variation of the person's address (Japan only). -
setAddressKanji
public AccountPersonCreateParams.Builder setAddressKanji(AccountPersonCreateParams.AddressKanji addressKanji) The Kanji variation of the person's address (Japan only). -
setDob
The person's date of birth. -
setDob
The person's date of birth. -
setDocuments
public AccountPersonCreateParams.Builder setDocuments(AccountPersonCreateParams.Documents documents) Documents that may be submitted to satisfy various informational requests. -
setEmail
The person's email address. -
addExpand
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountPersonCreateParams.expand
for the field documentation. -
addAllExpand
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountPersonCreateParams.expand
for the field documentation. -
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. SeeAccountPersonCreateParams.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. SeeAccountPersonCreateParams.extraParams
for the field documentation. -
setFirstName
The person's first name. -
setFirstNameKana
The Kana variation of the person's first name (Japan only). -
setFirstNameKanji
The Kanji variation of the person'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. SeeAccountPersonCreateParams.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. SeeAccountPersonCreateParams.fullNameAliases
for the field documentation. -
setFullNameAliases
A list of alternate names or aliases that the person is known by. -
setFullNameAliases
A list of alternate names or aliases that the person is known by. -
setGender
The person's gender (International regulations require either "male" or "female"). -
setIdNumber
The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js. -
setIdNumberSecondary
The person's secondary ID number, as appropriate for their 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 provided by Stripe.js. -
setLastName
The person's last name. -
setLastNameKana
The Kana variation of the person's last name (Japan only). -
setLastNameKanji
The Kanji variation of the person's last name (Japan only). -
setMaidenName
The person'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. SeeAccountPersonCreateParams.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. SeeAccountPersonCreateParams.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
. -
setNationality
The country where the person is a national. Two-letter country code (ISO 3166-1 alpha-2), or "XX" if unavailable. -
setPersonToken
A person token, used to securely provide details to the person. -
setPhone
The person's phone number. -
setPoliticalExposure
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 AccountPersonCreateParams.Builder setRegisteredAddress(AccountPersonCreateParams.RegisteredAddress registeredAddress) The person's registered address. -
setRelationship
public AccountPersonCreateParams.Builder setRelationship(AccountPersonCreateParams.Relationship relationship) The relationship that this person has with the account's legal entity. -
setSsnLast4
The last four digits of the person's Social Security number (U.S. only). -
setVerification
public AccountPersonCreateParams.Builder setVerification(AccountPersonCreateParams.Verification verification) The person's verification status.
-