@gradientedge/commercetools-utils
    Preparing search index...

    Interface BestDeal

    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)

    Index

    Properties

    chosenDiscountType: string

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

    type: "BestDeal"