DefaultOrderItemPriceCalculationStrategy
DefaultOrderItemPriceCalculationStrategy
The default OrderItemPriceCalculationStrategy, which simply passes through the price of the ProductVariant without performing any calculations
Signature
class DefaultOrderItemPriceCalculationStrategy implements OrderItemPriceCalculationStrategy {
calculateUnitPrice(ctx: RequestContext, productVariant: ProductVariant) => PriceCalculationResult | Promise<PriceCalculationResult>;
}
- Implements:
OrderItemPriceCalculationStrategy
calculateUnitPrice
method
(ctx: RequestContext, productVariant: ProductVariant) => PriceCalculationResult | Promise<PriceCalculationResult>