DaffCartServiceInterface

The interface responsible for managing a customer's cart.

Properties

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.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.