The interface responsible for managing the items of a cart.
Name | Type | Description |
---|---|---|
list | Observable<T['items']> | List all of the available items of a cart |
get | Observable<T['items'][number]> | Get a specific cart item of a cart. |
add | Observable<Partial<T>> | Add something to a cart. |
update | Observable<Partial<T>> | Update an existing item in a cart |
delete | Observable<Partial<T>> | Remove an item from a cart. |