UNPKG

@ng-web-apis/payment-request

Version:

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

11 lines (10 loc) 527 B
import type { PaymentOptions } from '../tokens/payment-options'; import * as i0 from "@angular/core"; export declare class PaymentRequestService { private readonly supported; private readonly paymentMethods; private readonly paymentOptions; request(details: PaymentDetailsInit, methods?: PaymentMethodData[], options?: PaymentOptions): Promise<PaymentResponse>; static ɵfac: i0.ɵɵFactoryDeclaration<PaymentRequestService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<PaymentRequestService>; }