Enum StatusCode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StatusCode>
public enum StatusCode extends java.lang.Enum<StatusCode>
Enum Constant Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
static StatusCode |
forCode(int code) |
int |
getValue() |
static StatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail
SUCCESS
public static final StatusCode SUCCESS
MISSING_REQ_PARAMS
public static final StatusCode MISSING_REQ_PARAMS
SIGNATURE_FAILED
public static final StatusCode SIGNATURE_FAILED
IPC_ERROR
public static final StatusCode IPC_ERROR
INVALID_SID
public static final StatusCode INVALID_SID
INVALID_PARAMS
public static final StatusCode INVALID_PARAMS
INVALID_REFERER
public static final StatusCode INVALID_REFERER
PAYMENT_TRIES
public static final StatusCode PAYMENT_TRIES
TRANSACTION_AUTH_FAIL
public static final StatusCode TRANSACTION_AUTH_FAIL
WRONG_AMOUNT
public static final StatusCode WRONG_AMOUNT
UNSUPPORTED_CALL
public static final StatusCode UNSUPPORTED_CALL
INACTIVE_MANDATE_REFERENCE
public static final StatusCode INACTIVE_MANDATE_REFERENCE
INVALID_MANDATE_REFERENCE
public static final StatusCode INVALID_MANDATE_REFERENCE
NOT_SUFFICIENT_FUNDS
public static final StatusCode NOT_SUFFICIENT_FUNDS
TRANSACTION_NOT_PERMITTED
public static final StatusCode TRANSACTION_NOT_PERMITTED
EXCEEDED_LIMIT
public static final StatusCode EXCEEDED_LIMIT
MANDATE_ALREADY_REGISTERED
public static final StatusCode MANDATE_ALREADY_REGISTERED
INACTIVE_ACOUNTIDENTIFIER
public static final StatusCode INACTIVE_ACOUNTIDENTIFIER
INVALID_ACOUNTIDENTIFIER
public static final StatusCode INVALID_ACOUNTIDENTIFIER
EXEEDED_ACCOUNT_LIMITS
public static final StatusCode EXEEDED_ACCOUNT_LIMITS
DUPLICATE_TRANSMISSION
public static final StatusCode DUPLICATE_TRANSMISSION
TRANSACTION_DECLINED
public static final StatusCode TRANSACTION_DECLINED
UNDEFINED_ERROR
public static final StatusCode UNDEFINED_ERROR
Method Detail
values
public static StatusCode[] values()
for (StatusCode c : StatusCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static StatusCode valueOf(java.lang.String name)
- 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
getValue
public int getValue()
forCode
public static StatusCode forCode(int code)