dw.catalog
Class ProductInventoryList
Object
dw.object.PersistentObject
dw.object.ExtensibleObject
dw.catalog.ProductInventoryList
The ProductInventoryList provides access to ID, description and defaultInStockFlag of the list. Furthermore inventory records can be accessed by product or product ID.
Properties
defaultInStockFlag  :  boolean  (Read Only)
The default in-stock flag of the inventory list.
description  :  String  (Read Only)
The description of the inventory list.
ID  :  String  (Read Only)
The ID of the inventory list.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getDefaultInStockFlag() : boolean
Returns the default in-stock flag of the inventory list.
getDescription() : String
Returns the description of the inventory list.
getID() : String
Returns the ID of the inventory list.
getRecord(product : Product) : ProductInventoryRecord
Returns the inventory record for the specified product or null if there is no record for the product in this list.
getRecord(productID : String) : ProductInventoryRecord
Returns the inventory record for the specified product ID or null if there is no record for the product id in this list.
Methods inherited from class ExtensibleObject
Methods inherited from class PersistentObject
Methods inherited from class Object
Method Detail
getDefaultInStockFlag
getDefaultInStockFlag() : boolean
Returns the default in-stock flag of the inventory list.
Returns:
Default in-stock flag of inventory list.

getDescription
getDescription() : String
Returns the description of the inventory list.
Returns:
Description of inventory list.

getID
getID() : String
Returns the ID of the inventory list.
Returns:
ID of inventory list.

getRecord
getRecord(product : Product) : ProductInventoryRecord
Returns the inventory record for the specified product or null if there is no record for the product in this list.
Parameters:
product - The product to lookup inventory record.
Returns:
Inventory record or null if not found.

getRecord
getRecord(productID : String) : ProductInventoryRecord
Returns the inventory record for the specified product ID or null if there is no record for the product id in this list.
Parameters:
productID - The product ID to lookup inventory record.
Returns:
Inventory record or null if not found.