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
Fields that are due and can be satisfied by providing all fields inalternative_fields_due
.
-
-
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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
Person.VerificationDocument
getAdditionalDocument()
A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.java.lang.String
getDetails()
A user-displayable string describing the verification state for the person.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
.Person.VerificationDocument
getDocument()
java.lang.String
getStatus()
The state of verification for the person.int
hashCode()
void
setAdditionalDocument(Person.VerificationDocument additionalDocument)
A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.void
setDetails(java.lang.String details)
A user-displayable string describing the verification state for the person.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
.void
setDocument(Person.VerificationDocument document)
void
setStatus(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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-