Package com.stripe.model.v2.core
Class Person
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Person
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about AdditionalAddress, please refer to the API Reference.static class
For more details about AdditionalName, please refer to the API Reference.static class
For more details about AdditionalTermsOfService, please refer to the API Reference.static class
For more details about Address, please refer to the API Reference.static class
For more details about DateOfBirth, please refer to the API Reference.static class
For more details about Documents, please refer to the API Reference.static class
For more details about IdNumber, please refer to the API Reference.static class
For more details about Relationship, please refer to the API Reference.static class
For more details about ScriptAddresses, please refer to the API Reference.static class
For more details about ScriptNames, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The account ID which the individual belongs to.Additional addresses associated with the person.Additional names (e.g.Attestations of accepted terms of service agreements.The person's residential address.Time at which the object was created.The person's date of birth.Documents that may be submitted to satisfy various informational requests.getEmail()
The person's email address.The person's first name.getId()
Unique identifier for the Person.The identification numbers (e.g., SSN) associated with the person.The person's gender (International regulations require either "male" or "female").Set of key-value pairs that you can attach to an object.The countries where the person is a national.String representing the object's type.getPhone()
The person's phone number.The person's political exposure.The relationship that this person has with the Account's business or legal entity.The script addresses (e.g., non-Latin characters) associated with the person.The script names (e.g.The person's last name.Time at which the object was last updated.int
hashCode()
void
setAccount
(String account) The account ID which the individual belongs to.void
setAdditionalAddresses
(List<Person.AdditionalAddress> additionalAddresses) Additional addresses associated with the person.void
setAdditionalNames
(List<Person.AdditionalName> additionalNames) Additional names (e.g.void
setAdditionalTermsOfService
(Person.AdditionalTermsOfService additionalTermsOfService) Attestations of accepted terms of service agreements.void
setAddress
(Person.Address address) The person's residential address.void
setCreated
(Instant created) Time at which the object was created.void
setDateOfBirth
(Person.DateOfBirth dateOfBirth) The person's date of birth.void
setDocuments
(Person.Documents documents) Documents that may be submitted to satisfy various informational requests.void
The person's email address.void
setGivenName
(String givenName) The person's first name.void
Unique identifier for the Person.void
setIdNumbers
(List<Person.IdNumber> idNumbers) The identification numbers (e.g., SSN) associated with the person.void
setLegalGender
(String legalGender) The person's gender (International regulations require either "male" or "female").void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
setNationalities
(List<String> nationalities) The countries where the person is a national.void
String representing the object's type.void
The person's phone number.void
setPoliticalExposure
(String politicalExposure) The person's political exposure.void
setRelationship
(Person.Relationship relationship) The relationship that this person has with the Account's business or legal entity.void
setScriptAddresses
(Person.ScriptAddresses scriptAddresses) The script addresses (e.g., non-Latin characters) associated with the person.void
setScriptNames
(Person.ScriptNames scriptNames) The script names (e.g.void
setSurname
(String surname) The person's last name.void
setUpdated
(Instant updated) Time at which the object was last updated.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Person
public Person()
-
-
Method Details
-
getAccount
The account ID which the individual belongs to. -
getAdditionalAddresses
Additional addresses associated with the person. -
getAdditionalNames
Additional names (e.g. aliases) associated with the person. -
getAdditionalTermsOfService
Attestations of accepted terms of service agreements. -
getAddress
The person's residential address. -
getCreated
Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
getDateOfBirth
The person's date of birth. -
getDocuments
Documents that may be submitted to satisfy various informational requests. -
getEmail
The person's email address. -
getGivenName
The person's first name. -
getIdNumbers
The identification numbers (e.g., SSN) associated with the person. -
getLegalGender
The person's gender (International regulations require either "male" or "female").One of
female
, ormale
. -
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. -
getNationalities
The countries where the person is a national. Two-letter country code (ISO 3166-1 alpha-2). -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.account_person
. -
getPhone
The person's phone number. -
getPoliticalExposure
The person's political exposure.One of
existing
, ornone
. -
getRelationship
The relationship that this person has with the Account's business or legal entity. -
getScriptAddresses
The script addresses (e.g., non-Latin characters) associated with the person. -
getScriptNames
The script names (e.g. non-Latin characters) associated with the person. -
getSurname
The person's last name. -
getUpdated
Time at which the object was last updated. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
setAccount
The account ID which the individual belongs to. -
setAdditionalAddresses
Additional addresses associated with the person. -
setAdditionalNames
Additional names (e.g. aliases) associated with the person. -
setAdditionalTermsOfService
Attestations of accepted terms of service agreements. -
setAddress
The person's residential address. -
setCreated
Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
setDateOfBirth
The person's date of birth. -
setDocuments
Documents that may be submitted to satisfy various informational requests. -
setEmail
The person's email address. -
setGivenName
The person's first name. -
setId
Unique identifier for the Person. -
setIdNumbers
The identification numbers (e.g., SSN) associated with the person. -
setLegalGender
The person's gender (International regulations require either "male" or "female").One of
female
, ormale
. -
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. -
setNationalities
The countries where the person is a national. Two-letter country code (ISO 3166-1 alpha-2). -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.account_person
. -
setPhone
The person's phone number. -
setPoliticalExposure
The person's political exposure.One of
existing
, ornone
. -
setRelationship
The relationship that this person has with the Account's business or legal entity. -
setScriptAddresses
The script addresses (e.g., non-Latin characters) associated with the person. -
setScriptNames
The script names (e.g. non-Latin characters) associated with the person. -
setSurname
The person's last name. -
setUpdated
Time at which the object was last updated. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the Person.
-