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

    Interface DirectDiscountDraft

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

    For an introduction to Direct Discounts and to understand how they work in Composable Commerce, see the [Direct Discounts overview](/pricing-and-discounts-overview#direct-discounts).
    
    interface DirectDiscountDraft {
        target?: CartDiscountTarget;
        value: CartDiscountValueDraft;
    }
    Index

    Properties

    Properties

    Defines what segment of the Cart will be discounted.

    If `value` is set to `giftLineItem`, this must not be set.
    

    Defines the effect the Discount will have.