removeCartItemEvent static method

ECommerceEvent removeCartItemEvent(
  1. ECommerceCartItem cartItem
)

Creates E-Commerce RemoveCartItemEvent events. Use it to report the removal of an item from the cart.

Implementation

/// Use it to report the removal of an item from the cart.
static ECommerceEvent removeCartItemEvent(ECommerceCartItem cartItem) {
  return ECommerceConstructors.removeCartItemEvent(cartItem);
}