Package com.stripe.model.identity
Class VerificationSession.Options.Document
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.identity.VerificationSession.Options.Document
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- VerificationSession.Options
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Array of strings of allowed identity document types.Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.Disable image uploads, identity document images have to be captured using the device’s camera.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
(List<String> allowedTypes) Array of strings of allowed identity document types.void
setRequireIdNumber
(Boolean requireIdNumber) Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.void
setRequireLiveCapture
(Boolean requireLiveCapture) Disable image uploads, identity document images have to be captured using the device’s camera.void
setRequireMatchingSelfie
(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
-
Constructor Details
-
Document
public Document()
-
-
Method Details
-
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
Collect an ID number and perform an ID number check with the document’s extracted name and date of birth. -
getRequireLiveCapture
Disable image uploads, identity document images have to be captured using the device’s camera. -
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
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
Collect an ID number and perform an ID number check with the document’s extracted name and date of birth. -
setRequireLiveCapture
Disable image uploads, identity document images have to be captured using the device’s camera. -
setRequireMatchingSelfie
Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face. Learn more. -
equals
-
canEqual
-
hashCode
public int hashCode()
-