GitHub

DaffCartCouponActionTypes

An enum for the cart coupon action types.

import { DaffCartCouponActionTypes } from '@daffodil/cart/state'
enum DaffCartCouponActionTypes {
  CartCouponApplyAction = '[@daffodil/cart] Cart Coupon Apply Action',
  CartCouponApplySuccessAction = '[@daffodil/cart] Cart Coupon Apply Success Action',
  CartCouponApplyFailureAction = '[@daffodil/cart] Cart Coupon Apply Failure Action',
  CartCouponListAction = '[@daffodil/cart] Cart Coupon List Action',
  CartCouponListSuccessAction = '[@daffodil/cart] Cart Coupon List Success Action',
  CartCouponListFailureAction = '[@daffodil/cart] Cart Coupon List Failure Action',
  CartCouponRemoveAction = '[@daffodil/cart] Cart Coupon Remove Action',
  CartCouponRemoveSuccessAction = '[@daffodil/cart] Cart Coupon Remove Success Action',
  CartCouponRemoveFailureAction = '[@daffodil/cart] Cart Coupon Remove Failure Action',
  CartCouponRemoveAllAction = '[@daffodil/cart] Cart Coupon Remove All Action',
  CartCouponRemoveAllSuccessAction = '[@daffodil/cart] Cart Coupon Remove All Success Action',
  CartCouponRemoveAllFailureAction = '[@daffodil/cart] Cart Coupon Remove All Failure Action',
  CartCouponClearErrorsAction = '[@daffodil/cart] Cart Coupon Clear Errors Action',
}