Interface IPriceCalculationStepsProvider<TCalculationRequest, TCalculationResult>
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
TCalculationRequestTCalculationResult
- 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
requestTCalculationRequest
Returns
- IEnumerable<IPriceCalculationStep<TCalculationRequest, TCalculationResult>>