UNPKG

@adyen/adyen-web

Version:

[![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)](https://www.npmjs.com/package/@adyen/adyen-web)

23 lines (22 loc) 852 B
import { h } from 'preact'; import UIElement from '../UIElement'; import { AmazonPayElementData, AmazonPayElementProps } from './types'; import './AmazonPay.scss'; import { SendAnalyticsObject } from '../../core/Analytics/types'; export declare class AmazonPayElement extends UIElement<AmazonPayElementProps> { static type: string; protected static defaultProps: Partial<AmazonPayElementProps>; protected submitAnalytics(analyticsObj: SendAnalyticsObject): void; formatProps(props: any): any; /** * Formats the component data output */ formatData(): AmazonPayElementData; getShopperDetails(): void | Promise<any>; handleDeclineFlow(): void; get isValid(): boolean; get browserInfo(): import("../../types").BrowserInfo; submit(): any; render(): h.JSX.Element; } export default AmazonPayElement;