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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classThe user agent of the browser from which the legal guardian accepted the service agreement.static classstatic classstatic classstatic classThe specific user onboarding requirement field (in the requirements hash) that needs to be resolved.static classstatic classThe 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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandelete()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.booleanThe 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_numberwas provided.Whether the person'sid_number_secondarywas 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.inthashCode()voidsetAccount(String account) The account the person is associated with.voidsetAdditionalTosAcceptances(Person.AdditionalTosAcceptances additionalTosAcceptances) voidsetAddress(Address address) voidsetAddressKana(Person.AddressKana addressKana) The Kana variation of the person's address (Japan only).voidsetAddressKanji(Person.AddressKanji addressKanji) The Kanji variation of the person's address (Japan only).voidsetCreated(Long created) Time at which the object was created.voidsetDeleted(Boolean deleted) Always true for a deleted object.voidsetDob(Person.Dob dob) voidThe person's email address.voidsetFirstName(String firstName) The person's first name.voidsetFirstNameKana(String firstNameKana) The Kana variation of the person's first name (Japan only).voidsetFirstNameKanji(String firstNameKanji) The Kanji variation of the person's first name (Japan only).voidsetFullNameAliases(List<String> fullNameAliases) A list of alternate names or aliases that the person is known by.voidsetFutureRequirements(Person.FutureRequirements futureRequirements) Information about the upcoming new requirements for this person, including what information needs to be collected, and by when.voidThe person's gender (International regulations require either "male" or "female").voidUnique identifier for the object.voidsetIdNumberProvided(Boolean idNumberProvided) Whether the person'sid_numberwas provided.voidsetIdNumberSecondaryProvided(Boolean idNumberSecondaryProvided) Whether the person'sid_number_secondarywas provided.voidsetLastName(String lastName) The person's last name.voidsetLastNameKana(String lastNameKana) The Kana variation of the person's last name (Japan only).voidsetLastNameKanji(String lastNameKanji) The Kanji variation of the person's last name (Japan only).voidsetMaidenName(String maidenName) The person's maiden name.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidsetNationality(String nationality) The country where the person is a national.voidString representing the object's type.voidThe person's phone number.voidsetPoliticalExposure(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.voidsetRegisteredAddress(Address registeredAddress) voidsetRelationship(Person.Relationship relationship) voidsetRequirements(Person.Requirements requirements) Information about the requirements for this person, including what information needs to be collected, and by when.voidsetResponseGetter(StripeResponseGetter responseGetter) Get expandedfront.voidsetSsnLast4Provided(Boolean ssnLast4Provided) Whether the last four digits of the person's Social Security number have been provided (U.S.voidsetVerification(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, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 theexecutiveparameter, you cannot delete the only verifiedexecutiveon 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 theexecutiveparameter, you cannot delete the only verifiedexecutiveon 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 theexecutiveparameter, you cannot delete the only verifiedexecutiveon 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 theexecutiveparameter, you cannot delete the only verifiedexecutiveon file.- Throws:
StripeException
-
update
Updates an existing person.- Specified by:
updatein interfaceMetadataStore<Person>- Throws:
StripeException
-
update
Updates an existing person.- Specified by:
updatein interfaceMetadataStore<Person>- Throws:
StripeException
-
update
Updates an existing person.- Throws:
StripeException
-
update
Updates an existing person.- Throws:
StripeException
-
setResponseGetter
Get expandedfront.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance 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_numberwas 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_secondarywas 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_numberwas 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_secondarywas 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:
getMetadatain interfaceMetadataStore<Person>
-