public enum PrintFormat extends Enum<PrintFormat>
Constants for PrintFormat tag.
Specification: retail.
Enum Constant and Description |
---|
FIELDS_ONLY
Only fields are returned for printing, not a generated receipt.
|
NO_PRINT
Do not generate any receipts.
|
NORMAL
Receipts are generated, formatted and sent to the ECR.
|
ON_DEVICE
Receipts are generated and printed on the printer attached to the EFT terminal.
|
Modifier and Type | Method and Description |
---|---|
static PrintFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrintFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintFormat NO_PRINT
Do not generate any receipts.
Specification: retail.
public static final PrintFormat NORMAL
Receipts are generated, formatted and sent to the ECR. (default)
Specification: retail.
public static final PrintFormat ON_DEVICE
Receipts are generated and printed on the printer attached to the EFT terminal.
Specification: retail.
public static final PrintFormat FIELDS_ONLY
Only fields are returned for printing, not a generated receipt.
Specification: retail.
public static PrintFormat[] values()
for (PrintFormat c : PrintFormat.values()) System.out.println(c);
public static PrintFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null