Class SalesDiscountService
- Namespace
- Dynamicweb.Ecommerce.Orders.SalesDiscounts
- Assembly
- Dynamicweb.Ecommerce.dll
SalesDiscount service provides operations for working with the SalesDiscounts
[Obsolete("Sales discount functionality is obsolete. Use Dynamicweb.Ecommerce.Orders.Discounts.* instead.")]
public class SalesDiscountService : ICacheStorage<string, SalesDiscount>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
SalesDiscountService
- Implements
- Inherited Members
Methods
ClearCache()
Clears discount caches.
public void ClearCache()
ClearCache(IEnumerable<string>)
Resets the specified keys to the default value for objects stored in the object cache
public void ClearCache(IEnumerable<string> keys)
Parameters
keys
IEnumerable<string>- Keys to reset
ClearCache(string)
Resets the specified key to the default value for objects stored in the object cache
public void ClearCache(string key)
Parameters
key
string- Key to reset