public enum ResponseCode extends java.lang.Enum<ResponseCode>
| Modifier and Type | Method and Description |
|---|---|
static ResponseCode |
fromCode(java.lang.String code) |
java.lang.String |
getCode() |
static ResponseCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseCode ACCEPTED
public static final ResponseCode CARD_CEILING_EXCEEDED
public static final ResponseCode INVALID_MERCHANT_CONTRACT
public static final ResponseCode AUTHORIZATION_REFUSED
public static final ResponseCode PAN_BLOCKED
public static final ResponseCode INVALID_TRANSACTION
public static final ResponseCode INVALID_DATA
public static final ResponseCode CUSTOMER_CANCELLATION
public static final ResponseCode INCORRECT_FORMAT
public static final ResponseCode FRAUD_SUSPECTED
public static final ResponseCode PAYMENT_MEAN_EXPIRED
public static final ResponseCode PENDING
public static final ResponseCode SECURITY_RULES_NOT_OBSERVED
public static final ResponseCode MAX_ATTEMPTS_REACHED
public static final ResponseCode SERVICE_UNAVAILABLE
public static final ResponseCode DUPLICATED_TRANSACTION
public static final ResponseCode TIMEFRAME_EXCEEDED
public static final ResponseCode INTERNAL_ERROR
public static ResponseCode[] values()
for (ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode 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 ResponseCode fromCode(java.lang.String code) throws UnknownStatusException
UnknownStatusExceptionpublic java.lang.String getCode()