ItemAvailability Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<ItemAvailability>
      • com.microsoft.azure.cognitiveservices.search.visualsearch.models.ItemAvailability

public class ItemAvailability

Defines values for ItemAvailability.

Field Summary

Modifier and Type Field and Description
final ItemAvailability DISCONTINUED

Static value Discontinued for ItemAvailability.

final ItemAvailability IN_STOCK

Static value InStock for ItemAvailability.

final ItemAvailability IN_STORE_ONLY

Static value InStoreOnly for ItemAvailability.

final ItemAvailability LIMITED_AVAILABILITY

Static value LimitedAvailability for ItemAvailability.

final ItemAvailability ONLINE_ONLY

Static value OnlineOnly for ItemAvailability.

final ItemAvailability OUT_OF_STOCK

Static value OutOfStock for ItemAvailability.

final ItemAvailability PRE_ORDER

Static value PreOrder for ItemAvailability.

final ItemAvailability SOLD_OUT

Static value SoldOut for ItemAvailability.

Method Summary

Modifier and Type Method and Description
ItemAvailability fromString(String name)

Creates or finds a ItemAvailability from its string representation.

Collection<ItemAvailability> 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:

name - a name to look for

Returns:

the corresponding ItemAvailability

values

public static Collection values()

Returns:

known ItemAvailability values

Applies to