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

# DiscountCodeDraft type

Signature:

export declare type DiscountCodeDraft = {
    code: Scalars['String'];
    name?: InputMaybe<Array<LocalizedStringItemInputType>>;
    description?: InputMaybe<Array<LocalizedStringItemInputType>>;
    cartDiscounts: Array<ReferenceInput>;
    isActive?: InputMaybe<Scalars['Boolean']>;
    maxApplications?: InputMaybe<Scalars['Long']>;
    maxApplicationsPerCustomer?: InputMaybe<Scalars['Long']>;
    cartPredicate?: InputMaybe<Scalars['String']>;
    custom?: InputMaybe<CustomFieldsDraft>;
    validFrom?: InputMaybe<Scalars['DateTime']>;
    validUntil?: InputMaybe<Scalars['DateTime']>;
    groups?: InputMaybe<Array<Scalars['String']>>;
};

References: Scalars, InputMaybe, LocalizedStringItemInputType, ReferenceInput, CustomFieldsDraft