Interface IPriceOptimizer
Optimizes prices on certain criterias.
Namespace: Mediachase.Commerce.Pricing
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public interface IPriceOptimizer
Methods
OptimizePrices(IEnumerable<IPriceValue>)
Optimizes a collection of prices, remove duplicated and unwanted prices.
Declaration
IEnumerable<IOptimizedPriceValue> OptimizePrices(IEnumerable<IPriceValue> prices)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IPriceValue> | prices | The prices to optimized |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IOptimizedPriceValue> | A list of optimized prices. |