The interface responsible for managing a customer's cart.
Name | Type | Description |
---|---|---|
get | Observable<DaffDriverResponse <T>> |
Retrieve a cart |
create | Observable<{ id: T['id']; }> | Creates a cart. |
addToCart | Observable<T> | |
clear | Observable<Partial<T>> | Remove all items from a cart. |
merge | Observable<DaffDriverResponse <T>> |
Merge a guest cart into a customer cart. |