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 classVerificationReport.Document.DateOfBirthstatic classVerificationReport.Document.DocumentCheckErrorstatic classVerificationReport.Document.ExpirationDatestatic classVerificationReport.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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AddressgetAddress()Address as it appears in the document.VerificationReport.Document.DateOfBirthgetDob()Date of birth as it appears in the document.VerificationReport.Document.DocumentCheckErrorgetError()Details on the verification error.VerificationReport.Document.ExpirationDategetExpirationDate()Expiration date of the document.java.util.List<java.lang.String>getFiles()Array of File ids containing images for this document.java.lang.StringgetFirstName()First name as it appears in the document.VerificationReport.Document.IssuedDategetIssuedDate()Issued date of the document.java.lang.StringgetIssuingCountry()Issuing country of the document.java.lang.StringgetLastName()Last name as it appears in the document.java.lang.StringgetNumber()Document ID number.java.lang.StringgetStatus()Status of thisdocumentcheck.java.lang.StringgetType()Type of the document.inthashCode()voidsetAddress(Address address)Address as it appears in the document.voidsetDob(VerificationReport.Document.DateOfBirth dob)Date of birth as it appears in the document.voidsetError(VerificationReport.Document.DocumentCheckError error)Details on the verification error.voidsetExpirationDate(VerificationReport.Document.ExpirationDate expirationDate)Expiration date of the document.voidsetFiles(java.util.List<java.lang.String> files)Array of File ids containing images for this document.voidsetFirstName(java.lang.String firstName)First name as it appears in the document.voidsetIssuedDate(VerificationReport.Document.IssuedDate issuedDate)Issued date of the document.voidsetIssuingCountry(java.lang.String issuingCountry)Issuing country of the document.voidsetLastName(java.lang.String lastName)Last name as it appears in the document.voidsetNumber(java.lang.String number)Document ID number.voidsetStatus(java.lang.String status)Status of thisdocumentcheck.voidsetType(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 thisdocumentcheck.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 thisdocumentcheck.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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-