UNPKG

@spartacus/core

Version:

Spartacus - the core framework

14 lines (13 loc) 673 B
import { UserPaymentAdapter } from './user-payment.adapter'; import { Observable } from 'rxjs'; import { PaymentDetails } from '../../../model/cart.model'; import * as i0 from "@angular/core"; export declare class UserPaymentConnector { protected adapter: UserPaymentAdapter; constructor(adapter: UserPaymentAdapter); getAll(userId: string): Observable<PaymentDetails[]>; delete(userId: string, paymentMethodID: string): Observable<{}>; setDefault(userId: string, paymentMethodID: string): Observable<{}>; static ɵfac: i0.ɵɵFactoryDeclaration<UserPaymentConnector, never>; static ɵprov: i0.ɵɵInjectableDeclaration<UserPaymentConnector>; }