London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IPriceOptimizer

Optimizes prices on certain criterias.

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