@givtnl/angular-wepay-service
Version:
WePay service used to integrate WePay Elements with Angular. Forked from (https://github.com/fireflysemantics/angular-stripe-service).
16 lines (15 loc) • 419 B
TypeScript
import { WePay } from './types';
export declare class AngularWePayService {
private _wepay;
private wePayPromise;
constructor();
get wepay(): WePay;
set wepay(s: WePay);
create(): Promise<WePay>;
inject(): Promise<WePay>;
/**
* Returns the `head` element.
* @throws Error('Application does not have a head element');
*/
getHeadElement(): HTMLElement;
}