UNPKG

sfcc-dev-mcp

Version:

MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools

142 lines (72 loc) 2.09 kB
## Package: dw.catalog # Class ProductAvailabilityLevels ## Inheritance Hierarchy - Object - dw.catalog.ProductAvailabilityLevels ## Description Encapsulates the quantity of items available for each availability status. ## Properties ### backorder **Type:** Quantity (Read Only) The backorder quantity. ### count **Type:** Number (Read Only) The number of attributes that contain non-zero quantities. ### inStock **Type:** Quantity (Read Only) The quantity in stock. ### notAvailable **Type:** Quantity (Read Only) The quantity that is not available. ### preorder **Type:** Quantity (Read Only) The pre-order quantity. ## Constructor Summary ## Method Summary ### getBackorder **Signature:** `getBackorder() : Quantity` Returns the backorder quantity. ### getCount **Signature:** `getCount() : Number` Returns the number of attributes that contain non-zero quantities. ### getInStock **Signature:** `getInStock() : Quantity` Returns the quantity in stock. ### getNotAvailable **Signature:** `getNotAvailable() : Quantity` Returns the quantity that is not available. ### getPreorder **Signature:** `getPreorder() : Quantity` Returns the pre-order quantity. ## Method Detail ## Method Details ### getBackorder **Signature:** `getBackorder() : Quantity` **Description:** Returns the backorder quantity. **Returns:** the backorder quantity. --- ### getCount **Signature:** `getCount() : Number` **Description:** Returns the number of attributes that contain non-zero quantities. **Returns:** the number of attributes that contain non-zero quantities. --- ### getInStock **Signature:** `getInStock() : Quantity` **Description:** Returns the quantity in stock. **Returns:** the quantity in stock. --- ### getNotAvailable **Signature:** `getNotAvailable() : Quantity` **Description:** Returns the quantity that is not available. **Returns:** the quantity that is not available. --- ### getPreorder **Signature:** `getPreorder() : Quantity` **Description:** Returns the pre-order quantity. **Returns:** the pre-order quantity. ---