public static enum Storefront.SearchUnavailableProductsType extends java.lang.Enum<Storefront.SearchUnavailableProductsType>
| Enum Constant and Description |
|---|
HIDE
Exclude unavailable products.
|
LAST
Show unavailable products after all other matching results.
|
SHOW
Show unavailable products in the order that they're found.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.SearchUnavailableProductsType |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.SearchUnavailableProductsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.SearchUnavailableProductsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.SearchUnavailableProductsType HIDE
public static final Storefront.SearchUnavailableProductsType LAST
public static final Storefront.SearchUnavailableProductsType SHOW
public static final Storefront.SearchUnavailableProductsType UNKNOWN_VALUE
public static Storefront.SearchUnavailableProductsType[] values()
for (Storefront.SearchUnavailableProductsType c : Storefront.SearchUnavailableProductsType.values()) System.out.println(c);
public static Storefront.SearchUnavailableProductsType 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.SearchUnavailableProductsType fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.SearchUnavailableProductsType>