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

# MyCartUpdateAction type

Signature:

export declare type MyCartUpdateAction = {
    addDiscountCode?: InputMaybe<AddCartDiscountCode>;
    addItemShippingAddress?: InputMaybe<AddCartItemShippingAddress>;
    addLineItem?: InputMaybe<AddMyCartLineItem>;
    addPayment?: InputMaybe<AddCartPayment>;
    addShoppingList?: InputMaybe<AddCartShoppingList>;
    applyDeltaToLineItemShippingDetailsTargets?: InputMaybe<ApplyCartDeltaToLineItemShippingDetailsTargets>;
    changeLineItemQuantity?: InputMaybe<ChangeCartLineItemQuantity>;
    changeTaxMode?: InputMaybe<ChangeMyCartTaxMode>;
    recalculate?: InputMaybe<RecalculateCart>;
    removeDiscountCode?: InputMaybe<RemoveCartDiscountCode>;
    removeItemShippingAddress?: InputMaybe<RemoveCartItemShippingAddress>;
    removeLineItem?: InputMaybe<RemoveCartLineItem>;
    removePayment?: InputMaybe<RemoveCartPayment>;
    setBillingAddress?: InputMaybe<SetCartBillingAddress>;
    setBillingAddressCustomField?: InputMaybe<SetCartBillingAddressCustomField>;
    setBillingAddressCustomType?: InputMaybe<SetCartBillingAddressCustomType>;
    setCountry?: InputMaybe<SetCartCountry>;
    setCustomField?: InputMaybe<SetCartCustomField>;
    setCustomType?: InputMaybe<SetCartCustomType>;
    setCustomerEmail?: InputMaybe<SetCartCustomerEmail>;
    setDeleteDaysAfterLastModification?: InputMaybe<SetCartDeleteDaysAfterLastModification>;
    setItemShippingAddressCustomField?: InputMaybe<SetCartItemShippingAddressCustomField>;
    setItemShippingAddressCustomType?: InputMaybe<SetCartItemShippingAddressCustomType>;
    setLineItemCustomField?: InputMaybe<SetCartLineItemCustomField>;
    setLineItemCustomType?: InputMaybe<SetCartLineItemCustomType>;
    setLineItemDistributionChannel?: InputMaybe<SetCartLineItemDistributionChannel>;
    setLineItemShippingDetails?: InputMaybe<SetCartLineItemShippingDetails>;
    setLineItemSupplyChannel?: InputMaybe<SetCartLineItemSupplyChannel>;
    setLocale?: InputMaybe<SetCartLocale>;
    setShippingMethod?: InputMaybe<SetMyCartShippingMethod>;
    setShippingAddress?: InputMaybe<SetCartShippingAddress>;
    setShippingAddressCustomField?: InputMaybe<SetCartShippingAddressCustomField>;
    setShippingAddressCustomType?: InputMaybe<SetCartShippingAddressCustomType>;
    updateItemShippingAddress?: InputMaybe<UpdateCartItemShippingAddress>;
};

References: InputMaybe, AddCartDiscountCode, AddCartItemShippingAddress, AddMyCartLineItem, AddCartPayment, AddCartShoppingList, ApplyCartDeltaToLineItemShippingDetailsTargets, ChangeCartLineItemQuantity, ChangeMyCartTaxMode, RecalculateCart, RemoveCartDiscountCode, RemoveCartItemShippingAddress, RemoveCartLineItem, RemoveCartPayment, SetCartBillingAddress, SetCartBillingAddressCustomField, SetCartBillingAddressCustomType, SetCartCountry, SetCartCustomField, SetCartCustomType, SetCartCustomerEmail, SetCartDeleteDaysAfterLastModification, SetCartItemShippingAddressCustomField, SetCartItemShippingAddressCustomType, SetCartLineItemCustomField, SetCartLineItemCustomType, SetCartLineItemDistributionChannel, SetCartLineItemShippingDetails, SetCartLineItemSupplyChannel, SetCartLocale, SetMyCartShippingMethod, SetCartShippingAddress, SetCartShippingAddressCustomField, SetCartShippingAddressCustomType, UpdateCartItemShippingAddress