Class DefaultStockLevelProvider
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a default stock level provider.
public class DefaultStockLevelProvider : StockLevelProvider
- Inheritance
-
DefaultStockLevelProvider
- Inherited Members
Methods
FindStockLevel(Product, string, StockLocation)
Finds the stock level of a product.
public override double? FindStockLevel(Product product, string unitId, StockLocation stockLocation)
Parameters
product
ProductThe product.
unitId
stringThe unit ID.
stockLocation
StockLocationThe stock location.
Returns
- double?
The stock level of a product.