public static enum cmdReceipt.PaymentType extends java.lang.Enum<cmdReceipt.PaymentType>
Enum Constant and Description |
---|
cash |
credit_card |
debit_card |
other_pay3 |
other_pay4 |
other_pay5 |
Modifier and Type | Method and Description |
---|---|
static cmdReceipt.PaymentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static cmdReceipt.PaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final cmdReceipt.PaymentType cash
public static final cmdReceipt.PaymentType credit_card
public static final cmdReceipt.PaymentType debit_card
public static final cmdReceipt.PaymentType other_pay3
public static final cmdReceipt.PaymentType other_pay4
public static final cmdReceipt.PaymentType other_pay5
public static cmdReceipt.PaymentType[] values()
for (cmdReceipt.PaymentType c : cmdReceipt.PaymentType.values()) System.out.println(c);
public static cmdReceipt.PaymentType 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 null