public enum ProductRequestComponent extends Enum<ProductRequestComponent>
| Enum Constant and Description |
|---|
HTML_DESCRIPTION |
SHIPPING |
VARIATIONS |
| Modifier and Type | Method and Description |
|---|---|
static ProductRequestComponent |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ProductRequestComponent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductRequestComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductRequestComponent SHIPPING
public static final ProductRequestComponent HTML_DESCRIPTION
public static final ProductRequestComponent VARIATIONS
public static ProductRequestComponent[] values()
for (ProductRequestComponent c : ProductRequestComponent.values()) System.out.println(c);
public static ProductRequestComponent valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<ProductRequestComponent>public static ProductRequestComponent fromValue(String text)
Copyright © 2019. All rights reserved.