@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
24 lines (23 loc) • 773 B
TypeScript
import { h } from 'preact';
import UIElement from '../UIElement';
import { PaymentResponse } from '../types';
import { GiftCardElementData } from './types';
export declare class GiftcardElement extends UIElement {
static type: string;
protected static defaultProps: {
brandsConfiguration: {};
};
formatProps(props: any): any;
formatData(): GiftCardElementData;
get isValid(): boolean;
get icon(): any;
get displayName(): any;
private handleBalanceCheck;
private onOrderRequest;
protected handleOrder: ({ order }: PaymentResponse) => any;
balanceCheck(): false | void;
onBalanceCheck: () => false | void;
payButton: (props: any) => h.JSX.Element;
render(): h.JSX.Element;
}
export default GiftcardElement;