Table of Contents

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)

Finds the stock level of a product.
[Obsolete("Use overload with stockLocation instead.")]
public override 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 override 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 override 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 of a product.
To top