public static enum Storefront.SearchableField extends java.lang.Enum<Storefront.SearchableField>
| Enum Constant and Description |
|---|
AUTHOR
Author of the page or article.
|
BODY
Body of the page or article or product description or collection description.
|
PRODUCT_TYPE
Product type.
|
TAG
Tag associated with the product or article.
|
TITLE
Title of the page or article or product title or collection title.
|
UNKNOWN_VALUE |
VARIANTS_BARCODE
Variant barcode.
|
VARIANTS_SKU
Variant SKU.
|
VARIANTS_TITLE
Variant title.
|
VENDOR
Product vendor.
|
| Modifier and Type | Method and Description |
|---|---|
static Storefront.SearchableField |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.SearchableField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.SearchableField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.SearchableField AUTHOR
public static final Storefront.SearchableField BODY
public static final Storefront.SearchableField PRODUCT_TYPE
public static final Storefront.SearchableField TAG
public static final Storefront.SearchableField TITLE
public static final Storefront.SearchableField VARIANTS_BARCODE
public static final Storefront.SearchableField VARIANTS_SKU
public static final Storefront.SearchableField VARIANTS_TITLE
public static final Storefront.SearchableField VENDOR
public static final Storefront.SearchableField UNKNOWN_VALUE
public static Storefront.SearchableField[] values()
for (Storefront.SearchableField c : Storefront.SearchableField.values()) System.out.println(c);
public static Storefront.SearchableField 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.SearchableField fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.SearchableField>