Class StockLevelManager
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a stock level manager.
public class StockLevelManager
- Inheritance
-
StockLevelManager
- Inherited Members
Methods
FindStockLevel(Product)
Finds the stock level of a product.
[Obsolete("Use overload with stockLocation instead.")]
public static double? FindStockLevel(Product product)
Parameters
product
Product- The product.
Returns
- double?
- The stock level of a product.
FindStockLevel(Product, StockLocation)
Finds the stock level of a product.
[Obsolete("Use FindStockLevel(Product, String, StockLocation) instead.")]
public static double? FindStockLevel(Product product, StockLocation stockLocation)
Parameters
product
Product- The product.
stockLocation
StockLocation- The stock location.
Returns
- double?
- The stock level of a product.
FindStockLevel(Product, string, StockLocation)
Finds the stock level of a product.
public static double? FindStockLevel(Product product, string unitId, StockLocation stockLocation)
Parameters
product
Product- The product.
unitId
stringstockLocation
StockLocation- The stock location.
Returns
- double?
- The stock level of a product.