@vendure/core
Version:
A modern, headless ecommerce framework
12 lines (11 loc) • 572 B
TypeScript
import { RequestContext } from '../../api/common/request-context';
import { PriceCalculationResult } from '../../common/types/common-types';
import { ChangedPriceHandlingStrategy } from './changed-price-handling-strategy';
/**
* @description
* The default {@link ChangedPriceHandlingStrategy} will always use the latest price when
* updating existing OrderLines.
*/
export declare class DefaultChangedPriceHandlingStrategy implements ChangedPriceHandlingStrategy {
handlePriceChange(ctx: RequestContext, current: PriceCalculationResult): PriceCalculationResult;
}