Class ProductInventoryMgr
This manager provides access to inventory-related objects.
Constant Summary
| 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 Summary
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
| 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. |
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
Constant Details
INTEGRATIONMODE_B2C
- INTEGRATIONMODE_B2C: String = "B2C"
Integration mode 'B2C' - using B2C inventory, no integration with Omnichannel Inventory
INTEGRATIONMODE_OCI
- INTEGRATIONMODE_OCI: String = "OCI"
Integration mode 'OCI' - integration with Omnichannel Inventory enabled
INTEGRATIONMODE_OCI_CACHE
- INTEGRATIONMODE_OCI_CACHE: String = "OCI_CACHE"
Integration mode 'OCI_CACHE' - using B2C inventory, initializing cache as preparation for integration with
Omnichannel Inventory
Property Details
inventoryIntegrationMode
- inventoryIntegrationMode: String
(read-only)
Returns the current inventory integration mode as one of
inventoryList
- 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.
Method Details
getInventoryIntegrationMode()
- static getInventoryIntegrationMode(): String
Returns the current inventory integration mode as one of
Returns:
- The current inventory integration mode as a constant String.
getInventoryList()
- 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.
getInventoryList(String)
- 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.