dw.catalog
Class ProductAvailabilityLevels
dw.catalog.ProductAvailabilityLevels
Encapsulates the quantity of items available for each availability status.
Properties
backorder
:
Quantity
(Read Only)
The backorder quantity.
count
:
Number
(Read Only)
The number of attributes that contain non-zero quantities.
inStock
:
Quantity
(Read Only)
The quantity in stock.
notAvailable
:
Quantity
(Read Only)
The quantity that is not available.
preorder
:
Quantity
(Read Only)
The pre-order quantity.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getBackorder()
:
Quantity
Returns the backorder quantity.
getInStock()
:
Quantity
Returns the quantity in stock.
getNotAvailable()
:
Quantity
Returns the quantity that is not available.
getPreorder()
:
Quantity
Returns the pre-order quantity.
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Method Detail
getBackorder
getBackorder()
:
Quantity
Returns the backorder quantity.
Returns:
the backorder quantity.
getCount
getCount()
:
Number
Returns the number of attributes that contain non-zero quantities.
Returns:
the number of attributes that contain non-zero quantities.
getNotAvailable
getNotAvailable()
:
Quantity
Returns the quantity that is not available.
Returns:
the quantity that is not available.
getPreorder
getPreorder()
:
Quantity
Returns the pre-order quantity.
Returns:
the pre-order quantity.