public static enum Storefront.ProductVariantSortKeys extends java.lang.Enum<Storefront.ProductVariantSortKeys>
| Enum Constant and Description |
|---|
ID
Sort by the `id` value.
|
POSITION
Sort by the `position` value.
|
RELEVANCE
Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
SKU
Sort by the `sku` value.
|
TITLE
Sort by the `title` value.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.ProductVariantSortKeys |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.ProductVariantSortKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.ProductVariantSortKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.ProductVariantSortKeys ID
public static final Storefront.ProductVariantSortKeys POSITION
public static final Storefront.ProductVariantSortKeys RELEVANCE
public static final Storefront.ProductVariantSortKeys SKU
public static final Storefront.ProductVariantSortKeys TITLE
public static final Storefront.ProductVariantSortKeys UNKNOWN_VALUE
public static Storefront.ProductVariantSortKeys[] values()
for (Storefront.ProductVariantSortKeys c : Storefront.ProductVariantSortKeys.values()) System.out.println(c);
public static Storefront.ProductVariantSortKeys 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.ProductVariantSortKeys fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.ProductVariantSortKeys>