UNPKG

@ng-web-apis/payment-request

Version:

This is a library for declarative use of Payment Request API with Angular

19 lines (18 loc) 818 B
import type { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class WaPaymentSubmit { private readonly paymentHost; private readonly paymentRequest; private readonly nativeElement; private readonly methods; private readonly options; readonly waPaymentSubmit: Observable<PaymentResponse>; readonly waPaymentError: Observable<DOMException | Error>; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<WaPaymentSubmit, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<WaPaymentSubmit, "[waPaymentSubmit]", never, {}, { "waPaymentSubmit": "waPaymentSubmit"; "waPaymentError": "waPaymentError"; }, never, never, true, never>; } /** * @deprecated: use {@link WaPaymentSubmit} */ export declare const PaymentSubmitDirective: typeof WaPaymentSubmit;