Package com.stripe.param
Class PersonUpdateParams.Builder
java.lang.Object
com.stripe.param.PersonUpdateParams.Builder
- Enclosing class:
- PersonUpdateParams
-
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
(PersonUpdateParams.AdditionalTosAcceptances additionalTosAcceptances) Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.setAddress
(PersonUpdateParams.Address address) The person's address.setAddressKana
(PersonUpdateParams.AddressKana addressKana) The Kana variation of the person's address (Japan only).setAddressKanji
(PersonUpdateParams.AddressKanji addressKanji) The Kanji variation of the person's address (Japan only).setDob
(EmptyParam dob) The person's date of birth.The person's date of birth.setDocuments
(PersonUpdateParams.Documents documents) Documents that may be submitted to satisfy various informational requests.setEmail
(EmptyParam email) The person's email address.The person's email address.setFirstName
(EmptyParam firstName) The person's first name.setFirstName
(String firstName) The person's first name.setFirstNameKana
(EmptyParam firstNameKana) The Kana variation of the person's first name (Japan only).setFirstNameKana
(String firstNameKana) The Kana variation of the person's first name (Japan only).setFirstNameKanji
(EmptyParam firstNameKanji) The Kanji 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.setGender
(EmptyParam gender) The person's gender (International regulations require either "male" or "female").The person's gender (International regulations require either "male" or "female").setIdNumber
(EmptyParam idNumber) The person's ID number, as appropriate for their country.setIdNumber
(String idNumber) The person's ID number, as appropriate for their country.setIdNumberSecondary
(EmptyParam idNumberSecondary) The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks.setIdNumberSecondary
(String idNumberSecondary) The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks.setLastName
(EmptyParam lastName) The person's last name.setLastName
(String lastName) The person's last name.setLastNameKana
(EmptyParam lastNameKana) The Kana variation of the person's last name (Japan only).setLastNameKana
(String lastNameKana) The Kana variation of the person's last name (Japan only).setLastNameKanji
(EmptyParam lastNameKanji) The Kanji variation of the person's last name (Japan only).setLastNameKanji
(String lastNameKanji) The Kanji variation of the person's last name (Japan only).setMaidenName
(EmptyParam maidenName) The person's maiden name.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
(EmptyParam nationality) The country where the person is a national.setNationality
(String nationality) The country where the person is a national.setPersonToken
(EmptyParam personToken) A person token, used to securely provide details to the person.setPersonToken
(String personToken) A person token, used to securely provide details to the person.setPhone
(EmptyParam phone) The person's phone number.The person's phone number.setPoliticalExposure
(EmptyParam 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.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
(PersonUpdateParams.RegisteredAddress registeredAddress) The person's registered address.setRelationship
(PersonUpdateParams.Relationship relationship) The relationship that this person has with the account's legal entity.setSsnLast4
(EmptyParam ssnLast4) The last four digits of the person's Social Security number (U.S.setSsnLast4
(String ssnLast4) The last four digits of the person's Social Security number (U.S.setVerification
(PersonUpdateParams.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 PersonUpdateParams.Builder setAdditionalTosAcceptances(PersonUpdateParams.AdditionalTosAcceptances additionalTosAcceptances) Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements. -
setAddress
The person's address. -
setAddressKana
The Kana variation of the person's address (Japan only). -
setAddressKanji
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
Documents that may be submitted to satisfy various informational requests. -
setEmail
The person's email address. -
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. SeePersonUpdateParams.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. SeePersonUpdateParams.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. SeePersonUpdateParams.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. SeePersonUpdateParams.extraParams
for the field documentation. -
setFirstName
The person's first name. -
setFirstName
The person's first name. -
setFirstNameKana
The Kana variation of the person's first name (Japan only). -
setFirstNameKana
The Kana variation of the person's first name (Japan only). -
setFirstNameKanji
The Kanji 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. SeePersonUpdateParams.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. SeePersonUpdateParams.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"). -
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. -
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. -
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. -
setLastName
The person's last name. -
setLastNameKana
The Kana variation of the person's last name (Japan only). -
setLastNameKana
The Kana variation of the person's last name (Japan only). -
setLastNameKanji
The Kanji 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. -
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. SeePersonUpdateParams.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. SeePersonUpdateParams.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. -
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. -
setPersonToken
A person token, used to securely provide details to the person. -
setPhone
The person's phone number. -
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. -
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 PersonUpdateParams.Builder setRegisteredAddress(PersonUpdateParams.RegisteredAddress registeredAddress) The person's registered address. -
setRelationship
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). -
setSsnLast4
The last four digits of the person's Social Security number (U.S. only). -
setVerification
The person's verification status.
-