Class VerificationSession.LastError

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.identity.VerificationSession.LastError
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
VerificationSession

public static class VerificationSession.LastError extends StripeObject
Shows last VerificationSession error.
  • Constructor Details

    • LastError

      public LastError()
  • Method Details

    • getCode

      public String getCode()
      A short machine-readable string giving the reason for the verification or user-session failure.

      One of abandoned, consent_declined, country_not_supported, device_not_supported, document_expired, document_type_not_supported, document_unverified_other, id_number_insufficient_document_data, id_number_mismatch, id_number_unverified_other, selfie_document_missing_photo, selfie_face_mismatch, selfie_manipulated, selfie_unverified_other, or under_supported_age.

    • getReason

      public String getReason()
      A message that explains the reason for verification or user-session failure.
    • setCode

      public void setCode(String code)
      A short machine-readable string giving the reason for the verification or user-session failure.

      One of abandoned, consent_declined, country_not_supported, device_not_supported, document_expired, document_type_not_supported, document_unverified_other, id_number_insufficient_document_data, id_number_mismatch, id_number_unverified_other, selfie_document_missing_photo, selfie_face_mismatch, selfie_manipulated, selfie_unverified_other, or under_supported_age.

    • setReason

      public void setReason(String reason)
      A message that explains the reason for verification or user-session failure.
    • 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