Package io.moov.sdk.models.components
Enum RequirementErrorCode
- java.lang.Object
-
- java.lang.Enum<RequirementErrorCode>
-
- io.moov.sdk.models.components.RequirementErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RequirementErrorCode>
public enum RequirementErrorCode extends java.lang.Enum<RequirementErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<RequirementErrorCode>fromValue(java.lang.String value)java.lang.Stringvalue()static RequirementErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RequirementErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_VALUE
public static final RequirementErrorCode INVALID_VALUE
-
FAILED_AUTOMATIC_VERIFICATION
public static final RequirementErrorCode FAILED_AUTOMATIC_VERIFICATION
-
FAILED_OTHER
public static final RequirementErrorCode FAILED_OTHER
-
INVALID_ADDRESS
public static final RequirementErrorCode INVALID_ADDRESS
-
ADDRESS_RESTRICTED
public static final RequirementErrorCode ADDRESS_RESTRICTED
-
TAX_ID_MISMATCH
public static final RequirementErrorCode TAX_ID_MISMATCH
-
DOCUMENT_ID_MISMATCH
public static final RequirementErrorCode DOCUMENT_ID_MISMATCH
-
DOCUMENT_DATE_OF_BIRTH_MISMATCH
public static final RequirementErrorCode DOCUMENT_DATE_OF_BIRTH_MISMATCH
-
DOCUMENT_NAME_MISMATCH
public static final RequirementErrorCode DOCUMENT_NAME_MISMATCH
-
DOCUMENT_ADDRESS_MISMATCH
public static final RequirementErrorCode DOCUMENT_ADDRESS_MISMATCH
-
DOCUMENT_NUMBER_MISMATCH
public static final RequirementErrorCode DOCUMENT_NUMBER_MISMATCH
-
DOCUMENT_INCOMPLETE
public static final RequirementErrorCode DOCUMENT_INCOMPLETE
-
DOCUMENT_FAILED_RISK
public static final RequirementErrorCode DOCUMENT_FAILED_RISK
-
DOCUMENT_ILLEGIBLE
public static final RequirementErrorCode DOCUMENT_ILLEGIBLE
-
DOCUMENT_UNSUPPORTED
public static final RequirementErrorCode DOCUMENT_UNSUPPORTED
-
DOCUMENT_NOT_UPLOADED
public static final RequirementErrorCode DOCUMENT_NOT_UPLOADED
-
DOCUMENT_CORRUPT
public static final RequirementErrorCode DOCUMENT_CORRUPT
-
DOCUMENT_EXPIRED
public static final RequirementErrorCode DOCUMENT_EXPIRED
-
-
Method Detail
-
values
public static RequirementErrorCode[] 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 (RequirementErrorCode c : RequirementErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequirementErrorCode 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
-
value
public java.lang.String value()
-
fromValue
public static java.util.Optional<RequirementErrorCode> fromValue(java.lang.String value)
-
-