public enum TransactionError extends java.lang.Enum<TransactionError>
Enum Constant and Description |
---|
ABORTED_BY_CARDHOLDER
The transaction was aborted by the card holder, either by pressing abort, or by removing
the card from the terminal before the transaction was completed.
|
ABORTED_BY_CASHIER
The transaction was aborted by a call to abortTransaction().
|
CARD_HAS_EXPIRED
Deprecated.
As of version 1.2.0 this value is no longer used.
See
INVALID_CARD instead. |
CARD_IS_BLOCKED
The transaction was declined because the card is blocked.
|
INVALID_CARD
The transaction was declined because the card is not valid for use in this terminal.
|
NONE
No error.
|
OFFLINE_QUEUE_IS_FULL
The transaction was declined because the queue of offline transactions is full and the
terminal was unable to authorise the transaction online.
|
REVERSED
The transaction was approved, but was then later reversed by the PAAS application.
|
TECHNICAL_ERROR
The terminal was unable to process the transaction because of a technical problem with the
or its configuration.
|
TERMINAL_IS_BUSY
The transaction was declined because the terminal is busy doing something at the
moment and is not able to process transactions.
|
TERMINAL_IS_OFFLINE
The transaction was declined because the terminal is unable to contact an authorisation host,
and the transaction is not allowed to be authorised offline.
|
TERMINAL_MUST_UPDATE
The transaction was declined because the terminal has received a signal from the authorisation
host that it has to update itself before processing the next transaction.
|
TRANSACTION_DECLINED
The transaction was declined.
|
WRONG_PIN
The transaction was declined because the card holder entered the wrong PIN.
|
Modifier and Type | Method and Description |
---|---|
static TransactionError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionError NONE
public static final TransactionError ABORTED_BY_CARDHOLDER
public static final TransactionError ABORTED_BY_CASHIER
public static final TransactionError TERMINAL_IS_BUSY
@Deprecated public static final TransactionError CARD_HAS_EXPIRED
INVALID_CARD
instead.public static final TransactionError INVALID_CARD
public static final TransactionError CARD_IS_BLOCKED
public static final TransactionError OFFLINE_QUEUE_IS_FULL
public static final TransactionError TECHNICAL_ERROR
public static final TransactionError TERMINAL_IS_OFFLINE
public static final TransactionError TERMINAL_MUST_UPDATE
public static final TransactionError TRANSACTION_DECLINED
public static final TransactionError WRONG_PIN
public static final TransactionError REVERSED
public static TransactionError[] values()
for (TransactionError c : TransactionError.values()) System.out.println(c);
public static TransactionError 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 null