public enum RedirectionStatusCode extends java.lang.Enum<RedirectionStatusCode>
| Enum Constant and Description |
|---|
DUPLICATED_TRANSACTION |
FRAUD_SUSPECTED |
INCORRECT_FORMAT |
INTERNAL_ERROR |
INVALID_MERCHANT_CONTRACT |
INVALID_TRANSACTION |
TRANSACTION_INITIALIZED |
| Modifier and Type | Method and Description |
|---|---|
static RedirectionStatusCode |
fromCode(java.lang.String code) |
java.lang.String |
getCode() |
java.lang.String |
toString() |
static RedirectionStatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedirectionStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedirectionStatusCode TRANSACTION_INITIALIZED
public static final RedirectionStatusCode INVALID_MERCHANT_CONTRACT
public static final RedirectionStatusCode INVALID_TRANSACTION
public static final RedirectionStatusCode INCORRECT_FORMAT
public static final RedirectionStatusCode FRAUD_SUSPECTED
public static final RedirectionStatusCode DUPLICATED_TRANSACTION
public static final RedirectionStatusCode INTERNAL_ERROR
public static RedirectionStatusCode[] values()
for (RedirectionStatusCode c : RedirectionStatusCode.values()) System.out.println(c);
public static RedirectionStatusCode 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 RedirectionStatusCode fromCode(java.lang.String code) throws UnknownStatusException
UnknownStatusExceptionpublic java.lang.String getCode()
public java.lang.String toString()
toString in class java.lang.Enum<RedirectionStatusCode>