import { ElementOptions } from './element';
import { Intent } from './cardNumber';
/**
* All payment method options for qrcode element, those payment method type integration will render qrcode from your checkout site to specific provider’s authentication page.
*/
export type PaymentMethodWithQrcode = 'alipayhk' | 'kakaopay' | 'wechatpay';
/**
* Apply to qrcode element type integration, interface used when call createElement with type `qrcode`
*/
export interface QrcodeElementOptions extends ElementOptions {
/**
* The payment intent you would like to checkout
* Refer to [Airwallex Client API](https://www.airwallex.com/docs/api#/Payment_Acceptance/Payment_Intents/Intro)
*
*/
intent?: Intent;
qrcodeMethod?: PaymentMethodWithQrcode;
}
Source