public static enum SkuCreateParams.Inventory.Value extends java.lang.Enum<SkuCreateParams.Inventory.Value> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
IN_STOCK |
LIMITED |
OUT_OF_STOCK |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SkuCreateParams.Inventory.Value |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SkuCreateParams.Inventory.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="in_stock") public static final SkuCreateParams.Inventory.Value IN_STOCK
@SerializedName(value="limited") public static final SkuCreateParams.Inventory.Value LIMITED
@SerializedName(value="out_of_stock") public static final SkuCreateParams.Inventory.Value OUT_OF_STOCK
public static SkuCreateParams.Inventory.Value[] values()
for (SkuCreateParams.Inventory.Value c : SkuCreateParams.Inventory.Value.values()) System.out.println(c);
public static SkuCreateParams.Inventory.Value 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 getValue()
getValue
in interface ApiRequestParams.EnumParam