DefaultProductVariantPriceCalculationStrategy
DefaultProductVariantPriceCalculationStrategy
A default ProductVariant price calculation function.
Signature
class DefaultProductVariantPriceCalculationStrategy implements ProductVariantPriceCalculationStrategy {
init(injector: Injector) => ;
calculate(args: ProductVariantPriceCalculationArgs) => Promise<PriceCalculationResult>;
}
- Implements:
ProductVariantPriceCalculationStrategy
init
method
(injector: Injector) =>
calculate
method
(args: ProductVariantPriceCalculationArgs) => Promise<PriceCalculationResult>