|
@@ -1,6 +1,7 @@
|
|
|
import { RequestContext } from '../../api/common/request-context';
|
|
import { RequestContext } from '../../api/common/request-context';
|
|
|
import { PriceCalculationResult } from '../../common/types/common-types';
|
|
import { PriceCalculationResult } from '../../common/types/common-types';
|
|
|
import { InjectableStrategy } from '../../common/types/injectable-strategy';
|
|
import { InjectableStrategy } from '../../common/types/injectable-strategy';
|
|
|
|
|
+import { Order } from '../../entity/order/order.entity';
|
|
|
import { ProductVariant } from '../../entity/product-variant/product-variant.entity';
|
|
import { ProductVariant } from '../../entity/product-variant/product-variant.entity';
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -56,5 +57,6 @@ export interface OrderItemPriceCalculationStrategy extends InjectableStrategy {
|
|
|
ctx: RequestContext,
|
|
ctx: RequestContext,
|
|
|
productVariant: ProductVariant,
|
|
productVariant: ProductVariant,
|
|
|
orderLineCustomFields: { [key: string]: any },
|
|
orderLineCustomFields: { [key: string]: any },
|
|
|
|
|
+ order: Order,
|
|
|
): PriceCalculationResult | Promise<PriceCalculationResult>;
|
|
): PriceCalculationResult | Promise<PriceCalculationResult>;
|
|
|
}
|
|
}
|