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