@spartacus/cart
Version:
`@spartacus/cart` is a package that you can include in your application, which allows you to use various cart features.
16 lines (15 loc) • 769 B
TypeScript
import { SavedCartFacade } from '@spartacus/cart/saved-cart/root';
import { Cart, RoutingService } from '@spartacus/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class SavedCartDetailsService {
protected routingService: RoutingService;
protected savedCartService: SavedCartFacade;
protected savedCartId$: Observable<any>;
protected savedCart$: Observable<Cart | undefined>;
constructor(routingService: RoutingService, savedCartService: SavedCartFacade);
getSavedCartId(): Observable<string>;
getCartDetails(): Observable<Cart | undefined>;
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCartDetailsService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SavedCartDetailsService>;
}