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

    Interface DirectDiscount

    Represents a CartDiscount that is only associated with a single Cart or Order.

    interface DirectDiscount {
        id: string;
        target?: CartDiscountTarget;
        value: CartDiscountValue;
    }
    Index

    Properties

    Properties

    id: string

    Unique identifier of the Direct Discount.

    Segment of the Cart that is discounted.

    Empty when the `value` is set to `giftLineItem`.
    

    Effect of the Discount on the Cart.