public enum AdditionalPaymentType extends java.lang.Enum<AdditionalPaymentType>
Enum Constant and Description |
---|
CASH
Cash payments.
|
MANUAL_CARD_ENTRY
Manually typed-in card payments.
|
OTHER
Check, third-party gift cards, and other payments.
|
Modifier and Type | Method and Description |
---|---|
static AdditionalPaymentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdditionalPaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdditionalPaymentType MANUAL_CARD_ENTRY
public static final AdditionalPaymentType CASH
public static final AdditionalPaymentType OTHER
public static AdditionalPaymentType[] values()
for (AdditionalPaymentType c : AdditionalPaymentType.values()) System.out.println(c);
public static AdditionalPaymentType 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