public enum CardReaderState extends Enum<CardReaderState>
Enum Constant and Description |
---|
CHARGING
Terminal is charging.
|
CONFIGURING_READER
Configuring reader
|
CONNECTED
Connected to terminal
|
CONNECTING
Connecting to terminal
|
DECODING
Decoding data from terminal
|
DOWNLOADING_FILE
Downloading file: parameter String as filename
|
GETTING_SERIAL_NUMBER
Getting serial number from terminal
|
INITIALISING_ENCRYPTION
Encryption init...
|
INJECTING_KEYS
Injecting Keys to a terminal
|
MIURA_CARD_STATUS
This message is used to inform the integrating application that the terminal has either received data
from a magnetic card swipe, or the user has moved a card in or out of the smartcard reader.
|
MIURA_DEVICE_INFO
Embedded hardware device information held on a terminal.
|
MIURA_DEVICE_STATUS_CHANGE
This message will be sent each time the terminal's status changes, such as powered on,
or entered a wait state e.g.
|
NOT_CONNECTED
Terminal not connected yet
|
SPIRE_12_TRANSACTION_MODE_INITIALISATION_RESPONSE
Terminal responses for initialising the mPOS for Transaction operation.
|
SPIRE_14_RESTART_RESPONSE
The terminal response after a command to restart the mPOS.
|
SPIRE_42_GET_TRANSACTION_DATA_EVENT
Transaction and application payment related data during card application being selected.
|
SPIRE_46_GO_ONLINE_EVENT
Indicates that the transaction should go online for authorisation
Message class is com.payneteasy.reader.spire.events.SpireGoOnline46Event
|
SPIRE_46_GO_ONLINE_RESPONSE
The application received all data for online authorisation
Message class is com.payneteasy.reader.spire.supplementary.Spire46SupplementaryGoOnlineResponse
|
SPIRE_47_COMPLETE_TRANSACTION_EVENT
Indicate that the transaction is complete.
|
SPIRE_48_TERMINATE_TRANSACTION_EVENT
Indicate that the transaction has been terminated.
|
SPIRE_49_STATUS_REPORT
Indicate to the application the status of an ICC transaction.
|
SPIRE_53_SWIPED_CARD_EVENT
The application gets all data for MSR transaction and prepare to send it online.
|
SPIRE_53_SWIPED_TRANSACTION_EVENT
Getting data for swiped transaction.
|
SPIRE_RESTARTING
Spire terminal is restarting
|
Modifier and Type | Method and Description |
---|---|
String |
getMessageClassname() |
static CardReaderState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardReaderState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardReaderState NOT_CONNECTED
public static final CardReaderState CONNECTING
public static final CardReaderState CONNECTED
public static final CardReaderState DECODING
public static final CardReaderState CHARGING
public static final CardReaderState GETTING_SERIAL_NUMBER
public static final CardReaderState MIURA_DEVICE_INFO
MiuraDeviceInfoMessage
public static final CardReaderState MIURA_CARD_STATUS
MiuraCardStatusMessage
public static final CardReaderState MIURA_DEVICE_STATUS_CHANGE
MiuraDeviceStatusChangeMessage
public static final CardReaderState INJECTING_KEYS
public static final CardReaderState INITIALISING_ENCRYPTION
public static final CardReaderState CONFIGURING_READER
public static final CardReaderState DOWNLOADING_FILE
public static final CardReaderState SPIRE_14_RESTART_RESPONSE
public static final CardReaderState SPIRE_12_TRANSACTION_MODE_INITIALISATION_RESPONSE
public static final CardReaderState SPIRE_42_GET_TRANSACTION_DATA_EVENT
public static final CardReaderState SPIRE_46_GO_ONLINE_EVENT
public static final CardReaderState SPIRE_46_GO_ONLINE_RESPONSE
public static final CardReaderState SPIRE_47_COMPLETE_TRANSACTION_EVENT
public static final CardReaderState SPIRE_48_TERMINATE_TRANSACTION_EVENT
public static final CardReaderState SPIRE_49_STATUS_REPORT
public static final CardReaderState SPIRE_53_SWIPED_CARD_EVENT
public static final CardReaderState SPIRE_53_SWIPED_TRANSACTION_EVENT
public static final CardReaderState SPIRE_RESTARTING
public static CardReaderState[] values()
for (CardReaderState c : CardReaderState.values()) System.out.println(c);
public static CardReaderState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getMessageClassname()
Copyright © 2018. All rights reserved.