Class StockLevelProvider
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a stock level provider.
public abstract class StockLevelProvider
- Inheritance
-
StockLevelProvider
- Inherited Members
Methods
FindStockLevel(Product)
Finds the stock level of product.
[Obsolete("Use FindStockLevel(Product, String, StockLocation) instead.")]
public virtual double? FindStockLevel(Product product)
Parameters
product
Product- The product.
Returns
- double?
- The stock level.
FindStockLevel(Product, StockLocation)
Finds the stock level of product.
[Obsolete("Use FindStockLevel(Product, String, StockLocation) instead.")]
public virtual double? FindStockLevel(Product product, StockLocation stockLocation)
Parameters
product
Product- The product.
stockLocation
StockLocation- The stock location.
Returns
- double?
- The stock level.
FindStockLevel(Product, string, StockLocation)
Finds the stock level of product.
public virtual double? FindStockLevel(Product product, string unitId, StockLocation stockLocation)
Parameters
product
Product- The product.
unitId
string- The unit ID.
stockLocation
StockLocation- The stock location.
Returns
- double?
- The stock level.