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

public static class VerificationSession.Options.Document extends StripeObject
  • Constructor Details

    • Document

      public Document()
  • Method Details

    • getAllowedTypes

      public List<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 Boolean getRequireIdNumber()
      Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.
    • getRequireLiveCapture

      public Boolean getRequireLiveCapture()
      Disable image uploads, identity document images have to be captured using the device’s camera.
    • getRequireMatchingSelfie

      public 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(List<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(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(Boolean requireLiveCapture)
      Disable image uploads, identity document images have to be captured using the device’s camera.
    • setRequireMatchingSelfie

      public 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. Learn more.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object