UNPKG

@spartacus/checkout

Version:

Checkout feature library for Spartacus

16 lines (15 loc) 1.12 kB
import { HttpClient } from '@angular/common/http'; import { CheckoutReplenishmentOrderAdapter } from '@spartacus/checkout/core'; import { ConverterService, OccEndpointsService, ReplenishmentOrder, ScheduleReplenishmentForm } from '@spartacus/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class OccCheckoutReplenishmentOrderAdapter implements CheckoutReplenishmentOrderAdapter { protected http: HttpClient; protected occEndpoints: OccEndpointsService; protected converter: ConverterService; constructor(http: HttpClient, occEndpoints: OccEndpointsService, converter: ConverterService); protected getScheduleReplenishmentOrderEndpoint(userId: string, cartId: string, termsChecked: string): string; scheduleReplenishmentOrder(cartId: string, scheduleReplenishmentForm: ScheduleReplenishmentForm, termsChecked: boolean, userId: string): Observable<ReplenishmentOrder>; static ɵfac: i0.ɵɵFactoryDeclaration<OccCheckoutReplenishmentOrderAdapter, never>; static ɵprov: i0.ɵɵInjectableDeclaration<OccCheckoutReplenishmentOrderAdapter>; }