Package com.stripe.model
Class Person.Verification
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Person.Verification
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Person
public static class Person.Verification extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Verification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)Person.VerificationDocumentgetAdditionalDocument()A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.java.lang.StringgetDetails()A user-displayable string describing the verification state for the person.java.lang.StringgetDetailsCode()One ofdocument_address_mismatch,document_dob_mismatch,document_duplicate_type,document_id_number_mismatch,document_name_mismatch,document_nationality_mismatch,failed_keyed_identity, orfailed_other.Person.VerificationDocumentgetDocument()java.lang.StringgetStatus()The state of verification for the person.inthashCode()voidsetAdditionalDocument(Person.VerificationDocument additionalDocument)A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.voidsetDetails(java.lang.String details)A user-displayable string describing the verification state for the person.voidsetDetailsCode(java.lang.String detailsCode)One ofdocument_address_mismatch,document_dob_mismatch,document_duplicate_type,document_id_number_mismatch,document_name_mismatch,document_nationality_mismatch,failed_keyed_identity, orfailed_other.voidsetDocument(Person.VerificationDocument document)voidsetStatus(java.lang.String status)The state of verification for the person.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAdditionalDocument
public Person.VerificationDocument getAdditionalDocument()
A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
-
getDetails
public java.lang.String getDetails()
A user-displayable string describing the verification state for the person. For example, this may say "Provided identity information could not be verified".
-
getDetailsCode
public java.lang.String getDetailsCode()
One ofdocument_address_mismatch,document_dob_mismatch,document_duplicate_type,document_id_number_mismatch,document_name_mismatch,document_nationality_mismatch,failed_keyed_identity, orfailed_other. A machine-readable code specifying the verification state for the person.
-
getDocument
public Person.VerificationDocument getDocument()
-
getStatus
public java.lang.String getStatus()
The state of verification for the person. Possible values areunverified,pending, orverified.
-
setAdditionalDocument
public void setAdditionalDocument(Person.VerificationDocument additionalDocument)
A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
-
setDetails
public void setDetails(java.lang.String details)
A user-displayable string describing the verification state for the person. For example, this may say "Provided identity information could not be verified".
-
setDetailsCode
public void setDetailsCode(java.lang.String detailsCode)
One ofdocument_address_mismatch,document_dob_mismatch,document_duplicate_type,document_id_number_mismatch,document_name_mismatch,document_nationality_mismatch,failed_keyed_identity, orfailed_other. A machine-readable code specifying the verification state for the person.
-
setDocument
public void setDocument(Person.VerificationDocument document)
-
setStatus
public void setStatus(java.lang.String status)
The state of verification for the person. Possible values areunverified,pending, orverified.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-