Enum Class CardReaderStatus
- All Implemented Interfaces:
Serializable
,Comparable<CardReaderStatus>
,java.lang.constant.Constable
The CardReaderStatus tag is used to transport information about the current card reader activity.
The following values are valid:
Specification: retail.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCard has been ejected by the application.Card in the chip reader.Card information has been manually entered.Card has not been removed by the cardholder despite being prompted to do so (timeout: 15s).Contactless card has been presented.The shutter of the card reader is closed.The card reader is empty and accepts cards.Card has been swiped. -
Method Summary
Modifier and TypeMethodDescriptionstatic CardReaderStatus
Returns the enum constant of this class with the specified name.static CardReaderStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CARD_READER_CLOSED
The shutter of the card reader is closed. No cards can be inserted.
Specification: retail.
-
CARD_MANUALLY_ENTERED
Card information has been manually entered. Valid for Manual-Pan-Key.
Specification: retail.
-
CARD_SWIPED
Card has been swiped. Valid for Mag-Stripe.
Specification: retail.
-
CARD_NOT_REMOVED
Card has not been removed by the cardholder despite being prompted to do so (timeout: 15s). Valid for ICC.
Specification: retail.
-
CARD_PRESENTED
Contactless card has been presented. Only for ICC contactless transactions. Valid for Contactless.
Specification: retail.
-
CARD_READER_EMPTY
The card reader is empty and accepts cards.
Specification: retail.
-
CARD_INSERTED
Card in the chip reader.
Specification: retail.
-
CARD_EJECTED
Card has been ejected by the application.
Specification: retail.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-