UNPKG

@spartacus/checkout

Version:

Checkout feature library for Spartacus

16 lines (15 loc) 944 B
import { HttpClient } from '@angular/common/http'; import { CheckoutCostCenterAdapter } from '@spartacus/checkout/core'; import { Cart, ConverterService, OccEndpointsService } from '@spartacus/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class OccCheckoutCostCenterAdapter implements CheckoutCostCenterAdapter { protected http: HttpClient; protected occEndpoints: OccEndpointsService; protected converter: ConverterService; constructor(http: HttpClient, occEndpoints: OccEndpointsService, converter: ConverterService); setCostCenter(userId: string, cartId: string, costCenterId: string): Observable<Cart>; protected getSetCartCostCenterEndpoint(userId: string, cartId: string, costCenterId: string): string; static ɵfac: i0.ɵɵFactoryDeclaration<OccCheckoutCostCenterAdapter, never>; static ɵprov: i0.ɵɵInjectableDeclaration<OccCheckoutCostCenterAdapter>; }