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

# DiscountCodeUpdateAction type

Signature:

export declare type DiscountCodeUpdateAction = {
    changeCartDiscounts?: InputMaybe<ChangeDiscountCodeCartDiscounts>;
    changeGroups?: InputMaybe<ChangeDiscountCodeGroups>;
    changeIsActive?: InputMaybe<ChangeDiscountCodeIsActive>;
    setCartPredicate?: InputMaybe<SetDiscountCodeCartPredicate>;
    setCustomField?: InputMaybe<SetDiscountCodeCustomField>;
    setCustomType?: InputMaybe<SetDiscountCodeCustomType>;
    setDescription?: InputMaybe<SetDiscountCodeDescription>;
    setMaxApplications?: InputMaybe<SetDiscountCodeMaxApplications>;
    setMaxApplicationsPerCustomer?: InputMaybe<SetDiscountCodeMaxApplicationsPerCustomer>;
    setName?: InputMaybe<SetDiscountCodeName>;
    setValidFrom?: InputMaybe<SetDiscountCodeValidFrom>;
    setValidFromAndUntil?: InputMaybe<SetDiscountCodeValidFromAndUntil>;
    setValidUntil?: InputMaybe<SetDiscountCodeValidUntil>;
};

References: InputMaybe, ChangeDiscountCodeCartDiscounts, ChangeDiscountCodeGroups, ChangeDiscountCodeIsActive, SetDiscountCodeCartPredicate, SetDiscountCodeCustomField, SetDiscountCodeCustomType, SetDiscountCodeDescription, SetDiscountCodeMaxApplications, SetDiscountCodeMaxApplicationsPerCustomer, SetDiscountCodeName, SetDiscountCodeValidFrom, SetDiscountCodeValidFromAndUntil, SetDiscountCodeValidUntil