public static enum CashDrawerStatus.Code extends java.lang.Enum<CashDrawerStatus.Code>
Enum Constant and Description |
---|
CLOSED |
CONNECTED |
DISCONNECTED |
ERROR |
OPENEND |
UNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
static CashDrawerStatus.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CashDrawerStatus.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CashDrawerStatus.Code CONNECTED
public static final CashDrawerStatus.Code DISCONNECTED
public static final CashDrawerStatus.Code UNAVAILABLE
public static final CashDrawerStatus.Code OPENEND
public static final CashDrawerStatus.Code CLOSED
public static final CashDrawerStatus.Code ERROR
public static CashDrawerStatus.Code[] values()
for (CashDrawerStatus.Code c : CashDrawerStatus.Code.values()) System.out.println(c);
public static CashDrawerStatus.Code valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null