@spartacus/checkout
Version:
Checkout feature library for Spartacus
16 lines (15 loc) • 919 B
TypeScript
import { Address, DeliveryMode } from '@spartacus/core';
import { Observable } from 'rxjs';
import { CheckoutDeliveryAdapter } from './checkout-delivery.adapter';
import * as i0 from "@angular/core";
export declare class CheckoutDeliveryConnector {
protected adapter: CheckoutDeliveryAdapter;
constructor(adapter: CheckoutDeliveryAdapter);
createAddress(userId: string, cartId: string, address: Address): Observable<Address>;
setAddress(userId: string, cartId: string, addressId: string): Observable<any>;
setMode(userId: string, cartId: string, deliveryModeId: string): Observable<any>;
getMode(userId: string, cartId: string): Observable<DeliveryMode>;
getSupportedModes(userId: string, cartId: string): Observable<DeliveryMode[]>;
static ɵfac: i0.ɵɵFactoryDeclaration<CheckoutDeliveryConnector, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CheckoutDeliveryConnector>;
}