Class StockLocationManager
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a stock location manager. Provides prepares and finds stock locations.
- Inheritance
-
Stock
Location Manager
- Inherited Members
Methods
GetStockLocations(OrderLine)
Find stocks for order line
Parameters
orderLine
OrderLine
Returns
UpdateStock(OrderLine, ProductOrderStockOperator)
Updates the stock.
Parameters
orderLine
OrderLine The order line.
stockOperator
ProductOrder Stock Operator The operator.
Returns
- bool
Whether stock was updated or not.
UpdateStock(OrderLine, ProductOrderStockOperator, StockLocation?)
Updates the stock.
public static bool UpdateStock(OrderLine orderLine, ProductOrderStockOperator stockOperator, StockLocation? stockLocation)
Parameters
orderLine
OrderLine The order line.
stockOperator
ProductOrder Stock Operator The operator.
stockLocation
StockLocation The stock location.
Returns
- bool
Whether stock was updated or not.