public static enum PaymentDevice.ReadMode extends Enum<PaymentDevice.ReadMode>
Enum Constant and Description |
---|
ALL
The card read mode is swipe, insert and touch.
|
INSERT
The card read mode is insert only.
|
MANUAL
Manual Entry, which requires entering the card information manually.
|
SWIPE
The card read mode is swipe only.
|
TOUCH
The card read mode is touch only.This is for future use.
|
Modifier and Type | Method and Description |
---|---|
static PaymentDevice.ReadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentDevice.ReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentDevice.ReadMode SWIPE
public static final PaymentDevice.ReadMode INSERT
public static final PaymentDevice.ReadMode TOUCH
public static final PaymentDevice.ReadMode MANUAL
public static final PaymentDevice.ReadMode ALL
public static PaymentDevice.ReadMode[] values()
for (PaymentDevice.ReadMode c : PaymentDevice.ReadMode.values()) System.out.println(c);
public static PaymentDevice.ReadMode 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 null