UNPKG

@adyen/adyen-web

Version:

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

239 lines (238 loc) 8.2 kB
import { AfterPay, AfterPayB2B } from './AfterPay'; import AmazonPay from './AmazonPay'; import ApplePay from './ApplePay'; import Atome from './Atome'; import { BillDeskOnline, BillDeskWallet } from './BillDesk'; import Card from './Card'; import CashAppPay from './CashAppPay'; import ClickToPay from './ClickToPay'; import Bancontact from './Card/Bancontact'; import Donation from './Donation'; import Giropay from './Giropay'; import GooglePay from './GooglePay'; import Entercash from './Entercash'; import Econtext from './Econtext'; import { FacilyPay3x, FacilyPay4x, FacilyPay6x, FacilyPay10x, FacilyPay12x } from './FacilyPay'; import Ideal from './Ideal'; import PayPal from './PayPal'; import QiwiWallet from './QiwiWallet'; import Redirect from './Redirect'; import SecuredFields from './SecuredFields'; import Sepa from './Sepa'; import { ThreeDS2DeviceFingerprint, ThreeDS2Challenge } from './ThreeDS2'; import WeChat from './WeChat'; import PayNow from './PayNow'; import BcmcMobile from './BcmcMobile'; import { MolPayEBankingMY, MolPayEBankingTH, MolPayEBankingVN } from './MolPayEBanking'; import Dragonpay from './Dragonpay'; import Doku from './Doku'; import Boleto from './Boleto'; import Oxxo from './Oxxo'; import Multibanco from './Multibanco'; import Dotpay from './Dotpay'; import Eps from './EPS'; import Giftcard from './Giftcard'; import Vipps from './Vipps'; import { PayuCashcard, PayuNetBanking } from './PayU'; import RatePay from './RatePay'; import Swish from './Swish'; import Dropin from './Dropin'; import Ach from './Ach'; import MBWay from './MBWay'; import Blik from './Blik'; import BankTransfer from './BankTransfer'; import Affirm from './Affirm'; import Pix from './Pix'; import BacsDD from './BacsDD'; import Address from './Address'; import PersonalDetails from './PersonalDetails'; import Klarna from './Klarna'; import Twint from './Twint'; import MealVoucherFR from './MealVoucherFR'; import OnlineBankingINElement from './OnlineBankingIN'; import OnlinebankingPL from './OnlinebankingPL'; import RatePayDirectDebit from './RatePay/RatePayDirectDebit'; import UPI from './UPI'; import WalletINElement from './WalletIN'; import OnlineBankingCZElement from './OnlineBankingCZ'; import OnlineBankingSKElement from './OnlineBankingSK'; import PayByBank from './PayByBank'; import PromptPay from './PromptPay'; import Duitnow from './DuitNow'; import ANCV from './ANCV'; import Trustly from './Trustly'; import PayMe from './PayMe'; import OnlineBankingFI from './OnlineBankingFI'; import Riverty from './Riverty'; /** * Maps each component with a Component element. */ declare const componentsMap: { /** internal */ address: typeof Address; bankTransfer_IBAN: typeof BankTransfer; donation: typeof Donation; dropin: typeof Dropin; personal_details: typeof PersonalDetails; /** internal */ /** Card */ amex: typeof Card; bcmc: typeof Bancontact; card: typeof Card; diners: typeof Card; discover: typeof Card; jcb: typeof Card; kcp: typeof Card; maestro: typeof Card; mc: typeof Card; scheme: typeof Card; storedCard: typeof Card; securedfields: typeof SecuredFields; threeDS2Challenge: typeof ThreeDS2Challenge; threeDS2DeviceFingerprint: typeof ThreeDS2DeviceFingerprint; visa: typeof Card; /** Card */ /** Direct debit */ ach: typeof Ach; directdebit_GB: typeof BacsDD; sepadirectdebit: typeof Sepa; /** Direct debit */ /** Open Invoice */ affirm: typeof Affirm; afterpay: typeof AfterPay; afterpay_default: typeof AfterPay; afterpay_b2b: typeof AfterPayB2B; atome: typeof Atome; facilypay_3x: typeof FacilyPay3x; facilypay_4x: typeof FacilyPay4x; facilypay_6x: typeof FacilyPay6x; facilypay_10x: typeof FacilyPay10x; facilypay_12x: typeof FacilyPay12x; ratepay: typeof RatePay; ratepay_directdebit: typeof RatePayDirectDebit; riverty: typeof Riverty; /** Open Invoice */ /** Wallets */ amazonpay: typeof AmazonPay; applepay: typeof ApplePay; cashapp: typeof CashAppPay; clicktopay: typeof ClickToPay; googlepay: typeof GooglePay; paypal: typeof PayPal; paywithgoogle: typeof GooglePay; qiwiwallet: typeof QiwiWallet; /** Wallets */ /** Voucher */ boletobancario: typeof Boleto; boletobancario_bancodobrasil: typeof Boleto; boletobancario_bradesco: typeof Boleto; boletobancario_hsbc: typeof Boleto; boletobancario_itau: typeof Boleto; boletobancario_santander: typeof Boleto; doku: typeof Doku; doku_alfamart: typeof Doku; doku_permata_lite_atm: typeof Doku; doku_indomaret: typeof Doku; doku_atm_mandiri_va: typeof Doku; doku_sinarmas_va: typeof Doku; doku_mandiri_va: typeof Doku; doku_cimb_va: typeof Doku; doku_danamon_va: typeof Doku; doku_bri_va: typeof Doku; doku_bni_va: typeof Doku; doku_bca_va: typeof Doku; doku_wallet: typeof Doku; oxxo: typeof Oxxo; primeiropay_boleto: typeof Boleto; /** Voucher */ /** issuerList */ billdesk_online: typeof BillDeskOnline; billdesk_wallet: typeof BillDeskWallet; dotpay: typeof Dotpay; entercash: typeof Entercash; eps: typeof Eps; ideal: typeof Ideal; molpay_ebanking_fpx_MY: typeof MolPayEBankingMY; molpay_ebanking_TH: typeof MolPayEBankingTH; molpay_ebanking_VN: typeof MolPayEBankingVN; onlineBanking: typeof Dotpay; onlineBanking_CZ: typeof OnlineBankingCZElement; onlinebanking_IN: typeof OnlineBankingINElement; onlineBanking_PL: typeof OnlinebankingPL; onlineBanking_SK: typeof OnlineBankingSKElement; paybybank: typeof PayByBank; payu_IN_cashcard: typeof PayuCashcard; payu_IN_nb: typeof PayuNetBanking; wallet_IN: typeof WalletINElement; ebanking_FI: typeof OnlineBankingFI; /** issuerList */ /** Dragonpay */ dragonpay_ebanking: typeof Dragonpay; dragonpay_otc_banking: typeof Dragonpay; dragonpay_otc_non_banking: typeof Dragonpay; dragonpay_otc_philippines: typeof Dragonpay; /** Dragonpay */ /** Econtext */ econtext_atm: typeof Econtext; econtext_online: typeof Econtext; econtext_seven_eleven: typeof Econtext; econtext_stores: typeof Econtext; /** Econtext */ /** Redirect */ giropay: typeof Giropay; multibanco: typeof Multibanco; redirect: typeof Redirect; twint: typeof Twint; vipps: typeof Vipps; trustly: typeof Trustly; /** Redirect */ /** Klarna */ klarna: typeof Klarna; klarna_b2b: typeof Klarna; klarna_account: typeof Klarna; klarna_paynow: typeof Klarna; /** Klarna */ /** QRLoader */ bcmc_mobile: typeof BcmcMobile; bcmc_mobile_QR: typeof BcmcMobile; pix: typeof Pix; swish: typeof Swish; wechatpay: typeof WeChat; wechatpayQR: typeof WeChat; promptpay: typeof PromptPay; paynow: typeof PayNow; duitnow: typeof Duitnow; payme: typeof PayMe; /** QRLoader */ /** Await */ blik: typeof Blik; mbway: typeof MBWay; upi: typeof UPI; upi_qr: typeof UPI; upi_collect: typeof UPI; ancv: typeof ANCV; /** Await */ /** Giftcard */ giftcard: typeof Giftcard; mealVoucher_FR_natixis: typeof MealVoucherFR; mealVoucher_FR_sodexo: typeof MealVoucherFR; mealVoucher_FR_groupeup: typeof MealVoucherFR; /** Giftcard */ default: any; }; /** * Instantiates a new Component element either by class reference or by name * It also assigns a new uuid to each instance, so we can recognize it during the current session * @param componentType - class or componentsMap's key * @param props - for the new Component element * @returns new PaymentMethod or null */ export declare const getComponent: (componentType: any, props: any) => any; /** * Gets the configuration for type from componentsConfig * @param type - component type * @param componentsConfig - global paymentMethodsConfiguration * @returns component configuration */ export declare const getComponentConfiguration: (type: string, componentsConfig?: {}, isStoredCard?: boolean) => any; export default componentsMap;