Class ProductInventoryMgr
This manager provides access to inventory-related objects.
| Constant | Description |
|---|---|
| INTEGRATIONMODE_B2C: String = "B2C" | Integration mode 'B2C' - using B2C inventory, no integration with Omnichannel Inventory |
| INTEGRATIONMODE_OCI: String = "OCI" | Integration mode 'OCI' - integration with Omnichannel Inventory enabled |
| INTEGRATIONMODE_OCI_CACHE: String = "OCI_CACHE" | Integration mode 'OCI_CACHE' - using B2C inventory, initializing cache as preparation for integration with Omnichannel Inventory |
| Property | Description |
|---|---|
inventoryIntegrationMode: String (read-only) | Returns the current inventory integration mode as one of |
inventoryList: ProductInventoryList (read-only) | Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current site. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| static getInventoryIntegrationMode() | Returns the current inventory integration mode as one of |
| static getInventoryList() | Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current site. |
| static getInventoryList(String) | Returns the inventory list with the passed ID or null if no inventory list exists with that ID. |
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
- INTEGRATIONMODE_B2C: String = "B2C"
Integration mode 'B2C' - using B2C inventory, no integration with Omnichannel Inventory
- INTEGRATIONMODE_OCI: String = "OCI"
Integration mode 'OCI' - integration with Omnichannel Inventory enabled
- INTEGRATIONMODE_OCI_CACHE: String = "OCI_CACHE"
Integration mode 'OCI_CACHE' - using B2C inventory, initializing cache as preparation for integration with Omnichannel Inventory
- inventoryIntegrationMode: String
(read-only) Returns the current inventory integration mode as one of
- inventoryList: ProductInventoryList
(read-only) Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current site.
- static getInventoryIntegrationMode(): String
Returns the current inventory integration mode as one of
Returns:
- The current inventory integration mode as a constant String.
- static getInventoryList(): ProductInventoryList
Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current site.
Returns:
- The ProductInventoryList assigned to the current site, or null.
- static getInventoryList(listID: String): ProductInventoryList
Returns the inventory list with the passed ID or null if no inventory list exists with that ID.
Parameters:
- listID - The ID of the inventory list to retrieve.
Returns:
- The ProductInventoryList identified by listID, or null.