Typescript SDK Type Docs
    Preparing search index...

    Interface BestDeal

    Indicates if a Product Discount or Cart Discount offers the best deal for a Cart or Order.

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

    Hierarchy (View Summary)

    Index

    Properties

    chosenDiscountType: string

    Discount type that offers the best deal; the value can be ProductDiscount or CartDiscount.

    type: "BestDeal"