Class ProductAvailabilityLevels
Encapsulates the quantity of items available for each availability status.
Property Summary
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
| Method | Description |
|---|
| getBackorder() | Returns the backorder quantity. |
| getCount() | Returns the number of attributes that contain non-zero quantities. |
| getInStock() | Returns the quantity in stock. |
| getNotAvailable() | Returns the quantity that is not available. |
| getPreorder() | 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
Property Details
backorder
- backorder: Quantity
(read-only)
Returns the backorder quantity.
count
- count: Number
(read-only)
Returns the number of attributes that contain non-zero quantities.
inStock
- inStock: Quantity
(read-only)
Returns the quantity in stock.
notAvailable
- notAvailable: Quantity
(read-only)
Returns the quantity that is not available.
preorder
- preorder: Quantity
(read-only)
Returns the pre-order quantity.
Method Details
getBackorder()
- getBackorder(): Quantity
Returns the backorder quantity.
Returns:
getCount()
- getCount(): Number
Returns the number of attributes that contain non-zero quantities.
Returns:
- the number of attributes that contain non-zero quantities.
getInStock()
- getInStock(): Quantity
Returns the quantity in stock.
Returns:
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: