Package com.stripe.param
Class TokenCreateParams.Person
- java.lang.Object
-
- com.stripe.param.TokenCreateParams.Person
-
- Enclosing class:
- TokenCreateParams
public static class TokenCreateParams.Person extends java.lang.Object
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.CvcUpdate.extraParams
for the field documentation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TokenCreateParams.Person.Address
static class
TokenCreateParams.Person.AddressKana
State, county, province, or region.static class
TokenCreateParams.Person.AddressKanji
Town or cho-me.static class
TokenCreateParams.Person.Builder
static class
TokenCreateParams.Person.Dob
Town or cho-me.static class
TokenCreateParams.Person.Documents
The four-digit year of birth.static class
TokenCreateParams.Person.Relationship
Add all elements to `files` list.static class
TokenCreateParams.Person.Verification
The person's title (e.g., CEO, Support Engineer).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenCreateParams.Person.Builder
builder()
TokenCreateParams.Person.Address
getAddress()
The person's address.TokenCreateParams.Person.AddressKana
getAddressKana()
The Kana variation of the person's address (Japan only).TokenCreateParams.Person.AddressKanji
getAddressKanji()
The Kanji variation of the person's address (Japan only).java.lang.Object
getDob()
The person's date of birth.TokenCreateParams.Person.Documents
getDocuments()
Documents that may be submitted to satisfy various informational requests.java.lang.String
getEmail()
The person's email address.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.String
getFirstName()
The person's first name.java.lang.String
getFirstNameKana()
The Kana variation of the person's first name (Japan only).java.lang.String
getFirstNameKanji()
The Kanji variation of the person's first name (Japan only).java.util.List<java.lang.String>
getFullNameAliases()
A list of alternate names or aliases that the person is known by.java.lang.String
getGender()
The person's gender (International regulations require either "male" or "female").java.lang.String
getIdNumber()
The person's ID number, as appropriate for their country.java.lang.String
getLastName()
The person's last name.java.lang.String
getLastNameKana()
The Kana variation of the person's last name (Japan only).java.lang.String
getLastNameKanji()
The Kanji variation of the person's last name (Japan only).java.lang.String
getMaidenName()
The person's maiden name.java.lang.Object
getMetadata()
Set of key-value pairs that you can attach to an object.java.lang.String
getNationality()
The country where the person is a national.java.lang.String
getPhone()
The person's phone number.java.lang.String
getPoliticalExposure()
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.TokenCreateParams.Person.Relationship
getRelationship()
The relationship that this person has with the account's legal entity.java.lang.String
getSsnLast4()
The last four digits of the person's Social Security number (U.S.TokenCreateParams.Person.Verification
getVerification()
The person's verification status.
-
-
-
Method Detail
-
builder
public static TokenCreateParams.Person.Builder builder()
-
getAddress
public TokenCreateParams.Person.Address getAddress()
The person's address.
-
getAddressKana
public TokenCreateParams.Person.AddressKana getAddressKana()
The Kana variation of the person's address (Japan only).
-
getAddressKanji
public TokenCreateParams.Person.AddressKanji getAddressKanji()
The Kanji variation of the person's address (Japan only).
-
getDob
public java.lang.Object getDob()
The person's date of birth.
-
getDocuments
public TokenCreateParams.Person.Documents getDocuments()
Documents that may be submitted to satisfy various informational requests.
-
getEmail
public java.lang.String getEmail()
The person's email address.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getFirstName
public java.lang.String getFirstName()
The person's first name.
-
getFirstNameKana
public java.lang.String getFirstNameKana()
The Kana variation of the person's first name (Japan only).
-
getFirstNameKanji
public java.lang.String getFirstNameKanji()
The Kanji variation of the person's first name (Japan only).
-
getFullNameAliases
public java.util.List<java.lang.String> getFullNameAliases()
A list of alternate names or aliases that the person is known by.
-
getGender
public java.lang.String getGender()
The person's gender (International regulations require either "male" or "female").
-
getIdNumber
public java.lang.String getIdNumber()
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.
-
getLastName
public java.lang.String getLastName()
The person's last name.
-
getLastNameKana
public java.lang.String getLastNameKana()
The Kana variation of the person's last name (Japan only).
-
getLastNameKanji
public java.lang.String getLastNameKanji()
The Kanji variation of the person's last name (Japan only).
-
getMaidenName
public java.lang.String getMaidenName()
The person's maiden name.
-
getMetadata
public java.lang.Object getMetadata()
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
.
-
getNationality
public java.lang.String getNationality()
The country where the person is a national. Two-letter country code (ISO 3166-1 alpha-2), or "XX" if unavailable.
-
getPhone
public java.lang.String getPhone()
The person's phone number.
-
getPoliticalExposure
public java.lang.String getPoliticalExposure()
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.
-
getRelationship
public TokenCreateParams.Person.Relationship getRelationship()
The relationship that this person has with the account's legal entity.
-
getSsnLast4
public java.lang.String getSsnLast4()
The last four digits of the person's Social Security number (U.S. only).
-
getVerification
public TokenCreateParams.Person.Verification getVerification()
The person's verification status.
-
-