public static enum ProductItem.EnumAgeGroup extends Enum<ProductItem.EnumAgeGroup>
| Enum Constant and Description |
|---|
VALUE_ADULT |
VALUE_ALL_AGES |
VALUE_INFANT |
VALUE_KIDS |
VALUE_NEWBORN |
VALUE_TEEN |
VALUE_TODDLER |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ProductItem.EnumAgeGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductItem.EnumAgeGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="adult") public static final ProductItem.EnumAgeGroup VALUE_ADULT
@SerializedName(value="all ages") public static final ProductItem.EnumAgeGroup VALUE_ALL_AGES
@SerializedName(value="infant") public static final ProductItem.EnumAgeGroup VALUE_INFANT
@SerializedName(value="kids") public static final ProductItem.EnumAgeGroup VALUE_KIDS
@SerializedName(value="newborn") public static final ProductItem.EnumAgeGroup VALUE_NEWBORN
@SerializedName(value="teen") public static final ProductItem.EnumAgeGroup VALUE_TEEN
@SerializedName(value="toddler") public static final ProductItem.EnumAgeGroup VALUE_TODDLER
public static ProductItem.EnumAgeGroup[] values()
for (ProductItem.EnumAgeGroup c : ProductItem.EnumAgeGroup.values()) System.out.println(c);
public static ProductItem.EnumAgeGroup 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 toString()
toString in class Enum<ProductItem.EnumAgeGroup>Copyright © 2024. All rights reserved.