Home > @vsf-enterprise/epcc-api > Cart
# Cart interface
Cart model extends Elastic Path cart.
Signature:
export interface Cart extends EPCart
Extends: EPCart
# Properties
Property | Type | Description |
---|---|---|
description? | string | (Optional) Cart description |
items? | CartItem[] | (Optional) Collection of cart items. |
meta? | EPCart['meta'] & { display_price?: EPCart['meta']['display_price'] & { discount?: FormattedPrice; }; } | (Optional) Cart item metadata |
name? | string | (Optional) Cart name |