| Enum Constant and Description |
|---|
AMOUNT_TOO_HIGH |
AMOUNT_TOO_LOW |
AUTHENTICATION_REQUIRED |
BLACKLISTED |
BLOCKED |
BRAND_NOT_SUPPORTED |
CARD_DECLINED |
CURRENCY_NOT_SUPPORTED |
DO_NOT_TRY_AGAIN |
EXPIRED_CARD |
EXPIRED_TOKEN |
INCORRECT_ADDRESS |
INCORRECT_CVC |
INCORRECT_ZIP |
INSUFFICIENT_FUNDS |
INVALID_ACCOUNT |
INVALID_CVC |
INVALID_EXPIRY_MONTH |
INVALID_EXPIRY_YEAR |
INVALID_NUMBER |
LIMIT_EXCEEDED |
LOST_OR_STOLEN |
PAYMENT_METHOD_DECLINED |
PROCESSING_ERROR |
SUSPECTED_FRAUD |
UNRECOGNIZED
Used when received value can't be mapped to this enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
fromValue(java.lang.String value) |
java.lang.String |
getValue() |
static ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode AMOUNT_TOO_HIGH
public static final ErrorCode AMOUNT_TOO_LOW
public static final ErrorCode INVALID_NUMBER
public static final ErrorCode INVALID_EXPIRY_MONTH
public static final ErrorCode INVALID_EXPIRY_YEAR
public static final ErrorCode INVALID_CVC
public static final ErrorCode INCORRECT_CVC
public static final ErrorCode INCORRECT_ZIP
public static final ErrorCode INCORRECT_ADDRESS
public static final ErrorCode EXPIRED_CARD
public static final ErrorCode INSUFFICIENT_FUNDS
public static final ErrorCode LOST_OR_STOLEN
public static final ErrorCode SUSPECTED_FRAUD
public static final ErrorCode CARD_DECLINED
public static final ErrorCode PROCESSING_ERROR
public static final ErrorCode BLACKLISTED
public static final ErrorCode BLOCKED
public static final ErrorCode EXPIRED_TOKEN
public static final ErrorCode LIMIT_EXCEEDED
public static final ErrorCode AUTHENTICATION_REQUIRED
public static final ErrorCode DO_NOT_TRY_AGAIN
public static final ErrorCode CURRENCY_NOT_SUPPORTED
public static final ErrorCode BRAND_NOT_SUPPORTED
public static final ErrorCode PAYMENT_METHOD_DECLINED
public static final ErrorCode INVALID_ACCOUNT
public static final ErrorCode UNRECOGNIZED
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ErrorCode fromValue(java.lang.String value)
public java.lang.String getValue()