Package com.six.timapi.constants
Enum Class PrintFormat
- All Implemented Interfaces:
Serializable
,Comparable<PrintFormat>
,java.lang.constant.Constable
Constants for PrintFormat tag.
Specification: retail.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOnly fields are returned for printing, not a generated receipt.Do not generate any receipts.Receipts are generated, formatted and sent to the ECR.Receipts are generated and printed on the printer attached to the EFT terminal but not returned to the ECR.Receipts are generated and printed on the printer attached to the EFT terminal and receipt fields are returned to the ECR, not generated receipts.Receipts are generated and printed on the printer attached to the EFT terminal and generated receipts are returned to the ECR. -
Method Summary
Modifier and TypeMethodDescriptionstatic PrintFormat
Returns the enum constant of this class with the specified name.static PrintFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NO_PRINT
Do not generate any receipts.
Specification: retail.
-
NORMAL
Receipts are generated, formatted and sent to the ECR. (default)
Specification: retail.
-
ON_DEVICE
Receipts are generated and printed on the printer attached to the EFT terminal but not returned to the ECR.
Specification: retail.
-
FIELDS_ONLY
Only fields are returned for printing, not a generated receipt.
Specification: retail.
-
ON_DEVICE_WITH_RECEIPT
Receipts are generated and printed on the printer attached to the EFT terminal and generated receipts are returned to the ECR.
Specification: retail.
-
ON_DEVICE_WITH_FIELDS
Receipts are generated and printed on the printer attached to the EFT terminal and receipt fields are returned to the ECR, not generated receipts.
Specification: retail.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-