Constructor
new CheckoutCart(cart)
Parameters:
| Name | Type | Description |
|---|---|---|
cart |
Object | the rcData.cart object |
- Source:
Methods
(static) getEventData() → {Object}
Formats the cart data so it can be used in an event payload
NOTE: this does not include 'shipping_tier' or 'payment_type' since these are not part of the `rcData` cart object.
- Source:
Returns:
- the event data that must be extracted from the cart
- Type
- Object