public enum PaymentContext extends Enum<PaymentContext>
Enum Constant and Description |
---|
EXTRA
The entity was charged more than ususal for some reason
|
MIX
Different
OrderItem s or some items had different payment context. |
NORMAL
Charged @ Standard rate
|
PROMOTION
|
SALE
Some general Sale the portal has put up
|
Modifier and Type | Method and Description |
---|---|
static PaymentContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentContext EXTRA
public static final PaymentContext NORMAL
public static final PaymentContext SALE
public static final PaymentContext PROMOTION
public static final PaymentContext MIX
public static PaymentContext[] values()
for (PaymentContext c : PaymentContext.values()) System.out.println(c);
public static PaymentContext 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 nullCopyright © 2018. All rights reserved.