public enum DeviceType extends Enum<DeviceType>
Java class for DeviceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DeviceType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CashierDisplay"/>
<enumeration value="CustomerDisplay"/>
<enumeration value="CashierInput"/>
<enumeration value="CustomerInput"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CASHIER_DISPLAY
Used by the POI System (or the Sale System when the device is managed by the POI Terminal), to display some information to the Cashier.
|
CASHIER_INPUT
Any kind of keyboard allowing all or part of the commands of the Input messageType request from the Sale System to the POI System (InputCommand data element).
|
CUSTOMER_DISPLAY
Used by the Sale System (or the POI System when the device is managed by the Sale Terminal), to display some information to the Customer.
|
CUSTOMER_INPUT
Any kind of keyboard allowing all or part of the commands of the Input messageType request from the POI System to the Sale System (InputCommand data element).
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceType |
fromValue(String v)
From value device type.
|
String |
value()
Value string.
|
static DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceType CASHIER_DISPLAY
public static final DeviceType CUSTOMER_DISPLAY
public static final DeviceType CASHIER_INPUT
public static final DeviceType CUSTOMER_INPUT
public static DeviceType[] values()
for (DeviceType c : DeviceType.values()) System.out.println(c);
public static DeviceType 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 value()
public static DeviceType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.