public enum OrderLineType extends Enum<OrderLineType>
| Enum Constant and Description |
|---|
DIGITAL |
DISCOUNT |
GIFT_CARD |
PHYSICAL |
SHIPPING_FEE |
STORE_CREDIT |
SURCHARGE |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonValue() |
static OrderLineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderLineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderLineType PHYSICAL
public static final OrderLineType DISCOUNT
public static final OrderLineType DIGITAL
public static final OrderLineType SHIPPING_FEE
public static final OrderLineType STORE_CREDIT
public static final OrderLineType GIFT_CARD
public static final OrderLineType SURCHARGE
public static OrderLineType[] values()
for (OrderLineType c : OrderLineType.values()) System.out.println(c);
public static OrderLineType 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 nullpublic String getJsonValue()
Copyright © 2020. All rights reserved.