@spartacus/checkout
Version:
Checkout feature library for Spartacus
14 lines (13 loc) • 733 B
TypeScript
import { CardType, PaymentDetails } from '@spartacus/core';
import { Observable } from 'rxjs';
import { CheckoutPaymentAdapter } from './checkout-payment.adapter';
import * as i0 from "@angular/core";
export declare class CheckoutPaymentConnector {
protected adapter: CheckoutPaymentAdapter;
constructor(adapter: CheckoutPaymentAdapter);
create(userId: string, cartId: string, paymentDetails: PaymentDetails): Observable<PaymentDetails>;
set(userId: string, cartId: string, paymentDetailsId: string): Observable<any>;
getCardTypes(): Observable<CardType[]>;
static ɵfac: i0.ɵɵFactoryDeclaration<CheckoutPaymentConnector, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CheckoutPaymentConnector>;
}