public enum ReceiptHeader extends java.lang.Enum<ReceiptHeader>
receipt headers (sales - merchant, customer)| Enum Constant and Description |
|---|
CUSTOMER
Set the
receipt header to customer |
SALES
Set the
receipt header to sales |
| Modifier and Type | Method and Description |
|---|---|
static ReceiptHeader |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiptHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceiptHeader CUSTOMER
receipt header to customerpublic static final ReceiptHeader SALES
receipt header to salespublic static ReceiptHeader 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 static ReceiptHeader[] values()
for (ReceiptHeader c : ReceiptHeader.values()) System.out.println(c);