UNPKG

@spartacus/checkout

Version:

Checkout feature library for Spartacus

16 lines (15 loc) 545 B
import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare abstract class CheckoutCostCenterFacade { /** * Set cost center to cart * @param costCenterId : cost center id */ abstract setCostCenter(costCenterId: string): void; /** * Get cost center id from cart */ abstract getCostCenter(): Observable<string | undefined>; static ɵfac: i0.ɵɵFactoryDeclaration<CheckoutCostCenterFacade, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CheckoutCostCenterFacade>; }