Package com.stripe.model.identity
Class VerificationReport.Document.DocumentCheckError
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.identity.VerificationReport.Document.DocumentCheckError
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- VerificationReport.Document
public static class VerificationReport.Document.DocumentCheckError extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description DocumentCheckError()
-
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 failure.java.lang.String
getReason()
A human-readable message giving the reason for the failure.int
hashCode()
void
setCode(java.lang.String code)
A short machine-readable string giving the reason for the verification failure.void
setReason(java.lang.String reason)
A human-readable message giving the reason for the 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 failure.One of
document_expired
,document_type_not_supported
, ordocument_unverified_other
.
-
getReason
public java.lang.String getReason()
A human-readable message giving the reason for the failure. These messages can be shown to your users.
-
setCode
public void setCode(java.lang.String code)
A short machine-readable string giving the reason for the verification failure.One of
document_expired
,document_type_not_supported
, ordocument_unverified_other
.
-
setReason
public void setReason(java.lang.String reason)
A human-readable message giving the reason for the failure. These messages can be shown to your users.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-