public static enum Storefront.CartDeliveryGroupType extends java.lang.Enum<Storefront.CartDeliveryGroupType>
| Enum Constant and Description |
|---|
ONE_TIME_PURCHASE
The delivery group only contains merchandise that is either a one time purchase or a first delivery
of
subscription merchandise.
|
SUBSCRIPTION
The delivery group only contains subscription merchandise.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.CartDeliveryGroupType |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.CartDeliveryGroupType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.CartDeliveryGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.CartDeliveryGroupType ONE_TIME_PURCHASE
public static final Storefront.CartDeliveryGroupType SUBSCRIPTION
public static final Storefront.CartDeliveryGroupType UNKNOWN_VALUE
public static Storefront.CartDeliveryGroupType[] values()
for (Storefront.CartDeliveryGroupType c : Storefront.CartDeliveryGroupType.values()) System.out.println(c);
public static Storefront.CartDeliveryGroupType 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.CartDeliveryGroupType fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.CartDeliveryGroupType>