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 can only access a subset of data in 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 classFor more details about AdditionalTosAcceptances, please refer to the API Reference.static classFor more details about AddressKana, please refer to the API Reference.static classFor more details about AddressKanji, please refer to the API Reference.static classFor more details about Dob, please refer to the API Reference.static classFor more details about FutureRequirements, please refer to the API Reference.static classFor more details about Relationship, please refer to the API Reference.static classFor more details about Requirements, please refer to the API Reference.static classFor more details about SelfReportedIncome, please refer to the API Reference.static classFor more details about SelfReportedMonthlyHousingPayment, please refer to the API Reference.static classFor more details about UsCfpbData, please refer to the API Reference.static classFor more details about Verification, please refer to the API Reference.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.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.Demographic data related to the person.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.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.voidsetSelfReportedIncome(Person.SelfReportedIncome selfReportedIncome) voidsetSelfReportedMonthlyHousingPayment(Person.SelfReportedMonthlyHousingPayment selfReportedMonthlyHousingPayment) voidsetSsnLast4Provided(Boolean ssnLast4Provided) Whether the last four digits of the person's Social Security number have been provided (U.S.voidsetUsCfpbData(Person.UsCfpbData usCfpbData) Demographic data related to the person.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, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, 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. Also available for accounts where controller.requirement_collection isstripe. -
getFirstName
The person's first name. Also available for accounts where controller.requirement_collection isstripe. -
getFirstNameKana
The Kana variation of the person's first name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
getFirstNameKanji
The Kanji variation of the person's first name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
getFullNameAliases
A list of alternate names or aliases that the person is known by. Also available for accounts where controller.requirement_collection isstripe. -
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. -
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. Also available for accounts where controller.requirement_collection isstripe. -
getLastNameKana
The Kana variation of the person's last name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
getLastNameKanji
The Kanji variation of the person's last name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
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. -
getSelfReportedIncome
-
getSelfReportedMonthlyHousingPayment
-
getSsnLast4Provided
Whether the last four digits of the person's Social Security number have been provided (U.S. only). -
getUsCfpbData
Demographic data related to the person. -
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. Also available for accounts where controller.requirement_collection isstripe. -
setFirstName
The person's first name. Also available for accounts where controller.requirement_collection isstripe. -
setFirstNameKana
The Kana variation of the person's first name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
setFirstNameKanji
The Kanji variation of the person's first name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
setFullNameAliases
A list of alternate names or aliases that the person is known by. Also available for accounts where controller.requirement_collection isstripe. -
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. -
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. Also available for accounts where controller.requirement_collection isstripe. -
setLastNameKana
The Kana variation of the person's last name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
setLastNameKanji
The Kanji variation of the person's last name (Japan only). Also available for accounts where controller.requirement_collection isstripe. -
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. -
setSelfReportedIncome
-
setSelfReportedMonthlyHousingPayment
public void setSelfReportedMonthlyHousingPayment(Person.SelfReportedMonthlyHousingPayment selfReportedMonthlyHousingPayment) -
setSsnLast4Provided
Whether the last four digits of the person's Social Security number have been provided (U.S. only). -
setUsCfpbData
Demographic data related to the person. -
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>
-