Class VerificationSession.LastError

    • Constructor Summary

      Constructors 
      Constructor Description
      LastError()  
    • 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.lang.String getCode()
      A short machine-readable string giving the reason for the verification or user-session failure.
      java.lang.String getReason()
      A message that explains the reason for verification or user-session failure.
      int hashCode()  
      void setCode​(java.lang.String code)
      A short machine-readable string giving the reason for the verification or user-session failure.
      void setReason​(java.lang.String reason)
      A message that explains the reason for verification or user-session failure.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LastError

        public LastError()
    • Method Detail

      • getCode

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object