public enum ProductCategory extends java.lang.Enum<ProductCategory>
Enumeration for product categories to be used with Branch commercial events
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static ProductCategory |
getValue(java.lang.String name) |
static ProductCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProductCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductCategory ANIMALS_AND_PET_SUPPLIES
public static final ProductCategory APPAREL_AND_ACCESSORIES
public static final ProductCategory ARTS_AND_ENTERTAINMENT
public static final ProductCategory BABY_AND_TODDLER
public static final ProductCategory BUSINESS_AND_INDUSTRIAL
public static final ProductCategory CAMERAS_AND_OPTICS
public static final ProductCategory ELECTRONICS
public static final ProductCategory FOOD_BEVERAGES_AND_TOBACCO
public static final ProductCategory FURNITURE
public static final ProductCategory HARDWARE
public static final ProductCategory HEALTH_AND_BEAUTY
public static final ProductCategory HOME_AND_GARDEN
public static final ProductCategory LUGGAGE_AND_BAGS
public static final ProductCategory MATURE
public static final ProductCategory MEDIA
public static final ProductCategory OFFICE_SUPPLIES
public static final ProductCategory RELIGIOUS_AND_CEREMONIAL
public static final ProductCategory SOFTWARE
public static final ProductCategory SPORTING_GOODS
public static final ProductCategory TOYS_AND_GAMES
public static final ProductCategory VEHICLES_AND_PARTS
public static ProductCategory[] values()
for (ProductCategory c : ProductCategory.values()) System.out.println(c);
public static ProductCategory 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 java.lang.String getName()
public static ProductCategory getValue(java.lang.String name)