public static enum Storefront.SearchSortKeys extends java.lang.Enum<Storefront.SearchSortKeys>
| Enum Constant and Description |
|---|
PRICE
Sort by the `price` value.
|
RELEVANCE
Sort by relevance to the search terms.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.SearchSortKeys |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.SearchSortKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.SearchSortKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.SearchSortKeys PRICE
public static final Storefront.SearchSortKeys RELEVANCE
public static final Storefront.SearchSortKeys UNKNOWN_VALUE
public static Storefront.SearchSortKeys[] values()
for (Storefront.SearchSortKeys c : Storefront.SearchSortKeys.values()) System.out.println(c);
public static Storefront.SearchSortKeys 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.SearchSortKeys fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.SearchSortKeys>