Package io.scanbot.sdk.documentdata
Enum DocumentVerificationStatus
- java.lang.Object
-
- java.lang.Enum<DocumentVerificationStatus>
-
- io.scanbot.sdk.documentdata.DocumentVerificationStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DocumentVerificationStatus>
public enum DocumentVerificationStatus extends java.lang.Enum<DocumentVerificationStatus>
Overall status of the document verification.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIDAt least one verification failed.OKAll the verifications passed successfully.OK_WITH_WARNINGSNo verifications failed, but some of them returned warnings.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentVerificationStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DocumentVerificationStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final DocumentVerificationStatus OK
All the verifications passed successfully.
-
OK_WITH_WARNINGS
public static final DocumentVerificationStatus OK_WITH_WARNINGS
No verifications failed, but some of them returned warnings.
-
INVALID
public static final DocumentVerificationStatus INVALID
At least one verification failed.
-
-
Method Detail
-
values
public static DocumentVerificationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentVerificationStatus c : DocumentVerificationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentVerificationStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-