Package com.six.timapi.constants
Enum ReceiptRequestType
- java.lang.Object
-
- java.lang.Enum<ReceiptRequestType>
-
- com.six.timapi.constants.ReceiptRequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<ReceiptRequestType>
public enum ReceiptRequestType extends Enum<ReceiptRequestType>
Constants for ReceiptRequestType tag.
Specification: retail.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReceiptRequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReceiptRequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPRINT
public static final ReceiptRequestType REPRINT
Only the latest receipt is returned for reprinting.
Specification: retail.
-
LIST
public static final ReceiptRequestType LIST
A list of collected silent receipts is returned.
Specification: retail.
-
-
Method Detail
-
values
public static ReceiptRequestType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReceiptRequestType c : ReceiptRequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReceiptRequestType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-