Package io.moov.sdk.models.components
Enum RTPRejectionCode
- java.lang.Object
-
- java.lang.Enum<RTPRejectionCode>
-
- io.moov.sdk.models.components.RTPRejectionCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RTPRejectionCode>
public enum RTPRejectionCode extends java.lang.Enum<RTPRejectionCode>
RTPRejectionCodeThe rejection code of an RTP transaction that caused the bank account status to change.
- AC03: Account Invalid - AC04: Account Closed - AC06: Account Blocked - AC14: Creditor Account Type Invalid - AG01: Transactions Forbidden On Account - AG03: Transaction Type Not Supported - MD07: Customer Deceased
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<RTPRejectionCode>fromValue(java.lang.String value)java.lang.Stringvalue()static RTPRejectionCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RTPRejectionCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AC03
public static final RTPRejectionCode AC03
-
AC04
public static final RTPRejectionCode AC04
-
AC06
public static final RTPRejectionCode AC06
-
AC14
public static final RTPRejectionCode AC14
-
AG01
public static final RTPRejectionCode AG01
-
AG03
public static final RTPRejectionCode AG03
-
MD07
public static final RTPRejectionCode MD07
-
-
Method Detail
-
values
public static RTPRejectionCode[] 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 (RTPRejectionCode c : RTPRejectionCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RTPRejectionCode 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<RTPRejectionCode> fromValue(java.lang.String value)
-
-