public enum ErrorCode extends java.lang.Enum<ErrorCode>
Enum Constant and Description |
---|
CARD_BLOCKED
The card blocked error.
|
CARD_DECLINED_BY_ISSUER
The declined by issuer error.
|
CARD_NOT_SUPPORTED
The card not supported error.
|
CARD_READER_BATTERY_TOO_LOW
The card reader battery too low error.
|
CARD_READER_GENERAL_ERROR
The card reader general error.
|
CARD_READER_INITIALIZATION_ERROR
The card reader initialization error.
|
CARD_READER_MODEL_NOT_SUPPORTED
The card reader model not supported error.
|
CARD_READER_NOT_CONNECTED_ERROR
The card reader not connected error.
|
CARD_READER_STATUS_ERROR
The card reader status error.
|
CARD_READER_TIME_OUT_ERROR
The card reader time out error.
|
CARD_READER_UNABLE_TO_CONNECT
Unable to connect to card reader.
|
DECLINED_BY_CARD
The declined by card error.
|
EMV_TRANSACTION_ERROR
The EMV transaction error.
|
FAILED_TO_GET_BATTERY_LEVEL
The failed to get battery info error.
|
INVALID_APPLICATION_ID
The invalid application error.
|
INVALID_CARD_DATA
The invalid card data error.
|
INVALID_CARD_READER_SELECTION
The invalid card reader selection error.
|
INVALID_SIGNATURE_IMAGE_ERROR
The invalid signature image error.
|
INVALID_TRANSACTION_ACCOUNT_ID
The invalid transaction account id error.
|
INVALID_TRANSACTION_AMOUNT
The invalid transaction amount error.
|
INVALID_TRANSACTION_CURRENCY_CODE
The invalid transaction currency code error.
|
INVALID_TRANSACTION_INFO
The invalid transaction info.
|
ISSUER_UNREACHABLE
The issuer unreachable error.
|
NAME_NOT_FOUND_ERROR
The name not found error.
|
NO_DATA_RETURNED_ERROR
The no data returned error.
|
PAYMENT_METHOD_CANNOT_BE_TOKENIZED
The payment method cannot be tokenized error.
|
TRANSACTION_INFO_NOT_PROVIDED
The transaction info not provided error.
|
UNKNOWN_ERROR
The unknown error.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
\internal
Gets the code.
|
java.lang.String |
toString() |
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 UNKNOWN_ERROR
public static final ErrorCode NO_DATA_RETURNED_ERROR
public static final ErrorCode CARD_READER_GENERAL_ERROR
public static final ErrorCode CARD_READER_INITIALIZATION_ERROR
public static final ErrorCode CARD_READER_TIME_OUT_ERROR
public static final ErrorCode CARD_READER_STATUS_ERROR
public static final ErrorCode INVALID_SIGNATURE_IMAGE_ERROR
public static final ErrorCode NAME_NOT_FOUND_ERROR
public static final ErrorCode INVALID_CARD_DATA
public static final ErrorCode CARD_NOT_SUPPORTED
public static final ErrorCode EMV_TRANSACTION_ERROR
public static final ErrorCode INVALID_APPLICATION_ID
public static final ErrorCode DECLINED_BY_CARD
public static final ErrorCode CARD_BLOCKED
public static final ErrorCode CARD_DECLINED_BY_ISSUER
public static final ErrorCode ISSUER_UNREACHABLE
public static final ErrorCode INVALID_TRANSACTION_INFO
public static final ErrorCode TRANSACTION_INFO_NOT_PROVIDED
public static final ErrorCode PAYMENT_METHOD_CANNOT_BE_TOKENIZED
public static final ErrorCode FAILED_TO_GET_BATTERY_LEVEL
public static final ErrorCode CARD_READER_NOT_CONNECTED_ERROR
public static final ErrorCode CARD_READER_MODEL_NOT_SUPPORTED
public static final ErrorCode INVALID_TRANSACTION_AMOUNT
public static final ErrorCode INVALID_TRANSACTION_CURRENCY_CODE
public static final ErrorCode INVALID_TRANSACTION_ACCOUNT_ID
public static final ErrorCode INVALID_CARD_READER_SELECTION
public static final ErrorCode CARD_READER_BATTERY_TOO_LOW
public static final ErrorCode CARD_READER_UNABLE_TO_CONNECT
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 int getCode()
public java.lang.String toString()
toString
in class java.lang.Enum<ErrorCode>