Package com.stripe.model
Class Person
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.Person
- All Implemented Interfaces:
HasId
,MetadataStore<Person>
,StripeActiveObject
,StripeObjectInterface
This is an object representing a person associated with a Stripe account.
A platform cannot access a person for an account where account.controller.requirement_collection
is stripe
, which includes Standard and Express accounts, after creating an Account Link
or Account Session to start Connect onboarding.
See the Standard onboarding or Express onboarding documentation for information about prefilling information and account onboarding steps. Learn more about handling identity verification with the API.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
The user agent of the browser from which the legal guardian accepted the service agreement.static class
static class
static class
static class
The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.static class
static class
The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
delete()
Deletes an existing person’s relationship to the account’s legal entity.delete
(RequestOptions options) Deletes an existing person’s relationship to the account’s legal entity.Deletes an existing person’s relationship to the account’s legal entity.delete
(Map<String, Object> params, RequestOptions options) Deletes an existing person’s relationship to the account’s legal entity.boolean
The account the person is associated with.The Kana variation of the person's address (Japan only).The Kanji variation of the person's address (Japan only).Time at which the object was created.Always true for a deleted object.getDob()
getEmail()
The person's email address.The person's first name.The Kana variation of the person's first name (Japan only).The Kanji variation of the person's first name (Japan only).A list of alternate names or aliases that the person is known by.Information about the upcoming new requirements for this person, including what information needs to be collected, and by when.The person's gender (International regulations require either "male" or "female").getId()
Unique identifier for the object.Whether the person'sid_number
was provided.Whether the person'sid_number_secondary
was provided.The person's last name.The Kana variation of the person's last name (Japan only).The Kanji variation of the person's last name (Japan only).The person's maiden name.Set of key-value pairs that you can attach to an object.The country where the person is a national.String representing the object's type.getPhone()
The person's phone number.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.Information about the requirements for this person, including what information needs to be collected, and by when.Whether the last four digits of the person's Social Security number have been provided (U.S.int
hashCode()
void
setAccount
(String account) The account the person is associated with.void
setAdditionalTosAcceptances
(Person.AdditionalTosAcceptances additionalTosAcceptances) void
setAddress
(Address address) void
setAddressKana
(Person.AddressKana addressKana) The Kana variation of the person's address (Japan only).void
setAddressKanji
(Person.AddressKanji addressKanji) The Kanji variation of the person's address (Japan only).void
setCreated
(Long created) Time at which the object was created.void
setDeleted
(Boolean deleted) Always true for a deleted object.void
setDob
(Person.Dob dob) void
The person's email address.void
setFirstName
(String firstName) The person's first name.void
setFirstNameKana
(String firstNameKana) The Kana variation of the person's first name (Japan only).void
setFirstNameKanji
(String firstNameKanji) The Kanji variation of the person's first name (Japan only).void
setFullNameAliases
(List<String> fullNameAliases) A list of alternate names or aliases that the person is known by.void
setFutureRequirements
(Person.FutureRequirements futureRequirements) Information about the upcoming new requirements for this person, including what information needs to be collected, and by when.void
The person's gender (International regulations require either "male" or "female").void
Unique identifier for the object.void
setIdNumberProvided
(Boolean idNumberProvided) Whether the person'sid_number
was provided.void
setIdNumberSecondaryProvided
(Boolean idNumberSecondaryProvided) Whether the person'sid_number_secondary
was provided.void
setLastName
(String lastName) The person's last name.void
setLastNameKana
(String lastNameKana) The Kana variation of the person's last name (Japan only).void
setLastNameKanji
(String lastNameKanji) The Kanji variation of the person's last name (Japan only).void
setMaidenName
(String maidenName) The person's maiden name.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
setNationality
(String nationality) The country where the person is a national.void
String representing the object's type.void
The person's phone number.void
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.void
setRegisteredAddress
(Address registeredAddress) void
setRelationship
(Person.Relationship relationship) void
setRequirements
(Person.Requirements requirements) Information about the requirements for this person, including what information needs to be collected, and by when.void
setResponseGetter
(StripeResponseGetter responseGetter) Get expandedfront
.void
setSsnLast4Provided
(Boolean ssnLast4Provided) Whether the last four digits of the person's Social Security number have been provided (U.S.void
setVerification
(Person.Verification verification) update
(PersonUpdateParams params) Updates an existing person.update
(PersonUpdateParams params, RequestOptions options) Updates an existing person.Updates an existing person.update
(Map<String, Object> params, RequestOptions options) Updates an existing person.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Person
public Person()
-
-
Method Details
-
delete
Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is theaccount_opener
. If your integration is using theexecutive
parameter, you cannot delete the only verifiedexecutive
on file.- Throws:
StripeException
-
delete
Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is theaccount_opener
. If your integration is using theexecutive
parameter, you cannot delete the only verifiedexecutive
on file.- Throws:
StripeException
-
delete
Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is theaccount_opener
. If your integration is using theexecutive
parameter, you cannot delete the only verifiedexecutive
on file.- Throws:
StripeException
-
delete
Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is theaccount_opener
. If your integration is using theexecutive
parameter, you cannot delete the only verifiedexecutive
on file.- Throws:
StripeException
-
update
Updates an existing person.- Specified by:
update
in interfaceMetadataStore<Person>
- Throws:
StripeException
-
update
Updates an existing person.- Specified by:
update
in interfaceMetadataStore<Person>
- Throws:
StripeException
-
update
Updates an existing person.- Throws:
StripeException
-
update
Updates an existing person.- Throws:
StripeException
-
setResponseGetter
Get expandedfront
.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getAccount
The account the person is associated with. -
getAdditionalTosAcceptances
-
getAddress
-
getAddressKana
The Kana variation of the person's address (Japan only). -
getAddressKanji
The Kanji variation of the person's address (Japan only). -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getDeleted
Always true for a deleted object. -
getDob
-
getEmail
The person's email address. -
getFirstName
The person's first name. -
getFirstNameKana
The Kana variation of the person's first name (Japan only). -
getFirstNameKanji
The Kanji variation of the person's first name (Japan only). -
getFullNameAliases
A list of alternate names or aliases that the person is known by. -
getFutureRequirements
Information about the upcoming new requirements for this person, including what information needs to be collected, and by when. -
getGender
The person's gender (International regulations require either "male" or "female"). -
getIdNumberProvided
Whether the person'sid_number
was provided. True if either the full ID number was provided or if only the required part of the ID number was provided (ex. last four of an individual's SSN for the US indicated byssn_last_4_provided
). -
getIdNumberSecondaryProvided
Whether the person'sid_number_secondary
was provided. -
getLastName
The person's last name. -
getLastNameKana
The Kana variation of the person's last name (Japan only). -
getLastNameKanji
The Kanji variation of the person's last name (Japan only). -
getMaidenName
The person's maiden name. -
getNationality
The country where the person is a national. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
person
. -
getPhone
The person's phone number. -
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.One of
existing
, ornone
. -
getRegisteredAddress
-
getRelationship
-
getRequirements
Information about the requirements for this person, including what information needs to be collected, and by when. -
getSsnLast4Provided
Whether the last four digits of the person's Social Security number have been provided (U.S. only). -
getVerification
-
setAccount
The account the person is associated with. -
setAdditionalTosAcceptances
-
setAddress
-
setAddressKana
The Kana variation of the person's address (Japan only). -
setAddressKanji
The Kanji variation of the person's address (Japan only). -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setDeleted
Always true for a deleted object. -
setDob
-
setEmail
The person's email address. -
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). -
setFullNameAliases
A list of alternate names or aliases that the person is known by. -
setFutureRequirements
Information about the upcoming new requirements for this person, including what information needs to be collected, and by when. -
setGender
The person's gender (International regulations require either "male" or "female"). -
setId
Unique identifier for the object. -
setIdNumberProvided
Whether the person'sid_number
was provided. True if either the full ID number was provided or if only the required part of the ID number was provided (ex. last four of an individual's SSN for the US indicated byssn_last_4_provided
). -
setIdNumberSecondaryProvided
Whether the person'sid_number_secondary
was provided. -
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. -
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. -
setNationality
The country where the person is a national. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
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.One of
existing
, ornone
. -
setRegisteredAddress
-
setRelationship
-
setRequirements
Information about the requirements for this person, including what information needs to be collected, and by when. -
setSsnLast4Provided
Whether the last four digits of the person's Social Security number have been provided (U.S. only). -
setVerification
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the 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.- Specified by:
getMetadata
in interfaceMetadataStore<Person>
-