public static enum Storefront.DiscountApplicationAllocationMethod extends java.lang.Enum<Storefront.DiscountApplicationAllocationMethod>
| Enum Constant and Description |
|---|
ACROSS
The value is spread across all entitled lines.
|
EACH
The value is applied onto every entitled line.
|
ONE
Deprecated.
Use ACROSS instead.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.DiscountApplicationAllocationMethod |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.DiscountApplicationAllocationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.DiscountApplicationAllocationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.DiscountApplicationAllocationMethod ACROSS
public static final Storefront.DiscountApplicationAllocationMethod EACH
@Deprecated public static final Storefront.DiscountApplicationAllocationMethod ONE
public static final Storefront.DiscountApplicationAllocationMethod UNKNOWN_VALUE
public static Storefront.DiscountApplicationAllocationMethod[] values()
for (Storefront.DiscountApplicationAllocationMethod c : Storefront.DiscountApplicationAllocationMethod.values()) System.out.println(c);
public static Storefront.DiscountApplicationAllocationMethod 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 Storefront.DiscountApplicationAllocationMethod fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.DiscountApplicationAllocationMethod>