public static enum Storefront.ProductRecommendationIntent extends java.lang.Enum<Storefront.ProductRecommendationIntent>
| Enum Constant and Description |
|---|
COMPLEMENTARY
Offer customers products that are complementary to a product for which recommendations are to be
fetched.
|
RELATED
Offer customers a mix of products that are similar or complementary to a product for which
recommendations are to be fetched.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.ProductRecommendationIntent |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.ProductRecommendationIntent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.ProductRecommendationIntent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.ProductRecommendationIntent COMPLEMENTARY
public static final Storefront.ProductRecommendationIntent RELATED
public static final Storefront.ProductRecommendationIntent UNKNOWN_VALUE
public static Storefront.ProductRecommendationIntent[] values()
for (Storefront.ProductRecommendationIntent c : Storefront.ProductRecommendationIntent.values()) System.out.println(c);
public static Storefront.ProductRecommendationIntent 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.ProductRecommendationIntent fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.ProductRecommendationIntent>