UNPKG

@shopgate/pwa-common-commerce

Version:

Commerce library for the Shopgate Connect PWA.

12 lines (11 loc) 360 B
import { DELETE_COUPONS_FROM_CART } from "../constants"; /** * Creates the dispatched DELETE_COUPONS_FROM_CART action object. * @param {Array} couponIds The coupon ids. * @returns {Object} The dispatched action object. */ const deleteCouponsFromCart = couponIds => ({ type: DELETE_COUPONS_FROM_CART, couponIds }); export default deleteCouponsFromCart;