Home > @vsf-enterprise/commercetools-types > CartDiscountDraft

# CartDiscountDraft type

Signature:

export declare type CartDiscountDraft = {
    value: CartDiscountValueInput;
    cartPredicate: Scalars['String'];
    target?: InputMaybe<CartDiscountTargetInput>;
    sortOrder: Scalars['String'];
    name: Array<LocalizedStringItemInputType>;
    description?: InputMaybe<Array<LocalizedStringItemInputType>>;
    validFrom?: InputMaybe<Scalars['DateTime']>;
    validUntil?: InputMaybe<Scalars['DateTime']>;
    stackingMode?: InputMaybe<StackingMode>;
    requiresDiscountCode?: InputMaybe<Scalars['Boolean']>;
    isActive?: InputMaybe<Scalars['Boolean']>;
    custom?: InputMaybe<CustomFieldsDraft>;
    key?: InputMaybe<Scalars['String']>;
};

References: CartDiscountValueInput, Scalars, InputMaybe, CartDiscountTargetInput, LocalizedStringItemInputType, StackingMode, CustomFieldsDraft