@adyen/adyen-web 6.30.0 → 6.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/adyen.css +2 -2
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +802 -714
- package/dist/es/adyen.css +2 -2
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/components/ANCV/ANCV.js.map +1 -1
- package/dist/es/components/Ach/Ach.js +1 -1
- package/dist/es/components/Ach/Ach.js.map +1 -1
- package/dist/es/components/Ach/components/AccountTypeSelector.js.map +1 -1
- package/dist/es/components/Ach/components/AchComponent.js.map +1 -1
- package/dist/es/components/Affirm/Affirm.js.map +1 -1
- package/dist/es/components/AfterPay/AfterPay.js.map +1 -1
- package/dist/es/components/AfterPay/AfterPayB2B.js.map +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayButton.js +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayButton.js.map +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayComponent.js +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayComponent.js.map +1 -1
- package/dist/es/components/AmazonPay/components/OrderButton.js +1 -1
- package/dist/es/components/AmazonPay/components/OrderButton.js.map +1 -1
- package/dist/es/components/AmazonPay/utils.js +1 -1
- package/dist/es/components/AmazonPay/utils.js.map +1 -1
- package/dist/es/components/ApplePay/ApplePay.js.map +1 -1
- package/dist/es/components/ApplePay/services/ApplePaySdkLoader.js.map +1 -1
- package/dist/es/components/ApplePay/services/ApplePayService.js +1 -1
- package/dist/es/components/ApplePay/services/ApplePayService.js.map +1 -1
- package/dist/es/components/ApplePay/utils/map-adyen-brands-to-applepay-brands.js.map +1 -1
- package/dist/es/components/ApplePay/utils/payment-request.js.map +1 -1
- package/dist/es/components/Atome/Atome.js.map +1 -1
- package/dist/es/components/BacsDD/BacsDD.js +1 -1
- package/dist/es/components/BacsDD/BacsDD.js.map +1 -1
- package/dist/es/components/BacsDD/components/BacsInput.js +1 -1
- package/dist/es/components/BacsDD/components/BacsInput.js.map +1 -1
- package/dist/es/components/BankTransfer/components/BankTransferInput/BankTransferInput.js +1 -1
- package/dist/es/components/BankTransfer/components/BankTransferInput/BankTransferInput.js.map +1 -1
- package/dist/es/components/Blik/Blik.js +1 -1
- package/dist/es/components/Blik/Blik.js.map +1 -1
- package/dist/es/components/Boleto/components/BoletoInput/BoletoInput.js.map +1 -1
- package/dist/es/components/Card/Card.js +1 -1
- package/dist/es/components/Card/Card.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/CardInput.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardFieldsWrapper.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardFieldsWrapper.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/Installments/Installments.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/Installments/Installments.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/handlers.js +1 -1
- package/dist/es/components/Card/components/CardInput/handlers.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/types.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/useSRPanelForCardInputErrors.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/utils.js +1 -1
- package/dist/es/components/Card/components/CardInput/utils.js.map +1 -1
- package/dist/es/components/Card/components/ClickToPayWrapper.js +1 -1
- package/dist/es/components/Card/components/ClickToPayWrapper.js.map +1 -1
- package/dist/es/components/CashAppPay/CashAppPay.js +1 -1
- package/dist/es/components/CashAppPay/CashAppPay.js.map +1 -1
- package/dist/es/components/CashAppPay/services/CashAppSdkLoader.js.map +1 -1
- package/dist/es/components/CashAppPay/services/CashAppService.js +1 -1
- package/dist/es/components/CashAppPay/services/CashAppService.js.map +1 -1
- package/dist/es/components/CashAppPay/services/types.js.map +1 -1
- package/dist/es/components/ClickToPay/ClickToPay.js +1 -1
- package/dist/es/components/ClickToPay/ClickToPay.js.map +1 -1
- package/dist/es/components/CustomCard/CustomCard.js.map +1 -1
- package/dist/es/components/Dragonpay/components/DragonpayInput/DragonpayInput.js +1 -1
- package/dist/es/components/Dragonpay/components/DragonpayInput/DragonpayInput.js.map +1 -1
- package/dist/es/components/Dropin/Dropin.js +1 -1
- package/dist/es/components/Dropin/Dropin.js.map +1 -1
- package/dist/es/components/Dropin/components/DropinComponent.js +1 -1
- package/dist/es/components/Dropin/components/DropinComponent.js.map +1 -1
- package/dist/es/components/Dropin/components/DropinSuccessState.js +2 -0
- package/dist/es/components/Dropin/components/DropinSuccessState.js.map +1 -0
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js.map +1 -1
- package/dist/es/components/Econtext/components/EcontextInput/EcontextInput.js.map +1 -1
- package/dist/es/components/Giftcard/Giftcard.js.map +1 -1
- package/dist/es/components/Giftcard/components/GiftcardComponent.js +1 -1
- package/dist/es/components/Giftcard/components/GiftcardComponent.js.map +1 -1
- package/dist/es/components/Giftcard/components/GiftcardResult.js +1 -1
- package/dist/es/components/Giftcard/components/GiftcardResult.js.map +1 -1
- package/dist/es/components/Giftcard/components/useSRPanelForGiftcardErrors.js +1 -1
- package/dist/es/components/Giftcard/components/useSRPanelForGiftcardErrors.js.map +1 -1
- package/dist/es/components/GooglePay/GooglePayService.js.map +1 -1
- package/dist/es/components/Iris/Iris.js +1 -1
- package/dist/es/components/Iris/Iris.js.map +1 -1
- package/dist/es/components/Klarna/KlarnaPayments.js +1 -1
- package/dist/es/components/Klarna/KlarnaPayments.js.map +1 -1
- package/dist/es/components/Klarna/components/KlarnaContainer/KlarnaContainer.js.map +1 -1
- package/dist/es/components/Multibanco/Multibanco.js +1 -1
- package/dist/es/components/Multibanco/Multibanco.js.map +1 -1
- package/dist/es/components/PayByBankPix/PayByBankPix.js +1 -1
- package/dist/es/components/PayByBankPix/PayByBankPix.js.map +1 -1
- package/dist/es/components/PayByBankPix/components/StoredPayment/StoredPayment.js +1 -1
- package/dist/es/components/PayByBankPix/components/StoredPayment/StoredPayment.js.map +1 -1
- package/dist/es/components/PayByBankPix/services/PasskeySdkLoader.js.map +1 -1
- package/dist/es/components/PayByBankPix/services/PasskeyService.js.map +1 -1
- package/dist/es/components/PayByBankUS/PayByBankUS.js +1 -1
- package/dist/es/components/PayByBankUS/PayByBankUS.js.map +1 -1
- package/dist/es/components/PayPalFastlane/FastlaneSDK.js.map +1 -1
- package/dist/es/components/PayPalFastlane/components/FastlaneComponent.js.map +1 -1
- package/dist/es/components/PayTo/PayTo.js +1 -1
- package/dist/es/components/PayTo/PayTo.js.map +1 -1
- package/dist/es/components/PayTo/components/PayToComponent.js.map +1 -1
- package/dist/es/components/PayTo/components/PayToNameFields.js +1 -1
- package/dist/es/components/PayTo/components/PayToNameFields.js.map +1 -1
- package/dist/es/components/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js +1 -1
- package/dist/es/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js.map +1 -1
- package/dist/es/components/PreAuthorizedDebitCanada/components/PreAuthorizedDebitCanadaComponent.js.map +1 -1
- package/dist/es/components/Redirect/components/RedirectShopper/RedirectShopper.js.map +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2Challenge.js +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2Challenge.js.map +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2DeviceFingerprint.js +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2DeviceFingerprint.js.map +1 -1
- package/dist/es/components/ThreeDS2/callSubmit3DS2Fingerprint.js +1 -1
- package/dist/es/components/ThreeDS2/callSubmit3DS2Fingerprint.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js +1 -1
- package/dist/es/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js +1 -1
- package/dist/es/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/Form/ThreeDS2Form.js.map +1 -1
- package/dist/es/components/Twint/Twint.js +1 -1
- package/dist/es/components/Twint/Twint.js.map +1 -1
- package/dist/es/components/UPI/UPI.js +1 -1
- package/dist/es/components/UPI/UPI.js.map +1 -1
- package/dist/es/components/UPI/components/UPIComponent/UPIComponent.js +1 -1
- package/dist/es/components/UPI/components/UPIComponent/UPIComponent.js.map +1 -1
- package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js +1 -1
- package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js.map +1 -1
- package/dist/es/components/internal/Address/Specifications.js.map +1 -1
- package/dist/es/components/internal/Await/Await.js +1 -1
- package/dist/es/components/internal/Await/Await.js.map +1 -1
- package/dist/es/components/internal/BaseElement/BaseElement.js.map +1 -1
- package/dist/es/components/internal/Button/Button.js +1 -1
- package/dist/es/components/internal/Button/Button.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPCards.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPCards.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/context/ClickToPayContext.js +1 -1
- package/dist/es/components/internal/ClickToPay/context/ClickToPayContext.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/context/ClickToPayProvider.js +1 -1
- package/dist/es/components/internal/ClickToPay/context/ClickToPayProvider.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/models/ShopperCard.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/services/ClickToPayService.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/services/sdks/AbstractSrcInitiator.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/services/sdks/SrcSdkLoader.js.map +1 -1
- package/dist/es/components/internal/CompanyDetails/CompanyDetails.js +1 -1
- package/dist/es/components/internal/CompanyDetails/CompanyDetails.js.map +1 -1
- package/dist/es/components/internal/Countdown/CountdownA11yReporter.js.map +1 -1
- package/dist/es/components/internal/FormFields/InputBase.js +1 -1
- package/dist/es/components/internal/FormFields/InputBase.js.map +1 -1
- package/dist/es/components/internal/IFrame/Iframe.js.map +1 -1
- package/dist/es/components/internal/PayButton/PayButton.js +1 -1
- package/dist/es/components/internal/PayButton/PayButton.js.map +1 -1
- package/dist/es/components/internal/PayButton/utils.js +1 -1
- package/dist/es/components/internal/PayButton/utils.js.map +1 -1
- package/dist/es/components/internal/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es/components/internal/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es/components/internal/QRLoader/QRLoader.js +1 -1
- package/dist/es/components/internal/QRLoader/QRLoader.js.map +1 -1
- package/dist/es/components/internal/RedirectButton/RedirectButton.js +1 -1
- package/dist/es/components/internal/RedirectButton/RedirectButton.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/AbstractCSF.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/userAgent.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/userAgent.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/constants.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/constants.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/AbstractSecuredField.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/SecuredField.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/SecuredField.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/utils.js.map +1 -1
- package/dist/es/components/internal/SendCopyToEmail/SendCopyToEmail.js +1 -1
- package/dist/es/components/internal/SendCopyToEmail/SendCopyToEmail.js.map +1 -1
- package/dist/es/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js +1 -1
- package/dist/es/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js.map +1 -1
- package/dist/es/components/internal/UIElement/UIElement.js +1 -1
- package/dist/es/components/internal/UIElement/UIElement.js.map +1 -1
- package/dist/es/core/Analytics/Analytics.js.map +1 -1
- package/dist/es/core/Analytics/AnalyticsService.js.map +1 -1
- package/dist/es/core/Analytics/events/AbstractAnalyticsEvent.js.map +1 -1
- package/dist/es/core/Analytics/events/AnalyticsErrorEvent.js +1 -1
- package/dist/es/core/Analytics/events/AnalyticsErrorEvent.js.map +1 -1
- package/dist/es/core/Analytics/events/AnalyticsInfoEvent.js +1 -1
- package/dist/es/core/Analytics/events/AnalyticsInfoEvent.js.map +1 -1
- package/dist/es/core/Analytics/events/AnalyticsLogEvent.js.map +1 -1
- package/dist/es/core/Analytics/utils.js +1 -1
- package/dist/es/core/Analytics/utils.js.map +1 -1
- package/dist/es/core/CheckoutSession/CheckoutSession.js +1 -1
- package/dist/es/core/CheckoutSession/CheckoutSession.js.map +1 -1
- package/dist/es/core/Context/AmountProvider.js +2 -0
- package/dist/es/core/Context/AmountProvider.js.map +1 -0
- package/dist/es/core/Context/Resources.js.map +1 -1
- package/dist/es/core/Errors/SRPanel.js.map +1 -1
- package/dist/es/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.js.map +1 -1
- package/dist/es/core/config.js +1 -1
- package/dist/es/core/core.js +1 -1
- package/dist/es/core/core.js.map +1 -1
- package/dist/es/external/preact/compat/dist/compat.js +1 -1
- package/dist/es/external/preact/compat/dist/compat.js.map +1 -1
- package/dist/es/external/preact/dist/preact.js +1 -1
- package/dist/es/external/preact/dist/preact.js.map +1 -1
- package/dist/es/external/preact/hooks/dist/hooks.js +1 -1
- package/dist/es/external/preact/hooks/dist/hooks.js.map +1 -1
- package/dist/es/index.d.ts +802 -714
- package/dist/es/language/Language.js.map +1 -1
- package/dist/es/utils/Script.js.map +1 -1
- package/dist/es/utils/Storage.js +1 -1
- package/dist/es/utils/Storage.js.map +1 -1
- package/dist/es/utils/Validator/ValidationRuleResult.js.map +1 -1
- package/dist/es/utils/Validator/Validator.js.map +1 -1
- package/dist/es/utils/amount-util.js +1 -1
- package/dist/es/utils/amount-util.js.map +1 -1
- package/dist/es/utils/browserInfo.js +1 -1
- package/dist/es/utils/browserInfo.js.map +1 -1
- package/dist/es/utils/constants/currency-minor-units.js.map +1 -1
- package/dist/es/utils/createSdkData.js.map +1 -1
- package/dist/es/utils/getErrorMessage.js.map +1 -1
- package/dist/es/utils/getProp.js +1 -1
- package/dist/es/utils/getProp.js.map +1 -1
- package/dist/es/utils/hasOwnProperty.js.map +1 -1
- package/dist/es/utils/isValidURL.js.map +1 -1
- package/dist/es/utils/listenerUtils.js.map +1 -1
- package/dist/es/utils/promiseTimeout.js.map +1 -1
- package/dist/es/utils/setFocus.js +1 -1
- package/dist/es/utils/setFocus.js.map +1 -1
- package/dist/es/utils/textUtils.js.map +1 -1
- package/dist/es/utils/validator-utils.js.map +1 -1
- package/dist/es/utils/windowScrollTo.js +2 -0
- package/dist/es/utils/windowScrollTo.js.map +1 -0
- package/dist/es-legacy/adyen.css +2 -2
- package/dist/es-legacy/adyen.css.map +1 -1
- package/dist/es-legacy/components/ANCV/ANCV.js.map +1 -1
- package/dist/es-legacy/components/Ach/Ach.js +1 -1
- package/dist/es-legacy/components/Ach/Ach.js.map +1 -1
- package/dist/es-legacy/components/Ach/components/AccountTypeSelector.js.map +1 -1
- package/dist/es-legacy/components/Ach/components/AchComponent.js.map +1 -1
- package/dist/es-legacy/components/Affirm/Affirm.js.map +1 -1
- package/dist/es-legacy/components/AfterPay/AfterPay.js.map +1 -1
- package/dist/es-legacy/components/AfterPay/AfterPayB2B.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/components/AmazonPayButton.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/AmazonPayButton.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/components/AmazonPayComponent.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/AmazonPayComponent.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/components/OrderButton.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/OrderButton.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/utils.js +1 -1
- package/dist/es-legacy/components/AmazonPay/utils.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/ApplePay.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/services/ApplePaySdkLoader.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/services/ApplePayService.js +1 -1
- package/dist/es-legacy/components/ApplePay/services/ApplePayService.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/utils/map-adyen-brands-to-applepay-brands.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/utils/payment-request.js.map +1 -1
- package/dist/es-legacy/components/Atome/Atome.js.map +1 -1
- package/dist/es-legacy/components/BacsDD/BacsDD.js +1 -1
- package/dist/es-legacy/components/BacsDD/BacsDD.js.map +1 -1
- package/dist/es-legacy/components/BacsDD/components/BacsInput.js +1 -1
- package/dist/es-legacy/components/BacsDD/components/BacsInput.js.map +1 -1
- package/dist/es-legacy/components/BankTransfer/components/BankTransferInput/BankTransferInput.js +1 -1
- package/dist/es-legacy/components/BankTransfer/components/BankTransferInput/BankTransferInput.js.map +1 -1
- package/dist/es-legacy/components/Blik/Blik.js +1 -1
- package/dist/es-legacy/components/Blik/Blik.js.map +1 -1
- package/dist/es-legacy/components/Boleto/components/BoletoInput/BoletoInput.js.map +1 -1
- package/dist/es-legacy/components/Card/Card.js +1 -1
- package/dist/es-legacy/components/Card/Card.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/CardInput.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/AvailableBrands/AvailableBrands.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardFields.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardFieldsWrapper.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardFieldsWrapper.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/Installments/Installments.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/Installments/Installments.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/handlers.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/handlers.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/types.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/useSRPanelForCardInputErrors.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/utils.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/utils.js.map +1 -1
- package/dist/es-legacy/components/Card/components/ClickToPayWrapper.js +1 -1
- package/dist/es-legacy/components/Card/components/ClickToPayWrapper.js.map +1 -1
- package/dist/es-legacy/components/Card/components/Fastlane/USOnlyPhoneInput.js.map +1 -1
- package/dist/es-legacy/components/CashAppPay/CashAppPay.js +1 -1
- package/dist/es-legacy/components/CashAppPay/CashAppPay.js.map +1 -1
- package/dist/es-legacy/components/CashAppPay/services/CashAppSdkLoader.js.map +1 -1
- package/dist/es-legacy/components/CashAppPay/services/CashAppService.js +1 -1
- package/dist/es-legacy/components/CashAppPay/services/CashAppService.js.map +1 -1
- package/dist/es-legacy/components/CashAppPay/services/types.js.map +1 -1
- package/dist/es-legacy/components/ClickToPay/ClickToPay.js +1 -1
- package/dist/es-legacy/components/ClickToPay/ClickToPay.js.map +1 -1
- package/dist/es-legacy/components/CustomCard/CustomCard.js.map +1 -1
- package/dist/es-legacy/components/Doku/components/DokuInput/DokuInput.js.map +1 -1
- package/dist/es-legacy/components/Dragonpay/components/DragonpayInput/DragonpayInput.js +1 -1
- package/dist/es-legacy/components/Dragonpay/components/DragonpayInput/DragonpayInput.js.map +1 -1
- package/dist/es-legacy/components/Dropin/Dropin.js +1 -1
- package/dist/es-legacy/components/Dropin/Dropin.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/DropinComponent.js +1 -1
- package/dist/es-legacy/components/Dropin/components/DropinComponent.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/DropinSuccessState.js +2 -0
- package/dist/es-legacy/components/Dropin/components/DropinSuccessState.js.map +1 -0
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js.map +1 -1
- package/dist/es-legacy/components/Econtext/components/EcontextInput/EcontextInput.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/Giftcard.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardComponent.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardComponent.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardResult.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardResult.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/components/useSRPanelForGiftcardErrors.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/useSRPanelForGiftcardErrors.js.map +1 -1
- package/dist/es-legacy/components/GooglePay/GooglePay.js.map +1 -1
- package/dist/es-legacy/components/GooglePay/GooglePayService.js.map +1 -1
- package/dist/es-legacy/components/Iris/Iris.js +1 -1
- package/dist/es-legacy/components/Iris/Iris.js.map +1 -1
- package/dist/es-legacy/components/Klarna/KlarnaPayments.js +1 -1
- package/dist/es-legacy/components/Klarna/KlarnaPayments.js.map +1 -1
- package/dist/es-legacy/components/Klarna/components/KlarnaContainer/KlarnaContainer.js.map +1 -1
- package/dist/es-legacy/components/Klarna/components/KlarnaWidget/KlarnaWidget.js.map +1 -1
- package/dist/es-legacy/components/MBWay/MBWay.js.map +1 -1
- package/dist/es-legacy/components/Multibanco/Multibanco.js +1 -1
- package/dist/es-legacy/components/Multibanco/Multibanco.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/PayByBankPix.js +1 -1
- package/dist/es-legacy/components/PayByBankPix/PayByBankPix.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/components/Enrollment/useIssuerWithLogo.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/components/StoredPayment/StoredPayment.js +1 -1
- package/dist/es-legacy/components/PayByBankPix/components/StoredPayment/StoredPayment.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/services/PasskeySdkLoader.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/services/PasskeyService.js.map +1 -1
- package/dist/es-legacy/components/PayByBankUS/PayByBankUS.js +1 -1
- package/dist/es-legacy/components/PayByBankUS/PayByBankUS.js.map +1 -1
- package/dist/es-legacy/components/PayPal/Paypal.js.map +1 -1
- package/dist/es-legacy/components/PayPalFastlane/FastlaneSDK.js.map +1 -1
- package/dist/es-legacy/components/PayPalFastlane/components/FastlaneComponent.js.map +1 -1
- package/dist/es-legacy/components/PayTo/PayTo.js +1 -1
- package/dist/es-legacy/components/PayTo/PayTo.js.map +1 -1
- package/dist/es-legacy/components/PayTo/components/PayToComponent.js.map +1 -1
- package/dist/es-legacy/components/PayTo/components/PayToNameFields.js +1 -1
- package/dist/es-legacy/components/PayTo/components/PayToNameFields.js.map +1 -1
- package/dist/es-legacy/components/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es-legacy/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js +1 -1
- package/dist/es-legacy/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js.map +1 -1
- package/dist/es-legacy/components/PreAuthorizedDebitCanada/components/PreAuthorizedDebitCanadaComponent.js.map +1 -1
- package/dist/es-legacy/components/Redirect/components/RedirectShopper/RedirectShopper.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2Challenge.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2Challenge.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2DeviceFingerprint.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2DeviceFingerprint.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/callSubmit3DS2Fingerprint.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/callSubmit3DS2Fingerprint.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Form/ThreeDS2Form.js.map +1 -1
- package/dist/es-legacy/components/Twint/Twint.js +1 -1
- package/dist/es-legacy/components/Twint/Twint.js.map +1 -1
- package/dist/es-legacy/components/UPI/UPI.js +1 -1
- package/dist/es-legacy/components/UPI/UPI.js.map +1 -1
- package/dist/es-legacy/components/UPI/components/UPIComponent/UPIComponent.js +1 -1
- package/dist/es-legacy/components/UPI/components/UPIComponent/UPIComponent.js.map +1 -1
- package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js +1 -1
- package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js.map +1 -1
- package/dist/es-legacy/components/helpers/IssuerListContainer/IssuerListContainer.js.map +1 -1
- package/dist/es-legacy/components/helpers/OpenInvoiceContainer/OpenInvoiceContainer.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/Address.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/Specifications.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/validate.js.map +1 -1
- package/dist/es-legacy/components/internal/Await/Await.js +1 -1
- package/dist/es-legacy/components/internal/Await/Await.js.map +1 -1
- package/dist/es-legacy/components/internal/BaseElement/BaseElement.js.map +1 -1
- package/dist/es-legacy/components/internal/Button/Button.js +1 -1
- package/dist/es-legacy/components/internal/Button/Button.js.map +1 -1
- package/dist/es-legacy/components/internal/Button/CopyButton.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPCards.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPCards.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPLogin/CtPLogin.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePassword.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/context/ClickToPayContext.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/context/ClickToPayContext.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/context/ClickToPayProvider.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/context/ClickToPayProvider.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/models/ShopperCard.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/ClickToPayService.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/create-clicktopay-service.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/sdks/AbstractSrcInitiator.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/sdks/SrcSdkLoader.js.map +1 -1
- package/dist/es-legacy/components/internal/CompanyDetails/CompanyDetails.js +1 -1
- package/dist/es-legacy/components/internal/CompanyDetails/CompanyDetails.js.map +1 -1
- package/dist/es-legacy/components/internal/Countdown/CountdownA11yReporter.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Field/Field.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputBase.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputBase.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/RadioGroupExtended/RadioGroupExtended.js.map +1 -1
- package/dist/es-legacy/components/internal/IFrame/Iframe.js.map +1 -1
- package/dist/es-legacy/components/internal/IssuerList/IssuerList.js.map +1 -1
- package/dist/es-legacy/components/internal/OpenInvoice/OpenInvoice.js.map +1 -1
- package/dist/es-legacy/components/internal/PayButton/PayButton.js +1 -1
- package/dist/es-legacy/components/internal/PayButton/PayButton.js.map +1 -1
- package/dist/es-legacy/components/internal/PayButton/utils.js +1 -1
- package/dist/es-legacy/components/internal/PayButton/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es-legacy/components/internal/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInputForm.js.map +1 -1
- package/dist/es-legacy/components/internal/QRLoader/QRLoader.js +1 -1
- package/dist/es-legacy/components/internal/QRLoader/QRLoader.js.map +1 -1
- package/dist/es-legacy/components/internal/RedirectButton/RedirectButton.js +1 -1
- package/dist/es-legacy/components/internal/RedirectButton/RedirectButton.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/binLookup/extensions.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/binLookup/triggerBinLookUp.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/AbstractCSF.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/processAutoComplete.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/cardType.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/userAgent.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/userAgent.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/constants.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/constants.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/AbstractSecuredField.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/SecuredField.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/SecuredField.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/SendCopyToEmail/SendCopyToEmail.js +1 -1
- package/dist/es-legacy/components/internal/SendCopyToEmail/SendCopyToEmail.js.map +1 -1
- package/dist/es-legacy/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js +1 -1
- package/dist/es-legacy/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js.map +1 -1
- package/dist/es-legacy/components/internal/Tooltip/Tooltip.js.map +1 -1
- package/dist/es-legacy/components/internal/UIElement/UIElement.js +1 -1
- package/dist/es-legacy/components/internal/UIElement/UIElement.js.map +1 -1
- package/dist/es-legacy/core/Analytics/Analytics.js.map +1 -1
- package/dist/es-legacy/core/Analytics/AnalyticsService.js.map +1 -1
- package/dist/es-legacy/core/Analytics/events/AbstractAnalyticsEvent.js.map +1 -1
- package/dist/es-legacy/core/Analytics/events/AnalyticsErrorEvent.js +1 -1
- package/dist/es-legacy/core/Analytics/events/AnalyticsErrorEvent.js.map +1 -1
- package/dist/es-legacy/core/Analytics/events/AnalyticsInfoEvent.js +1 -1
- package/dist/es-legacy/core/Analytics/events/AnalyticsInfoEvent.js.map +1 -1
- package/dist/es-legacy/core/Analytics/events/AnalyticsLogEvent.js.map +1 -1
- package/dist/es-legacy/core/Analytics/utils.js +1 -1
- package/dist/es-legacy/core/Analytics/utils.js.map +1 -1
- package/dist/es-legacy/core/CheckoutSession/CheckoutSession.js +1 -1
- package/dist/es-legacy/core/CheckoutSession/CheckoutSession.js.map +1 -1
- package/dist/es-legacy/core/Context/AmountProvider.js +2 -0
- package/dist/es-legacy/core/Context/AmountProvider.js.map +1 -0
- package/dist/es-legacy/core/Context/Resources.js.map +1 -1
- package/dist/es-legacy/core/Environment/Environment.js.map +1 -1
- package/dist/es-legacy/core/Errors/SRPanel.js.map +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentAction/actionTypes.js.map +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentMethods/utils.js.map +1 -1
- package/dist/es-legacy/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.js.map +1 -1
- package/dist/es-legacy/core/Services/http.js.map +1 -1
- package/dist/es-legacy/core/config.js +1 -1
- package/dist/es-legacy/core/core.js +1 -1
- package/dist/es-legacy/core/core.js.map +1 -1
- package/dist/es-legacy/external/preact/compat/dist/compat.js +1 -1
- package/dist/es-legacy/external/preact/compat/dist/compat.js.map +1 -1
- package/dist/es-legacy/external/preact/dist/preact.js +1 -1
- package/dist/es-legacy/external/preact/dist/preact.js.map +1 -1
- package/dist/es-legacy/external/preact/hooks/dist/hooks.js +1 -1
- package/dist/es-legacy/external/preact/hooks/dist/hooks.js.map +1 -1
- package/dist/es-legacy/hooks/usePaymentStatusTimer/usePaymentStatusTimer.js.map +1 -1
- package/dist/es-legacy/language/Language.js.map +1 -1
- package/dist/es-legacy/utils/Script.js.map +1 -1
- package/dist/es-legacy/utils/Storage.js +1 -1
- package/dist/es-legacy/utils/Storage.js.map +1 -1
- package/dist/es-legacy/utils/Validator/ValidationRuleResult.js.map +1 -1
- package/dist/es-legacy/utils/Validator/Validator.js.map +1 -1
- package/dist/es-legacy/utils/amount-util.js +1 -1
- package/dist/es-legacy/utils/amount-util.js.map +1 -1
- package/dist/es-legacy/utils/browserInfo.js +1 -1
- package/dist/es-legacy/utils/browserInfo.js.map +1 -1
- package/dist/es-legacy/utils/constants/currency-minor-units.js.map +1 -1
- package/dist/es-legacy/utils/createSdkData.js.map +1 -1
- package/dist/es-legacy/utils/getConsentUrl.js.map +1 -1
- package/dist/es-legacy/utils/getErrorMessage.js.map +1 -1
- package/dist/es-legacy/utils/getProp.js +1 -1
- package/dist/es-legacy/utils/getProp.js.map +1 -1
- package/dist/es-legacy/utils/hasOwnProperty.js.map +1 -1
- package/dist/es-legacy/utils/isValidURL.js.map +1 -1
- package/dist/es-legacy/utils/listenerUtils.js.map +1 -1
- package/dist/es-legacy/utils/promiseTimeout.js.map +1 -1
- package/dist/es-legacy/utils/setFocus.js +1 -1
- package/dist/es-legacy/utils/setFocus.js.map +1 -1
- package/dist/es-legacy/utils/textUtils.js.map +1 -1
- package/dist/es-legacy/utils/useAutoFocus.js.map +1 -1
- package/dist/es-legacy/utils/useForm/reducer.js.map +1 -1
- package/dist/es-legacy/utils/validator-utils.js.map +1 -1
- package/dist/es-legacy/utils/windowScrollTo.js +2 -0
- package/dist/es-legacy/utils/windowScrollTo.js.map +1 -0
- package/package.json +11 -11
- package/styles/adyen.css +2 -2
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="applepayjs" />
|
|
2
2
|
/// <reference types="googlepay" />
|
|
3
3
|
import * as preact from 'preact';
|
|
4
|
-
import { h, Ref, FunctionComponent, ComponentChild,
|
|
4
|
+
import { h, Ref, Component, FunctionComponent, ComponentChild, RefObject } from 'preact';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Holds the result of a validation
|
|
@@ -162,6 +162,71 @@ declare class AdyenCheckoutError extends Error {
|
|
|
162
162
|
constructor(type: keyof typeof AdyenCheckoutError.errorTypes, message?: string, options?: CheckoutErrorOptions);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
type InstallmentPlan = 'revolving' | 'bonus' | 'regular';
|
|
166
|
+
interface InstallmentOption {
|
|
167
|
+
values: number[];
|
|
168
|
+
plans?: InstallmentPlan[];
|
|
169
|
+
preselectedValue?: number;
|
|
170
|
+
}
|
|
171
|
+
interface InstallmentOptions {
|
|
172
|
+
[key: string]: InstallmentOption;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
type CheckoutSession = {
|
|
176
|
+
id: string;
|
|
177
|
+
sessionData: string;
|
|
178
|
+
shopperLocale?: string;
|
|
179
|
+
shopperEmail?: string;
|
|
180
|
+
telephoneNumber?: string;
|
|
181
|
+
};
|
|
182
|
+
type SessionConfiguration = {
|
|
183
|
+
installmentOptions?: InstallmentOptions;
|
|
184
|
+
enableStoreDetails?: boolean;
|
|
185
|
+
};
|
|
186
|
+
type CheckoutSessionSetupResponse = {
|
|
187
|
+
id: string;
|
|
188
|
+
sessionData: string;
|
|
189
|
+
countryCode?: string;
|
|
190
|
+
amount: Omit<PaymentAmount, 'currencyDisplay'>;
|
|
191
|
+
expiresAt: string;
|
|
192
|
+
paymentMethods: any;
|
|
193
|
+
returnUrl: string;
|
|
194
|
+
configuration: SessionConfiguration;
|
|
195
|
+
/**
|
|
196
|
+
* 'shopperLocale' set during session creation.
|
|
197
|
+
* @defaultValue en-US
|
|
198
|
+
*/
|
|
199
|
+
shopperLocale: string;
|
|
200
|
+
};
|
|
201
|
+
type CheckoutSessionPaymentResponse = {
|
|
202
|
+
sessionData: string;
|
|
203
|
+
sessionResult: string;
|
|
204
|
+
status?: string;
|
|
205
|
+
resultCode: ResultCode;
|
|
206
|
+
action?: PaymentAction;
|
|
207
|
+
};
|
|
208
|
+
type CheckoutSessionDetailsResponse = {
|
|
209
|
+
sessionData: string;
|
|
210
|
+
sessionResult: string;
|
|
211
|
+
resultCode: ResultCode;
|
|
212
|
+
status?: string;
|
|
213
|
+
action?: PaymentAction;
|
|
214
|
+
};
|
|
215
|
+
type CheckoutSessionBalanceResponse = {
|
|
216
|
+
sessionData: string;
|
|
217
|
+
balance?: PaymentAmount;
|
|
218
|
+
transactionLimit?: PaymentAmount;
|
|
219
|
+
};
|
|
220
|
+
type CheckoutSessionOrdersResponse = {
|
|
221
|
+
sessionData: string;
|
|
222
|
+
orderData: string;
|
|
223
|
+
pspReference: string;
|
|
224
|
+
};
|
|
225
|
+
type SetupSessionOptions = {
|
|
226
|
+
browserInfo?: BrowserInfo;
|
|
227
|
+
order?: Order;
|
|
228
|
+
};
|
|
229
|
+
|
|
165
230
|
type CustomTranslations = {
|
|
166
231
|
[locale: string]: Translations;
|
|
167
232
|
};
|
|
@@ -210,400 +275,101 @@ declare class Language {
|
|
|
210
275
|
dateTime(date: string): string;
|
|
211
276
|
}
|
|
212
277
|
|
|
213
|
-
type
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
setRootNode: (input: HTMLElement) => void;
|
|
217
|
-
i18n: Language;
|
|
218
|
-
pinRequired: boolean;
|
|
219
|
-
sfpState: SFPState;
|
|
220
|
-
getCardErrorMessage: any;
|
|
221
|
-
focusedElement: any;
|
|
222
|
-
setFocusOn: any;
|
|
223
|
-
label?: string;
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
declare enum AnalyticsEventCategory {
|
|
227
|
-
info = "info",
|
|
228
|
-
error = "error",
|
|
229
|
-
log = "log"
|
|
230
|
-
}
|
|
231
|
-
declare abstract class AbstractAnalyticsEvent {
|
|
232
|
-
private readonly timestamp;
|
|
233
|
-
private readonly id;
|
|
278
|
+
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'action' | 'link' | 'iconOnly';
|
|
279
|
+
interface ButtonProps {
|
|
280
|
+
status?: string;
|
|
234
281
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @private
|
|
282
|
+
* Class name modifiers will be used as: `adyen-checkout__button--${modifier}`
|
|
237
283
|
*/
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
284
|
+
classNameModifiers?: string[];
|
|
285
|
+
variant?: ButtonVariant;
|
|
286
|
+
disabled?: boolean;
|
|
287
|
+
label?: string | h.JSX.Element;
|
|
288
|
+
onClickCompletedLabel?: string | h.JSX.Element;
|
|
289
|
+
ariaLabel?: string;
|
|
290
|
+
ariaDescribedBy?: string;
|
|
291
|
+
secondaryLabel?: string;
|
|
292
|
+
icon?: string;
|
|
293
|
+
onClickCompletedIcon?: string;
|
|
294
|
+
inline?: boolean;
|
|
295
|
+
href?: string;
|
|
296
|
+
target?: string;
|
|
297
|
+
rel?: string;
|
|
298
|
+
onClick?: (e: h.JSX.TargetedMouseEvent<HTMLButtonElement | HTMLAnchorElement>, callbacks?: {
|
|
299
|
+
complete?: () => void;
|
|
300
|
+
}) => void;
|
|
301
|
+
onKeyDown?: (event: KeyboardEvent) => void;
|
|
302
|
+
onKeyPress?: (event: KeyboardEvent) => void;
|
|
303
|
+
buttonRef?: Ref<HTMLButtonElement>;
|
|
304
|
+
onMouseEnter?: (event: MouseEvent) => void;
|
|
305
|
+
onMouseLeave?: (event: MouseEvent) => void;
|
|
306
|
+
onFocus?: (event: FocusEvent) => void;
|
|
307
|
+
onBlur?: (event: FocusEvent) => void;
|
|
241
308
|
}
|
|
242
309
|
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
hasKoreanFields?: boolean;
|
|
256
|
-
i18n: Language;
|
|
257
|
-
implementationType?: string;
|
|
258
|
-
keypadFix?: boolean;
|
|
259
|
-
koreanAuthenticationRequired?: boolean;
|
|
260
|
-
legacyInputMode?: boolean;
|
|
261
|
-
loadingContext: string;
|
|
262
|
-
minimumExpiryDate?: string;
|
|
263
|
-
onAdditionalSFConfig?: () => {};
|
|
264
|
-
onAdditionalSFRemoved?: () => {};
|
|
265
|
-
onAllValid?: () => {};
|
|
266
|
-
onAutoComplete?: () => {};
|
|
267
|
-
onBinValue?: () => {};
|
|
268
|
-
onBrand?: () => {};
|
|
269
|
-
onChange: () => {};
|
|
270
|
-
onConfigSuccess?: () => {};
|
|
271
|
-
onError?: () => {};
|
|
272
|
-
onFieldValid?: () => {};
|
|
273
|
-
onFocus?: () => {};
|
|
274
|
-
onLoad?: () => {};
|
|
275
|
-
onStateUpdate: (obj: SFPState) => void;
|
|
276
|
-
onSubmitAnalytics: (event: AbstractAnalyticsEvent) => void;
|
|
277
|
-
handleKeyPress?: (obj: KeyboardEvent) => void;
|
|
278
|
-
rootNode: HTMLElement;
|
|
279
|
-
showWarnings?: boolean;
|
|
280
|
-
styles?: StylesObject;
|
|
281
|
-
trimTrailingSeparator?: boolean;
|
|
282
|
-
type: string;
|
|
283
|
-
render: () => {};
|
|
284
|
-
resources: Resources;
|
|
285
|
-
maskSecurityCode: boolean;
|
|
286
|
-
exposeExpiryDate: boolean;
|
|
287
|
-
disableIOSArrowKeys: (obj: TouchStartEventObj) => void | null;
|
|
288
|
-
placeholders?: Placeholders;
|
|
289
|
-
showContextualElement?: boolean;
|
|
290
|
-
}
|
|
291
|
-
interface SFPState {
|
|
310
|
+
interface PayButtonProps extends ButtonProps {
|
|
311
|
+
/**
|
|
312
|
+
* Class name modifiers will be used as: `adyen-checkout__image--${modifier}`
|
|
313
|
+
*/
|
|
314
|
+
classNameModifiers?: string[];
|
|
315
|
+
/**
|
|
316
|
+
* Custom amount that can be passed to the button.
|
|
317
|
+
* This is useful when the amount is not available in the amount provider, such as Giftcard scenario where
|
|
318
|
+
* we need to display the remaining amount
|
|
319
|
+
*/
|
|
320
|
+
customAmount?: PaymentAmount;
|
|
321
|
+
label?: string;
|
|
292
322
|
status?: string;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
data: object;
|
|
297
|
-
cvcPolicy?: CVCPolicyType;
|
|
298
|
-
isSfpValid?: boolean;
|
|
299
|
-
autoCompleteName?: string;
|
|
300
|
-
billingAddress?: AddressData;
|
|
301
|
-
detectedUnsupportedBrands?: string[];
|
|
302
|
-
hasKoreanFields?: boolean;
|
|
303
|
-
showSocialSecurityNumber?: boolean;
|
|
304
|
-
expiryDatePolicy?: DatePolicyType;
|
|
305
|
-
socialSecurityNumber?: string;
|
|
306
|
-
}
|
|
307
|
-
interface SingleBrandResetObject {
|
|
308
|
-
brand: string;
|
|
309
|
-
cvcPolicy: CVCPolicyType;
|
|
310
|
-
}
|
|
311
|
-
interface SFPValid {
|
|
312
|
-
encryptedCardNumber?: boolean;
|
|
313
|
-
encryptedExpiryMonth?: boolean;
|
|
314
|
-
encryptedExpiryYear?: boolean;
|
|
315
|
-
encryptedSecurityCode?: boolean;
|
|
316
|
-
encryptedPassword?: boolean;
|
|
317
|
-
encryptedPin?: boolean;
|
|
318
|
-
encryptedBankAccountNumber?: boolean;
|
|
319
|
-
encryptedBankLocationId?: boolean;
|
|
323
|
+
disabled?: boolean;
|
|
324
|
+
icon?: string;
|
|
325
|
+
onClick?: (e: h.JSX.TargetedMouseEvent<HTMLButtonElement>) => void;
|
|
320
326
|
}
|
|
321
327
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
328
|
+
type AchForm = {
|
|
329
|
+
selectedAccountType: string;
|
|
330
|
+
ownerName: string;
|
|
331
|
+
routingNumber: string;
|
|
332
|
+
accountNumber: string;
|
|
333
|
+
accountNumberVerification: string;
|
|
334
|
+
};
|
|
335
|
+
type AchFormPrefillData = Partial<Pick<AchForm, 'ownerName'>>;
|
|
325
336
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
337
|
+
interface AchConfiguration extends UIElementProps {
|
|
338
|
+
/**
|
|
339
|
+
* Pre-fill ACH form with shopper data
|
|
340
|
+
*/
|
|
341
|
+
data?: AchFormPrefillData;
|
|
342
|
+
/**
|
|
343
|
+
* Adds placeholder text to the input fields
|
|
344
|
+
*/
|
|
345
|
+
placeholders?: AchPlaceholders;
|
|
346
|
+
/**
|
|
347
|
+
* Set to false to hide the "Account Holder Name" field if you want to pass the data yourself
|
|
348
|
+
* @default true
|
|
349
|
+
*/
|
|
350
|
+
hasHolderName?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* Enables storing the payment method using the Checkbox
|
|
353
|
+
* @default false
|
|
354
|
+
*/
|
|
355
|
+
enableStoreDetails?: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* storedPaymentMethodId coming from a stored ACH in /paymentMethods response
|
|
358
|
+
* @internal
|
|
359
|
+
*/
|
|
360
|
+
storedPaymentMethodId?: string;
|
|
361
|
+
/**
|
|
362
|
+
* bankAccountNumber coming from a stored ACH in /paymentMethods response
|
|
363
|
+
* @internal
|
|
364
|
+
*/
|
|
365
|
+
bankAccountNumber?: string;
|
|
331
366
|
}
|
|
332
|
-
interface
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
interface StyleDefinitions {
|
|
339
|
-
background?: string;
|
|
340
|
-
caretColor?: string;
|
|
341
|
-
color?: string;
|
|
342
|
-
display?: string;
|
|
343
|
-
font?: string;
|
|
344
|
-
fontFamily?: string;
|
|
345
|
-
fontSize?: string;
|
|
346
|
-
fontSizeAdjust?: string;
|
|
347
|
-
fontSmoothing?: string;
|
|
348
|
-
fontStretch?: string;
|
|
349
|
-
fontStyle?: string;
|
|
350
|
-
fontVariant?: string;
|
|
351
|
-
fontVariantAlternates?: string;
|
|
352
|
-
fontVariantCaps?: string;
|
|
353
|
-
fontVariantEastAsian?: string;
|
|
354
|
-
fontVariantLigatures?: string;
|
|
355
|
-
fontVariantNumeric?: string;
|
|
356
|
-
fontWeight?: string;
|
|
357
|
-
letterSpacing?: string;
|
|
358
|
-
lineHeight?: string;
|
|
359
|
-
mozOsxFontSmoothing?: string;
|
|
360
|
-
mozTransition?: string;
|
|
361
|
-
outline?: string;
|
|
362
|
-
opacity?: string;
|
|
363
|
-
padding?: string;
|
|
364
|
-
textAlign?: string;
|
|
365
|
-
textShadow?: string;
|
|
366
|
-
transition?: string;
|
|
367
|
-
webkitFontSmoothing?: string;
|
|
368
|
-
webkitTransition?: string;
|
|
369
|
-
wordSpacing?: string;
|
|
370
|
-
}
|
|
371
|
-
interface CardAllValidData {
|
|
372
|
-
type: string;
|
|
373
|
-
allValid: boolean;
|
|
374
|
-
rootNode: HTMLElement;
|
|
375
|
-
}
|
|
376
|
-
interface CardAutoCompleteData {
|
|
377
|
-
fieldType: string;
|
|
378
|
-
name: string;
|
|
379
|
-
value: string;
|
|
380
|
-
action: string;
|
|
381
|
-
}
|
|
382
|
-
interface CardBinLookupData {
|
|
383
|
-
type?: string;
|
|
384
|
-
detectedBrands?: string[];
|
|
385
|
-
supportedBrands?: string[];
|
|
386
|
-
brands?: string[];
|
|
387
|
-
issuingCountryCode?: string;
|
|
388
|
-
supportedBrandsRaw?: BrandObject[];
|
|
389
|
-
rootNode?: HTMLElement;
|
|
390
|
-
isReset?: boolean;
|
|
391
|
-
}
|
|
392
|
-
interface CardBinValueData {
|
|
393
|
-
type: string;
|
|
394
|
-
binValue: string;
|
|
395
|
-
uuid?: string;
|
|
396
|
-
encryptedBin?: string;
|
|
397
|
-
}
|
|
398
|
-
interface CardBrandData {
|
|
399
|
-
type: string;
|
|
400
|
-
rootNode: HTMLElement;
|
|
401
|
-
brand: string;
|
|
402
|
-
cvcPolicy: CVCPolicyType;
|
|
403
|
-
expiryDatePolicy?: DatePolicyType;
|
|
404
|
-
cvcText: string;
|
|
405
|
-
showSocialSecurityNumber?: boolean;
|
|
406
|
-
brandImageUrl?: string;
|
|
407
|
-
}
|
|
408
|
-
interface CardConfigSuccessData {
|
|
409
|
-
iframesConfigured: boolean;
|
|
410
|
-
type: string;
|
|
411
|
-
rootNode: HTMLElement;
|
|
412
|
-
}
|
|
413
|
-
interface CardErrorData {
|
|
414
|
-
fieldType: string;
|
|
415
|
-
error: string;
|
|
416
|
-
type: string;
|
|
417
|
-
rootNode?: HTMLElement;
|
|
418
|
-
detectedBrands?: string[];
|
|
419
|
-
errorI18n?: string;
|
|
420
|
-
errorText?: string;
|
|
421
|
-
}
|
|
422
|
-
interface CardFieldValidData {
|
|
423
|
-
fieldType: string;
|
|
424
|
-
encryptedFieldName: string;
|
|
425
|
-
uid: string;
|
|
426
|
-
valid: boolean;
|
|
427
|
-
type: string;
|
|
428
|
-
rootNode: HTMLElement;
|
|
429
|
-
blob?: string;
|
|
430
|
-
endDigits?: string;
|
|
431
|
-
expiryDate?: string;
|
|
432
|
-
issuerBin?: number;
|
|
433
|
-
}
|
|
434
|
-
interface CardFocusData {
|
|
435
|
-
action: string;
|
|
436
|
-
focus: boolean;
|
|
437
|
-
numChars: number;
|
|
438
|
-
fieldType: string;
|
|
439
|
-
rootNode: HTMLElement;
|
|
440
|
-
type: string;
|
|
441
|
-
currentFocusObject: string;
|
|
442
|
-
}
|
|
443
|
-
interface CardLoadData {
|
|
444
|
-
iframesLoaded: boolean;
|
|
445
|
-
}
|
|
446
|
-
type CVCPolicyType = typeof REQUIRED | typeof OPTIONAL | typeof HIDDEN;
|
|
447
|
-
type DatePolicyType = typeof REQUIRED | typeof OPTIONAL | typeof HIDDEN;
|
|
448
|
-
|
|
449
|
-
interface InstallmentOptions {
|
|
450
|
-
[key: string]: {
|
|
451
|
-
values: number[];
|
|
452
|
-
plans?: string[];
|
|
453
|
-
preselectedValue?: number;
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
interface TouchStartEventObj {
|
|
457
|
-
fieldType: string;
|
|
458
|
-
name?: string;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
type CheckoutSession = {
|
|
462
|
-
id: string;
|
|
463
|
-
sessionData: string;
|
|
464
|
-
shopperLocale?: string;
|
|
465
|
-
shopperEmail?: string;
|
|
466
|
-
telephoneNumber?: string;
|
|
467
|
-
};
|
|
468
|
-
type SessionConfiguration = {
|
|
469
|
-
installmentOptions?: InstallmentOptions;
|
|
470
|
-
enableStoreDetails?: boolean;
|
|
471
|
-
};
|
|
472
|
-
type CheckoutSessionSetupResponse = {
|
|
473
|
-
id: string;
|
|
474
|
-
sessionData: string;
|
|
475
|
-
countryCode?: string;
|
|
476
|
-
amount: PaymentAmount;
|
|
477
|
-
expiresAt: string;
|
|
478
|
-
paymentMethods: any;
|
|
479
|
-
returnUrl: string;
|
|
480
|
-
configuration: SessionConfiguration;
|
|
481
|
-
/**
|
|
482
|
-
* 'shopperLocale' set during session creation.
|
|
483
|
-
* @defaultValue en-US
|
|
484
|
-
*/
|
|
485
|
-
shopperLocale: string;
|
|
486
|
-
};
|
|
487
|
-
type CheckoutSessionPaymentResponse = {
|
|
488
|
-
sessionData: string;
|
|
489
|
-
sessionResult: string;
|
|
490
|
-
status?: string;
|
|
491
|
-
resultCode: ResultCode;
|
|
492
|
-
action?: PaymentAction;
|
|
493
|
-
};
|
|
494
|
-
type CheckoutSessionDetailsResponse = {
|
|
495
|
-
sessionData: string;
|
|
496
|
-
sessionResult: string;
|
|
497
|
-
resultCode: ResultCode;
|
|
498
|
-
status?: string;
|
|
499
|
-
action?: PaymentAction;
|
|
500
|
-
};
|
|
501
|
-
type CheckoutSessionBalanceResponse = {
|
|
502
|
-
sessionData: string;
|
|
503
|
-
balance?: PaymentAmount;
|
|
504
|
-
transactionLimit?: PaymentAmount;
|
|
505
|
-
};
|
|
506
|
-
type CheckoutSessionOrdersResponse = {
|
|
507
|
-
sessionData: string;
|
|
508
|
-
orderData: string;
|
|
509
|
-
pspReference: string;
|
|
510
|
-
};
|
|
511
|
-
type SetupSessionOptions = {
|
|
512
|
-
browserInfo?: BrowserInfo;
|
|
513
|
-
order?: Order;
|
|
514
|
-
};
|
|
515
|
-
|
|
516
|
-
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'action' | 'link' | 'iconOnly';
|
|
517
|
-
interface ButtonProps {
|
|
518
|
-
status?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Class name modifiers will be used as: `adyen-checkout__button--${modifier}`
|
|
521
|
-
*/
|
|
522
|
-
classNameModifiers?: string[];
|
|
523
|
-
variant?: ButtonVariant;
|
|
524
|
-
disabled?: boolean;
|
|
525
|
-
label?: string | h.JSX.Element;
|
|
526
|
-
onClickCompletedLabel?: string | h.JSX.Element;
|
|
527
|
-
ariaLabel?: string;
|
|
528
|
-
ariaDescribedBy?: string;
|
|
529
|
-
secondaryLabel?: string;
|
|
530
|
-
icon?: string;
|
|
531
|
-
onClickCompletedIcon?: string;
|
|
532
|
-
inline?: boolean;
|
|
533
|
-
href?: string;
|
|
534
|
-
target?: string;
|
|
535
|
-
rel?: string;
|
|
536
|
-
onClick?: (e: h.JSX.TargetedMouseEvent<HTMLButtonElement>, callbacks?: {
|
|
537
|
-
complete?: () => void;
|
|
538
|
-
}) => void;
|
|
539
|
-
onKeyDown?: (event: KeyboardEvent) => void;
|
|
540
|
-
onKeyPress?: (event: KeyboardEvent) => void;
|
|
541
|
-
buttonRef?: Ref<HTMLButtonElement>;
|
|
542
|
-
onMouseEnter?: (event: MouseEvent) => void;
|
|
543
|
-
onMouseLeave?: (event: MouseEvent) => void;
|
|
544
|
-
onFocus?: (event: FocusEvent) => void;
|
|
545
|
-
onBlur?: (event: FocusEvent) => void;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
interface PayButtonProps extends ButtonProps {
|
|
549
|
-
/**
|
|
550
|
-
* Class name modifiers will be used as: `adyen-checkout__image--${modifier}`
|
|
551
|
-
*/
|
|
552
|
-
classNameModifiers?: string[];
|
|
553
|
-
label?: string;
|
|
554
|
-
amount?: PaymentAmountExtended;
|
|
555
|
-
secondaryAmount?: PaymentAmountExtended;
|
|
556
|
-
status?: string;
|
|
557
|
-
disabled?: boolean;
|
|
558
|
-
icon?: string;
|
|
559
|
-
onClick?: (e: h.JSX.TargetedMouseEvent<HTMLButtonElement>) => void;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
type AchForm = {
|
|
563
|
-
selectedAccountType: string;
|
|
564
|
-
ownerName: string;
|
|
565
|
-
routingNumber: string;
|
|
566
|
-
accountNumber: string;
|
|
567
|
-
accountNumberVerification: string;
|
|
568
|
-
};
|
|
569
|
-
type AchFormPrefillData = Partial<Pick<AchForm, 'ownerName'>>;
|
|
570
|
-
|
|
571
|
-
interface AchConfiguration extends UIElementProps {
|
|
572
|
-
/**
|
|
573
|
-
* Pre-fill ACH form with shopper data
|
|
574
|
-
*/
|
|
575
|
-
data?: AchFormPrefillData;
|
|
576
|
-
/**
|
|
577
|
-
* Adds placeholder text to the input fields
|
|
578
|
-
*/
|
|
579
|
-
placeholders?: AchPlaceholders;
|
|
580
|
-
/**
|
|
581
|
-
* Set to false to hide the "Account Holder Name" field if you want to pass the data yourself
|
|
582
|
-
* @default true
|
|
583
|
-
*/
|
|
584
|
-
hasHolderName?: boolean;
|
|
585
|
-
/**
|
|
586
|
-
* Enables storing the payment method using the Checkbox
|
|
587
|
-
* @default false
|
|
588
|
-
*/
|
|
589
|
-
enableStoreDetails?: boolean;
|
|
590
|
-
/**
|
|
591
|
-
* storedPaymentMethodId coming from a stored ACH in /paymentMethods response
|
|
592
|
-
* @internal
|
|
593
|
-
*/
|
|
594
|
-
storedPaymentMethodId?: string;
|
|
595
|
-
/**
|
|
596
|
-
* bankAccountNumber coming from a stored ACH in /paymentMethods response
|
|
597
|
-
* @internal
|
|
598
|
-
*/
|
|
599
|
-
bankAccountNumber?: string;
|
|
600
|
-
}
|
|
601
|
-
interface AchPlaceholders {
|
|
602
|
-
accountTypeSelector?: string;
|
|
603
|
-
ownerName?: string;
|
|
604
|
-
routingNumber?: string;
|
|
605
|
-
accountNumber?: string;
|
|
606
|
-
accountNumberVerification?: string;
|
|
367
|
+
interface AchPlaceholders {
|
|
368
|
+
accountTypeSelector?: string;
|
|
369
|
+
ownerName?: string;
|
|
370
|
+
routingNumber?: string;
|
|
371
|
+
accountNumber?: string;
|
|
372
|
+
accountNumberVerification?: string;
|
|
607
373
|
}
|
|
608
374
|
|
|
609
375
|
declare const SUPPORTED_LOCALES_EU: readonly ["en_GB", "de_DE", "fr_FR", "it_IT", "es_ES"];
|
|
@@ -849,7 +615,7 @@ interface AmazonPayConfiguration extends UIElementProps {
|
|
|
849
615
|
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
850
616
|
reject: () => void;
|
|
851
617
|
}): void;
|
|
852
|
-
payButton?:
|
|
618
|
+
payButton?: (props: PayButtonProps) => h.JSX.Element;
|
|
853
619
|
placement?: Placement;
|
|
854
620
|
productType?: ProductType;
|
|
855
621
|
recurringMetadata?: RecurringMetadata;
|
|
@@ -882,7 +648,6 @@ interface AmazonPayComponentProps extends AmazonPayConfiguration {
|
|
|
882
648
|
ref: any;
|
|
883
649
|
}
|
|
884
650
|
interface AmazonPayButtonProps {
|
|
885
|
-
amount?: PaymentAmount;
|
|
886
651
|
amazonRef: any;
|
|
887
652
|
buttonColor?: ButtonColor;
|
|
888
653
|
cancelUrl?: string;
|
|
@@ -917,7 +682,6 @@ interface ChangeActionOptions {
|
|
|
917
682
|
}
|
|
918
683
|
interface OrderButtonProps {
|
|
919
684
|
amazonCheckoutSessionId: string;
|
|
920
|
-
amount: PaymentAmount;
|
|
921
685
|
clientKey: string;
|
|
922
686
|
chargePermissionType?: ChargePermissionType;
|
|
923
687
|
onError: (error: any, component: any) => void;
|
|
@@ -1168,7 +932,14 @@ interface ApplePayConfiguration extends UIElementProps {
|
|
|
1168
932
|
* Optional user-defined data.
|
|
1169
933
|
*/
|
|
1170
934
|
applicationData?: string;
|
|
1171
|
-
|
|
935
|
+
/**
|
|
936
|
+
* Called when the shopper clicks the Apple Pay button
|
|
937
|
+
|
|
938
|
+
* @param resolve - Must be called if the button should be displayed
|
|
939
|
+
* @param reject - Must be called if the button should not be displayed
|
|
940
|
+
* @returns
|
|
941
|
+
*/
|
|
942
|
+
onClick?: (resolve: () => void, reject: () => void) => void;
|
|
1172
943
|
/**
|
|
1173
944
|
* A callback function the Apple Pay SDK calls when the Apple Pay code modal or window closes.
|
|
1174
945
|
*/
|
|
@@ -1201,28 +972,42 @@ interface ApplePayConfiguration extends UIElementProps {
|
|
|
1201
972
|
* @param reject - Must be called if something failed during the order creation. Calling 'reject' won't cancel the payment flow
|
|
1202
973
|
*/
|
|
1203
974
|
onOrderTrackingRequest?: (resolve: (orderDetails: ApplePayPaymentOrderDetails) => void, reject: () => void) => void;
|
|
1204
|
-
onValidateMerchant?: (resolve: any, reject: any, validationURL: string) => void;
|
|
1205
975
|
/**
|
|
1206
|
-
*
|
|
1207
|
-
*
|
|
1208
|
-
* @
|
|
1209
|
-
* @param
|
|
976
|
+
* An event handler the system calls when it displays the payment sheet
|
|
977
|
+
*
|
|
978
|
+
* {@link https://developer.apple.com/documentation/applepayontheweb/applepaysession/onvalidatemerchant}
|
|
979
|
+
* @param resolve - Must be called with an opaque message session object
|
|
980
|
+
* @param reject - Must be called if something failed during the merchant validation
|
|
981
|
+
* @param validationURL - The URL your server must use to validate itself and obtain a merchant session object.
|
|
982
|
+
*/
|
|
983
|
+
onValidateMerchant?: (resolve: (merchantSession: any) => void, reject: (error?: string) => void, validationURL: string) => Promise<void>;
|
|
984
|
+
/**
|
|
985
|
+
* An event handler to call when the user selects a new payment method.
|
|
986
|
+
*
|
|
987
|
+
* {@link https://developer.apple.com/documentation/applepayontheweb/applepaysession/onpaymentmethodselected}
|
|
988
|
+
* @param resolve - Completes the selection of a payment method with an update.
|
|
989
|
+
* @param reject - Completes the selection of a payment method with no update.
|
|
990
|
+
* @param event - The event parameter contains the paymentMethod attribute.
|
|
1210
991
|
*/
|
|
1211
|
-
onPaymentMethodSelected?: (resolve:
|
|
992
|
+
onPaymentMethodSelected?: (resolve: (paymentMethodUpdate: ApplePayJS.ApplePayPaymentMethodUpdate) => void, reject: (paymentMethodUpdate: ApplePayJS.ApplePayPaymentMethodUpdate) => void, event: ApplePayJS.ApplePayPaymentMethodSelectedEvent) => void;
|
|
1212
993
|
/**
|
|
1213
|
-
*
|
|
1214
|
-
*
|
|
1215
|
-
* @
|
|
1216
|
-
* @param
|
|
994
|
+
* An event handler to call when the user selects a shipping contact in the payment sheet.
|
|
995
|
+
*
|
|
996
|
+
* {@link https://developer.apple.com/documentation/applepayontheweb/applepaysession/onshippingcontactselected}
|
|
997
|
+
* @param resolve - Completes the selection of a shipping contact with an update.
|
|
998
|
+
* @param reject - Completes the selection of a shipping contact with no update.
|
|
999
|
+
* @param event - The event parameter contains the shippingContact attribute.
|
|
1217
1000
|
*/
|
|
1218
|
-
onShippingContactSelected?: (resolve:
|
|
1001
|
+
onShippingContactSelected?: (resolve: (shippingContactUpdate: ApplePayJS.ApplePayShippingContactUpdate) => void, reject: (shippingContactUpdate: ApplePayJS.ApplePayShippingContactUpdate) => void, event: ApplePayJS.ApplePayShippingContactSelectedEvent) => void;
|
|
1219
1002
|
/**
|
|
1220
|
-
*
|
|
1221
|
-
*
|
|
1222
|
-
* @
|
|
1223
|
-
* @param
|
|
1003
|
+
* Completes the selection of a shipping method with an update.
|
|
1004
|
+
*
|
|
1005
|
+
* {@link https://developer.apple.com/documentation/applepayontheweb/applepaysession/completeshippingmethodselection}
|
|
1006
|
+
* @param resolve - Completes the selection of a shipping method with an update.
|
|
1007
|
+
* @param reject - Completes the selection of a shipping method with no update.
|
|
1008
|
+
* @param event - The event parameter contains the shippingMethod attribute.
|
|
1224
1009
|
*/
|
|
1225
|
-
onShippingMethodSelected?: (resolve:
|
|
1010
|
+
onShippingMethodSelected?: (resolve: (shippingMethodUpdate: ApplePayJS.ApplePayShippingMethodUpdate) => void, reject: (shippingMethodUpdate: ApplePayJS.ApplePayShippingMethodUpdate) => void, event: ApplePayJS.ApplePayShippingMethodSelectedEvent) => void;
|
|
1226
1011
|
buttonColor?: ApplePayButtonStyle;
|
|
1227
1012
|
buttonType?: ApplePayButtonType;
|
|
1228
1013
|
/**
|
|
@@ -1457,179 +1242,505 @@ interface CashAppPayConfiguration extends UIElementProps {
|
|
|
1457
1242
|
scopeId: string;
|
|
1458
1243
|
};
|
|
1459
1244
|
/**
|
|
1460
|
-
* If payment is tokenized, then API will return its ID
|
|
1461
|
-
* @internal
|
|
1462
|
-
*/
|
|
1463
|
-
storedPaymentMethodId?: string;
|
|
1464
|
-
/**
|
|
1465
|
-
* If payment is tokenized, then API will return this value
|
|
1466
|
-
* @internal
|
|
1245
|
+
* If payment is tokenized, then API will return its ID
|
|
1246
|
+
* @internal
|
|
1247
|
+
*/
|
|
1248
|
+
storedPaymentMethodId?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* If payment is tokenized, then API will return this value
|
|
1251
|
+
* @internal
|
|
1252
|
+
*/
|
|
1253
|
+
cashtag?: string;
|
|
1254
|
+
}
|
|
1255
|
+
type CashAppPayElementData = {
|
|
1256
|
+
paymentMethod: {
|
|
1257
|
+
type: string;
|
|
1258
|
+
grantId?: string;
|
|
1259
|
+
storedPaymentMethodId?: string;
|
|
1260
|
+
};
|
|
1261
|
+
storePaymentMethod?: boolean;
|
|
1262
|
+
};
|
|
1263
|
+
type CashAppPayEventData = {
|
|
1264
|
+
cashTag?: string;
|
|
1265
|
+
customerId?: string;
|
|
1266
|
+
grantId?: string;
|
|
1267
|
+
onFileGrantId?: string;
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
interface TimeoutErrorProps {
|
|
1271
|
+
source: string;
|
|
1272
|
+
scheme: string;
|
|
1273
|
+
isTimeoutTriggeredBySchemeSdk: boolean;
|
|
1274
|
+
}
|
|
1275
|
+
declare class TimeoutError extends Error {
|
|
1276
|
+
scheme: string;
|
|
1277
|
+
source: string;
|
|
1278
|
+
isTimeoutTriggeredBySchemeSdk: boolean;
|
|
1279
|
+
/** Currently populated only by Visa SDK if available */
|
|
1280
|
+
correlationId?: string;
|
|
1281
|
+
constructor(options: TimeoutErrorProps);
|
|
1282
|
+
setCorrelationId(correlationId: string): void;
|
|
1283
|
+
toString(): string;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
type ClickToPayProps = {
|
|
1287
|
+
/**
|
|
1288
|
+
* Shopper email used to be recognized with the Network schemes
|
|
1289
|
+
*/
|
|
1290
|
+
shopperEmail?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Shopper telephone number used to be recognized with the Network schemes
|
|
1293
|
+
*/
|
|
1294
|
+
telephoneNumber?: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* Used to display the merchant name in case the DCF appears (ex: first time doing transaction in the device),
|
|
1297
|
+
*/
|
|
1298
|
+
merchantDisplayName?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* Used to ensure the correct language and user experience if DCF screen is displayed. As a fallback, it uses the main locale
|
|
1301
|
+
* defined during the creation of the Checkout.
|
|
1302
|
+
* Format: ISO language_country pair (e.g., en_US )
|
|
1303
|
+
*
|
|
1304
|
+
* @defaultValue en_US
|
|
1305
|
+
*/
|
|
1306
|
+
locale?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* Disable autofocus on the One Time Password input field when it is either displayed or when the OTP is resent
|
|
1309
|
+
* @defaultValue false
|
|
1310
|
+
*/
|
|
1311
|
+
disableOtpAutoFocus?: boolean;
|
|
1312
|
+
/**
|
|
1313
|
+
* Callback triggered when the Click to Pay component is ready to be used
|
|
1314
|
+
*/
|
|
1315
|
+
onReady?(): void;
|
|
1316
|
+
/**
|
|
1317
|
+
* Callback triggered when a timeout happens within Click to Pay service.
|
|
1318
|
+
* Ex: Network schemes took too long to initialize
|
|
1319
|
+
*/
|
|
1320
|
+
onTimeout?(error: TimeoutError): void;
|
|
1321
|
+
};
|
|
1322
|
+
type ClickToPayScheme = 'mc' | 'visa';
|
|
1323
|
+
|
|
1324
|
+
declare global {
|
|
1325
|
+
interface Window {
|
|
1326
|
+
SRCSDK_MASTERCARD?: object;
|
|
1327
|
+
vAdapters: {
|
|
1328
|
+
VisaSRCI?: object;
|
|
1329
|
+
};
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
declare enum AnalyticsEventCategory {
|
|
1334
|
+
info = "info",
|
|
1335
|
+
error = "error",
|
|
1336
|
+
log = "log"
|
|
1337
|
+
}
|
|
1338
|
+
declare abstract class AbstractAnalyticsEvent {
|
|
1339
|
+
private readonly timestamp;
|
|
1340
|
+
private readonly id;
|
|
1341
|
+
/**
|
|
1342
|
+
* Component tx variant or identifier
|
|
1343
|
+
* @private
|
|
1344
|
+
*/
|
|
1345
|
+
private readonly component;
|
|
1346
|
+
abstract getEventCategory(): AnalyticsEventCategory;
|
|
1347
|
+
protected constructor(component: string);
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
interface AnalyticsOptions {
|
|
1351
|
+
/**
|
|
1352
|
+
* Enable/Disable all analytics
|
|
1353
|
+
*/
|
|
1354
|
+
enabled?: boolean;
|
|
1355
|
+
/**
|
|
1356
|
+
* A wrapper to pass data needed when analytics is setup
|
|
1357
|
+
*/
|
|
1358
|
+
analyticsData?: {
|
|
1359
|
+
/**
|
|
1360
|
+
* Relates to PMs used within Plugins
|
|
1361
|
+
* https://docs.adyen.com/development-resources/application-information/?tab=integrator_built_2#application-information-fields
|
|
1362
|
+
* @internal
|
|
1363
|
+
*/
|
|
1364
|
+
applicationInfo?: ApplicationInfo;
|
|
1365
|
+
/**
|
|
1366
|
+
* Use a checkoutAttemptId from a previous page
|
|
1367
|
+
*/
|
|
1368
|
+
checkoutAttemptId?: string;
|
|
1369
|
+
};
|
|
1370
|
+
}
|
|
1371
|
+
interface ApplicationInfo {
|
|
1372
|
+
externalPlatform: {
|
|
1373
|
+
name: string;
|
|
1374
|
+
version: string;
|
|
1375
|
+
integrator: string;
|
|
1376
|
+
};
|
|
1377
|
+
merchantApplication: {
|
|
1378
|
+
name: string;
|
|
1379
|
+
version: string;
|
|
1380
|
+
};
|
|
1381
|
+
merchantDevice?: {
|
|
1382
|
+
os: string;
|
|
1383
|
+
osVersion: string;
|
|
1384
|
+
};
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
interface IAnalytics {
|
|
1388
|
+
checkoutAttemptId?: string;
|
|
1389
|
+
setUp({ sessionId, checkoutStage, locale }: {
|
|
1390
|
+
sessionId?: string;
|
|
1391
|
+
checkoutStage?: 'precheckout' | 'checkout';
|
|
1392
|
+
locale?: string;
|
|
1393
|
+
}): Promise<void>;
|
|
1394
|
+
sendFlavor(flavor: 'dropin' | 'components'): Promise<void>;
|
|
1395
|
+
sendAnalytics(event: AbstractAnalyticsEvent): void;
|
|
1396
|
+
flush(): void;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
type MastercardCheckout = {
|
|
1400
|
+
srcDigitalCardId: string;
|
|
1401
|
+
srcCorrelationId: string;
|
|
1402
|
+
srcScheme: string;
|
|
1403
|
+
};
|
|
1404
|
+
type VisaCheckout = {
|
|
1405
|
+
srcCheckoutPayload?: string;
|
|
1406
|
+
srcTokenReference?: string;
|
|
1407
|
+
srcCorrelationId: string;
|
|
1408
|
+
srcScheme: string;
|
|
1409
|
+
};
|
|
1410
|
+
type ClickToPayCheckoutPayload = VisaCheckout | MastercardCheckout;
|
|
1411
|
+
|
|
1412
|
+
type ClickToPayConfiguration = UIElementProps & ClickToPayProps & {
|
|
1413
|
+
/**
|
|
1414
|
+
* ClickToPay configuration sent by the /paymentMethods response
|
|
1415
|
+
*/
|
|
1416
|
+
configuration?: {
|
|
1417
|
+
mcDpaId?: string;
|
|
1418
|
+
mcSrcClientId?: string;
|
|
1419
|
+
visaSrcInitiatorId?: string;
|
|
1420
|
+
visaSrciDpaId?: string;
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
type ClickToPayPaymentData = {
|
|
1424
|
+
paymentMethod: ClickToPayCheckoutPayload & {
|
|
1425
|
+
type: string;
|
|
1426
|
+
};
|
|
1427
|
+
origin: string;
|
|
1428
|
+
browserInfo: BrowserInfo;
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
interface TouchStartEventObj {
|
|
1432
|
+
fieldType: string;
|
|
1433
|
+
name?: string;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
type PlaceholderKeys$1 = 'cardNumber' | 'securityCode' | 'expiryDate';
|
|
1437
|
+
type Placeholders$1 = Partial<Record<PlaceholderKeys$1, string>>;
|
|
1438
|
+
type GiftcardFieldsProps = {
|
|
1439
|
+
setRootNode: (input: HTMLElement) => void;
|
|
1440
|
+
i18n: Language;
|
|
1441
|
+
pinRequired: boolean;
|
|
1442
|
+
sfpState: SFPState;
|
|
1443
|
+
getCardErrorMessage: any;
|
|
1444
|
+
focusedElement: any;
|
|
1445
|
+
setFocusOn: any;
|
|
1446
|
+
label?: string;
|
|
1447
|
+
};
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* SecuredFieldsProvider:
|
|
1451
|
+
* Initialises & handles the client-side part of SecuredFields
|
|
1452
|
+
*/
|
|
1453
|
+
declare class SecuredFieldsProvider extends Component<SFPProps, SFPState> {
|
|
1454
|
+
private csfLoadFailTimeout;
|
|
1455
|
+
private csfLoadFailTimeoutMS;
|
|
1456
|
+
private csfConfigFailTimeout;
|
|
1457
|
+
private csfConfigFailTimeoutMS;
|
|
1458
|
+
private numCharsInField;
|
|
1459
|
+
private rootNode;
|
|
1460
|
+
private numDateFields;
|
|
1461
|
+
private csf;
|
|
1462
|
+
private handleOnLoad;
|
|
1463
|
+
private handleOnConfigSuccess;
|
|
1464
|
+
private handleOnFieldValid;
|
|
1465
|
+
private handleOnAllValid;
|
|
1466
|
+
private handleOnBrand;
|
|
1467
|
+
private handleFocus;
|
|
1468
|
+
private handleOnError;
|
|
1469
|
+
private handleOnAutoComplete;
|
|
1470
|
+
private handleOnNoDataRequired;
|
|
1471
|
+
private handleOnTouchstartIOS;
|
|
1472
|
+
private handleKeyPressed;
|
|
1473
|
+
state: SFPState;
|
|
1474
|
+
props: any;
|
|
1475
|
+
private issuingCountryCode;
|
|
1476
|
+
constructor(props: SFPProps);
|
|
1477
|
+
static defaultProps: {
|
|
1478
|
+
type: string;
|
|
1479
|
+
keypadFix: boolean;
|
|
1480
|
+
rootNode: any;
|
|
1481
|
+
loadingContext: any;
|
|
1482
|
+
brands: any[];
|
|
1483
|
+
showWarnings: boolean;
|
|
1484
|
+
autoFocus: boolean;
|
|
1485
|
+
trimTrailingSeparator: boolean;
|
|
1486
|
+
onChange: () => void;
|
|
1487
|
+
onLoad: () => void;
|
|
1488
|
+
onConfigSuccess: () => void;
|
|
1489
|
+
onAllValid: () => void;
|
|
1490
|
+
onFieldValid: () => void;
|
|
1491
|
+
onBrand: () => void;
|
|
1492
|
+
onError: () => void;
|
|
1493
|
+
onBinValue: () => void;
|
|
1494
|
+
onFocus: () => void;
|
|
1495
|
+
onAutoComplete: () => void;
|
|
1496
|
+
handleKeyPress: () => void;
|
|
1497
|
+
styles: {};
|
|
1498
|
+
};
|
|
1499
|
+
componentDidMount(): void;
|
|
1500
|
+
componentDidUpdate(): void;
|
|
1501
|
+
componentWillUnmount(): void;
|
|
1502
|
+
private initializeCSF;
|
|
1503
|
+
private checkForKCPFields;
|
|
1504
|
+
getChildContext(): object;
|
|
1505
|
+
handleUnsupportedCard(errObj: CardErrorData): boolean;
|
|
1506
|
+
setFocusOn(frame: string): void;
|
|
1507
|
+
updateStyles(stylesObj: StylesObject): void;
|
|
1508
|
+
sfIsOptionalOrHidden(fieldType: string): boolean;
|
|
1509
|
+
destroy(): void;
|
|
1510
|
+
getRootNode(): HTMLElement;
|
|
1511
|
+
showValidation(): void;
|
|
1512
|
+
/**
|
|
1513
|
+
* Map SF errors to ValidationRuleResult-like objects, for CardInput component
|
|
1467
1514
|
*/
|
|
1468
|
-
|
|
1515
|
+
mapErrorsToValidationRuleResult(): SFStateErrorObj;
|
|
1516
|
+
processBinLookupResponse(binLookupResponse: BinLookupResponse, resetObject: SingleBrandResetObject): void;
|
|
1517
|
+
private setRootNode;
|
|
1518
|
+
render(props: any, state: any): any;
|
|
1469
1519
|
}
|
|
1470
|
-
type CashAppPayElementData = {
|
|
1471
|
-
paymentMethod: {
|
|
1472
|
-
type: string;
|
|
1473
|
-
grantId?: string;
|
|
1474
|
-
storedPaymentMethodId?: string;
|
|
1475
|
-
};
|
|
1476
|
-
storePaymentMethod?: boolean;
|
|
1477
|
-
};
|
|
1478
|
-
type CashAppPayEventData = {
|
|
1479
|
-
cashTag?: string;
|
|
1480
|
-
customerId?: string;
|
|
1481
|
-
grantId?: string;
|
|
1482
|
-
onFileGrantId?: string;
|
|
1483
|
-
};
|
|
1484
1520
|
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1521
|
+
type Placeholders = CardPlaceholders | Placeholders$1;
|
|
1522
|
+
/**
|
|
1523
|
+
* Should be the only props that can be sent to SFP (from CardInput, SecuredFieldsInput, GiftcardComponent)
|
|
1524
|
+
*/
|
|
1525
|
+
interface SFPProps {
|
|
1526
|
+
autoFocus?: boolean;
|
|
1527
|
+
brands?: string[];
|
|
1528
|
+
brandsConfiguration?: CardBrandsConfiguration;
|
|
1529
|
+
clientKey: string;
|
|
1530
|
+
componentType: string;
|
|
1531
|
+
countryCode?: string;
|
|
1532
|
+
forceCompat?: boolean;
|
|
1533
|
+
hasKoreanFields?: boolean;
|
|
1534
|
+
i18n: Language;
|
|
1535
|
+
implementationType?: string;
|
|
1536
|
+
keypadFix?: boolean;
|
|
1537
|
+
koreanAuthenticationRequired?: boolean;
|
|
1538
|
+
legacyInputMode?: boolean;
|
|
1539
|
+
loadingContext: string;
|
|
1540
|
+
minimumExpiryDate?: string;
|
|
1541
|
+
onAdditionalSFConfig?: () => {};
|
|
1542
|
+
onAdditionalSFRemoved?: () => {};
|
|
1543
|
+
onAllValid?: () => {};
|
|
1544
|
+
onAutoComplete?: () => {};
|
|
1545
|
+
onBinValue?: () => {};
|
|
1546
|
+
onBrand?: () => {};
|
|
1547
|
+
onChange: () => {};
|
|
1548
|
+
onConfigSuccess?: () => {};
|
|
1549
|
+
onError?: () => {};
|
|
1550
|
+
onFieldValid?: () => {};
|
|
1551
|
+
onFocus?: () => {};
|
|
1552
|
+
onLoad?: () => {};
|
|
1553
|
+
onStateUpdate: (obj: SFPState) => void;
|
|
1554
|
+
onSubmitAnalytics: (event: AbstractAnalyticsEvent) => void;
|
|
1555
|
+
handleKeyPress?: (obj: KeyboardEvent) => void;
|
|
1556
|
+
rootNode: HTMLElement;
|
|
1557
|
+
showWarnings?: boolean;
|
|
1558
|
+
styles?: StylesObject;
|
|
1559
|
+
trimTrailingSeparator?: boolean;
|
|
1560
|
+
type: string;
|
|
1561
|
+
render: () => {};
|
|
1562
|
+
resources: Resources;
|
|
1563
|
+
maskSecurityCode: boolean;
|
|
1564
|
+
exposeExpiryDate: boolean;
|
|
1565
|
+
disableIOSArrowKeys: (obj: TouchStartEventObj) => void | null;
|
|
1566
|
+
placeholders?: Placeholders;
|
|
1567
|
+
showContextualElement?: boolean;
|
|
1489
1568
|
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1569
|
+
interface SFPState {
|
|
1570
|
+
status?: string;
|
|
1571
|
+
brand?: string;
|
|
1572
|
+
errors?: object;
|
|
1573
|
+
valid: SFPValid;
|
|
1574
|
+
data: object;
|
|
1575
|
+
cvcPolicy?: CVCPolicyType;
|
|
1576
|
+
isSfpValid?: boolean;
|
|
1577
|
+
autoCompleteName?: string;
|
|
1578
|
+
billingAddress?: AddressData;
|
|
1579
|
+
detectedUnsupportedBrands?: string[];
|
|
1580
|
+
hasKoreanFields?: boolean;
|
|
1581
|
+
showSocialSecurityNumber?: boolean;
|
|
1582
|
+
expiryDatePolicy?: DatePolicyType;
|
|
1583
|
+
socialSecurityNumber?: string;
|
|
1584
|
+
}
|
|
1585
|
+
interface SingleBrandResetObject {
|
|
1586
|
+
brand: string;
|
|
1587
|
+
cvcPolicy: CVCPolicyType;
|
|
1588
|
+
}
|
|
1589
|
+
interface SFPValid {
|
|
1590
|
+
encryptedCardNumber?: boolean;
|
|
1591
|
+
encryptedExpiryMonth?: boolean;
|
|
1592
|
+
encryptedExpiryYear?: boolean;
|
|
1593
|
+
encryptedSecurityCode?: boolean;
|
|
1594
|
+
encryptedPassword?: boolean;
|
|
1595
|
+
encryptedPin?: boolean;
|
|
1596
|
+
encryptedBankAccountNumber?: boolean;
|
|
1597
|
+
encryptedBankLocationId?: boolean;
|
|
1499
1598
|
}
|
|
1500
1599
|
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
*/
|
|
1505
|
-
shopperEmail?: string;
|
|
1506
|
-
/**
|
|
1507
|
-
* Shopper telephone number used to be recognized with the Network schemes
|
|
1508
|
-
*/
|
|
1509
|
-
telephoneNumber?: string;
|
|
1510
|
-
/**
|
|
1511
|
-
* Used to display the merchant name in case the DCF appears (ex: first time doing transaction in the device),
|
|
1512
|
-
*/
|
|
1513
|
-
merchantDisplayName?: string;
|
|
1514
|
-
/**
|
|
1515
|
-
* Used to ensure the correct language and user experience if DCF screen is displayed. As a fallback, it uses the main locale
|
|
1516
|
-
* defined during the creation of the Checkout.
|
|
1517
|
-
* Format: ISO language_country pair (e.g., en_US )
|
|
1518
|
-
*
|
|
1519
|
-
* @defaultValue en_US
|
|
1520
|
-
*/
|
|
1521
|
-
locale?: string;
|
|
1522
|
-
/**
|
|
1523
|
-
* Disable autofocus on the One Time Password input field when it is either displayed or when the OTP is resent
|
|
1524
|
-
* @defaultValue false
|
|
1525
|
-
*/
|
|
1526
|
-
disableOtpAutoFocus?: boolean;
|
|
1527
|
-
/**
|
|
1528
|
-
* Callback triggered when the Click to Pay component is ready to be used
|
|
1529
|
-
*/
|
|
1530
|
-
onReady?(): void;
|
|
1531
|
-
/**
|
|
1532
|
-
* Callback triggered when a timeout happens within Click to Pay service.
|
|
1533
|
-
* Ex: Network schemes took too long to initialize
|
|
1534
|
-
*/
|
|
1535
|
-
onTimeout?(error: TimeoutError): void;
|
|
1536
|
-
};
|
|
1537
|
-
type ClickToPayScheme = 'mc' | 'visa';
|
|
1600
|
+
declare const REQUIRED = "required";
|
|
1601
|
+
declare const OPTIONAL = "optional";
|
|
1602
|
+
declare const HIDDEN = "hidden";
|
|
1538
1603
|
|
|
1539
1604
|
declare global {
|
|
1540
1605
|
interface Window {
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
VisaSRCI?: object;
|
|
1544
|
-
};
|
|
1606
|
+
_b$dl: boolean;
|
|
1607
|
+
mockBinCount: number;
|
|
1545
1608
|
}
|
|
1546
1609
|
}
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1610
|
+
interface StylesObject {
|
|
1611
|
+
base?: StyleDefinitions;
|
|
1612
|
+
error?: StyleDefinitions;
|
|
1613
|
+
validated?: StyleDefinitions;
|
|
1614
|
+
placeholder?: StyleDefinitions;
|
|
1615
|
+
}
|
|
1616
|
+
interface StyleDefinitions {
|
|
1617
|
+
background?: string;
|
|
1618
|
+
caretColor?: string;
|
|
1619
|
+
color?: string;
|
|
1620
|
+
display?: string;
|
|
1621
|
+
font?: string;
|
|
1622
|
+
fontFamily?: string;
|
|
1623
|
+
fontSize?: string;
|
|
1624
|
+
fontSizeAdjust?: string;
|
|
1625
|
+
fontSmoothing?: string;
|
|
1626
|
+
fontStretch?: string;
|
|
1627
|
+
fontStyle?: string;
|
|
1628
|
+
fontVariant?: string;
|
|
1629
|
+
fontVariantAlternates?: string;
|
|
1630
|
+
fontVariantCaps?: string;
|
|
1631
|
+
fontVariantEastAsian?: string;
|
|
1632
|
+
fontVariantLigatures?: string;
|
|
1633
|
+
fontVariantNumeric?: string;
|
|
1634
|
+
fontWeight?: string;
|
|
1635
|
+
letterSpacing?: string;
|
|
1636
|
+
lineHeight?: string;
|
|
1637
|
+
mozOsxFontSmoothing?: string;
|
|
1638
|
+
mozTransition?: string;
|
|
1639
|
+
outline?: string;
|
|
1640
|
+
opacity?: string;
|
|
1641
|
+
padding?: string;
|
|
1642
|
+
textAlign?: string;
|
|
1643
|
+
textShadow?: string;
|
|
1644
|
+
transition?: string;
|
|
1645
|
+
webkitFontSmoothing?: string;
|
|
1646
|
+
webkitTransition?: string;
|
|
1647
|
+
wordSpacing?: string;
|
|
1648
|
+
}
|
|
1649
|
+
interface CardAllValidData {
|
|
1650
|
+
type: string;
|
|
1651
|
+
allValid: boolean;
|
|
1652
|
+
rootNode: HTMLElement;
|
|
1653
|
+
}
|
|
1654
|
+
interface CardAutoCompleteData {
|
|
1655
|
+
fieldType: string;
|
|
1656
|
+
name: string;
|
|
1657
|
+
value: string;
|
|
1658
|
+
action: string;
|
|
1659
|
+
}
|
|
1660
|
+
interface CardBinLookupData {
|
|
1661
|
+
type?: string;
|
|
1662
|
+
detectedBrands?: string[];
|
|
1663
|
+
supportedBrands?: string[];
|
|
1664
|
+
brands?: string[];
|
|
1665
|
+
issuingCountryCode?: string;
|
|
1666
|
+
supportedBrandsRaw?: BrandObject[];
|
|
1667
|
+
rootNode?: HTMLElement;
|
|
1668
|
+
isReset?: boolean;
|
|
1669
|
+
}
|
|
1670
|
+
interface CardBinValueData {
|
|
1671
|
+
type: string;
|
|
1672
|
+
binValue: string;
|
|
1673
|
+
uuid?: string;
|
|
1674
|
+
encryptedBin?: string;
|
|
1568
1675
|
}
|
|
1569
|
-
interface
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
};
|
|
1579
|
-
merchantDevice?: {
|
|
1580
|
-
os: string;
|
|
1581
|
-
osVersion: string;
|
|
1582
|
-
};
|
|
1676
|
+
interface CardBrandData {
|
|
1677
|
+
type: string;
|
|
1678
|
+
rootNode: HTMLElement;
|
|
1679
|
+
brand: string;
|
|
1680
|
+
cvcPolicy: CVCPolicyType;
|
|
1681
|
+
expiryDatePolicy?: DatePolicyType;
|
|
1682
|
+
cvcText: string;
|
|
1683
|
+
showSocialSecurityNumber?: boolean;
|
|
1684
|
+
brandImageUrl?: string;
|
|
1583
1685
|
}
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
sessionId?: string;
|
|
1589
|
-
checkoutStage?: 'precheckout' | 'checkout';
|
|
1590
|
-
locale?: string;
|
|
1591
|
-
}): Promise<void>;
|
|
1592
|
-
sendFlavor(flavor: 'dropin' | 'components'): Promise<void>;
|
|
1593
|
-
sendAnalytics(event: AbstractAnalyticsEvent): void;
|
|
1594
|
-
flush(): void;
|
|
1686
|
+
interface CardConfigSuccessData {
|
|
1687
|
+
iframesConfigured: boolean;
|
|
1688
|
+
type: string;
|
|
1689
|
+
rootNode: HTMLElement;
|
|
1595
1690
|
}
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
type
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1691
|
+
interface CardErrorData {
|
|
1692
|
+
fieldType: string;
|
|
1693
|
+
error: string;
|
|
1694
|
+
type: string;
|
|
1695
|
+
rootNode?: HTMLElement;
|
|
1696
|
+
detectedBrands?: string[];
|
|
1697
|
+
errorI18n?: string;
|
|
1698
|
+
errorText?: string;
|
|
1699
|
+
}
|
|
1700
|
+
interface CardFieldValidData {
|
|
1701
|
+
fieldType: string;
|
|
1702
|
+
encryptedFieldName: string;
|
|
1703
|
+
uid: string;
|
|
1704
|
+
valid: boolean;
|
|
1705
|
+
type: string;
|
|
1706
|
+
rootNode: HTMLElement;
|
|
1707
|
+
blob?: string;
|
|
1708
|
+
endDigits?: string;
|
|
1709
|
+
expiryDate?: string;
|
|
1710
|
+
issuerBin?: number;
|
|
1711
|
+
}
|
|
1712
|
+
interface CardFocusData {
|
|
1713
|
+
action: string;
|
|
1714
|
+
focus: boolean;
|
|
1715
|
+
numChars: number;
|
|
1716
|
+
fieldType: string;
|
|
1717
|
+
rootNode: HTMLElement;
|
|
1718
|
+
type: string;
|
|
1719
|
+
currentFocusObject: string;
|
|
1720
|
+
}
|
|
1721
|
+
interface CardLoadData {
|
|
1722
|
+
iframesLoaded: boolean;
|
|
1723
|
+
}
|
|
1724
|
+
type CVCPolicyType = typeof REQUIRED | typeof OPTIONAL | typeof HIDDEN;
|
|
1725
|
+
type DatePolicyType = typeof REQUIRED | typeof OPTIONAL | typeof HIDDEN;
|
|
1628
1726
|
|
|
1629
1727
|
declare enum ErrorEventCode {
|
|
1630
1728
|
/** Trying to initialise a securedField iframe, but the iframe.contentWindow is undefined (meaning the containing element is not in the DOM */
|
|
1631
1729
|
SECURED_FIELDS_IFRAME_CONTENT_WINDOW_NOT_FOUND = "500",
|
|
1730
|
+
/** */
|
|
1632
1731
|
REDIRECT = "600",
|
|
1732
|
+
/**
|
|
1733
|
+
* Key not present in served securedFields asset
|
|
1734
|
+
*/
|
|
1735
|
+
SECURED_FIELDS_KEY_NOT_FOUND = "608",
|
|
1736
|
+
/**
|
|
1737
|
+
* Encryption key generation failed in securedField
|
|
1738
|
+
*/
|
|
1739
|
+
SECURED_FIELDS_ENCRYPTION_KEY_GEN_FAILED = "609",
|
|
1740
|
+
/**
|
|
1741
|
+
* Encryption failed in securedField
|
|
1742
|
+
*/
|
|
1743
|
+
SECURED_FIELDS_ENCRYPTION_ERROR = "610",
|
|
1633
1744
|
/** Missing 'paymentData' property from threeDS2 action */
|
|
1634
1745
|
THREEDS2_ACTION_IS_MISSING_PAYMENT_DATA = "700",
|
|
1635
1746
|
/** Missing 'token' property from threeDS2 action */
|
|
@@ -1645,7 +1756,7 @@ declare enum ErrorEventCode {
|
|
|
1645
1756
|
/** Token decoding or parsing has failed. ('not base64', 'malformed URI sequence' or 'Could not JSON parse token') */
|
|
1646
1757
|
THREEDS2_TOKEN_DECODE_OR_PARSING_FAILED = "704",
|
|
1647
1758
|
/** 3DS2 process has timed out */
|
|
1648
|
-
THREEDS2_TIMEOUT = "
|
|
1759
|
+
THREEDS2_TIMEOUT = "710",
|
|
1649
1760
|
/** Decoded token is missing a valid acsURL property */
|
|
1650
1761
|
THREEDS2_TOKEN_IS_MISSING_ACSURL = "800",
|
|
1651
1762
|
/** Challenge has resulted in an error (no transStatus could be retrieved by the backend) */
|
|
@@ -2080,7 +2191,7 @@ interface DragonpayInputProps {
|
|
|
2080
2191
|
onChange: (state: any) => void;
|
|
2081
2192
|
onSubmit?: (state: any, component: any) => void;
|
|
2082
2193
|
showPayButton: boolean;
|
|
2083
|
-
payButton:
|
|
2194
|
+
payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
2084
2195
|
ref?: any;
|
|
2085
2196
|
}
|
|
2086
2197
|
interface DragonpayVoucherResultProps {
|
|
@@ -2431,7 +2542,7 @@ interface KlarnaPaymentsShared {
|
|
|
2431
2542
|
}
|
|
2432
2543
|
interface KlarnaWidgetProps extends KlarnaPaymentsShared {
|
|
2433
2544
|
/** @internal */
|
|
2434
|
-
payButton: (
|
|
2545
|
+
payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
2435
2546
|
/** @internal */
|
|
2436
2547
|
onLoaded: () => void;
|
|
2437
2548
|
widgetInitializationTime: number;
|
|
@@ -3229,7 +3340,6 @@ interface AwaitComponentProps {
|
|
|
3229
3340
|
pollStatus?: () => Promise<RawPaymentResponse | RawPaymentStatusResponse>;
|
|
3230
3341
|
instructions?: string | (() => h.JSX.Element);
|
|
3231
3342
|
endSlot?: () => h.JSX.Element;
|
|
3232
|
-
amount?: PaymentAmount;
|
|
3233
3343
|
showAmount?: boolean;
|
|
3234
3344
|
}
|
|
3235
3345
|
interface AwaitConfiguration extends UIElementProps {
|
|
@@ -3363,7 +3473,6 @@ interface IBaseElement {
|
|
|
3363
3473
|
activate(): void;
|
|
3364
3474
|
}
|
|
3365
3475
|
|
|
3366
|
-
type PayButtonFunctionProps = Omit<PayButtonProps, 'amount'>;
|
|
3367
3476
|
type CoreCallbacks = Pick<CoreConfiguration, 'beforeRedirect' | 'beforeSubmit' | 'onSubmit' | 'onAdditionalDetails' | 'onPaymentFailed' | 'onPaymentCompleted' | 'onOrderUpdated' | 'onPaymentMethodsRequest' | 'onChange' | 'onActionHandled' | 'onError' | 'onEnterKeyPressed'>;
|
|
3368
3477
|
type StatusFromAction = 'redirect' | 'loading' | 'custom';
|
|
3369
3478
|
type UIElementProps = {
|
|
@@ -3399,14 +3508,14 @@ type UIElementProps = {
|
|
|
3399
3508
|
name?: string;
|
|
3400
3509
|
icon?: string;
|
|
3401
3510
|
amount?: PaymentAmount;
|
|
3402
|
-
secondaryAmount?:
|
|
3511
|
+
secondaryAmount?: PaymentAmount;
|
|
3403
3512
|
/**
|
|
3404
3513
|
* Show/Hide pay button
|
|
3405
3514
|
* @defaultValue true
|
|
3406
3515
|
*/
|
|
3407
3516
|
showPayButton?: boolean;
|
|
3408
3517
|
/** @internal */
|
|
3409
|
-
payButton?: (options:
|
|
3518
|
+
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
3410
3519
|
/** @internal */
|
|
3411
3520
|
loadingContext?: string;
|
|
3412
3521
|
/** @internal */
|
|
@@ -3459,13 +3568,13 @@ declare class OpenInvoiceContainer extends UIElement<OpenInvoiceConfiguration> {
|
|
|
3459
3568
|
declare class AfterPay extends OpenInvoiceContainer {
|
|
3460
3569
|
static type: TxVariants;
|
|
3461
3570
|
static txVariants: TxVariants[];
|
|
3462
|
-
formatProps(props:
|
|
3571
|
+
formatProps(props: OpenInvoiceConfiguration): any;
|
|
3463
3572
|
}
|
|
3464
3573
|
|
|
3465
3574
|
declare class AfterPayB2B extends OpenInvoiceContainer {
|
|
3466
3575
|
static type: TxVariants;
|
|
3467
3576
|
protected static defaultProps: Partial<OpenInvoiceConfiguration>;
|
|
3468
|
-
formatProps(props:
|
|
3577
|
+
formatProps(props: OpenInvoiceConfiguration): any;
|
|
3469
3578
|
}
|
|
3470
3579
|
|
|
3471
3580
|
declare class ANCVElement extends UIElement<ANCVConfiguration> {
|
|
@@ -3486,7 +3595,7 @@ declare class ANCVElement extends UIElement<ANCVConfiguration> {
|
|
|
3486
3595
|
*/
|
|
3487
3596
|
createOrder: () => Promise<void>;
|
|
3488
3597
|
submit(): boolean;
|
|
3489
|
-
payButton: (props:
|
|
3598
|
+
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
3490
3599
|
get isValid(): boolean;
|
|
3491
3600
|
get displayName(): string;
|
|
3492
3601
|
protected componentToRender(): h.JSX.Element;
|
|
@@ -3556,7 +3665,7 @@ declare class ApplePayElement extends UIElement<ApplePayConfiguration> {
|
|
|
3556
3665
|
|
|
3557
3666
|
declare class Atome extends OpenInvoiceContainer {
|
|
3558
3667
|
static type: TxVariants;
|
|
3559
|
-
formatProps(props:
|
|
3668
|
+
formatProps(props: OpenInvoiceConfiguration): any;
|
|
3560
3669
|
}
|
|
3561
3670
|
|
|
3562
3671
|
declare class IssuerListContainer<TProps extends IssuerListConfiguration = IssuerListConfiguration, TData = IssuerListData> extends UIElement<TProps> {
|
|
@@ -3645,7 +3754,7 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
3645
3754
|
method: string;
|
|
3646
3755
|
data?: any;
|
|
3647
3756
|
}) => void;
|
|
3648
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3757
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
3649
3758
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3650
3759
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3651
3760
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -3670,9 +3779,9 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
3670
3779
|
name?: string;
|
|
3671
3780
|
icon?: string;
|
|
3672
3781
|
amount?: PaymentAmount;
|
|
3673
|
-
secondaryAmount?:
|
|
3782
|
+
secondaryAmount?: PaymentAmount;
|
|
3674
3783
|
showPayButton?: boolean;
|
|
3675
|
-
payButton?: (options:
|
|
3784
|
+
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
3676
3785
|
loadingContext?: string;
|
|
3677
3786
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3678
3787
|
clientKey?: string;
|
|
@@ -3722,7 +3831,7 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3722
3831
|
method: string;
|
|
3723
3832
|
data?: any;
|
|
3724
3833
|
}) => void;
|
|
3725
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3834
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
3726
3835
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3727
3836
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3728
3837
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -3747,9 +3856,9 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3747
3856
|
name?: string;
|
|
3748
3857
|
icon?: string;
|
|
3749
3858
|
amount?: PaymentAmount;
|
|
3750
|
-
secondaryAmount?:
|
|
3859
|
+
secondaryAmount?: PaymentAmount;
|
|
3751
3860
|
showPayButton?: boolean;
|
|
3752
|
-
payButton?: (options:
|
|
3861
|
+
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
3753
3862
|
loadingContext?: string;
|
|
3754
3863
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3755
3864
|
clientKey?: string;
|
|
@@ -3873,7 +3982,7 @@ declare class BancontactElement extends CardElement {
|
|
|
3873
3982
|
method: string;
|
|
3874
3983
|
data?: any;
|
|
3875
3984
|
}) => void;
|
|
3876
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3985
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
3877
3986
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3878
3987
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3879
3988
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -3896,9 +4005,9 @@ declare class BancontactElement extends CardElement {
|
|
|
3896
4005
|
statusType?: StatusFromAction;
|
|
3897
4006
|
icon?: string;
|
|
3898
4007
|
amount?: PaymentAmount;
|
|
3899
|
-
secondaryAmount?:
|
|
4008
|
+
secondaryAmount?: PaymentAmount;
|
|
3900
4009
|
showPayButton?: boolean;
|
|
3901
|
-
payButton?: (options:
|
|
4010
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
3902
4011
|
loadingContext?: string;
|
|
3903
4012
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3904
4013
|
clientKey?: string;
|
|
@@ -4069,7 +4178,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
4069
4178
|
method: string;
|
|
4070
4179
|
data?: any;
|
|
4071
4180
|
}) => void;
|
|
4072
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4181
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4073
4182
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4074
4183
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4075
4184
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -4191,7 +4300,7 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
4191
4300
|
method: string;
|
|
4192
4301
|
data?: any;
|
|
4193
4302
|
}) => void;
|
|
4194
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4303
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4195
4304
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4196
4305
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4197
4306
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -4215,9 +4324,9 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
4215
4324
|
name?: string;
|
|
4216
4325
|
icon?: string;
|
|
4217
4326
|
amount?: PaymentAmount;
|
|
4218
|
-
secondaryAmount?:
|
|
4327
|
+
secondaryAmount?: PaymentAmount;
|
|
4219
4328
|
showPayButton?: boolean;
|
|
4220
|
-
payButton?: (options:
|
|
4329
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4221
4330
|
loadingContext?: string;
|
|
4222
4331
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4223
4332
|
clientKey?: string;
|
|
@@ -4264,7 +4373,7 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
4264
4373
|
method: string;
|
|
4265
4374
|
data?: any;
|
|
4266
4375
|
}) => void;
|
|
4267
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4376
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4268
4377
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4269
4378
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4270
4379
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -4288,9 +4397,9 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
4288
4397
|
name?: string;
|
|
4289
4398
|
icon?: string;
|
|
4290
4399
|
amount?: PaymentAmount;
|
|
4291
|
-
secondaryAmount?:
|
|
4400
|
+
secondaryAmount?: PaymentAmount;
|
|
4292
4401
|
showPayButton?: boolean;
|
|
4293
|
-
payButton?: (options:
|
|
4402
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4294
4403
|
loadingContext?: string;
|
|
4295
4404
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4296
4405
|
clientKey?: string;
|
|
@@ -4338,7 +4447,7 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
4338
4447
|
method: string;
|
|
4339
4448
|
data?: any;
|
|
4340
4449
|
}) => void;
|
|
4341
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4450
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4342
4451
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4343
4452
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4344
4453
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -4362,9 +4471,9 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
4362
4471
|
name?: string;
|
|
4363
4472
|
icon?: string;
|
|
4364
4473
|
amount?: PaymentAmount;
|
|
4365
|
-
secondaryAmount?:
|
|
4474
|
+
secondaryAmount?: PaymentAmount;
|
|
4366
4475
|
showPayButton?: boolean;
|
|
4367
|
-
payButton?: (options:
|
|
4476
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4368
4477
|
loadingContext?: string;
|
|
4369
4478
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4370
4479
|
clientKey?: string;
|
|
@@ -4426,7 +4535,7 @@ declare class DragonpayElement extends UIElement<DragonpayConfiguraton> {
|
|
|
4426
4535
|
method: string;
|
|
4427
4536
|
data?: any;
|
|
4428
4537
|
}) => void;
|
|
4429
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4538
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4430
4539
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4431
4540
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4432
4541
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -4450,9 +4559,9 @@ declare class DragonpayElement extends UIElement<DragonpayConfiguraton> {
|
|
|
4450
4559
|
name?: string;
|
|
4451
4560
|
icon?: string;
|
|
4452
4561
|
amount?: PaymentAmount;
|
|
4453
|
-
secondaryAmount?:
|
|
4562
|
+
secondaryAmount?: PaymentAmount;
|
|
4454
4563
|
showPayButton?: boolean;
|
|
4455
|
-
payButton?: (options:
|
|
4564
|
+
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
4456
4565
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4457
4566
|
clientKey?: string;
|
|
4458
4567
|
elementRef?: any;
|
|
@@ -4537,86 +4646,14 @@ declare class EPSElement extends IssuerListContainer {
|
|
|
4537
4646
|
formatProps(props: any): any;
|
|
4538
4647
|
}
|
|
4539
4648
|
|
|
4540
|
-
/**
|
|
4541
|
-
* SecuredFieldsProvider:
|
|
4542
|
-
* Initialises & handles the client-side part of SecuredFields
|
|
4543
|
-
*/
|
|
4544
|
-
declare class SecuredFieldsProvider extends Component<SFPProps, SFPState> {
|
|
4545
|
-
private csfLoadFailTimeout;
|
|
4546
|
-
private csfLoadFailTimeoutMS;
|
|
4547
|
-
private csfConfigFailTimeout;
|
|
4548
|
-
private csfConfigFailTimeoutMS;
|
|
4549
|
-
private numCharsInField;
|
|
4550
|
-
private rootNode;
|
|
4551
|
-
private numDateFields;
|
|
4552
|
-
private csf;
|
|
4553
|
-
private handleOnLoad;
|
|
4554
|
-
private handleOnConfigSuccess;
|
|
4555
|
-
private handleOnFieldValid;
|
|
4556
|
-
private handleOnAllValid;
|
|
4557
|
-
private handleOnBrand;
|
|
4558
|
-
private handleFocus;
|
|
4559
|
-
private handleOnError;
|
|
4560
|
-
private handleOnAutoComplete;
|
|
4561
|
-
private handleOnNoDataRequired;
|
|
4562
|
-
private handleOnTouchstartIOS;
|
|
4563
|
-
private handleKeyPressed;
|
|
4564
|
-
state: SFPState;
|
|
4565
|
-
props: any;
|
|
4566
|
-
private issuingCountryCode;
|
|
4567
|
-
constructor(props: SFPProps);
|
|
4568
|
-
static defaultProps: {
|
|
4569
|
-
type: string;
|
|
4570
|
-
keypadFix: boolean;
|
|
4571
|
-
rootNode: any;
|
|
4572
|
-
loadingContext: any;
|
|
4573
|
-
brands: any[];
|
|
4574
|
-
showWarnings: boolean;
|
|
4575
|
-
autoFocus: boolean;
|
|
4576
|
-
trimTrailingSeparator: boolean;
|
|
4577
|
-
onChange: () => void;
|
|
4578
|
-
onLoad: () => void;
|
|
4579
|
-
onConfigSuccess: () => void;
|
|
4580
|
-
onAllValid: () => void;
|
|
4581
|
-
onFieldValid: () => void;
|
|
4582
|
-
onBrand: () => void;
|
|
4583
|
-
onError: () => void;
|
|
4584
|
-
onBinValue: () => void;
|
|
4585
|
-
onFocus: () => void;
|
|
4586
|
-
onAutoComplete: () => void;
|
|
4587
|
-
handleKeyPress: () => void;
|
|
4588
|
-
styles: {};
|
|
4589
|
-
};
|
|
4590
|
-
componentDidMount(): void;
|
|
4591
|
-
componentDidUpdate(): void;
|
|
4592
|
-
componentWillUnmount(): void;
|
|
4593
|
-
private initializeCSF;
|
|
4594
|
-
private checkForKCPFields;
|
|
4595
|
-
getChildContext(): object;
|
|
4596
|
-
handleUnsupportedCard(errObj: CardErrorData): boolean;
|
|
4597
|
-
setFocusOn(frame: string): void;
|
|
4598
|
-
updateStyles(stylesObj: StylesObject): void;
|
|
4599
|
-
sfIsOptionalOrHidden(fieldType: string): boolean;
|
|
4600
|
-
destroy(): void;
|
|
4601
|
-
showValidation(): void;
|
|
4602
|
-
/**
|
|
4603
|
-
* Map SF errors to ValidationRuleResult-like objects, for CardInput component
|
|
4604
|
-
*/
|
|
4605
|
-
mapErrorsToValidationRuleResult(): SFStateErrorObj;
|
|
4606
|
-
processBinLookupResponse(binLookupResponse: BinLookupResponse, resetObject: SingleBrandResetObject): void;
|
|
4607
|
-
private setRootNode;
|
|
4608
|
-
render(props: any, state: any): any;
|
|
4609
|
-
}
|
|
4610
|
-
|
|
4611
4649
|
interface GiftcardComponentProps {
|
|
4612
4650
|
onChange: (state: any) => void;
|
|
4613
4651
|
onFocus: (event: any) => void;
|
|
4614
4652
|
onBlur: (event: any) => void;
|
|
4615
4653
|
makeBalanceCheck: (event: any) => void;
|
|
4616
4654
|
makePayment: (event: any) => void;
|
|
4617
|
-
amount?: PaymentAmount;
|
|
4618
4655
|
showPayButton: boolean;
|
|
4619
|
-
payButton: (
|
|
4656
|
+
payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
4620
4657
|
pinRequired: boolean;
|
|
4621
4658
|
expiryDateRequired?: boolean;
|
|
4622
4659
|
fieldsLayoutComponent: FunctionComponent<GiftcardFieldsProps>;
|
|
@@ -4670,6 +4707,7 @@ declare class Giftcard extends Component<GiftcardComponentProps> {
|
|
|
4670
4707
|
*/
|
|
4671
4708
|
setBalanceCheckErrors: (errorType: GiftCardBalanceCheckErrorType | null) => void;
|
|
4672
4709
|
showValidation: () => void;
|
|
4710
|
+
setIsValidating: (val: boolean) => void;
|
|
4673
4711
|
render(props: any, { focusedElement, balance, transactionLimit, isValidating, transformedErrors }: {
|
|
4674
4712
|
focusedElement: any;
|
|
4675
4713
|
balance: any;
|
|
@@ -4701,7 +4739,7 @@ declare class GiftcardElement extends UIElement<GiftCardConfiguration> {
|
|
|
4701
4739
|
private handleOnRequiringConfirmation;
|
|
4702
4740
|
submit(): void;
|
|
4703
4741
|
private makeSubmitCall;
|
|
4704
|
-
payButton: (props:
|
|
4742
|
+
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
4705
4743
|
protected componentToRender(): h.JSX.Element;
|
|
4706
4744
|
}
|
|
4707
4745
|
|
|
@@ -4775,7 +4813,7 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
4775
4813
|
method: string;
|
|
4776
4814
|
data?: any;
|
|
4777
4815
|
}) => void;
|
|
4778
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4816
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4779
4817
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4780
4818
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4781
4819
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -4799,9 +4837,9 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
4799
4837
|
name?: string;
|
|
4800
4838
|
icon?: string;
|
|
4801
4839
|
amount?: PaymentAmount;
|
|
4802
|
-
secondaryAmount?:
|
|
4840
|
+
secondaryAmount?: PaymentAmount;
|
|
4803
4841
|
showPayButton?: boolean;
|
|
4804
|
-
payButton?: (options:
|
|
4842
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4805
4843
|
loadingContext?: string;
|
|
4806
4844
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4807
4845
|
clientKey?: string;
|
|
@@ -4906,7 +4944,7 @@ declare class BankTransferElement extends UIElement<BankTransferConfiguration> {
|
|
|
4906
4944
|
|
|
4907
4945
|
declare class Affirm extends OpenInvoiceContainer {
|
|
4908
4946
|
static type: TxVariants;
|
|
4909
|
-
formatProps(props:
|
|
4947
|
+
formatProps(props: OpenInvoiceConfiguration): any;
|
|
4910
4948
|
}
|
|
4911
4949
|
|
|
4912
4950
|
declare class PixElement extends QRLoaderContainer<PixConfiguration> {
|
|
@@ -4941,7 +4979,7 @@ declare class BacsElement extends UIElement<VoucherConfiguration> {
|
|
|
4941
4979
|
static type: TxVariants;
|
|
4942
4980
|
formatData(): BacsElementData;
|
|
4943
4981
|
get isValid(): boolean;
|
|
4944
|
-
payButton: (props:
|
|
4982
|
+
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
4945
4983
|
protected componentToRender(): h.JSX.Element;
|
|
4946
4984
|
}
|
|
4947
4985
|
|
|
@@ -4957,7 +4995,7 @@ declare class AddressElement extends UIElement<AddressConfiguration> {
|
|
|
4957
4995
|
interface PersonalDetailsConfiguration extends UIElementProps {
|
|
4958
4996
|
}
|
|
4959
4997
|
declare class PersonalDetailsElement extends UIElement<PersonalDetailsConfiguration> {
|
|
4960
|
-
static type
|
|
4998
|
+
static readonly type = TxVariants.personal_details;
|
|
4961
4999
|
protected beforeRender(configSetByMerchant?: PersonalDetailsConfiguration): void;
|
|
4962
5000
|
get data(): any;
|
|
4963
5001
|
get isValid(): boolean;
|
|
@@ -4979,7 +5017,7 @@ declare class KlarnaPayments extends UIElement<KlarnaConfiguration> {
|
|
|
4979
5017
|
type: string;
|
|
4980
5018
|
};
|
|
4981
5019
|
};
|
|
4982
|
-
payButton: (props:
|
|
5020
|
+
payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
4983
5021
|
handleAction(action: KlarnaAction, props?: {}): UIElement | null;
|
|
4984
5022
|
updateWithAction(action: KlarnaAction): void;
|
|
4985
5023
|
private onLoaded;
|
|
@@ -5003,7 +5041,7 @@ declare class TwintElement extends RedirectElement {
|
|
|
5003
5041
|
* Overrides RedirectElement default payButton behaviour to use label
|
|
5004
5042
|
* @param props - props
|
|
5005
5043
|
*/
|
|
5006
|
-
payButton: (props:
|
|
5044
|
+
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
5007
5045
|
}
|
|
5008
5046
|
|
|
5009
5047
|
declare class MealVoucherFRElement extends GiftcardElement {
|
|
@@ -5144,7 +5182,7 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
5144
5182
|
method: string;
|
|
5145
5183
|
data?: any;
|
|
5146
5184
|
}) => void;
|
|
5147
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
5185
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5148
5186
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
5149
5187
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
5150
5188
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -5168,9 +5206,9 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
5168
5206
|
name?: string;
|
|
5169
5207
|
icon?: string;
|
|
5170
5208
|
amount?: PaymentAmount;
|
|
5171
|
-
secondaryAmount?:
|
|
5209
|
+
secondaryAmount?: PaymentAmount;
|
|
5172
5210
|
showPayButton?: boolean;
|
|
5173
|
-
payButton?: (options:
|
|
5211
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5174
5212
|
loadingContext?: string;
|
|
5175
5213
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
5176
5214
|
clientKey?: string;
|
|
@@ -5217,7 +5255,7 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
5217
5255
|
method: string;
|
|
5218
5256
|
data?: any;
|
|
5219
5257
|
}) => void;
|
|
5220
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
5258
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5221
5259
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
5222
5260
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
5223
5261
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -5241,9 +5279,9 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
5241
5279
|
name?: string;
|
|
5242
5280
|
icon?: string;
|
|
5243
5281
|
amount?: PaymentAmount;
|
|
5244
|
-
secondaryAmount?:
|
|
5282
|
+
secondaryAmount?: PaymentAmount;
|
|
5245
5283
|
showPayButton?: boolean;
|
|
5246
|
-
payButton?: (options:
|
|
5284
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5247
5285
|
loadingContext?: string;
|
|
5248
5286
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
5249
5287
|
clientKey?: string;
|
|
@@ -5405,7 +5443,7 @@ declare class PayToElement extends UIElement<PayToConfiguration> {
|
|
|
5405
5443
|
method: string;
|
|
5406
5444
|
data?: any;
|
|
5407
5445
|
}) => void;
|
|
5408
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
5446
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5409
5447
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
5410
5448
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
5411
5449
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -5430,9 +5468,9 @@ declare class PayToElement extends UIElement<PayToConfiguration> {
|
|
|
5430
5468
|
name?: string;
|
|
5431
5469
|
icon?: string;
|
|
5432
5470
|
amount?: PaymentAmount;
|
|
5433
|
-
secondaryAmount?:
|
|
5471
|
+
secondaryAmount?: PaymentAmount;
|
|
5434
5472
|
showPayButton?: boolean;
|
|
5435
|
-
payButton?: (options:
|
|
5473
|
+
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
5436
5474
|
loadingContext?: string;
|
|
5437
5475
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
5438
5476
|
clientKey?: string;
|
|
@@ -5485,7 +5523,7 @@ interface BaseEnrollmentProps {
|
|
|
5485
5523
|
type?: string;
|
|
5486
5524
|
txVariant: string;
|
|
5487
5525
|
registrationOptions?: string;
|
|
5488
|
-
payButton(props:
|
|
5526
|
+
payButton(props: PayButtonProps): h.JSX.Element;
|
|
5489
5527
|
setComponentRef?: (ref: any) => void;
|
|
5490
5528
|
/**
|
|
5491
5529
|
* Trigger when the await times out, receives error state or the biometrics verification fails.
|
|
@@ -5509,10 +5547,6 @@ interface IssuerListProps extends BaseEnrollmentProps {
|
|
|
5509
5547
|
interface PaymentProps extends IPayByBankPixAwait {
|
|
5510
5548
|
enrollmentId?: string;
|
|
5511
5549
|
initiationId?: string;
|
|
5512
|
-
amount: {
|
|
5513
|
-
value: number;
|
|
5514
|
-
currency: string;
|
|
5515
|
-
};
|
|
5516
5550
|
txVariant: string;
|
|
5517
5551
|
onPay: () => void;
|
|
5518
5552
|
onAuthorize: (authorizationOptions: string) => void;
|
|
@@ -5905,6 +5939,7 @@ type onOrderCancelType = (data: onOrderCancelData, actions: {
|
|
|
5905
5939
|
interface DropinComponentProps extends DropinConfiguration {
|
|
5906
5940
|
core: ICore;
|
|
5907
5941
|
onCreateElements(): any;
|
|
5942
|
+
onElementsCreated(elements: UIElement[]): void;
|
|
5908
5943
|
onOrderCancel?: onOrderCancelType;
|
|
5909
5944
|
}
|
|
5910
5945
|
interface DropinStatus {
|
|
@@ -5940,8 +5975,8 @@ interface IDropin {
|
|
|
5940
5975
|
}
|
|
5941
5976
|
|
|
5942
5977
|
declare class Session {
|
|
5943
|
-
private readonly session;
|
|
5944
5978
|
private readonly storage;
|
|
5979
|
+
readonly session: CheckoutSession;
|
|
5945
5980
|
readonly clientKey: string;
|
|
5946
5981
|
readonly loadingContext: string;
|
|
5947
5982
|
configuration: SessionConfiguration;
|
|
@@ -5994,7 +6029,9 @@ declare class Session {
|
|
|
5994
6029
|
interface ICore {
|
|
5995
6030
|
initialize(): Promise<ICore>;
|
|
5996
6031
|
register(...items: NewableComponent[]): void;
|
|
5997
|
-
update(
|
|
6032
|
+
update(props: Partial<CoreConfiguration>, options?: {
|
|
6033
|
+
shouldReinitializeCheckout?: boolean;
|
|
6034
|
+
}): Promise<ICore>;
|
|
5998
6035
|
remove(component: any): ICore;
|
|
5999
6036
|
submitDetails(details: AdditionalDetailsData['data']): void;
|
|
6000
6037
|
getCorePropsForComponent(): any;
|
|
@@ -6109,11 +6146,11 @@ interface CoreConfiguration {
|
|
|
6109
6146
|
/**
|
|
6110
6147
|
* Amount of the payment
|
|
6111
6148
|
*/
|
|
6112
|
-
amount?:
|
|
6149
|
+
amount?: PaymentAmount;
|
|
6113
6150
|
/**
|
|
6114
6151
|
* Secondary amount of the payment - alternative currency & value converted according to rate
|
|
6115
6152
|
*/
|
|
6116
|
-
secondaryAmount?:
|
|
6153
|
+
secondaryAmount?: PaymentAmount;
|
|
6117
6154
|
/**
|
|
6118
6155
|
* The shopper's country code. A valid value is an ISO two-character country code (e.g. 'NL').
|
|
6119
6156
|
*/
|
|
@@ -6163,7 +6200,7 @@ interface CoreConfiguration {
|
|
|
6163
6200
|
* @param component
|
|
6164
6201
|
* @param actions
|
|
6165
6202
|
*/
|
|
6166
|
-
beforeSubmit?(state: PaymentData, component: UIElement, actions: BeforeSubmitActions): void;
|
|
6203
|
+
beforeSubmit?(state: PaymentData, component: UIElement, actions: BeforeSubmitActions): Promise<void> | void;
|
|
6167
6204
|
/**
|
|
6168
6205
|
* Called when the payment succeeds.
|
|
6169
6206
|
*
|
|
@@ -6337,11 +6374,19 @@ declare abstract class BaseElement<P extends BaseElementProps> implements IBaseE
|
|
|
6337
6374
|
remove(): void;
|
|
6338
6375
|
}
|
|
6339
6376
|
|
|
6377
|
+
interface AmountProviderRef {
|
|
6378
|
+
update(newAmount: PaymentAmount, newSecondaryAmount?: PaymentAmount): void;
|
|
6379
|
+
}
|
|
6380
|
+
|
|
6340
6381
|
declare abstract class UIElement<P extends UIElementProps = UIElementProps> extends BaseElement<P> {
|
|
6341
6382
|
protected componentRef: any;
|
|
6342
6383
|
protected resources: Resources;
|
|
6343
6384
|
elementRef: UIElement;
|
|
6344
6385
|
static type: any;
|
|
6386
|
+
/**
|
|
6387
|
+
* Reference to the methods exposed by the AmountProvider context
|
|
6388
|
+
*/
|
|
6389
|
+
protected amountProviderRef: RefObject<AmountProviderRef>;
|
|
6345
6390
|
/**
|
|
6346
6391
|
* Defines all txVariants that the Component supports (in case it support multiple ones besides the 'type' one)
|
|
6347
6392
|
*/
|
|
@@ -6373,6 +6418,15 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
6373
6418
|
isAvailable(): Promise<void>;
|
|
6374
6419
|
setState(newState: object): void;
|
|
6375
6420
|
showValidation(): this;
|
|
6421
|
+
/**
|
|
6422
|
+
* Updates the amount in the props and propagates it to the AmountProvider.
|
|
6423
|
+
* This allows children components to access the updated amount via context.
|
|
6424
|
+
*
|
|
6425
|
+
* @param amount - Primary payment amount object
|
|
6426
|
+
* @param secondaryAmount - Optional secondary amount for display purposes (e.g., converted currency)
|
|
6427
|
+
* @internal
|
|
6428
|
+
*/
|
|
6429
|
+
updateAmount(amount: PaymentAmount, secondaryAmount?: PaymentAmount): void;
|
|
6376
6430
|
/**
|
|
6377
6431
|
* elementRef is a ref to the subclass that extends UIElement e.g. Card.tsx
|
|
6378
6432
|
*/
|
|
@@ -6455,7 +6509,7 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
6455
6509
|
/**
|
|
6456
6510
|
* Get the payButton component for the current element
|
|
6457
6511
|
*/
|
|
6458
|
-
protected payButton: (props:
|
|
6512
|
+
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
6459
6513
|
/**
|
|
6460
6514
|
* Used in the Partial Orders flow.
|
|
6461
6515
|
* When the Order is updated, the merchant can request new payment methods based on the new remaining amount
|
|
@@ -6632,18 +6686,22 @@ interface ProcessedPaymentStatusResponse {
|
|
|
6632
6686
|
type: string;
|
|
6633
6687
|
props?: Record<string, any>;
|
|
6634
6688
|
}
|
|
6635
|
-
/**
|
|
6636
|
-
* {@link https://docs.adyen.com/api-explorer/#/PaymentSetupAndVerificationService/v52/payments__reqParam_amount API Explorer /payments amount}
|
|
6637
|
-
*/
|
|
6638
6689
|
interface PaymentAmount {
|
|
6690
|
+
/**
|
|
6691
|
+
* The payment amount in minor units for the specified `currency`.
|
|
6692
|
+
*/
|
|
6639
6693
|
value: number;
|
|
6694
|
+
/**
|
|
6695
|
+
* The 3-letter ISO 4217 currency code.
|
|
6696
|
+
*/
|
|
6640
6697
|
currency: string;
|
|
6641
|
-
}
|
|
6642
|
-
interface PaymentAmountExtended extends PaymentAmount {
|
|
6643
6698
|
/**
|
|
6644
|
-
*
|
|
6645
|
-
*
|
|
6646
|
-
*
|
|
6699
|
+
* Influences how the currency is displayed on the pay button.
|
|
6700
|
+
*
|
|
6701
|
+
* This maps to `Intl.NumberFormat`'s `currencyDisplay` option (for example, `"symbol"`, `"code"`, `"name"`, `"narrowSymbol"`).
|
|
6702
|
+
*
|
|
6703
|
+
* @default 'symbol'
|
|
6704
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#currencydisplay
|
|
6647
6705
|
*/
|
|
6648
6706
|
currencyDisplay?: string;
|
|
6649
6707
|
}
|
|
@@ -7255,7 +7313,7 @@ declare class CardElement extends UIElement<CardConfiguration> {
|
|
|
7255
7313
|
get displayName(): string;
|
|
7256
7314
|
get accessibleName(): string;
|
|
7257
7315
|
get browserInfo(): BrowserInfo;
|
|
7258
|
-
protected payButton: (props:
|
|
7316
|
+
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
7259
7317
|
private renderCardInput;
|
|
7260
7318
|
protected componentToRender(): h.JSX.Element;
|
|
7261
7319
|
}
|
|
@@ -7327,7 +7385,7 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
7327
7385
|
method: string;
|
|
7328
7386
|
data?: any;
|
|
7329
7387
|
}) => void;
|
|
7330
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
7388
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
7331
7389
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
7332
7390
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
7333
7391
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -7351,9 +7409,9 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
7351
7409
|
name?: string;
|
|
7352
7410
|
icon?: string;
|
|
7353
7411
|
amount?: PaymentAmount;
|
|
7354
|
-
secondaryAmount?:
|
|
7412
|
+
secondaryAmount?: PaymentAmount;
|
|
7355
7413
|
showPayButton?: boolean;
|
|
7356
|
-
payButton?: (options:
|
|
7414
|
+
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
7357
7415
|
loadingContext?: string;
|
|
7358
7416
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
7359
7417
|
clientKey?: string;
|
|
@@ -7374,6 +7432,10 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
7374
7432
|
* Reference to the component created from `handleAction` (Ex.: ThreeDS2Challenge)
|
|
7375
7433
|
*/
|
|
7376
7434
|
componentFromAction?: UIElement;
|
|
7435
|
+
/**
|
|
7436
|
+
* Reference to all payment method elements being rendered by Drop-in
|
|
7437
|
+
*/
|
|
7438
|
+
paymentMethodElements: UIElement[];
|
|
7377
7439
|
constructor(checkout: ICore, props?: DropinConfiguration);
|
|
7378
7440
|
protected reportIntegrationFlavor(): void;
|
|
7379
7441
|
protected storeElementRefOnCore(): void;
|
|
@@ -7412,7 +7474,7 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
7412
7474
|
method: string;
|
|
7413
7475
|
data?: any;
|
|
7414
7476
|
}) => void;
|
|
7415
|
-
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
7477
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
7416
7478
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
7417
7479
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
7418
7480
|
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
@@ -7437,9 +7499,9 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
7437
7499
|
name?: string;
|
|
7438
7500
|
icon?: string;
|
|
7439
7501
|
amount?: PaymentAmount;
|
|
7440
|
-
secondaryAmount?:
|
|
7502
|
+
secondaryAmount?: PaymentAmount;
|
|
7441
7503
|
showPayButton?: boolean;
|
|
7442
|
-
payButton?: (options:
|
|
7504
|
+
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
7443
7505
|
loadingContext?: string;
|
|
7444
7506
|
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
7445
7507
|
clientKey?: string;
|
|
@@ -7459,6 +7521,21 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
7459
7521
|
* Calls the onSubmit event with the state of the activePaymentMethod
|
|
7460
7522
|
*/
|
|
7461
7523
|
submit(): void;
|
|
7524
|
+
/**
|
|
7525
|
+
* Updates the amount in the props and propagates it to the AmountProvider. That way the children components can use the updated amount.
|
|
7526
|
+
*
|
|
7527
|
+
* This method **overrides** the parent one to specifically propagate the changes to all payment method elements.
|
|
7528
|
+
*
|
|
7529
|
+
* @param amount - Primary payment amount object
|
|
7530
|
+
* @param secondaryAmount - Optional secondary amount for display purposes (e.g., converted currency)
|
|
7531
|
+
* @internal
|
|
7532
|
+
*/
|
|
7533
|
+
updateAmount(amount: PaymentAmount, secondaryAmount?: PaymentAmount): void;
|
|
7534
|
+
/**
|
|
7535
|
+
* Assign all elements created in the Component to the paymentMethodElements property
|
|
7536
|
+
* @param elements
|
|
7537
|
+
*/
|
|
7538
|
+
private handleElementsCreated;
|
|
7462
7539
|
/**
|
|
7463
7540
|
* Creates the Drop-in elements
|
|
7464
7541
|
*/
|
|
@@ -7740,10 +7817,21 @@ declare class Core implements ICore {
|
|
|
7740
7817
|
/**
|
|
7741
7818
|
* Updates global configurations, resets the internal state and remounts each element.
|
|
7742
7819
|
*
|
|
7743
|
-
* @param
|
|
7744
|
-
* @
|
|
7820
|
+
* @param props - props to update
|
|
7821
|
+
* @param options - Can be used to avoid remounting the elements
|
|
7822
|
+
* @returns this - the Core instance
|
|
7823
|
+
*/
|
|
7824
|
+
update(props?: Partial<CoreConfiguration>, { shouldReinitializeCheckout }?: {
|
|
7825
|
+
shouldReinitializeCheckout?: boolean;
|
|
7826
|
+
}): Promise<this>;
|
|
7827
|
+
/**
|
|
7828
|
+
* Validates and propagates amount updates to all mounted components.
|
|
7829
|
+
*
|
|
7830
|
+
* @param amount - Primary payment amount object (required)
|
|
7831
|
+
* @param secondaryAmount - Optional secondary amount for display purposes (e.g., converted currency)
|
|
7832
|
+
* @internal
|
|
7745
7833
|
*/
|
|
7746
|
-
|
|
7834
|
+
private triggerAmountUpdate;
|
|
7747
7835
|
/**
|
|
7748
7836
|
* Remove the reference of a component
|
|
7749
7837
|
* @param component - reference to the component to be removed
|
|
@@ -7778,4 +7866,4 @@ declare namespace AdyenCheckout {
|
|
|
7778
7866
|
}
|
|
7779
7867
|
|
|
7780
7868
|
export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, Atome, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, BankTransferElement as BankTransfer, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, BlikElement as Blik, BoletoElement as Boleto, CardElement as Card, CashAppPay, ClickToPayElement as ClickToPay, Core, CustomCard, DokuElement as Doku, DonationElement as Donation, DotpayElement as Dotpay, DragonpayElement as Dragonpay, DropinElement as Dropin, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, Fastlane, FastlaneSDK, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, Iris, IrisMode, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, PayByBank, PayByBankPixElement as PayByBankPix, PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, PayToElement as PayTo, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, PixElement as Pix, PreAuthorizedDebitCanada, PromptPayElement as PromptPay, RatePay, RatePayDirectDebit, RedirectElement as Redirect, Riverty, SepaElement as SepaDirectDebit, SwishElement as Swish, ThreeDS2Challenge, ThreeDS2DeviceFingerprint, TrustlyElement as Trustly, TwintElement as Twint, UIElement, UPI, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat, index_d as components, initializeFastlane };
|
|
7781
|
-
export type { ANCVConfiguration, ANCVDataState, AchConfiguration, AchPlaceholders, ActionDescriptionType, ActionHandledReturnObject, AdditionalDetailsActions, AdditionalDetailsData, AddressData, AddressField, AmazonPayBackendConfiguration, AmazonPayButtonProps, AmazonPayButtonSettings, AmazonPayComponentProps, AmazonPayConfiguration, AmazonPayElementData, App, ApplePayButtonStyle, ApplePayButtonType, ApplePayConfiguration, ApplePayElementData, ApplePayPaymentAuthorizationResult, ApplePayPaymentOrderDetails, ApplePaySessionRequest, ApplePayWebConfiguration, AwaitComponentProps, AwaitConfiguration, BankDetailsSchema, BankTransferConfiguration, BankTransferSchema, BankTransferState, BeforeSubmitActions, BinLookupResponse, BinLookupResponseRaw, BoletoConfiguration, BoletoElementProps, BoletoInputDataState, BoletoInputErrorState, BoletoInputValidState, BrandConfiguration, BrandObject, BrowserInfo, CReqData, CardAllValidData, CardAutoCompleteData, CardBackendConfiguration, CardBinLookupData, CardBinValueData, CardBrandData, CardBrandsConfiguration, CardConfigSuccessData, CardConfiguration, CardElementData, CardErrorData, CardFieldValidData, CardFocusData, CardLoadData, CardPlaceholders, CashAppPayConfiguration, CashAppPayElementData, CashAppPayEventData, ChallengeData, ChallengeResolveData, ChallengeWindowSize, ChangeActionOptions, ChangePaymentDetailsButtonProps, ChargeAmount, CheckoutAdvancedFlowResponse, CheckoutDetailsRequest, CheckoutSessionConfig, ClickToPayConfiguration, ClickToPayPaymentData, ClickToPayProps, ClickToPayScheme, CommonVoucherProps, ComponentFocusObject, ComponentMethodsRef, CoreConfiguration, CoreModules, Currency, CustomCardConfiguration, CustomTranslations, DecodeObject, DeliverySpecifications, DokuVoucherResultProps, DonationConfiguration, DragonpayConfiguraton, DragonpayInputData, DragonpayInputIssuerItem, DragonpayInputProps, DragonpayVoucherResultProps, DropinComponentProps, DropinComponentState, DropinConfiguration, DropinStatus, DropinStatusProps, DualBrandSelectElement, EcontextConfiguration, EcontextInputSchema, EcontextVoucherResultProps, ErrorCodeObject, ExtendedMerchantInfo, FastlaneAddress, FastlaneAuthenticatedCustomerResult, FastlaneConfiguration, FastlaneConsentRenderState, FastlaneOptions, FastlanePaymentMethodConfiguration, FastlaneProfile, FastlaneSDKConfiguration, FastlaneShipping, FastlaneShippingAddressSelectorResult, FastlaneSignupConfiguration, FastlaneWindowInstance, FieldsetVisibility, FingerPrintData, FingerprintResolveData, FundingSource, GiftCardBalanceCheckErrorType, GiftCardConfiguration, GiftCardElementData, GiftCardValidationError, GooglePayConfiguration, GooglePaymentDataRequest, ICore, IDropin, InstantPaymentTypes, Intent, IrisConfiguration, IrisData, IssuerListConfiguration, IssuerListData, KlarnaAction, KlarnaAdditionalDetailsData, KlarnaComponentRef, KlarnaConfiguration, KlarnaSdkData, KlarnaWidgetAuthorizeResponse, KlarnaWidgetProps, LedgerCurrencies, LegacyChallengeResolveData, LegacyFingerprintResolveData, MandateFrequencyType, MandateType, MultibancoVoucherResultProps, OnChangeData, OpenInvoiceActiveFieldsets, OpenInvoiceConfiguration, OpenInvoiceFieldsetsRefs, OpenInvoiceProps, OpenInvoiceStateData, OpenInvoiceStateError, OpenInvoiceStateValid, OpenInvoiceVisibility, Order, OrderButtonProps, OrderStatus, OxxoVoucherResultProps,
|
|
7869
|
+
export type { ANCVConfiguration, ANCVDataState, AchConfiguration, AchPlaceholders, ActionDescriptionType, ActionHandledReturnObject, AdditionalDetailsActions, AdditionalDetailsData, AddressData, AddressField, AmazonPayBackendConfiguration, AmazonPayButtonProps, AmazonPayButtonSettings, AmazonPayComponentProps, AmazonPayConfiguration, AmazonPayElementData, App, ApplePayButtonStyle, ApplePayButtonType, ApplePayConfiguration, ApplePayElementData, ApplePayPaymentAuthorizationResult, ApplePayPaymentOrderDetails, ApplePaySessionRequest, ApplePayWebConfiguration, AwaitComponentProps, AwaitConfiguration, BankDetailsSchema, BankTransferConfiguration, BankTransferSchema, BankTransferState, BeforeSubmitActions, BinLookupResponse, BinLookupResponseRaw, BoletoConfiguration, BoletoElementProps, BoletoInputDataState, BoletoInputErrorState, BoletoInputValidState, BrandConfiguration, BrandObject, BrowserInfo, CReqData, CardAllValidData, CardAutoCompleteData, CardBackendConfiguration, CardBinLookupData, CardBinValueData, CardBrandData, CardBrandsConfiguration, CardConfigSuccessData, CardConfiguration, CardElementData, CardErrorData, CardFieldValidData, CardFocusData, CardLoadData, CardPlaceholders, CashAppPayConfiguration, CashAppPayElementData, CashAppPayEventData, ChallengeData, ChallengeResolveData, ChallengeWindowSize, ChangeActionOptions, ChangePaymentDetailsButtonProps, ChargeAmount, CheckoutAdvancedFlowResponse, CheckoutDetailsRequest, CheckoutSession, CheckoutSessionConfig, ClickToPayConfiguration, ClickToPayPaymentData, ClickToPayProps, ClickToPayScheme, CommonVoucherProps, ComponentFocusObject, ComponentMethodsRef, CoreConfiguration, CoreModules, Currency, CustomCardConfiguration, CustomTranslations, DecodeObject, DeliverySpecifications, DokuVoucherResultProps, DonationConfiguration, DragonpayConfiguraton, DragonpayInputData, DragonpayInputIssuerItem, DragonpayInputProps, DragonpayVoucherResultProps, DropinComponentProps, DropinComponentState, DropinConfiguration, DropinStatus, DropinStatusProps, DualBrandSelectElement, EcontextConfiguration, EcontextInputSchema, EcontextVoucherResultProps, ErrorCodeObject, ExtendedMerchantInfo, FastlaneAddress, FastlaneAuthenticatedCustomerResult, FastlaneConfiguration, FastlaneConsentRenderState, FastlaneOptions, FastlanePaymentMethodConfiguration, FastlaneProfile, FastlaneSDKConfiguration, FastlaneShipping, FastlaneShippingAddressSelectorResult, FastlaneSignupConfiguration, FastlaneWindowInstance, FieldsetVisibility, FingerPrintData, FingerprintResolveData, FundingSource, GiftCardBalanceCheckErrorType, GiftCardConfiguration, GiftCardElementData, GiftCardValidationError, GooglePayConfiguration, GooglePaymentDataRequest, ICore, IDropin, InstantPaymentTypes, Intent, IrisConfiguration, IrisData, IssuerListConfiguration, IssuerListData, KlarnaAction, KlarnaAdditionalDetailsData, KlarnaComponentRef, KlarnaConfiguration, KlarnaSdkData, KlarnaWidgetAuthorizeResponse, KlarnaWidgetProps, LedgerCurrencies, LegacyChallengeResolveData, LegacyFingerprintResolveData, MandateFrequencyType, MandateType, MultibancoVoucherResultProps, OnChangeData, OpenInvoiceActiveFieldsets, OpenInvoiceConfiguration, OpenInvoiceFieldsetsRefs, OpenInvoiceProps, OpenInvoiceStateData, OpenInvoiceStateError, OpenInvoiceStateValid, OpenInvoiceVisibility, Order, OrderButtonProps, OrderStatus, OxxoVoucherResultProps, PayPalConfiguration, PayToConfiguration, PayToData, PayToPlaceholdersType, PayloadJSON, PaymentAction, PaymentActionsType, PaymentAmount, PaymentCompletedData, PaymentData, PaymentFailedData, PaymentMethodData, PaymentMethodGroup, PaymentMethodOptions, PaymentMethods, PaymentMethodsConfiguration, PaymentMethodsRequestData, PaymentMethodsResponse, PaymentResponseData, PersonalDetailsSchema, PixConfiguration, PixElementData, PostMsgParseErrorObject, PreAuthorizedDebitCanadaConfiguration, PreAuthorizedDebitCanadaPlaceholders, ProcessedPaymentStatusResponse, QRLoaderConfiguration, RawPaymentMethod, RawPaymentResponse, RawPaymentStatusResponse, RawStoredPaymentMethod, RecurringMetadata, RedirectConfiguration, Region, ResultCode, ResultObject, ResultValue, SepaConfiguration, SepaElementData, SessionsResponse, SignOutButtonProps, SocialSecurityMode, StatusFromAction, SubmitActions, SubmitData, SupportedLocale, ThreeDS2ActionProps, ThreeDS2ChallengeConfiguration, ThreeDS2ConfigProps, ThreeDS2DeviceFingerprintConfiguration, ThreeDS2FingerprintResponse, ThreeDS2FlowObject, ThreeDS2FlowProps, ThreeDS2Token, UIElementProps, UIElementStatus, UPIConfiguration, UpdateAmazonCheckoutSessionRequest, UpiMode, UpiPaymentData, UpiType, ValidationError, VoucherConfiguration, VoucherDetail, VoucherProps, balanceCheckResponseType, onBalanceCheckCallbackType, onOrderCancelData, onOrderCancelType, onOrderRequestCallbackType, onRequiringConfirmationCallbackType };
|