Package com.stripe.model.v2.core
Class AccountPerson
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.AccountPerson
- All Implemented Interfaces:
HasId,StripeObjectInterface
Person retrieval response schema.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about AdditionalAddress, please refer to the API Reference.static classFor more details about AdditionalName, please refer to the API Reference.static classAttestations of accepted terms of service agreements.static classThe person's residential address.static classThe person's date of birth.static classDocuments that may be submitted to satisfy various informational requests.static classFor more details about IdNumber, please refer to the API Reference.static classThe relationship that this person has with the Account's business or legal entity.static classThe script addresses (e.g., non-Latin characters) associated with the person.static classThe script names (e.g. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe 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").Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.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.inthashCode()voidsetAccount(String account) The account ID which the individual belongs to.voidsetAdditionalAddresses(List<AccountPerson.AdditionalAddress> additionalAddresses) Additional addresses associated with the person.voidsetAdditionalNames(List<AccountPerson.AdditionalName> additionalNames) Additional names (e.g.voidsetAdditionalTermsOfService(AccountPerson.AdditionalTermsOfService additionalTermsOfService) Attestations of accepted terms of service agreements.voidsetAddress(AccountPerson.Address address) The person's residential address.voidsetCreated(Instant created) Time at which the object was created.voidsetDateOfBirth(AccountPerson.DateOfBirth dateOfBirth) The person's date of birth.voidsetDocuments(AccountPerson.Documents documents) Documents that may be submitted to satisfy various informational requests.voidThe person's email address.voidsetGivenName(String givenName) The person's first name.voidUnique identifier for the Person.voidsetIdNumbers(List<AccountPerson.IdNumber> idNumbers) The identification numbers (e.g., SSN) associated with the person.voidsetLegalGender(String legalGender) The person's gender (International regulations require either "male" or "female").voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidsetNationalities(List<String> nationalities) The countries where the person is a national.voidString representing the object's type.voidThe person's phone number.voidsetPoliticalExposure(String politicalExposure) The person's political exposure.voidsetRelationship(AccountPerson.Relationship relationship) The relationship that this person has with the Account's business or legal entity.voidsetScriptAddresses(AccountPerson.ScriptAddresses scriptAddresses) The script addresses (e.g., non-Latin characters) associated with the person.voidsetScriptNames(AccountPerson.ScriptNames scriptNames) The script names (e.g.voidsetSurname(String surname) The person's last name.voidsetUpdated(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
-
AccountPerson
public AccountPerson()
-
-
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. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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
public void setAdditionalTermsOfService(AccountPerson.AdditionalTermsOfService additionalTermsOfService) 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. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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.
-