public static enum Storefront.SellingPlanInterval extends java.lang.Enum<Storefront.SellingPlanInterval>
| Enum Constant and Description |
|---|
DAY
Day interval.
|
MONTH
Month interval.
|
UNKNOWN_VALUE |
WEEK
Week interval.
|
YEAR
Year interval.
|
| Modifier and Type | Method and Description |
|---|---|
static Storefront.SellingPlanInterval |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.SellingPlanInterval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.SellingPlanInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.SellingPlanInterval DAY
public static final Storefront.SellingPlanInterval MONTH
public static final Storefront.SellingPlanInterval WEEK
public static final Storefront.SellingPlanInterval YEAR
public static final Storefront.SellingPlanInterval UNKNOWN_VALUE
public static Storefront.SellingPlanInterval[] values()
for (Storefront.SellingPlanInterval c : Storefront.SellingPlanInterval.values()) System.out.println(c);
public static Storefront.SellingPlanInterval 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.SellingPlanInterval fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.SellingPlanInterval>