Table of Contents

Interface IPriceCalculationStepsProvider<TCalculationRequest, TCalculationResult>

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Represents a provider that supplies a list of price calculation steps. Implement and register a class that implements this interface to define a custom sequence of price calculation steps for the price calculation pipeline.

public interface IPriceCalculationStepsProvider<TCalculationRequest, TCalculationResult> where TCalculationRequest : IPriceCalculationRequest where TCalculationResult : IPriceCalculationResult

Type Parameters

TCalculationRequest
TCalculationResult
Extension Methods

Methods

Get(TCalculationRequest)

Gets the collection of price calculation steps to be executed in the price calculation pipeline.

IEnumerable<IPriceCalculationStep<TCalculationRequest, TCalculationResult>> Get(TCalculationRequest request)

Parameters

request TCalculationRequest

Returns

IEnumerable<IPriceCalculationStep<TCalculationRequest, TCalculationResult>>