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

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

Properties

Properties

id: string

Unique identifier of the Direct Discount.

Part of the Cart that is discounted.

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

Effect of the Discount on the Cart.

Generated using TypeDoc