Indicates the best deal logic applies to a Cart or Order and indicates the discount type that offers the best deal.

interface BestDeal {
    chosenDiscountType: string;
    type: "BestDeal";
}

Hierarchy (View Summary)

Properties

chosenDiscountType: string

Discount type that offers the best deal; the value can be product-discount or cart-discount.

type: "BestDeal"