public static enum Product.Type extends Enum<Product.Type>
| Enum Constant and Description |
|---|
EXTERNAL |
GROUPED |
SIMPLE |
VARIABLE |
VARIATION |
| Modifier and Type | Method and Description |
|---|---|
String |
jsonValue() |
static Product.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Product.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Product.Type SIMPLE
public static final Product.Type GROUPED
public static final Product.Type EXTERNAL
public static final Product.Type VARIABLE
public static final Product.Type VARIATION
public static Product.Type[] values()
for (Product.Type c : Product.Type.values()) System.out.println(c);
public static Product.Type 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 jsonValue()
Copyright © 2017 Netgrid. All rights reserved.