com.mypos.myposcheckout.ipc.enumerable

 

Enum StatusCode

java.lang.Object java.lang.Enum<StatusCode> com.mypos.myposcheckout.ipc.enumerable.StatusCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StatusCode>


public enum StatusCode
extends java.lang.Enum<StatusCode>
Available API response status codes.

 

Enum Constant Summary

Enum Constants
Enum Constant and Description
DUPLICATE_TRANSMISSION 
EXCEEDED_LIMIT 
EXEEDED_ACCOUNT_LIMITS 
INACTIVE_ACOUNTIDENTIFIER 
INACTIVE_MANDATE_REFERENCE 
INVALID_ACOUNTIDENTIFIER 
INVALID_MANDATE_REFERENCE 
INVALID_PARAMS 
INVALID_REFERER 
INVALID_SID 
IPC_ERROR 
MANDATE_ALREADY_REGISTERED 
MISSING_REQ_PARAMS 
NOT_SUFFICIENT_FUNDS 
PAYMENT_TRIES 
SIGNATURE_FAILED 
SUCCESS 
TRANSACTION_AUTH_FAIL 
TRANSACTION_DECLINED 
TRANSACTION_NOT_PERMITTED 
UNDEFINED_ERROR 
UNSUPPORTED_CALL 
WRONG_AMOUNT 

 

Method Summary

All MethodsStatic MethodsInstance MethodsConcrete Methods
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()
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 (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)
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 name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()

forCode

public static StatusCode forCode(int code)