Enum TransactionStatus
- java.lang.Object
-
- java.lang.Enum<TransactionStatus>
-
- com.six.timapi.constants.TransactionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<TransactionStatus>
public enum TransactionStatus extends Enum<TransactionStatus>
Information of the current transaction state.
This field is returned in the TerminalStatus notification to give the current transaction state from the terminal.
The following values are valid:
Specification: retail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_SELECTION
Account selection is ongoing.APPLICATION_SELECTION
Application selection is ongoing.BUSY
The terminal is busy doing an action by itself, without an open request from the ECR.DCC_SELECTION
DCC selection in progress.ENTER_TIP
Tip Entry in progress.IDLE
No transaction running.PIN_ENTRY
CVM PIN has been selected.PROCESSING
Payment processing in progress.READING_CARD
Reading card data and matching applications.SIGNATURE_CAPTURE
CVM Signature has been selected.WAIT_FOR_CARD
Transaction started, no card inserted.WAIT_FOR_COMMIT
AutoCommit is disabled.WAIT_FOR_PROCEED
Terminal waits for another ECR command.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransactionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUSY
public static final TransactionStatus BUSY
The terminal is busy doing an action by itself, without an open request from the ECR. E.g. a timed Balance.
Specification: retail.
-
IDLE
public static final TransactionStatus IDLE
No transaction running.
Specification: retail.
-
WAIT_FOR_CARD
public static final TransactionStatus WAIT_FOR_CARD
Transaction started, no card inserted.
Specification: retail.
-
READING_CARD
public static final TransactionStatus READING_CARD
Reading card data and matching applications.
Specification: retail.
-
APPLICATION_SELECTION
public static final TransactionStatus APPLICATION_SELECTION
Application selection is ongoing. May require cardholder interaction.
Specification: retail.
-
WAIT_FOR_PROCEED
public static final TransactionStatus WAIT_FOR_PROCEED
Terminal waits for another ECR command.
Specification: retail.
-
DCC_SELECTION
public static final TransactionStatus DCC_SELECTION
DCC selection in progress.
Specification: retail.
-
ENTER_TIP
public static final TransactionStatus ENTER_TIP
Tip Entry in progress.
Specification: retail.
-
PIN_ENTRY
public static final TransactionStatus PIN_ENTRY
CVM PIN has been selected. PIN entry in progress.
Specification: retail.
-
SIGNATURE_CAPTURE
public static final TransactionStatus SIGNATURE_CAPTURE
CVM Signature has been selected. Signature capture ongoing.
Specification: retail.
-
PROCESSING
public static final TransactionStatus PROCESSING
Payment processing in progress.
Specification: retail.
-
WAIT_FOR_COMMIT
public static final TransactionStatus WAIT_FOR_COMMIT
AutoCommit is disabled. Waiting for Commit from ECR.
Specification: retail.
-
ACCOUNT_SELECTION
public static final TransactionStatus ACCOUNT_SELECTION
Account selection is ongoing. May require cardholder interaction.
Specification: retail.
-
-
Method Detail
-
values
public static TransactionStatus[] 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 (TransactionStatus c : TransactionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionStatus valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-