Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface IPriceOptimizer

Optimizes prices on certain criterias.

Namespace: Mediachase.Commerce.Pricing
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
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.