Package com.stripe.model.identity
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
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description LastError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetCode()A short machine-readable string giving the reason for the verification or user-session failure.java.lang.StringgetReason()A message that explains the reason for verification or user-session failure.inthashCode()voidsetCode(java.lang.String code)A short machine-readable string giving the reason for the verification or user-session failure.voidsetReason(java.lang.String reason)A message that explains the reason for verification or user-session failure.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
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, orunder_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, orunder_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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-