DefaultProductVariantPriceCalculationStrategy

DefaultProductVariantPriceCalculationStrategy

DefaultProductVariantPriceCalculationStrategy

A default ProductVariant price calculation function.

Signature

class DefaultProductVariantPriceCalculationStrategy implements ProductVariantPriceCalculationStrategy {
  init(injector: Injector) => ;
  async calculate(args: ProductVariantPriceCalculationArgs) => Promise<PriceCalculationResult>;
}

Implements

Members

init

method
type:
(injector: Injector) =>

calculate

async method