Class StockUnitService
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
public class StockUnitService : ICacheStorage<string, ConcurrentDictionary<string, StockUnit>>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
Stock
Unit Service
- Implements
- Inherited Members
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
ClearCache(IEnumerable<string>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keys
IEnumerable<string>Keys to reset
ClearCache(string)
Resets the specified key to the default value for objects stored in the object cache
Parameters
key
stringKey to reset
GetStockUnitById(int)
Parameters
id
int
Returns
MoveStockUnits(IEnumerable<ProductVariantMoveSetting>)
Parameters
stockUnitsMoveSettings
IEnumerable<ProductVariant >Move Setting