public static enum Storefront.UnitSystem extends java.lang.Enum<Storefront.UnitSystem>
| Enum Constant and Description |
|---|
IMPERIAL_SYSTEM
Imperial system of weights and measures.
|
METRIC_SYSTEM
Metric system of weights and measures.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.UnitSystem |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.UnitSystem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.UnitSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.UnitSystem IMPERIAL_SYSTEM
public static final Storefront.UnitSystem METRIC_SYSTEM
public static final Storefront.UnitSystem UNKNOWN_VALUE
public static Storefront.UnitSystem[] values()
for (Storefront.UnitSystem c : Storefront.UnitSystem.values()) System.out.println(c);
public static Storefront.UnitSystem 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.UnitSystem fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.UnitSystem>