interface MultiBuyLineItemsTarget {
    discountedQuantity: number;
    maxOccurrence?: number;
    predicate: string;
    selectionMode: string;
    triggerQuantity: number;
    type: "multiBuyLineItems";
}

Properties

discountedQuantity: number

Number of Line Items that are discounted per application of this Discount. It must be less than or equal to the triggerQuantity.

maxOccurrence?: number

Maximum number of times this Discount can be applied. Do not set if the Discount should be applied an unlimited number of times.

predicate: string

Valid LineItem target predicate. The Discount will be applied to Line Items that are matched by the predicate.

selectionMode: string

Discounts particular Line Items only according to the SelectionMode.

triggerQuantity: number

Number of Line Items to be present in order to trigger an application of this Discount.

type: "multiBuyLineItems"