Package io.moov.sdk.models.components
Enum RTPFailureCode
- java.lang.Object
-
- java.lang.Enum<RTPFailureCode>
-
- io.moov.sdk.models.components.RTPFailureCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RTPFailureCode>
public enum RTPFailureCode extends java.lang.Enum<RTPFailureCode>
RTPFailureCodeStatus codes for RTP failures.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_BLOCKEDACCOUNT_CLOSEDCUSTOMER_DECEASEDINVALID_ACCOUNTINVALID_AMOUNTINVALID_FIELDLIMIT_EXCEEDEDOTHERPROCESSING_ERRORTRANSACTION_NOT_SUPPORTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<RTPFailureCode>fromValue(java.lang.String value)java.lang.Stringvalue()static RTPFailureCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RTPFailureCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCESSING_ERROR
public static final RTPFailureCode PROCESSING_ERROR
-
INVALID_ACCOUNT
public static final RTPFailureCode INVALID_ACCOUNT
-
ACCOUNT_CLOSED
public static final RTPFailureCode ACCOUNT_CLOSED
-
ACCOUNT_BLOCKED
public static final RTPFailureCode ACCOUNT_BLOCKED
-
INVALID_FIELD
public static final RTPFailureCode INVALID_FIELD
-
TRANSACTION_NOT_SUPPORTED
public static final RTPFailureCode TRANSACTION_NOT_SUPPORTED
-
LIMIT_EXCEEDED
public static final RTPFailureCode LIMIT_EXCEEDED
-
INVALID_AMOUNT
public static final RTPFailureCode INVALID_AMOUNT
-
CUSTOMER_DECEASED
public static final RTPFailureCode CUSTOMER_DECEASED
-
OTHER
public static final RTPFailureCode OTHER
-
-
Method Detail
-
values
public static RTPFailureCode[] 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 (RTPFailureCode c : RTPFailureCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RTPFailureCode 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<RTPFailureCode> fromValue(java.lang.String value)
-
-