ItemAvailability Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ItemAvailability> - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. ItemAvailability
- com.
- com.
public class ItemAvailability
Defines values for ItemAvailability.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Item |
DISCONTINUED
Static value Discontinued for ItemAvailability. |
final Item |
IN_STOCK
Static value InStock for ItemAvailability. |
final Item |
IN_STORE_ONLY
Static value InStoreOnly for ItemAvailability. |
final Item |
LIMITED_AVAILABILITY
Static value LimitedAvailability for ItemAvailability. |
final Item |
ONLINE_ONLY
Static value OnlineOnly for ItemAvailability. |
final Item |
OUT_OF_STOCK
Static value OutOfStock for ItemAvailability. |
final Item |
PRE_ORDER
Static value PreOrder for ItemAvailability. |
final Item |
SOLD_OUT
Static value SoldOut for ItemAvailability. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Item |
fromString(String name)
Creates or finds a ItemAvailability from its string representation. |
Collection<Item |
values() |
Field Details
DISCONTINUED
public static final ItemAvailability DISCONTINUED= fromString("Discontinued")
Static value Discontinued for ItemAvailability.
IN_STOCK
public static final ItemAvailability IN_STOCK= fromString("InStock")
Static value InStock for ItemAvailability.
IN_STORE_ONLY
public static final ItemAvailability IN_STORE_ONLY= fromString("InStoreOnly")
Static value InStoreOnly for ItemAvailability.
LIMITED_AVAILABILITY
public static final ItemAvailability LIMITED_AVAILABILITY= fromString("LimitedAvailability")
Static value LimitedAvailability for ItemAvailability.
ONLINE_ONLY
public static final ItemAvailability ONLINE_ONLY= fromString("OnlineOnly")
Static value OnlineOnly for ItemAvailability.
OUT_OF_STOCK
public static final ItemAvailability OUT_OF_STOCK= fromString("OutOfStock")
Static value OutOfStock for ItemAvailability.
PRE_ORDER
public static final ItemAvailability PRE_ORDER= fromString("PreOrder")
Static value PreOrder for ItemAvailability.
SOLD_OUT
public static final ItemAvailability SOLD_OUT= fromString("SoldOut")
Static value SoldOut for ItemAvailability.
Method Details
fromString
public static ItemAvailability fromString(String name)
Creates or finds a ItemAvailability from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java