Package com.stripe.model.identity
Class VerificationReport.Document
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.identity.VerificationReport.Document
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- VerificationReport
public static class VerificationReport.Document extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VerificationReport.Document.DateOfBirth
static class
VerificationReport.Document.DocumentCheckError
static class
VerificationReport.Document.ExpirationDate
static class
VerificationReport.Document.IssuedDate
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Document()
-
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)
Address
getAddress()
Address as it appears in the document.VerificationReport.Document.DateOfBirth
getDob()
Date of birth as it appears in the document.VerificationReport.Document.DocumentCheckError
getError()
Details on the verification error.VerificationReport.Document.ExpirationDate
getExpirationDate()
Expiration date of the document.java.util.List<java.lang.String>
getFiles()
Array of File ids containing images for this document.java.lang.String
getFirstName()
First name as it appears in the document.VerificationReport.Document.IssuedDate
getIssuedDate()
Issued date of the document.java.lang.String
getIssuingCountry()
Issuing country of the document.java.lang.String
getLastName()
Last name as it appears in the document.java.lang.String
getNumber()
Document ID number.java.lang.String
getStatus()
Status of thisdocument
check.java.lang.String
getType()
Type of the document.int
hashCode()
void
setAddress(Address address)
Address as it appears in the document.void
setDob(VerificationReport.Document.DateOfBirth dob)
Date of birth as it appears in the document.void
setError(VerificationReport.Document.DocumentCheckError error)
Details on the verification error.void
setExpirationDate(VerificationReport.Document.ExpirationDate expirationDate)
Expiration date of the document.void
setFiles(java.util.List<java.lang.String> files)
Array of File ids containing images for this document.void
setFirstName(java.lang.String firstName)
First name as it appears in the document.void
setIssuedDate(VerificationReport.Document.IssuedDate issuedDate)
Issued date of the document.void
setIssuingCountry(java.lang.String issuingCountry)
Issuing country of the document.void
setLastName(java.lang.String lastName)
Last name as it appears in the document.void
setNumber(java.lang.String number)
Document ID number.void
setStatus(java.lang.String status)
Status of thisdocument
check.void
setType(java.lang.String type)
Type of the document.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAddress
public Address getAddress()
Address as it appears in the document.
-
getDob
public VerificationReport.Document.DateOfBirth getDob()
Date of birth as it appears in the document.
-
getError
public VerificationReport.Document.DocumentCheckError getError()
Details on the verification error. Present when status isunverified
.
-
getExpirationDate
public VerificationReport.Document.ExpirationDate getExpirationDate()
Expiration date of the document.
-
getFiles
public java.util.List<java.lang.String> getFiles()
Array of File ids containing images for this document.
-
getFirstName
public java.lang.String getFirstName()
First name as it appears in the document.
-
getIssuedDate
public VerificationReport.Document.IssuedDate getIssuedDate()
Issued date of the document.
-
getIssuingCountry
public java.lang.String getIssuingCountry()
Issuing country of the document.
-
getLastName
public java.lang.String getLastName()
Last name as it appears in the document.
-
getNumber
public java.lang.String getNumber()
Document ID number.
-
getStatus
public java.lang.String getStatus()
Status of thisdocument
check.One of
unverified
, orverified
.
-
getType
public java.lang.String getType()
Type of the document.One of
driving_license
,id_card
, orpassport
.
-
setAddress
public void setAddress(Address address)
Address as it appears in the document.
-
setDob
public void setDob(VerificationReport.Document.DateOfBirth dob)
Date of birth as it appears in the document.
-
setError
public void setError(VerificationReport.Document.DocumentCheckError error)
Details on the verification error. Present when status isunverified
.
-
setExpirationDate
public void setExpirationDate(VerificationReport.Document.ExpirationDate expirationDate)
Expiration date of the document.
-
setFiles
public void setFiles(java.util.List<java.lang.String> files)
Array of File ids containing images for this document.
-
setFirstName
public void setFirstName(java.lang.String firstName)
First name as it appears in the document.
-
setIssuedDate
public void setIssuedDate(VerificationReport.Document.IssuedDate issuedDate)
Issued date of the document.
-
setIssuingCountry
public void setIssuingCountry(java.lang.String issuingCountry)
Issuing country of the document.
-
setLastName
public void setLastName(java.lang.String lastName)
Last name as it appears in the document.
-
setNumber
public void setNumber(java.lang.String number)
Document ID number.
-
setStatus
public void setStatus(java.lang.String status)
Status of thisdocument
check.One of
unverified
, orverified
.
-
setType
public void setType(java.lang.String type)
Type of the document.One of
driving_license
,id_card
, orpassport
.
-
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
-
-