Package com.stripe.model.identity
Class VerificationReport.Options.Document
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.identity.VerificationReport.Options.Document
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- VerificationReport.Options
public static class VerificationReport.Options.Document extends StripeObject
-
-
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)
java.util.List<java.lang.String>
getAllowedTypes()
Array of strings of allowed identity document types.java.lang.Boolean
getRequireIdNumber()
Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.java.lang.Boolean
getRequireLiveCapture()
Disable image uploads, identity document images have to be captured using the device’s camera.java.lang.Boolean
getRequireMatchingSelfie()
Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face.int
hashCode()
void
setAllowedTypes(java.util.List<java.lang.String> allowedTypes)
Array of strings of allowed identity document types.void
setRequireIdNumber(java.lang.Boolean requireIdNumber)
Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.void
setRequireLiveCapture(java.lang.Boolean requireLiveCapture)
Disable image uploads, identity document images have to be captured using the device’s camera.void
setRequireMatchingSelfie(java.lang.Boolean requireMatchingSelfie)
Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAllowedTypes
public java.util.List<java.lang.String> getAllowedTypes()
Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.
-
getRequireIdNumber
public java.lang.Boolean getRequireIdNumber()
Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.
-
getRequireLiveCapture
public java.lang.Boolean getRequireLiveCapture()
Disable image uploads, identity document images have to be captured using the device’s camera.
-
getRequireMatchingSelfie
public java.lang.Boolean getRequireMatchingSelfie()
Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face. Learn more.
-
setAllowedTypes
public void setAllowedTypes(java.util.List<java.lang.String> allowedTypes)
Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.
-
setRequireIdNumber
public void setRequireIdNumber(java.lang.Boolean requireIdNumber)
Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.
-
setRequireLiveCapture
public void setRequireLiveCapture(java.lang.Boolean requireLiveCapture)
Disable image uploads, identity document images have to be captured using the device’s camera.
-
setRequireMatchingSelfie
public void setRequireMatchingSelfie(java.lang.Boolean requireMatchingSelfie)
Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face. Learn more.
-
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
-
-