Google Cloud Retail V2 Client - Class Availability (1.6.4)

Reference documentation and code samples for the Google Cloud Retail V2 Client class Availability.

Product availability. If this field is unspecified, the product is assumed to be in stock.

Protobuf type google.cloud.retail.v2.Product.Availability

Namespace

Google \ Cloud \ Retail \ V2 \ Product

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

AVAILABILITY_UNSPECIFIED

Value: 0

Default product availability. Default to Availability.IN_STOCK if unset.

Generated from protobuf enum AVAILABILITY_UNSPECIFIED = 0;

IN_STOCK

Value: 1

Product in stock.

Generated from protobuf enum IN_STOCK = 1;

OUT_OF_STOCK

Value: 2

Product out of stock.

Generated from protobuf enum OUT_OF_STOCK = 2;

PREORDER

Value: 3

Product that is in pre-order state.

Generated from protobuf enum PREORDER = 3;

BACKORDER

Value: 4

Product that is back-ordered (i.e. temporarily out of stock).

Generated from protobuf enum BACKORDER = 4;