public enum CashDrawerState extends java.lang.Enum<CashDrawerState>
Enum Constant and Description |
---|
CON_STATE_CONNECTED
Connected.
|
CON_STATE_DISCONNECTED
Disconnected.
|
CON_STATE_UNAVAILABLE
Unavailable.
|
CON_STATE_UNKNOWN
The result is unknown.
|
Modifier and Type | Method and Description |
---|---|
static CashDrawerState |
getEnum(int value)
Get enum from its numeric value.
|
int |
getNumValue() |
java.lang.String |
getTextValue() |
static CashDrawerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CashDrawerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CashDrawerState CON_STATE_UNAVAILABLE
public static final CashDrawerState CON_STATE_CONNECTED
public static final CashDrawerState CON_STATE_DISCONNECTED
public static final CashDrawerState CON_STATE_UNKNOWN
public static CashDrawerState[] values()
public static CashDrawerState 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 nullpublic int getNumValue()
public java.lang.String getTextValue()
public static CashDrawerState getEnum(int value)