Package com.six.timapi.constants
Enum PrintFlag
- java.lang.Object
-
- java.lang.Enum<PrintFlag>
-
- com.six.timapi.constants.PrintFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<PrintFlag>
public enum PrintFlag extends Enum<PrintFlag>
Constants for PrintFlag tag or&ed together.
Specification: retail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SUPPRESS_ECR_INFO
Do not print ECR information.SUPPRESS_EFT_INFO
Do not print EFT terminal information.SUPPRESS_FOOTER
Do not print footers e.g.SUPPRESS_HEADER
Do not print receipt headers.SUPPRESS_SIGNATURE
Do not print signature line.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrintFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static PrintFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPPRESS_HEADER
public static final PrintFlag SUPPRESS_HEADER
Do not print receipt headers.
Specification: retail.
-
SUPPRESS_SIGNATURE
public static final PrintFlag SUPPRESS_SIGNATURE
Do not print signature line.
Specification: retail.
-
SUPPRESS_ECR_INFO
public static final PrintFlag SUPPRESS_ECR_INFO
Do not print ECR information.
Specification: retail.
-
SUPPRESS_EFT_INFO
public static final PrintFlag SUPPRESS_EFT_INFO
Do not print EFT terminal information.
Specification: retail.
-
SUPPRESS_FOOTER
public static final PrintFlag SUPPRESS_FOOTER
Do not print footers e.g. Additional Ticket Text.
Specification: retail.
-
-
Method Detail
-
values
public static PrintFlag[] 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 (PrintFlag c : PrintFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrintFlag 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
-
-