DaffInMemoryCartService

Properties

Name Type Description
url '/api/cart' The URL with which the driver makes calls to the backend.
get Observable<DaffDriverResponse<DaffCart>> Retrieve a cart
addToCart Observable<DaffCart>
clear Observable<Partial<DaffCart>> Remove all items from a cart.
create Observable<{ id: DaffCart['id']; }> Creates a cart.
merge Observable<DaffDriverResponse<DaffCart>> 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.