@adyen/adyen-web 6.0.0-beta.0 → 6.0.0
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 +123 -182
- package/dist/cjs/adyen.css +15 -11
- 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 +834 -847
- package/dist/es/adyen.css +15 -11
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/components/ANCV/ANCV.js +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/AchInput/AchInput.js +1 -1
- package/dist/es/components/Ach/components/AchInput/AchInput.js.map +1 -1
- package/dist/es/components/Ach/components/AchInput/components/AchSFInput.js +1 -1
- package/dist/es/components/Ach/components/AchInput/components/AchSFInput.js.map +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayButton.js.map +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayComponent.js.map +1 -1
- package/dist/es/components/AmazonPay/components/SignOutButton.js.map +1 -1
- package/dist/es/components/ApplePay/ApplePayService.js.map +1 -1
- package/dist/es/components/ApplePay/components/ApplePayButton.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 +1 -1
- package/dist/es/components/Card/components/CardInput/CardInput.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CVC.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CVC.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CVCHint.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardNumber.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardNumber.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/DualBrandingIcon/DualBrandingIcon.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/ExpirationDate.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/ExpirationDate.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/{IframeLabelAlternative.js → FieldLabelAlternative.js} +1 -1
- package/dist/es/components/Card/components/CardInput/components/FieldLabelAlternative.js.map +1 -0
- 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/KCPAuthentication.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/KCPAuthentication.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/defaultProps.js +1 -1
- package/dist/es/components/Card/components/CardInput/defaultProps.js.map +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/utils.js +1 -1
- package/dist/es/components/Card/components/CardInput/utils.js.map +1 -1
- package/dist/es/components/CashAppPay/components/CashAppComponent.js.map +1 -1
- package/dist/es/components/CustomCard/CustomCard.js +1 -1
- package/dist/es/components/CustomCard/CustomCard.js.map +1 -1
- package/dist/es/components/CustomCard/CustomCardInput/CustomCardInput.js +1 -1
- package/dist/es/components/CustomCard/CustomCardInput/CustomCardInput.js.map +1 -1
- package/dist/es/components/Donation/components/CampaignContent.js +1 -1
- package/dist/es/components/Donation/components/CampaignContent.js.map +1 -1
- package/dist/es/components/Donation/components/DonationComponent.js +1 -1
- package/dist/es/components/Donation/components/DonationComponent.js.map +1 -1
- package/dist/es/components/Donation/components/FixedAmounts.js +2 -0
- package/dist/es/components/Donation/components/FixedAmounts.js.map +1 -0
- package/dist/es/components/Donation/components/Roundup.js +2 -0
- package/dist/es/components/Donation/components/Roundup.js.map +1 -0
- package/dist/es/components/Donation/components/utils.js +2 -0
- package/dist/es/components/Donation/components/utils.js.map +1 -0
- 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/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js.map +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodList.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodList.js.map +1 -1
- 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/Dropin/elements/createElements.js +1 -1
- package/dist/es/components/Dropin/elements/createElements.js.map +1 -1
- package/dist/es/components/Dropin/elements/filters.js +1 -1
- package/dist/es/components/Dropin/elements/filters.js.map +1 -1
- package/dist/es/components/Giftcard/Giftcard.js +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/GiftcardNumberField.js +1 -1
- package/dist/es/components/Giftcard/components/GiftcardNumberField.js.map +1 -1
- package/dist/es/components/Giftcard/components/GiftcardPinField.js +1 -1
- package/dist/es/components/Giftcard/components/GiftcardPinField.js.map +1 -1
- package/dist/es/components/GooglePay/GooglePay.js +1 -1
- package/dist/es/components/GooglePay/GooglePay.js.map +1 -1
- package/dist/es/components/GooglePay/GooglePayService.js.map +1 -1
- package/dist/es/components/GooglePay/components/GooglePayButton.js +1 -1
- package/dist/es/components/GooglePay/components/GooglePayButton.js.map +1 -1
- package/dist/es/components/GooglePay/requests.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/KlarnaWidget/KlarnaWidget.js +1 -1
- package/dist/es/components/Klarna/components/KlarnaWidget/KlarnaWidget.js.map +1 -1
- package/dist/es/components/MealVoucherFR/components/MealVoucherExpiryField.js +1 -1
- package/dist/es/components/MealVoucherFR/components/MealVoucherExpiryField.js.map +1 -1
- package/dist/es/components/Oxxo/Oxxo.js.map +1 -1
- package/dist/es/components/PayPal/Paypal.js +1 -1
- package/dist/es/components/PayPal/Paypal.js.map +1 -1
- package/dist/es/components/Redirect/components/RedirectShopper/RedirectShopper.js +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/DoChallenge3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/utils.js +1 -1
- package/dist/es/components/ThreeDS2/components/utils.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/UPIComponent/constants.js +2 -0
- package/dist/es/components/UPI/components/UPIComponent/constants.js.map +1 -0
- package/dist/es/components/UPI/components/UPIComponent/useUpiSegmentedControlOptions.js +2 -0
- package/dist/es/components/UPI/components/UPIComponent/useUpiSegmentedControlOptions.js.map +1 -0
- package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js +2 -0
- package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js.map +1 -0
- package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js +2 -0
- package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js.map +1 -0
- package/dist/es/components/UPI/components/VpaInput/VpaInput.js +1 -1
- package/dist/es/components/UPI/components/VpaInput/VpaInput.js.map +1 -1
- package/dist/es/components/components-name-map.js +1 -1
- package/dist/es/components/components-name-map.js.map +1 -1
- package/dist/es/components/internal/Address/components/AddressSearch.js +1 -1
- package/dist/es/components/internal/Address/components/AddressSearch.js.map +1 -1
- package/dist/es/components/internal/Address/components/ReadOnlyAddress.js +1 -1
- package/dist/es/components/internal/Address/components/ReadOnlyAddress.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 +1 -1
- package/dist/es/components/internal/BaseElement/BaseElement.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/ClickToPayComponent.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPOneTimePasswordInput.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/errors/TimeoutError.js +1 -1
- package/dist/es/components/internal/ClickToPay/errors/TimeoutError.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/services/ClickToPayService.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/services/sdks/SrcSdkLoader.js.map +1 -1
- package/dist/es/components/internal/Countdown/index.js +1 -1
- package/dist/es/components/internal/Countdown/index.js.map +1 -1
- package/dist/es/components/internal/DisclaimerMessage/DisclaimerMessage.js +1 -1
- package/dist/es/components/internal/DisclaimerMessage/DisclaimerMessage.js.map +1 -1
- package/dist/es/components/internal/ExpandButton/ExpandButton.js +2 -0
- package/dist/es/components/internal/ExpandButton/ExpandButton.js.map +1 -0
- package/dist/es/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.js +1 -1
- package/dist/es/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.js.map +1 -1
- package/dist/es/components/internal/FormFields/Field/Field.js +1 -1
- package/dist/es/components/internal/FormFields/Field/Field.js.map +1 -1
- package/dist/es/components/internal/FormFields/InputBase.js.map +1 -1
- package/dist/es/components/internal/FormFields/RadioGroup/RadioGroup.js +1 -1
- package/dist/es/components/internal/FormFields/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/es/components/internal/FormFields/Select/Select.js +1 -1
- package/dist/es/components/internal/FormFields/Select/Select.js.map +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js.map +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js.map +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js.map +1 -1
- package/dist/es/components/internal/Modal/Modal.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/SecuredFields/SFP/SecuredFieldsProvider.js +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProviderHandlers.js +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProviderHandlers.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/defaultProps.js +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/defaultProps.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/binLookup/triggerBinLookUp.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/CSF.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/CSF.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/configureCallbacks.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/configureCallbacks.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleIOSTouchEvents.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleIOSTouchEvents.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/initCSF.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/initCSF.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/processBrand.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/processBrand.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/cardType.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/getCardGroupTypes.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/getCardGroupTypes.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/iframes/postMessageValidation.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/iframes/postMessageValidation.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 +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/lib/utilities/commonUtils.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/utilities/commonUtils.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/utilities/dom.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/utilities/dom.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/utilities/logger.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/utils.js +1 -1
- package/dist/es/components/internal/SecuredFields/utils.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/components/tx-variants.js +1 -1
- package/dist/es/components/tx-variants.js.map +1 -1
- package/dist/es/core/Analytics/Analytics.js +1 -1
- package/dist/es/core/Analytics/Analytics.js.map +1 -1
- package/dist/es/core/Analytics/analyticsPreProcessor.js +1 -1
- package/dist/es/core/Analytics/analyticsPreProcessor.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/Environment/Environment.js +1 -1
- package/dist/es/core/Environment/Environment.js.map +1 -1
- package/dist/es/core/Environment/constants.js +1 -1
- package/dist/es/core/Environment/constants.js.map +1 -1
- package/dist/es/core/RiskModule/RiskModule.js +1 -1
- package/dist/es/core/RiskModule/RiskModule.js.map +1 -1
- package/dist/es/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.js.map +1 -1
- package/dist/es/core/Services/analytics/collect-id.js +1 -1
- package/dist/es/core/Services/analytics/collect-id.js.map +1 -1
- package/dist/es/core/Services/get-translations.js +1 -1
- package/dist/es/core/Services/get-translations.js.map +1 -1
- package/dist/es/core/Services/http.js.map +1 -1
- package/dist/es/core/config.js +1 -1
- package/dist/es/core/config.js.map +1 -1
- package/dist/es/core/core.js +1 -1
- package/dist/es/core/core.js.map +1 -1
- package/dist/es/core/utils.js +1 -1
- package/dist/es/core/utils.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 +834 -847
- package/dist/es/language/constants.js +1 -1
- package/dist/es/language/constants.js.map +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/commonUtils.js +2 -0
- package/dist/es/utils/commonUtils.js.map +1 -0
- package/dist/es/utils/listenerUtils.js +2 -0
- package/dist/es/utils/listenerUtils.js.map +1 -0
- package/dist/es/utils/regex.js.map +1 -1
- package/dist/es-legacy/adyen.css +15 -11
- package/dist/es-legacy/adyen.css.map +1 -1
- package/dist/es-legacy/components/ANCV/ANCV.js +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/AchInput/AchInput.js +1 -1
- package/dist/es-legacy/components/Ach/components/AchInput/AchInput.js.map +1 -1
- package/dist/es-legacy/components/Ach/components/AchInput/components/AchSFInput.js +1 -1
- package/dist/es-legacy/components/Ach/components/AchInput/components/AchSFInput.js.map +1 -1
- package/dist/es-legacy/components/Address/Address.js +1 -1
- package/dist/es-legacy/components/Address/Address.js.map +1 -1
- package/dist/es-legacy/components/Affirm/Affirm.js +1 -1
- package/dist/es-legacy/components/Affirm/Affirm.js.map +1 -1
- package/dist/es-legacy/components/AfterPay/AfterPay.js +1 -1
- package/dist/es-legacy/components/AfterPay/AfterPay.js.map +1 -1
- package/dist/es-legacy/components/AfterPay/AfterPayB2B.js +1 -1
- package/dist/es-legacy/components/AfterPay/AfterPayB2B.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/AmazonPay.js +1 -1
- package/dist/es-legacy/components/AmazonPay/AmazonPay.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/SignOutButton.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 +1 -1
- package/dist/es-legacy/components/ApplePay/ApplePay.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/ApplePayService.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/components/ApplePayButton.js.map +1 -1
- package/dist/es-legacy/components/Atome/Atome.js +1 -1
- package/dist/es-legacy/components/Atome/Atome.js.map +1 -1
- package/dist/es-legacy/components/Atome/config.js +1 -1
- package/dist/es-legacy/components/Atome/config.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/BankTransfer/BankTransfer.js +1 -1
- package/dist/es-legacy/components/BankTransfer/BankTransfer.js.map +1 -1
- package/dist/es-legacy/components/BillDesk/BillDeskOnline.js +1 -1
- package/dist/es-legacy/components/BillDesk/BillDeskOnline.js.map +1 -1
- package/dist/es-legacy/components/BillDesk/BillDeskWallet.js +1 -1
- package/dist/es-legacy/components/BillDesk/BillDeskWallet.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/Boleto.js +1 -1
- package/dist/es-legacy/components/Boleto/Boleto.js.map +1 -1
- package/dist/es-legacy/components/Boleto/components/BoletoInput/BoletoInput.js +1 -1
- package/dist/es-legacy/components/Boleto/components/BoletoInput/BoletoInput.js.map +1 -1
- package/dist/es-legacy/components/Card/Bancontact.js +1 -1
- package/dist/es-legacy/components/Card/Bancontact.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 +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/CardInput.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CVC.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CVC.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CVCHint.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardNumber.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardNumber.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/DualBrandingIcon/DualBrandingIcon.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/ExpirationDate.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/ExpirationDate.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/FieldLabelAlternative.js +2 -0
- package/dist/es-legacy/components/Card/components/CardInput/components/FieldLabelAlternative.js.map +1 -0
- 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/KCPAuthentication.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/KCPAuthentication.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFields.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFields.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/defaultProps.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/defaultProps.js.map +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/utils.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/utils.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/components/CashAppComponent.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 +1 -1
- package/dist/es-legacy/components/CustomCard/CustomCard.js.map +1 -1
- package/dist/es-legacy/components/CustomCard/CustomCardInput/CustomCardInput.js +1 -1
- package/dist/es-legacy/components/CustomCard/CustomCardInput/CustomCardInput.js.map +1 -1
- package/dist/es-legacy/components/Doku/Doku.js +1 -1
- package/dist/es-legacy/components/Doku/Doku.js.map +1 -1
- package/dist/es-legacy/components/Donation/Donation.js +1 -1
- package/dist/es-legacy/components/Donation/Donation.js.map +1 -1
- package/dist/es-legacy/components/Donation/components/CampaignContent.js +1 -1
- package/dist/es-legacy/components/Donation/components/CampaignContent.js.map +1 -1
- package/dist/es-legacy/components/Donation/components/DonationComponent.js +1 -1
- package/dist/es-legacy/components/Donation/components/DonationComponent.js.map +1 -1
- package/dist/es-legacy/components/Donation/components/FixedAmounts.js +2 -0
- package/dist/es-legacy/components/Donation/components/FixedAmounts.js.map +1 -0
- package/dist/es-legacy/components/Donation/components/Roundup.js +2 -0
- package/dist/es-legacy/components/Donation/components/Roundup.js.map +1 -0
- package/dist/es-legacy/components/Donation/components/utils.js +2 -0
- package/dist/es-legacy/components/Donation/components/utils.js.map +1 -0
- package/dist/es-legacy/components/Dragonpay/Dragonpay.js +1 -1
- package/dist/es-legacy/components/Dragonpay/Dragonpay.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/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodList.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodList.js.map +1 -1
- 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/Dropin/elements/createElements.js +1 -1
- package/dist/es-legacy/components/Dropin/elements/createElements.js.map +1 -1
- package/dist/es-legacy/components/Dropin/elements/createInstantPaymentElements.js +1 -1
- package/dist/es-legacy/components/Dropin/elements/createInstantPaymentElements.js.map +1 -1
- package/dist/es-legacy/components/Dropin/elements/createStoredElements.js +1 -1
- package/dist/es-legacy/components/Dropin/elements/createStoredElements.js.map +1 -1
- package/dist/es-legacy/components/Dropin/elements/filters.js +1 -1
- package/dist/es-legacy/components/Dropin/elements/filters.js.map +1 -1
- package/dist/es-legacy/components/EPS/index.js +1 -1
- package/dist/es-legacy/components/EPS/index.js.map +1 -1
- package/dist/es-legacy/components/Econtext/Econtext.js +1 -1
- package/dist/es-legacy/components/Econtext/Econtext.js.map +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay10x.js +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay10x.js.map +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay12x.js +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay12x.js.map +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay3x.js +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay3x.js.map +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay4x.js +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay4x.js.map +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay6x.js +1 -1
- package/dist/es-legacy/components/FacilyPay/FacilyPay6x.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/Giftcard.js +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/GiftcardFields.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardFields.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardNumberField.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardNumberField.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardPinField.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardPinField.js.map +1 -1
- package/dist/es-legacy/components/Giropay/Giropay.js +1 -1
- package/dist/es-legacy/components/Giropay/Giropay.js.map +1 -1
- package/dist/es-legacy/components/GooglePay/GooglePay.js +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/GooglePay/components/GooglePayButton.js +1 -1
- package/dist/es-legacy/components/GooglePay/components/GooglePayButton.js.map +1 -1
- package/dist/es-legacy/components/GooglePay/requests.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 +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 +1 -1
- package/dist/es-legacy/components/Klarna/components/KlarnaWidget/KlarnaWidget.js.map +1 -1
- package/dist/es-legacy/components/MBWay/MBWay.js +1 -1
- package/dist/es-legacy/components/MBWay/MBWay.js.map +1 -1
- package/dist/es-legacy/components/MBWay/components/MBWayInput/MBWayInput.js +1 -1
- package/dist/es-legacy/components/MBWay/components/MBWayInput/MBWayInput.js.map +1 -1
- package/dist/es-legacy/components/MealVoucherFR/MealVoucherFR.js +1 -1
- package/dist/es-legacy/components/MealVoucherFR/MealVoucherFR.js.map +1 -1
- package/dist/es-legacy/components/MealVoucherFR/components/MealVoucherExpiryField.js +1 -1
- package/dist/es-legacy/components/MealVoucherFR/components/MealVoucherExpiryField.js.map +1 -1
- package/dist/es-legacy/components/MealVoucherFR/components/MealVoucherFields.js +1 -1
- package/dist/es-legacy/components/MealVoucherFR/components/MealVoucherFields.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/OnlineBankingCZ/index.js +1 -1
- package/dist/es-legacy/components/OnlineBankingCZ/index.js.map +1 -1
- package/dist/es-legacy/components/OnlineBankingIN/index.js +1 -1
- package/dist/es-legacy/components/OnlineBankingIN/index.js.map +1 -1
- package/dist/es-legacy/components/OnlineBankingPL/OnlineBankingPL.js +1 -1
- package/dist/es-legacy/components/OnlineBankingPL/OnlineBankingPL.js.map +1 -1
- package/dist/es-legacy/components/OnlineBankingSK/index.js +1 -1
- package/dist/es-legacy/components/OnlineBankingSK/index.js.map +1 -1
- package/dist/es-legacy/components/Oxxo/Oxxo.js +1 -1
- package/dist/es-legacy/components/Oxxo/Oxxo.js.map +1 -1
- package/dist/es-legacy/components/PayByBank/PayByBank.js +1 -1
- package/dist/es-legacy/components/PayByBank/PayByBank.js.map +1 -1
- package/dist/es-legacy/components/PayPal/Paypal.js +1 -1
- package/dist/es-legacy/components/PayPal/Paypal.js.map +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalButtons.js +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalButtons.js.map +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalComponent.js +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalComponent.js.map +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-settings.js +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-settings.js.map +1 -1
- package/dist/es-legacy/components/PayU/PayuCashcard.js +1 -1
- package/dist/es-legacy/components/PayU/PayuCashcard.js.map +1 -1
- package/dist/es-legacy/components/PayU/PayuNetBanking.js +1 -1
- package/dist/es-legacy/components/PayU/PayuNetBanking.js.map +1 -1
- package/dist/es-legacy/components/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es-legacy/components/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es-legacy/components/Pix/Pix.js +1 -1
- package/dist/es-legacy/components/Pix/Pix.js.map +1 -1
- package/dist/es-legacy/components/RatePay/RatePay.js +1 -1
- package/dist/es-legacy/components/RatePay/RatePay.js.map +1 -1
- package/dist/es-legacy/components/RatePay/RatePayDirectDebit.js +1 -1
- package/dist/es-legacy/components/RatePay/RatePayDirectDebit.js.map +1 -1
- package/dist/es-legacy/components/Redirect/Redirect.js +1 -1
- package/dist/es-legacy/components/Redirect/Redirect.js.map +1 -1
- package/dist/es-legacy/components/Redirect/components/RedirectShopper/RedirectShopper.js +1 -1
- package/dist/es-legacy/components/Redirect/components/RedirectShopper/RedirectShopper.js.map +1 -1
- package/dist/es-legacy/components/Riverty/Riverty.js +1 -1
- package/dist/es-legacy/components/Riverty/Riverty.js.map +1 -1
- package/dist/es-legacy/components/Sepa/Sepa.js +1 -1
- package/dist/es-legacy/components/Sepa/Sepa.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/DoChallenge3DS2.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/DoFingerprint3DS2.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/utils.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/utils.js.map +1 -1
- package/dist/es-legacy/components/Trustly/Trustly.js +1 -1
- package/dist/es-legacy/components/Trustly/Trustly.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/UPIComponent/constants.js +2 -0
- package/dist/es-legacy/components/UPI/components/UPIComponent/constants.js.map +1 -0
- package/dist/es-legacy/components/UPI/components/UPIComponent/useUpiSegmentedControlOptions.js +2 -0
- package/dist/es-legacy/components/UPI/components/UPIComponent/useUpiSegmentedControlOptions.js.map +1 -0
- package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js +2 -0
- package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js.map +1 -0
- package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js +2 -0
- package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js.map +1 -0
- package/dist/es-legacy/components/UPI/components/VpaInput/VpaInput.js +1 -1
- package/dist/es-legacy/components/UPI/components/VpaInput/VpaInput.js.map +1 -1
- package/dist/es-legacy/components/WalletIN/index.js +1 -1
- package/dist/es-legacy/components/WalletIN/index.js.map +1 -1
- package/dist/es-legacy/components/components-name-map.js +1 -1
- package/dist/es-legacy/components/components-name-map.js.map +1 -1
- package/dist/es-legacy/components/helpers/IssuerListContainer/IssuerListContainer.js +1 -1
- package/dist/es-legacy/components/helpers/IssuerListContainer/IssuerListContainer.js.map +1 -1
- package/dist/es-legacy/components/helpers/OpenInvoiceContainer/OpenInvoiceContainer.js +1 -1
- package/dist/es-legacy/components/helpers/OpenInvoiceContainer/OpenInvoiceContainer.js.map +1 -1
- package/dist/es-legacy/components/helpers/QRLoaderContainer/QRLoaderContainer.js +1 -1
- package/dist/es-legacy/components/helpers/QRLoaderContainer/QRLoaderContainer.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/Address.js +1 -1
- package/dist/es-legacy/components/internal/Address/Address.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/AddressSearch.js +1 -1
- package/dist/es-legacy/components/internal/Address/components/AddressSearch.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/CountryField.js +1 -1
- package/dist/es-legacy/components/internal/Address/components/CountryField.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/ReadOnlyAddress.js +1 -1
- package/dist/es-legacy/components/internal/Address/components/ReadOnlyAddress.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 +1 -1
- package/dist/es-legacy/components/internal/BaseElement/BaseElement.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/ClickToPayComponent.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPOneTimePasswordInput.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/errors/TimeoutError.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/errors/TimeoutError.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/ClickToPayService.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/ClickToPayService.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/sdks/MastercardSdk.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/sdks/MastercardSdk.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/sdks/SrcSdkLoader.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/sdks/VisaSdk.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/services/sdks/VisaSdk.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/index.js +1 -1
- package/dist/es-legacy/components/internal/Countdown/index.js.map +1 -1
- package/dist/es-legacy/components/internal/DisclaimerMessage/DisclaimerMessage.js +1 -1
- package/dist/es-legacy/components/internal/DisclaimerMessage/DisclaimerMessage.js.map +1 -1
- package/dist/es-legacy/components/internal/ExpandButton/ExpandButton.js +2 -0
- package/dist/es-legacy/components/internal/ExpandButton/ExpandButton.js.map +1 -0
- package/dist/es-legacy/components/internal/FormFields/Checkbox/Checkbox.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Checkbox/Checkbox.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Field/Field.js +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/InputDate/InputDate.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputDate/InputDate.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputEmail.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputEmail.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputTelephone.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputTelephone.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputText.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputText.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/RadioGroup/RadioGroup.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/Select.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/Select.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectButton.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectButton.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectList.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectListItem.js.map +1 -1
- package/dist/es-legacy/components/internal/IbanInput/IbanInput.js +1 -1
- package/dist/es-legacy/components/internal/IbanInput/IbanInput.js.map +1 -1
- package/dist/es-legacy/components/internal/Img/Img.js +1 -1
- package/dist/es-legacy/components/internal/Img/Img.js.map +1 -1
- package/dist/es-legacy/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.js +1 -1
- package/dist/es-legacy/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.js.map +1 -1
- package/dist/es-legacy/components/internal/Modal/Modal.js.map +1 -1
- package/dist/es-legacy/components/internal/OpenInvoice/OpenInvoice.js +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/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es-legacy/components/internal/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInput.js +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInput.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/SFP/SecuredFieldsProviderHandlers.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/SecuredFieldsProviderHandlers.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/defaultProps.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/defaultProps.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/CSF.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/CSF.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/configureCallbacks.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/configureCallbacks.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleBrandFromBinLookup.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleBrandFromBinLookup.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleIOSTouchEvents.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleIOSTouchEvents.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/initCSF.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/initCSF.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/processBrand.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/processBrand.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/getCardGroupTypes.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/getCardGroupTypes.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/iframes/postMessageValidation.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/iframes/postMessageValidation.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 +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/lib/securedField/utils/processAriaConfig.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/utils/processAriaConfig.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/utilities/commonUtils.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/utilities/commonUtils.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/utilities/dom.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/utilities/dom.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/utilities/logger.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/utils.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/utils.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/UIElement/UIElement.js +1 -1
- package/dist/es-legacy/components/internal/UIElement/UIElement.js.map +1 -1
- package/dist/es-legacy/components/tx-variants.js +1 -1
- package/dist/es-legacy/components/tx-variants.js.map +1 -1
- package/dist/es-legacy/core/Analytics/Analytics.js +1 -1
- package/dist/es-legacy/core/Analytics/Analytics.js.map +1 -1
- package/dist/es-legacy/core/Analytics/analyticsPreProcessor.js +1 -1
- package/dist/es-legacy/core/Analytics/analyticsPreProcessor.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/Context/Resources.js +1 -1
- package/dist/es-legacy/core/Context/Resources.js.map +1 -1
- package/dist/es-legacy/core/Environment/Environment.js +1 -1
- package/dist/es-legacy/core/Environment/Environment.js.map +1 -1
- package/dist/es-legacy/core/Environment/constants.js +1 -1
- package/dist/es-legacy/core/Environment/constants.js.map +1 -1
- package/dist/es-legacy/core/Errors/SRPanel.js +1 -1
- package/dist/es-legacy/core/Errors/SRPanel.js.map +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentAction/actionTypes.js +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentAction/actionTypes.js.map +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentMethods/utils.js +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentMethods/utils.js.map +1 -1
- package/dist/es-legacy/core/ProcessResponse/process-response.js +1 -1
- package/dist/es-legacy/core/ProcessResponse/process-response.js.map +1 -1
- package/dist/es-legacy/core/RiskModule/RiskModule.js +1 -1
- package/dist/es-legacy/core/RiskModule/RiskModule.js.map +1 -1
- package/dist/es-legacy/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.js.map +1 -1
- package/dist/es-legacy/core/Services/analytics/collect-id.js +1 -1
- package/dist/es-legacy/core/Services/analytics/collect-id.js.map +1 -1
- package/dist/es-legacy/core/Services/get-translations.js +1 -1
- package/dist/es-legacy/core/Services/get-translations.js.map +1 -1
- package/dist/es-legacy/core/Services/http.js +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/config.js.map +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/core/core.registry.js +1 -1
- package/dist/es-legacy/core/core.registry.js.map +1 -1
- package/dist/es-legacy/core/utils.js +1 -1
- package/dist/es-legacy/core/utils.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/language/constants.js +1 -1
- package/dist/es-legacy/language/constants.js.map +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/commonUtils.js +2 -0
- package/dist/es-legacy/utils/commonUtils.js.map +1 -0
- package/dist/es-legacy/utils/listenerUtils.js +2 -0
- package/dist/es-legacy/utils/listenerUtils.js.map +1 -0
- package/dist/es-legacy/utils/regex.js.map +1 -1
- package/dist/es-legacy/utils/useForm/reducer.js +1 -1
- package/dist/es-legacy/utils/useForm/reducer.js.map +1 -1
- package/package.json +22 -18
- package/dist/es/components/Card/components/CardInput/components/IframeLabelAlternative.js.map +0 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/ExpandButton.js +0 -2
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/ExpandButton.js.map +0 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/IframeLabelAlternative.js +0 -2
- package/dist/es-legacy/components/Card/components/CardInput/components/IframeLabelAlternative.js.map +0 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/ExpandButton.js +0 -2
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/ExpandButton.js.map +0 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,8 +1,54 @@
|
|
|
1
|
-
/// <reference types="applepayjs" />
|
|
2
|
-
/// <reference types="googlepay" />
|
|
3
1
|
import * as preact from 'preact';
|
|
4
2
|
import { h, ComponentChild, FunctionComponent } from 'preact';
|
|
5
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Holds the result of a validation
|
|
6
|
+
*/
|
|
7
|
+
declare class ValidationRuleResult {
|
|
8
|
+
private readonly shouldValidate;
|
|
9
|
+
isValid: boolean;
|
|
10
|
+
errorMessage: string | ErrorMessageObject;
|
|
11
|
+
constructor(rule: any, value: any, mode: any, context: any);
|
|
12
|
+
/**
|
|
13
|
+
* Whether the validation is considered an error.
|
|
14
|
+
* A field is only considered to be an error if the validation rule applies to the current mode i.e. 'blur' or 'input'.
|
|
15
|
+
* Also, if a validation function returns a null value e.g. when the field is empty, then the field will not be considered to be in error
|
|
16
|
+
* unless the whole form is being validated
|
|
17
|
+
*/
|
|
18
|
+
hasError(isValidatingForm?: boolean): boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type ErrorMessageObject = {
|
|
22
|
+
translationKey: string;
|
|
23
|
+
translationObject: any;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
type OnAddressLookupType = (value: string, actions: {
|
|
27
|
+
resolve: (value: Array<AddressLookupItem>) => void;
|
|
28
|
+
reject: (reason?: any) => void;
|
|
29
|
+
}) => Promise<void>;
|
|
30
|
+
|
|
31
|
+
type StringObject = {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
interface AddressLookupItem extends AddressData {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
}
|
|
38
|
+
type AddressFieldsGroup = [AddressField, number][];
|
|
39
|
+
type AddressSchema = (AddressField | AddressFieldsGroup)[];
|
|
40
|
+
interface AddressSpecifications {
|
|
41
|
+
[key: string]: {
|
|
42
|
+
hasDataset?: boolean;
|
|
43
|
+
labels?: StringObject;
|
|
44
|
+
optionalFields?: AddressField[];
|
|
45
|
+
placeholders?: StringObject;
|
|
46
|
+
schema?: AddressSchema;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare const ADDRESS_SCHEMA: readonly ["street", "houseNumberOrName", "postalCode", "city", "stateOrProvince", "country", "firstName", "lastName"];
|
|
51
|
+
|
|
6
52
|
type CustomTranslations = {
|
|
7
53
|
[locale: string]: Translations;
|
|
8
54
|
};
|
|
@@ -51,76 +97,233 @@ declare class Language {
|
|
|
51
97
|
dateTime(date: string): string;
|
|
52
98
|
}
|
|
53
99
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
100
|
+
interface ImageOptions {
|
|
101
|
+
extension?: string;
|
|
102
|
+
imageFolder?: string;
|
|
103
|
+
resourceContext?: string;
|
|
104
|
+
name?: string;
|
|
105
|
+
parentFolder?: string;
|
|
106
|
+
size?: string;
|
|
107
|
+
subFolder?: string;
|
|
108
|
+
svgOptions?: string;
|
|
109
|
+
type?: string;
|
|
110
|
+
}
|
|
111
|
+
type GetImageFnType = (name: any) => string;
|
|
112
|
+
declare class Resources {
|
|
113
|
+
private readonly resourceContext;
|
|
114
|
+
constructor(cdnContext: string);
|
|
115
|
+
private returnImage;
|
|
116
|
+
private getImageUrl;
|
|
117
|
+
getImage(props?: ImageOptions): GetImageFnType;
|
|
69
118
|
}
|
|
70
119
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
120
|
+
interface RiskModuleOptions {
|
|
121
|
+
enabled: boolean;
|
|
122
|
+
onComplete?: (data: any) => void;
|
|
123
|
+
onError?: (error: any) => void;
|
|
124
|
+
node?: string;
|
|
125
|
+
}
|
|
126
|
+
interface RiskModuleProps extends BaseElementProps {
|
|
127
|
+
risk: RiskModuleOptions;
|
|
128
|
+
loadingContext: string;
|
|
129
|
+
}
|
|
130
|
+
declare class RiskElement extends BaseElement<RiskModuleProps> {
|
|
131
|
+
static type: string;
|
|
132
|
+
static defaultProps: {
|
|
133
|
+
risk: {
|
|
134
|
+
enabled: boolean;
|
|
135
|
+
onComplete: () => void;
|
|
136
|
+
onError: () => void;
|
|
137
|
+
node: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
private nodeRiskContainer;
|
|
141
|
+
constructor(checkout: ICore, props?: any);
|
|
142
|
+
formatProps(props: any): any;
|
|
143
|
+
onComplete: (result: any) => void;
|
|
144
|
+
onError: (error: any) => void;
|
|
145
|
+
get isValid(): any;
|
|
146
|
+
get data(): any;
|
|
147
|
+
get enabled(): boolean;
|
|
148
|
+
cleanUp: () => void;
|
|
149
|
+
componentWillUnmount(): void;
|
|
150
|
+
render(): h.JSX.Element;
|
|
151
|
+
}
|
|
75
152
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
hasDataset?: boolean;
|
|
84
|
-
labels?: StringObject;
|
|
85
|
-
optionalFields?: AddressField[];
|
|
86
|
-
placeholders?: StringObject;
|
|
87
|
-
schema?: AddressSchema;
|
|
153
|
+
interface BaseElementProps {
|
|
154
|
+
order?: Order;
|
|
155
|
+
modules?: {
|
|
156
|
+
srPanel?: SRPanel;
|
|
157
|
+
analytics?: AnalyticsModule;
|
|
158
|
+
resources?: Resources;
|
|
159
|
+
risk?: RiskElement;
|
|
88
160
|
};
|
|
161
|
+
isDropin?: boolean;
|
|
162
|
+
}
|
|
163
|
+
interface IBaseElement {
|
|
164
|
+
data: object;
|
|
165
|
+
state: any;
|
|
166
|
+
props: any;
|
|
167
|
+
_id: string;
|
|
168
|
+
_component: any;
|
|
169
|
+
render(): ComponentChild | Error;
|
|
170
|
+
mount(domNode: HTMLElement | string): IBaseElement;
|
|
171
|
+
update(props: any): IBaseElement;
|
|
172
|
+
unmount(): IBaseElement;
|
|
173
|
+
remove(): void;
|
|
89
174
|
}
|
|
90
175
|
|
|
91
|
-
|
|
176
|
+
interface ValidationRuleErrorObj {
|
|
177
|
+
[key: string]: ValidationRuleResult;
|
|
178
|
+
}
|
|
179
|
+
interface AriaAttributes {
|
|
180
|
+
'aria-relevant'?: 'additions' | 'all' | 'removals' | 'text' | 'additions text';
|
|
181
|
+
'aria-live'?: 'off' | 'polite' | 'assertive';
|
|
182
|
+
'aria-atomic'?: 'true' | 'false';
|
|
183
|
+
}
|
|
184
|
+
interface SRPanelProps extends BaseElementProps {
|
|
185
|
+
enabled?: boolean;
|
|
186
|
+
node?: string;
|
|
187
|
+
showPanel?: boolean;
|
|
188
|
+
moveFocus?: boolean;
|
|
189
|
+
id?: string;
|
|
190
|
+
ariaAttributes?: AriaAttributes;
|
|
191
|
+
}
|
|
192
|
+
type SRPanelConfig = Pick<SRPanelProps, 'enabled' | 'node' | 'showPanel' | 'moveFocus' | 'id' | 'ariaAttributes'>;
|
|
193
|
+
interface GenericError {
|
|
194
|
+
isValid: boolean;
|
|
195
|
+
errorMessage: string;
|
|
196
|
+
error: string;
|
|
197
|
+
}
|
|
92
198
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
199
|
+
/**
|
|
200
|
+
* A panel meant to hold messages that will be read out by ScreenReaders on an aria-live="polite" basis
|
|
201
|
+
* Expects a string or string array of message to add to the panel to be read out
|
|
202
|
+
* For testing purposes can be made visible
|
|
203
|
+
*/
|
|
204
|
+
declare class SRPanel extends BaseElement<SRPanelProps> {
|
|
205
|
+
static type: string;
|
|
206
|
+
static defaultProps: Partial<SRPanelProps>;
|
|
207
|
+
private readonly srPanelContainer;
|
|
208
|
+
private readonly id;
|
|
209
|
+
private readonly showPanel;
|
|
210
|
+
private readonly _enabled;
|
|
211
|
+
private readonly _moveFocus;
|
|
212
|
+
private componentRef;
|
|
213
|
+
constructor(checkout: ICore, props?: SRPanelProps);
|
|
214
|
+
setComponentRef: (ref: any) => void;
|
|
215
|
+
get enabled(): boolean;
|
|
216
|
+
get moveFocus(): boolean;
|
|
217
|
+
setAriaProps(ariaAttributes: AriaAttributes): void;
|
|
218
|
+
setMessages: (messages: string[] | string) => void;
|
|
219
|
+
render(): h.JSX.Element;
|
|
100
220
|
}
|
|
101
221
|
|
|
102
|
-
interface
|
|
103
|
-
|
|
222
|
+
interface DisclaimerMsgObject {
|
|
223
|
+
message: string;
|
|
224
|
+
linkText: string;
|
|
225
|
+
link: string;
|
|
104
226
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
227
|
+
|
|
228
|
+
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'action';
|
|
229
|
+
interface ButtonProps {
|
|
230
|
+
status?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Class name modifiers will be used as: `adyen-checkout__image--${modifier}`
|
|
233
|
+
*/
|
|
234
|
+
classNameModifiers?: string[];
|
|
235
|
+
variant?: ButtonVariant;
|
|
236
|
+
disabled?: boolean;
|
|
237
|
+
label?: string;
|
|
238
|
+
secondaryLabel?: string;
|
|
239
|
+
icon?: string;
|
|
240
|
+
inline?: boolean;
|
|
241
|
+
href?: string;
|
|
242
|
+
target?: string;
|
|
243
|
+
rel?: string;
|
|
244
|
+
onClick?: (e: any, callbacks: any) => void;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
interface PayButtonProps extends ButtonProps {
|
|
248
|
+
/**
|
|
249
|
+
* Class name modifiers will be used as: `adyen-checkout__image--${modifier}`
|
|
250
|
+
*/
|
|
251
|
+
classNameModifiers?: string[];
|
|
252
|
+
label?: string;
|
|
253
|
+
amount: PaymentAmountExtended;
|
|
254
|
+
secondaryAmount?: PaymentAmountExtended;
|
|
255
|
+
status?: string;
|
|
256
|
+
disabled?: boolean;
|
|
257
|
+
icon?: string;
|
|
258
|
+
onClick?(): void;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
type PayButtonFunctionProps = Omit<PayButtonProps, 'amount'>;
|
|
262
|
+
type CoreCallbacks = Pick<CoreConfiguration, 'beforeRedirect' | 'beforeSubmit' | 'onSubmit' | 'onAdditionalDetails' | 'onPaymentFailed' | 'onPaymentCompleted' | 'onOrderUpdated' | 'onPaymentMethodsRequest' | 'onChange' | 'onActionHandled' | 'onError' | 'onEnterKeyPressed'>;
|
|
263
|
+
type UIElementProps = BaseElementProps & CoreCallbacks & {
|
|
264
|
+
environment?: string;
|
|
265
|
+
session?: Session;
|
|
266
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
267
|
+
isInstantPayment?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* Flags if the element is Stored payment method
|
|
270
|
+
* @internal
|
|
271
|
+
*/
|
|
272
|
+
isStoredPaymentMethod?: boolean;
|
|
273
|
+
/**
|
|
274
|
+
* Flag if the element is Stored payment method.
|
|
275
|
+
* Perhaps can be deprecated and we use the one above?
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
oneClick?: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Stored payment method id
|
|
281
|
+
* @internal
|
|
282
|
+
*/
|
|
283
|
+
storedPaymentMethodId?: string;
|
|
284
|
+
/**
|
|
285
|
+
* Status set when creating the Component from action
|
|
286
|
+
* @internal
|
|
287
|
+
*/
|
|
288
|
+
statusType?: 'redirect' | 'loading' | 'custom';
|
|
289
|
+
type?: string;
|
|
290
|
+
name?: string;
|
|
291
|
+
icon?: string;
|
|
292
|
+
amount?: PaymentAmount;
|
|
293
|
+
secondaryAmount?: PaymentAmountExtended;
|
|
294
|
+
/**
|
|
295
|
+
* Show/Hide pay button
|
|
296
|
+
* @defaultValue true
|
|
297
|
+
*/
|
|
298
|
+
showPayButton?: boolean;
|
|
299
|
+
/** @internal */
|
|
300
|
+
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
301
|
+
/** @internal */
|
|
302
|
+
loadingContext?: string;
|
|
303
|
+
/** @internal */
|
|
304
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
305
|
+
/** @internal */
|
|
306
|
+
clientKey?: string;
|
|
307
|
+
/** @internal */
|
|
308
|
+
elementRef?: any;
|
|
309
|
+
/** @internal */
|
|
310
|
+
i18n?: Language;
|
|
311
|
+
/**
|
|
312
|
+
* The shopper’s issuer account label. It can be available for stored payment method
|
|
313
|
+
* @internal
|
|
314
|
+
*/
|
|
315
|
+
label?: string;
|
|
316
|
+
/**
|
|
317
|
+
* Returned after the payments call, when an action is returned. It represents the payment method tx variant
|
|
318
|
+
* that was used for the payment
|
|
319
|
+
* @internal
|
|
320
|
+
*/
|
|
321
|
+
paymentMethodType?: string;
|
|
322
|
+
};
|
|
323
|
+
type UIElementStatus = 'ready' | 'loading' | 'error' | 'success';
|
|
324
|
+
interface ComponentMethodsRef {
|
|
325
|
+
showValidation?: () => void;
|
|
326
|
+
setStatus?(status: UIElementStatus): void;
|
|
124
327
|
}
|
|
125
328
|
|
|
126
329
|
interface Experiment {
|
|
@@ -191,44 +394,36 @@ interface AnalyticsObject {
|
|
|
191
394
|
isExpress?: boolean;
|
|
192
395
|
expressPage?: string;
|
|
193
396
|
result?: string;
|
|
397
|
+
configData?: Record<string, string | boolean>;
|
|
194
398
|
}
|
|
195
|
-
type ANALYTICS_EVENT = 'log' | 'error' | 'info';
|
|
196
|
-
type AnalyticsInitialEvent = {
|
|
197
|
-
containerWidth: number;
|
|
198
|
-
component: string;
|
|
199
|
-
flavor: string;
|
|
200
|
-
paymentMethods?: any[];
|
|
201
|
-
sessionId?: string;
|
|
202
|
-
};
|
|
203
|
-
type CreateAnalyticsEventData = Omit<AnalyticsObject, 'timestamp' | 'id'>;
|
|
204
|
-
type CreateAnalyticsEventObject = {
|
|
205
|
-
event: ANALYTICS_EVENT;
|
|
206
|
-
data: CreateAnalyticsEventData;
|
|
207
|
-
};
|
|
208
|
-
type SendAnalyticsObject = Omit<AnalyticsObject, 'timestamp' | 'component' | 'id'>;
|
|
209
|
-
|
|
210
|
-
interface ImageOptions {
|
|
211
|
-
extension?: string;
|
|
212
|
-
imageFolder?: string;
|
|
213
|
-
resourceContext?: string;
|
|
214
|
-
name?: string;
|
|
215
|
-
parentFolder?: string;
|
|
216
|
-
size?: string;
|
|
217
|
-
subFolder?: string;
|
|
218
|
-
svgOptions?: string;
|
|
219
|
-
type?: string;
|
|
220
|
-
}
|
|
221
|
-
type GetImageFnType = (name: any) => string;
|
|
222
|
-
declare class Resources {
|
|
223
|
-
private readonly resourceContext;
|
|
224
|
-
constructor(cdnContext: string);
|
|
225
|
-
private returnImage;
|
|
226
|
-
private getImageUrl;
|
|
227
|
-
getImage(props?: ImageOptions): GetImageFnType;
|
|
228
|
-
}
|
|
399
|
+
type ANALYTICS_EVENT = 'log' | 'error' | 'info';
|
|
400
|
+
type AnalyticsInitialEvent = {
|
|
401
|
+
containerWidth: number;
|
|
402
|
+
component: string;
|
|
403
|
+
flavor: string;
|
|
404
|
+
paymentMethods?: any[];
|
|
405
|
+
sessionId?: string;
|
|
406
|
+
};
|
|
407
|
+
type CreateAnalyticsEventData = Omit<AnalyticsObject, 'timestamp' | 'id'>;
|
|
408
|
+
type CreateAnalyticsEventObject = {
|
|
409
|
+
event: ANALYTICS_EVENT;
|
|
410
|
+
data: CreateAnalyticsEventData;
|
|
411
|
+
};
|
|
412
|
+
type SendAnalyticsObject = Omit<AnalyticsObject, 'timestamp' | 'component' | 'id'>;
|
|
229
413
|
|
|
230
|
-
type PlaceholderKeys$1 = 'holderName' | '
|
|
414
|
+
type PlaceholderKeys$1 = 'holderName' | 'cardNumber' | 'expiryDate' | 'expiryMonth' | 'expiryYear' | 'securityCodeThreeDigits' | 'securityCodeFourDigits' | 'password';
|
|
231
415
|
type Placeholders$1 = Partial<Record<PlaceholderKeys$1, string>>;
|
|
416
|
+
interface SFError {
|
|
417
|
+
isValid?: boolean;
|
|
418
|
+
errorMessage?: string;
|
|
419
|
+
errorI18n?: string;
|
|
420
|
+
error: string;
|
|
421
|
+
rootNode: HTMLElement;
|
|
422
|
+
detectedBrands?: string[];
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
type PlaceholderKeys = 'holderName' | 'bankAccountNumber' | 'bankLocationId';
|
|
426
|
+
type Placeholders = Partial<Record<PlaceholderKeys, string>>;
|
|
232
427
|
|
|
233
428
|
type GiftcardFieldsProps = {
|
|
234
429
|
setRootNode: (input: HTMLElement) => void;
|
|
@@ -327,6 +522,11 @@ interface CbObjOnBrand {
|
|
|
327
522
|
showSocialSecurityNumber?: boolean;
|
|
328
523
|
brandImageUrl?: string;
|
|
329
524
|
}
|
|
525
|
+
interface CbObjOnAllValid {
|
|
526
|
+
type: string;
|
|
527
|
+
allValid: boolean;
|
|
528
|
+
rootNode: HTMLElement;
|
|
529
|
+
}
|
|
330
530
|
interface CbObjOnFieldValid {
|
|
331
531
|
fieldType: string;
|
|
332
532
|
encryptedFieldName: string;
|
|
@@ -377,6 +577,7 @@ type DatePolicyType = typeof REQUIRED | typeof OPTIONAL | typeof HIDDEN;
|
|
|
377
577
|
|
|
378
578
|
declare class TimeoutError extends Error {
|
|
379
579
|
constructor(message: string);
|
|
580
|
+
toString(): string;
|
|
380
581
|
}
|
|
381
582
|
|
|
382
583
|
type ClickToPayProps = {
|
|
@@ -417,113 +618,6 @@ type ClickToPayProps = {
|
|
|
417
618
|
};
|
|
418
619
|
type ClickToPayScheme = 'mc' | 'visa';
|
|
419
620
|
|
|
420
|
-
interface DisclaimerMsgObject {
|
|
421
|
-
message: string;
|
|
422
|
-
linkText: string;
|
|
423
|
-
link: string;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'action';
|
|
427
|
-
interface ButtonProps {
|
|
428
|
-
status?: string;
|
|
429
|
-
/**
|
|
430
|
-
* Class name modifiers will be used as: `adyen-checkout__image--${modifier}`
|
|
431
|
-
*/
|
|
432
|
-
classNameModifiers?: string[];
|
|
433
|
-
variant?: ButtonVariant;
|
|
434
|
-
disabled?: boolean;
|
|
435
|
-
label?: string;
|
|
436
|
-
secondaryLabel?: string;
|
|
437
|
-
icon?: string;
|
|
438
|
-
inline?: boolean;
|
|
439
|
-
href?: string;
|
|
440
|
-
target?: string;
|
|
441
|
-
rel?: string;
|
|
442
|
-
onClick?: (e: any, callbacks: any) => void;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
interface PayButtonProps extends ButtonProps {
|
|
446
|
-
/**
|
|
447
|
-
* Class name modifiers will be used as: `adyen-checkout__image--${modifier}`
|
|
448
|
-
*/
|
|
449
|
-
classNameModifiers?: string[];
|
|
450
|
-
label?: string;
|
|
451
|
-
amount: PaymentAmountExtended;
|
|
452
|
-
secondaryAmount?: PaymentAmountExtended;
|
|
453
|
-
status?: string;
|
|
454
|
-
disabled?: boolean;
|
|
455
|
-
icon?: string;
|
|
456
|
-
onClick?(): void;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
type PayButtonFunctionProps = Omit<PayButtonProps, 'amount'>;
|
|
460
|
-
type CoreCallbacks = Pick<CoreConfiguration, 'beforeRedirect' | 'beforeSubmit' | 'onSubmit' | 'onAdditionalDetails' | 'onPaymentFailed' | 'onPaymentCompleted' | 'onOrderUpdated' | 'onPaymentMethodsRequest' | 'onChange' | 'onActionHandled' | 'onError'>;
|
|
461
|
-
type UIElementProps = BaseElementProps & CoreCallbacks & {
|
|
462
|
-
environment?: string;
|
|
463
|
-
session?: Session;
|
|
464
|
-
onComplete?: (state: any, element: UIElement) => void;
|
|
465
|
-
isInstantPayment?: boolean;
|
|
466
|
-
/**
|
|
467
|
-
* Flags if the element is Stored payment method
|
|
468
|
-
* @internal
|
|
469
|
-
*/
|
|
470
|
-
isStoredPaymentMethod?: boolean;
|
|
471
|
-
/**
|
|
472
|
-
* Flag if the element is Stored payment method.
|
|
473
|
-
* Perhaps can be deprecated and we use the one above?
|
|
474
|
-
* @internal
|
|
475
|
-
*/
|
|
476
|
-
oneClick?: boolean;
|
|
477
|
-
/**
|
|
478
|
-
* Stored payment method id
|
|
479
|
-
* @internal
|
|
480
|
-
*/
|
|
481
|
-
storedPaymentMethodId?: string;
|
|
482
|
-
/**
|
|
483
|
-
* Status set when creating the Component from action
|
|
484
|
-
* @internal
|
|
485
|
-
*/
|
|
486
|
-
statusType?: 'redirect' | 'loading' | 'custom';
|
|
487
|
-
type?: string;
|
|
488
|
-
name?: string;
|
|
489
|
-
icon?: string;
|
|
490
|
-
amount?: PaymentAmount;
|
|
491
|
-
secondaryAmount?: PaymentAmountExtended;
|
|
492
|
-
/**
|
|
493
|
-
* Show/Hide pay button
|
|
494
|
-
* @defaultValue true
|
|
495
|
-
*/
|
|
496
|
-
showPayButton?: boolean;
|
|
497
|
-
/** @internal */
|
|
498
|
-
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
499
|
-
/** @internal */
|
|
500
|
-
loadingContext?: string;
|
|
501
|
-
/** @internal */
|
|
502
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
503
|
-
/** @internal */
|
|
504
|
-
clientKey?: string;
|
|
505
|
-
/** @internal */
|
|
506
|
-
elementRef?: any;
|
|
507
|
-
/** @internal */
|
|
508
|
-
i18n?: Language;
|
|
509
|
-
/**
|
|
510
|
-
* The shopper’s issuer account label. It can be available for stored payment method
|
|
511
|
-
* @internal
|
|
512
|
-
*/
|
|
513
|
-
label?: string;
|
|
514
|
-
/**
|
|
515
|
-
* Returned after the payments call, when an action is returned. It represents the payment method tx variant
|
|
516
|
-
* that was used for the payment
|
|
517
|
-
* @internal
|
|
518
|
-
*/
|
|
519
|
-
paymentMethodType?: string;
|
|
520
|
-
};
|
|
521
|
-
type UIElementStatus = 'ready' | 'loading' | 'error' | 'success';
|
|
522
|
-
interface ComponentMethodsRef {
|
|
523
|
-
showValidation?: () => void;
|
|
524
|
-
setStatus?(status: UIElementStatus): void;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
621
|
interface CardConfiguration extends UIElementProps {
|
|
528
622
|
/**
|
|
529
623
|
* Automatically shift the focus from one field to another. Usually happens from a valid Expiry Date field to the Security Code field,
|
|
@@ -731,6 +825,11 @@ interface CardConfiguration extends UIElementProps {
|
|
|
731
825
|
* @internal - but can also be overwritten by merchant config option
|
|
732
826
|
*/
|
|
733
827
|
name?: string;
|
|
828
|
+
/**
|
|
829
|
+
* Function used to perform 3rd party Address lookup
|
|
830
|
+
* - merchant set config option
|
|
831
|
+
*/
|
|
832
|
+
onAddressLookup?: OnAddressLookupType;
|
|
734
833
|
/**
|
|
735
834
|
* After binLookup call - provides the brand(s) we detect the user is entering, and if we support the brand(s)
|
|
736
835
|
* - merchant set config option
|
|
@@ -756,6 +855,11 @@ interface CardConfiguration extends UIElementProps {
|
|
|
756
855
|
* - merchant set config option
|
|
757
856
|
*/
|
|
758
857
|
onConfigSuccess?: (event: CbObjOnConfigSuccess) => void;
|
|
858
|
+
/**
|
|
859
|
+
* Called when *all* the securedFields becomes valid
|
|
860
|
+
* Also called again if one of the fields moves out of validity.
|
|
861
|
+
*/
|
|
862
|
+
onAllValid?: (event: CbObjOnAllValid) => void;
|
|
759
863
|
/**
|
|
760
864
|
* Called when a field becomes valid and also if a valid field changes and becomes invalid.
|
|
761
865
|
* For the card number field, it returns the last 4 digits of the card number.
|
|
@@ -776,7 +880,7 @@ interface CardConfiguration extends UIElementProps {
|
|
|
776
880
|
* Configure placeholder text for holderName, cardNumber, expirationDate, securityCode and password.
|
|
777
881
|
* - merchant set config option
|
|
778
882
|
*/
|
|
779
|
-
placeholders?: Placeholders;
|
|
883
|
+
placeholders?: Placeholders$1;
|
|
780
884
|
/**
|
|
781
885
|
* Position holder name above card number field (instead of having it after the security code field)
|
|
782
886
|
* @defaultValue `false`
|
|
@@ -908,157 +1012,71 @@ interface BinLookupResponseRaw {
|
|
|
908
1012
|
interface BinLookupResponse {
|
|
909
1013
|
issuingCountryCode: string;
|
|
910
1014
|
showSocialSecurityNumber?: boolean;
|
|
911
|
-
supportedBrands?: BrandObject[];
|
|
912
|
-
}
|
|
913
|
-
interface DualBrandSelectElement {
|
|
914
|
-
id: string;
|
|
915
|
-
brandObject: BrandObject;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
type PlaceholderKeys = 'holderName' | 'cardNumber' | 'expiryDate' | 'expiryMonth' | 'expiryYear' | 'securityCodeThreeDigits' | 'securityCodeFourDigits' | 'password';
|
|
919
|
-
type Placeholders = Partial<Record<PlaceholderKeys, string>>;
|
|
920
|
-
interface SFError {
|
|
921
|
-
isValid?: boolean;
|
|
922
|
-
errorMessage?: string;
|
|
923
|
-
errorI18n?: string;
|
|
924
|
-
error: string;
|
|
925
|
-
rootNode: HTMLElement;
|
|
926
|
-
detectedBrands?: string[];
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
interface ValidationRuleErrorObj {
|
|
930
|
-
[key: string]: ValidationRuleResult;
|
|
931
|
-
}
|
|
932
|
-
interface AriaAttributes {
|
|
933
|
-
'aria-relevant'?: 'additions' | 'all' | 'removals' | 'text' | 'additions text';
|
|
934
|
-
'aria-live'?: 'off' | 'polite' | 'assertive';
|
|
935
|
-
'aria-atomic'?: 'true' | 'false';
|
|
936
|
-
}
|
|
937
|
-
interface SRPanelProps extends BaseElementProps {
|
|
938
|
-
enabled?: boolean;
|
|
939
|
-
node?: string;
|
|
940
|
-
showPanel?: boolean;
|
|
941
|
-
moveFocus?: boolean;
|
|
942
|
-
id?: string;
|
|
943
|
-
ariaAttributes?: AriaAttributes;
|
|
944
|
-
}
|
|
945
|
-
type SRPanelConfig = Pick<SRPanelProps, 'enabled' | 'node' | 'showPanel' | 'moveFocus' | 'id' | 'ariaAttributes'>;
|
|
946
|
-
interface GenericError {
|
|
947
|
-
isValid: boolean;
|
|
948
|
-
errorMessage: string;
|
|
949
|
-
error: string;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* A panel meant to hold messages that will be read out by ScreenReaders on an aria-live="polite" basis
|
|
954
|
-
* Expects a string or string array of message to add to the panel to be read out
|
|
955
|
-
* For testing purposes can be made visible
|
|
956
|
-
*/
|
|
957
|
-
declare class SRPanel extends BaseElement<SRPanelProps> {
|
|
958
|
-
static type: string;
|
|
959
|
-
static defaultProps: Partial<SRPanelProps>;
|
|
960
|
-
private readonly srPanelContainer;
|
|
961
|
-
private readonly id;
|
|
962
|
-
private readonly showPanel;
|
|
963
|
-
private readonly _enabled;
|
|
964
|
-
private readonly _moveFocus;
|
|
965
|
-
private componentRef;
|
|
966
|
-
constructor(checkout: ICore, props?: SRPanelProps);
|
|
967
|
-
setComponentRef: (ref: any) => void;
|
|
968
|
-
get enabled(): boolean;
|
|
969
|
-
get moveFocus(): boolean;
|
|
970
|
-
setAriaProps(ariaAttributes: AriaAttributes): void;
|
|
971
|
-
setMessages: (messages: string[] | string) => void;
|
|
972
|
-
render(): h.JSX.Element;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
interface BaseElementProps {
|
|
976
|
-
order?: Order;
|
|
977
|
-
modules?: {
|
|
978
|
-
srPanel?: SRPanel;
|
|
979
|
-
analytics?: AnalyticsModule;
|
|
980
|
-
resources?: Resources;
|
|
981
|
-
risk?: RiskElement;
|
|
982
|
-
};
|
|
983
|
-
isDropin?: boolean;
|
|
984
|
-
}
|
|
985
|
-
interface IBaseElement {
|
|
986
|
-
data: object;
|
|
987
|
-
state: any;
|
|
988
|
-
props: any;
|
|
989
|
-
_id: string;
|
|
990
|
-
_component: any;
|
|
991
|
-
render(): ComponentChild | Error;
|
|
992
|
-
mount(domNode: HTMLElement | string): IBaseElement;
|
|
993
|
-
update(props: any): IBaseElement;
|
|
994
|
-
unmount(): IBaseElement;
|
|
995
|
-
remove(): void;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
interface RiskModuleOptions {
|
|
999
|
-
enabled: boolean;
|
|
1000
|
-
onComplete?: (data: any) => void;
|
|
1001
|
-
onError?: (error: any) => void;
|
|
1002
|
-
node?: string;
|
|
1003
|
-
}
|
|
1004
|
-
interface RiskModuleProps extends BaseElementProps {
|
|
1005
|
-
risk: RiskModuleOptions;
|
|
1006
|
-
loadingContext: string;
|
|
1007
|
-
}
|
|
1008
|
-
declare class RiskElement extends BaseElement<RiskModuleProps> {
|
|
1009
|
-
static type: string;
|
|
1010
|
-
static defaultProps: {
|
|
1011
|
-
risk: {
|
|
1012
|
-
enabled: boolean;
|
|
1013
|
-
onComplete: () => void;
|
|
1014
|
-
onError: () => void;
|
|
1015
|
-
node: string;
|
|
1016
|
-
};
|
|
1017
|
-
};
|
|
1018
|
-
private nodeRiskContainer;
|
|
1019
|
-
constructor(checkout: ICore, props?: any);
|
|
1020
|
-
formatProps(props: any): any;
|
|
1021
|
-
onComplete: (result: any) => void;
|
|
1022
|
-
onError: (error: any) => void;
|
|
1023
|
-
get isValid(): any;
|
|
1024
|
-
get data(): any;
|
|
1025
|
-
cleanUp: () => void;
|
|
1026
|
-
componentWillUnmount(): void;
|
|
1027
|
-
render(): h.JSX.Element;
|
|
1015
|
+
supportedBrands?: BrandObject[];
|
|
1016
|
+
}
|
|
1017
|
+
interface DualBrandSelectElement {
|
|
1018
|
+
id: string;
|
|
1019
|
+
brandObject: BrandObject;
|
|
1028
1020
|
}
|
|
1029
1021
|
|
|
1030
|
-
interface
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
encryptedSecurityCode: string;
|
|
1022
|
+
interface InstallmentOptions {
|
|
1023
|
+
[key: string]: {
|
|
1024
|
+
values: number[];
|
|
1025
|
+
plans?: string[];
|
|
1026
|
+
preselectedValue?: number;
|
|
1036
1027
|
};
|
|
1037
1028
|
}
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1029
|
+
|
|
1030
|
+
type CheckoutSession = {
|
|
1031
|
+
id: string;
|
|
1032
|
+
sessionData: string;
|
|
1033
|
+
shopperLocale?: string;
|
|
1034
|
+
shopperEmail?: string;
|
|
1035
|
+
telephoneNumber?: string;
|
|
1045
1036
|
};
|
|
1046
|
-
type
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1037
|
+
type SessionConfiguration = {
|
|
1038
|
+
installmentOptions?: InstallmentOptions;
|
|
1039
|
+
enableStoreDetails?: boolean;
|
|
1040
|
+
};
|
|
1041
|
+
type CheckoutSessionSetupResponse = {
|
|
1042
|
+
id: string;
|
|
1043
|
+
sessionData: string;
|
|
1044
|
+
countryCode?: string;
|
|
1045
|
+
amount: PaymentAmount;
|
|
1046
|
+
expiresAt: string;
|
|
1047
|
+
paymentMethods: any;
|
|
1048
|
+
returnUrl: string;
|
|
1049
|
+
configuration: SessionConfiguration;
|
|
1057
1050
|
/**
|
|
1058
|
-
*
|
|
1051
|
+
* 'shopperLocale' set during session creation.
|
|
1052
|
+
* @defaultValue en-US
|
|
1059
1053
|
*/
|
|
1060
|
-
|
|
1061
|
-
}
|
|
1054
|
+
shopperLocale: string;
|
|
1055
|
+
};
|
|
1056
|
+
type CheckoutSessionPaymentResponse = {
|
|
1057
|
+
sessionData: string;
|
|
1058
|
+
sessionResult: string;
|
|
1059
|
+
status?: string;
|
|
1060
|
+
resultCode: ResultCode;
|
|
1061
|
+
action?: PaymentAction;
|
|
1062
|
+
};
|
|
1063
|
+
type CheckoutSessionDetailsResponse = {
|
|
1064
|
+
sessionData: string;
|
|
1065
|
+
sessionResult: string;
|
|
1066
|
+
resultCode: ResultCode;
|
|
1067
|
+
status?: string;
|
|
1068
|
+
action?: PaymentAction;
|
|
1069
|
+
};
|
|
1070
|
+
type CheckoutSessionBalanceResponse = {
|
|
1071
|
+
sessionData: string;
|
|
1072
|
+
balance?: PaymentAmount;
|
|
1073
|
+
transactionLimit?: PaymentAmount;
|
|
1074
|
+
};
|
|
1075
|
+
type CheckoutSessionOrdersResponse = {
|
|
1076
|
+
sessionData: string;
|
|
1077
|
+
orderData: string;
|
|
1078
|
+
pspReference: string;
|
|
1079
|
+
};
|
|
1062
1080
|
|
|
1063
1081
|
type NewableComponent = new (checkout: ICore, props?: any) => UIElement;
|
|
1064
1082
|
interface IRegistry {
|
|
@@ -1281,6 +1299,7 @@ declare enum TxVariants {
|
|
|
1281
1299
|
klarna = "klarna",
|
|
1282
1300
|
klarna_account = "klarna_account",
|
|
1283
1301
|
klarna_paynow = "klarna_paynow",
|
|
1302
|
+
klarna_b2b = "klarna_b2b",
|
|
1284
1303
|
/** Klarna */
|
|
1285
1304
|
/** QRLoader */
|
|
1286
1305
|
bcmc_mobile = "bcmc_mobile",
|
|
@@ -1300,6 +1319,7 @@ declare enum TxVariants {
|
|
|
1300
1319
|
upi = "upi",// also QR
|
|
1301
1320
|
upi_qr = "upi_qr",// also QR
|
|
1302
1321
|
upi_collect = "upi_collect",// also QR
|
|
1322
|
+
upi_intent = "upi_intent",// also QR
|
|
1303
1323
|
/** Await */
|
|
1304
1324
|
/** Giftcard */
|
|
1305
1325
|
giftcard = "giftcard",
|
|
@@ -1916,7 +1936,7 @@ interface AchConfiguration extends UIElementProps {
|
|
|
1916
1936
|
hasHolderName?: boolean;
|
|
1917
1937
|
enableStoreDetails: boolean;
|
|
1918
1938
|
bankAccountNumber: string;
|
|
1919
|
-
placeholders?: Placeholders
|
|
1939
|
+
placeholders?: Placeholders;
|
|
1920
1940
|
}
|
|
1921
1941
|
|
|
1922
1942
|
interface BankTransferConfiguration extends UIElementProps {
|
|
@@ -2077,6 +2097,7 @@ type ClickToPayPaymentData = {
|
|
|
2077
2097
|
|
|
2078
2098
|
type CustomCardConfiguration = Omit<CardConfiguration, 'clickToPayConfiguration' | '_disableClickToPay' | 'fundingSource' | 'positionHolderNameOnTop' | 'showBrandIcon' | 'enableStoreDetails' | 'hideCVC' | 'hasCVC' | 'hasHolderName' | 'holderNameRequired' | 'billingAddressRequired' | 'billingAddressRequiredFields' | 'billingAddressAllowedCountries' | 'installmentOptions' | 'showInstallmentAmounts' | 'configuration'> & {
|
|
2079
2099
|
onValidationError?: (validationErrors: ValidationError[]) => void;
|
|
2100
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
2080
2101
|
};
|
|
2081
2102
|
type ValidationError = SFError & {
|
|
2082
2103
|
fieldType: string;
|
|
@@ -2120,11 +2141,19 @@ interface CampaignContentProps {
|
|
|
2120
2141
|
logoUrl?: string;
|
|
2121
2142
|
nonprofitDescription?: string;
|
|
2122
2143
|
nonprofitName?: string;
|
|
2144
|
+
causeName?: string;
|
|
2123
2145
|
nonprofitUrl?: string;
|
|
2124
2146
|
bannerUrl?: string;
|
|
2125
2147
|
}
|
|
2126
2148
|
|
|
2127
|
-
|
|
2149
|
+
type Donation = RoundupDonation | FixedAmountsDonation;
|
|
2150
|
+
interface RoundupDonation {
|
|
2151
|
+
type: 'roundup';
|
|
2152
|
+
currency: string;
|
|
2153
|
+
maxRoundupAmount: number;
|
|
2154
|
+
}
|
|
2155
|
+
interface FixedAmountsDonation {
|
|
2156
|
+
type: 'fixedAmounts';
|
|
2128
2157
|
currency: string;
|
|
2129
2158
|
values: Array<number>;
|
|
2130
2159
|
}
|
|
@@ -2139,7 +2168,11 @@ interface DonationPayload {
|
|
|
2139
2168
|
isValid?: boolean;
|
|
2140
2169
|
}
|
|
2141
2170
|
interface DonationComponentProps extends CampaignContentProps {
|
|
2142
|
-
|
|
2171
|
+
donation: Donation;
|
|
2172
|
+
/**
|
|
2173
|
+
* The original transaction amount.
|
|
2174
|
+
*/
|
|
2175
|
+
commercialTxAmount: number;
|
|
2143
2176
|
termsAndConditionsUrl?: string;
|
|
2144
2177
|
causeName?: string;
|
|
2145
2178
|
showCancelButton?: boolean;
|
|
@@ -2217,6 +2250,39 @@ interface EcontextConfiguration extends UIElementProps {
|
|
|
2217
2250
|
data?: PersonalDetailsSchema;
|
|
2218
2251
|
}
|
|
2219
2252
|
|
|
2253
|
+
interface GiftCardElementData {
|
|
2254
|
+
paymentMethod: {
|
|
2255
|
+
type: 'giftcard';
|
|
2256
|
+
brand: string;
|
|
2257
|
+
encryptedCardNumber: string;
|
|
2258
|
+
encryptedSecurityCode: string;
|
|
2259
|
+
};
|
|
2260
|
+
}
|
|
2261
|
+
type balanceCheckResponseType = {
|
|
2262
|
+
sessionData?: string;
|
|
2263
|
+
pspReference?: string;
|
|
2264
|
+
resultCode?: string;
|
|
2265
|
+
balance?: PaymentAmount;
|
|
2266
|
+
transactionLimit?: PaymentAmount;
|
|
2267
|
+
};
|
|
2268
|
+
type onBalanceCheckCallbackType = (resolve: (res: balanceCheckResponseType) => void, reject: (error: Error) => void, data: GiftCardElementData) => Promise<void>;
|
|
2269
|
+
type onRequiringConfirmationCallbackType = (resolve: () => void, reject: (error: Error) => void) => Promise<void>;
|
|
2270
|
+
type onOrderRequestCallbackType = (resolve: (order: Order) => void, reject: (error: Error) => void, data: PaymentData) => Promise<void>;
|
|
2271
|
+
interface GiftCardConfiguration extends UIElementProps {
|
|
2272
|
+
pinRequired?: boolean;
|
|
2273
|
+
expiryDateRequired?: boolean;
|
|
2274
|
+
brandsConfiguration?: any;
|
|
2275
|
+
brand?: string;
|
|
2276
|
+
onOrderUpdated?: (data: any) => void;
|
|
2277
|
+
onBalanceCheck?: onBalanceCheckCallbackType;
|
|
2278
|
+
onOrderRequest?: onOrderRequestCallbackType;
|
|
2279
|
+
onRequiringConfirmation?: onRequiringConfirmationCallbackType;
|
|
2280
|
+
/**
|
|
2281
|
+
* @internal
|
|
2282
|
+
*/
|
|
2283
|
+
fieldsLayoutComponent?: FunctionComponent<GiftcardFieldsProps>;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2220
2286
|
interface GooglePayConfiguration extends UIElementProps {
|
|
2221
2287
|
type?: 'googlepay' | 'paywithgoogle';
|
|
2222
2288
|
/**
|
|
@@ -2334,6 +2400,7 @@ interface GooglePayConfiguration extends UIElementProps {
|
|
|
2334
2400
|
buttonSizeMode?: google.payments.api.ButtonSizeMode;
|
|
2335
2401
|
buttonRootNode?: HTMLDocument | ShadowRoot;
|
|
2336
2402
|
buttonLocale?: string;
|
|
2403
|
+
buttonRadius?: number;
|
|
2337
2404
|
onClick?: (resolve: any, reject: any) => void;
|
|
2338
2405
|
/**
|
|
2339
2406
|
* Callback called when GooglePay authorizes the payment.
|
|
@@ -2446,11 +2513,6 @@ interface OxxoVoucherResultProps {
|
|
|
2446
2513
|
downloadUrl?: string;
|
|
2447
2514
|
ref?: any;
|
|
2448
2515
|
}
|
|
2449
|
-
type OxxoElementData = {
|
|
2450
|
-
paymentMethod: {
|
|
2451
|
-
type: 'oxxo' | string;
|
|
2452
|
-
};
|
|
2453
|
-
};
|
|
2454
2516
|
|
|
2455
2517
|
declare class PaypalElement extends UIElement<PayPalConfiguration> {
|
|
2456
2518
|
static type: TxVariants;
|
|
@@ -2736,6 +2798,30 @@ interface SepaElementData {
|
|
|
2736
2798
|
interface SepaConfiguration extends UIElementProps {
|
|
2737
2799
|
}
|
|
2738
2800
|
|
|
2801
|
+
interface CheckoutErrorOptions {
|
|
2802
|
+
cause?: any;
|
|
2803
|
+
}
|
|
2804
|
+
declare class AdyenCheckoutError extends Error {
|
|
2805
|
+
protected static errorTypes: {
|
|
2806
|
+
/** Network error. */
|
|
2807
|
+
NETWORK_ERROR: string;
|
|
2808
|
+
/** Shopper canceled the current transaction. */
|
|
2809
|
+
CANCEL: string;
|
|
2810
|
+
/** Implementation error. The method or parameter are incorrect or are not supported. */
|
|
2811
|
+
IMPLEMENTATION_ERROR: string;
|
|
2812
|
+
/** API error. The API has not returned the expected data */
|
|
2813
|
+
API_ERROR: string;
|
|
2814
|
+
/** Generic error. */
|
|
2815
|
+
ERROR: string;
|
|
2816
|
+
/** Script error. The browser failed to load 3rd party script */
|
|
2817
|
+
SCRIPT_ERROR: string;
|
|
2818
|
+
/** Something has gone wrong internally */
|
|
2819
|
+
SDK_ERROR: string;
|
|
2820
|
+
};
|
|
2821
|
+
cause: unknown;
|
|
2822
|
+
constructor(type: keyof typeof AdyenCheckoutError.errorTypes, message?: string, options?: CheckoutErrorOptions);
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2739
2825
|
declare enum Analytics3DS2Errors {
|
|
2740
2826
|
ACTION_IS_MISSING_PAYMENT_DATA = "700",// Missing 'paymentData' property from threeDS2 action
|
|
2741
2827
|
ACTION_IS_MISSING_TOKEN = "701",// Missing 'token' property from threeDS2 action
|
|
@@ -2868,19 +2954,28 @@ interface ErrorCodeObject {
|
|
|
2868
2954
|
message: string;
|
|
2869
2955
|
}
|
|
2870
2956
|
|
|
2957
|
+
type UpiType = TxVariants.upi_qr | TxVariants.upi_intent | TxVariants.upi_collect;
|
|
2958
|
+
type UpiMode = 'vpa' | 'qrCode' | 'intent';
|
|
2959
|
+
type App = {
|
|
2960
|
+
id: string;
|
|
2961
|
+
name: string;
|
|
2962
|
+
type?: UpiType;
|
|
2963
|
+
};
|
|
2871
2964
|
type UpiPaymentData = {
|
|
2872
2965
|
paymentMethod: {
|
|
2873
|
-
type:
|
|
2966
|
+
type: UpiType;
|
|
2874
2967
|
virtualPaymentAddress?: string;
|
|
2968
|
+
appId?: string;
|
|
2875
2969
|
};
|
|
2876
2970
|
};
|
|
2877
|
-
type UpiMode = 'vpa' | 'qrCode';
|
|
2878
2971
|
interface UPIConfiguration extends UIElementProps {
|
|
2972
|
+
defaultMode?: UpiMode;
|
|
2973
|
+
apps?: Array<App>;
|
|
2879
2974
|
/**
|
|
2880
|
-
*
|
|
2881
|
-
* @
|
|
2975
|
+
* Redirect url for upi intent apps
|
|
2976
|
+
* @internal
|
|
2882
2977
|
*/
|
|
2883
|
-
|
|
2978
|
+
url?: string;
|
|
2884
2979
|
paymentData?: string;
|
|
2885
2980
|
qrCodeData?: string;
|
|
2886
2981
|
brandLogo?: string;
|
|
@@ -2901,6 +2996,7 @@ interface AwaitComponentProps {
|
|
|
2901
2996
|
countdownTime: number;
|
|
2902
2997
|
throttleTime: number;
|
|
2903
2998
|
showCountdownTimer: boolean;
|
|
2999
|
+
shouldRedirectAutomatically?: boolean;
|
|
2904
3000
|
throttleInterval: number;
|
|
2905
3001
|
paymentData: string;
|
|
2906
3002
|
url?: string;
|
|
@@ -2981,7 +3077,7 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
2981
3077
|
redirectURL?: string;
|
|
2982
3078
|
button?: {
|
|
2983
3079
|
shape?: "semiround" | "round";
|
|
2984
|
-
size?: "
|
|
3080
|
+
size?: "medium" | "small";
|
|
2985
3081
|
theme?: "dark" | "light";
|
|
2986
3082
|
width?: "static" | "full";
|
|
2987
3083
|
};
|
|
@@ -2999,19 +3095,20 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
2999
3095
|
risk?: RiskElement;
|
|
3000
3096
|
};
|
|
3001
3097
|
isDropin?: boolean;
|
|
3002
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3003
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3004
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3098
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3099
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3100
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3005
3101
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3006
3102
|
url: string;
|
|
3007
3103
|
method: string;
|
|
3008
3104
|
data?: any;
|
|
3009
3105
|
}) => void;
|
|
3010
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3011
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3106
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3107
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3012
3108
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3013
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3014
|
-
|
|
3109
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3110
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
3111
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3015
3112
|
onOrderUpdated?: (data: {
|
|
3016
3113
|
order: Order;
|
|
3017
3114
|
}) => void;
|
|
@@ -3021,11 +3118,11 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
3021
3118
|
}) => void;
|
|
3022
3119
|
environment?: string;
|
|
3023
3120
|
session?: Session;
|
|
3024
|
-
onComplete?: (state: any, element: UIElement
|
|
3121
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3025
3122
|
isInstantPayment?: boolean;
|
|
3026
3123
|
isStoredPaymentMethod?: boolean;
|
|
3027
3124
|
oneClick?: boolean;
|
|
3028
|
-
statusType?: "
|
|
3125
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3029
3126
|
type?: string;
|
|
3030
3127
|
name?: string;
|
|
3031
3128
|
icon?: string;
|
|
@@ -3034,7 +3131,7 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
3034
3131
|
showPayButton?: boolean;
|
|
3035
3132
|
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
3036
3133
|
loadingContext?: string;
|
|
3037
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3134
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3038
3135
|
clientKey?: string;
|
|
3039
3136
|
elementRef?: any;
|
|
3040
3137
|
i18n?: Language;
|
|
@@ -3072,19 +3169,20 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3072
3169
|
risk?: RiskElement;
|
|
3073
3170
|
};
|
|
3074
3171
|
isDropin?: boolean;
|
|
3075
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3076
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3077
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3172
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3173
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3174
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3078
3175
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3079
3176
|
url: string;
|
|
3080
3177
|
method: string;
|
|
3081
3178
|
data?: any;
|
|
3082
3179
|
}) => void;
|
|
3083
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3084
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3180
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3181
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3085
3182
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3086
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3087
|
-
|
|
3183
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3184
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
3185
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3088
3186
|
onOrderUpdated?: (data: {
|
|
3089
3187
|
order: Order;
|
|
3090
3188
|
}) => void;
|
|
@@ -3094,12 +3192,12 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3094
3192
|
}) => void;
|
|
3095
3193
|
environment?: string;
|
|
3096
3194
|
session?: Session;
|
|
3097
|
-
onComplete?: (state: any, element: UIElement
|
|
3195
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3098
3196
|
isInstantPayment?: boolean;
|
|
3099
3197
|
isStoredPaymentMethod?: boolean;
|
|
3100
3198
|
oneClick?: boolean;
|
|
3101
3199
|
storedPaymentMethodId?: string;
|
|
3102
|
-
statusType?: "
|
|
3200
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3103
3201
|
type?: string;
|
|
3104
3202
|
name?: string;
|
|
3105
3203
|
icon?: string;
|
|
@@ -3108,7 +3206,7 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3108
3206
|
showPayButton?: boolean;
|
|
3109
3207
|
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
3110
3208
|
loadingContext?: string;
|
|
3111
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3209
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3112
3210
|
clientKey?: string;
|
|
3113
3211
|
elementRef?: any;
|
|
3114
3212
|
i18n?: Language;
|
|
@@ -3138,11 +3236,7 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3138
3236
|
declare class BancontactElement extends CardElement {
|
|
3139
3237
|
static type: TxVariants;
|
|
3140
3238
|
constructor(checkout: ICore, props?: CardConfiguration);
|
|
3141
|
-
protected static defaultProps:
|
|
3142
|
-
brands: string[];
|
|
3143
|
-
onBinLookup: () => void;
|
|
3144
|
-
_disableClickToPay: boolean;
|
|
3145
|
-
};
|
|
3239
|
+
protected static defaultProps: any;
|
|
3146
3240
|
formatData(): CardElementData;
|
|
3147
3241
|
/**
|
|
3148
3242
|
* Now that the Bancontact (BCMC) Card component can accept a number dual branded with Visa (which requires a CVC) it has to be handled differently
|
|
@@ -3158,52 +3252,17 @@ declare class BancontactElement extends CardElement {
|
|
|
3158
3252
|
type: TxVariants;
|
|
3159
3253
|
brand: TxVariants;
|
|
3160
3254
|
cvcPolicy: CVCPolicyType;
|
|
3161
|
-
storedPaymentMethodId: string;
|
|
3162
|
-
holderNameRequired: boolean;
|
|
3163
|
-
hasCVC: boolean;
|
|
3164
|
-
billingAddressRequired: boolean;
|
|
3165
|
-
countryCode: string;
|
|
3166
|
-
configuration: {
|
|
3167
|
-
socialSecurityNumberMode: SocialSecurityMode;
|
|
3168
|
-
visaSrciDpaId?: string;
|
|
3169
|
-
visaSrcInitiatorId?: string;
|
|
3170
|
-
mcSrcClientId?: string;
|
|
3171
|
-
mcDpaId?: string;
|
|
3172
|
-
merchantIdentifier?: string;
|
|
3173
|
-
merchantOrigin?: string;
|
|
3174
|
-
gatewayMerchantId?: string;
|
|
3175
|
-
publicKeyId?: string;
|
|
3176
|
-
region?: string;
|
|
3177
|
-
merchantName?: string;
|
|
3178
|
-
merchantId?: string;
|
|
3179
|
-
intent?: string;
|
|
3180
|
-
koreanAuthenticationRequired?: boolean;
|
|
3181
|
-
icon?: string;
|
|
3182
|
-
brandsConfiguration?: CardBrandsConfiguration;
|
|
3183
|
-
};
|
|
3184
|
-
brandsConfiguration: CardBrandsConfiguration;
|
|
3185
|
-
icon: string;
|
|
3186
|
-
installmentOptions: InstallmentOptions;
|
|
3187
|
-
enableStoreDetails: boolean;
|
|
3188
|
-
showStoreDetailsCheckbox: boolean;
|
|
3189
|
-
clickToPayConfiguration: {
|
|
3190
|
-
disableOtpAutoFocus: boolean;
|
|
3191
|
-
shopperEmail: string;
|
|
3192
|
-
telephoneNumber: string;
|
|
3193
|
-
locale: string;
|
|
3194
|
-
merchantDisplayName?: string;
|
|
3195
|
-
onReady?(): void;
|
|
3196
|
-
onTimeout?(error: TimeoutError): void;
|
|
3197
|
-
};
|
|
3198
3255
|
autoFocus?: boolean;
|
|
3199
|
-
billingAddressAllowedCountries?: string[];
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
*/
|
|
3203
|
-
billingAddressMode?: "none" | "full" | "partial";
|
|
3256
|
+
billingAddressAllowedCountries?: string[];
|
|
3257
|
+
billingAddressMode?: "full" | "partial" | "none";
|
|
3258
|
+
billingAddressRequired?: boolean;
|
|
3204
3259
|
billingAddressRequiredFields?: string[];
|
|
3205
3260
|
brands?: string[];
|
|
3206
|
-
|
|
3261
|
+
brandsConfiguration?: CardBrandsConfiguration;
|
|
3262
|
+
challengeWindowSize?: "01" | "02" | "03" | "04" | "05";
|
|
3263
|
+
clickToPayConfiguration?: ClickToPayProps;
|
|
3264
|
+
configuration?: CardBackendConfiguration;
|
|
3265
|
+
countryCode?: string;
|
|
3207
3266
|
data?: {
|
|
3208
3267
|
holderName?: string;
|
|
3209
3268
|
billingAddress?: Partial<AddressData>;
|
|
@@ -3212,32 +3271,40 @@ declare class BancontactElement extends CardElement {
|
|
|
3212
3271
|
disableIOSArrowKeys?: boolean;
|
|
3213
3272
|
disclaimerMessage?: DisclaimerMsgObject;
|
|
3214
3273
|
doBinLookup?: boolean;
|
|
3274
|
+
enableStoreDetails?: boolean;
|
|
3215
3275
|
expiryMonth?: string;
|
|
3216
3276
|
exposeExpiryDate?: boolean;
|
|
3217
3277
|
forceCompat?: boolean;
|
|
3218
3278
|
fundingSource?: "debit" | "credit";
|
|
3279
|
+
hasCVC?: boolean;
|
|
3219
3280
|
hasHolderName?: boolean;
|
|
3220
3281
|
hideCVC?: boolean;
|
|
3282
|
+
holderNameRequired?: boolean;
|
|
3221
3283
|
id?: string;
|
|
3284
|
+
installmentOptions?: InstallmentOptions;
|
|
3222
3285
|
keypadFix?: boolean;
|
|
3223
3286
|
lastFour?: string;
|
|
3224
3287
|
legacyInputMode?: boolean;
|
|
3225
3288
|
maskSecurityCode?: boolean;
|
|
3226
3289
|
minimumExpiryDate?: string[];
|
|
3227
3290
|
name?: string;
|
|
3291
|
+
onAddressLookup?: OnAddressLookupType;
|
|
3228
3292
|
onBinLookup?: (event: CbObjOnBinLookup) => void;
|
|
3229
3293
|
onBinValue?: (event: CbObjOnBinValue) => void;
|
|
3230
3294
|
onBlur?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
3231
3295
|
onBrand?: (event: CbObjOnBrand) => void;
|
|
3232
3296
|
onConfigSuccess?: (event: CbObjOnConfigSuccess) => void;
|
|
3297
|
+
onAllValid?: (event: CbObjOnAllValid) => void;
|
|
3233
3298
|
onFieldValid?: (event: CbObjOnFieldValid) => void;
|
|
3234
3299
|
onFocus?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
3235
3300
|
onLoad?: (event: CbObjOnLoad) => void;
|
|
3236
|
-
placeholders?:
|
|
3301
|
+
placeholders?: Placeholders$1;
|
|
3237
3302
|
positionHolderNameOnTop?: boolean;
|
|
3238
3303
|
showBrandIcon?: boolean;
|
|
3239
3304
|
showContextualElement?: boolean;
|
|
3240
3305
|
showInstallmentAmounts?: boolean;
|
|
3306
|
+
storedPaymentMethodId?: string;
|
|
3307
|
+
showStoreDetailsCheckbox?: boolean;
|
|
3241
3308
|
styles?: StylesObject;
|
|
3242
3309
|
supportedShopperInteractions?: string[];
|
|
3243
3310
|
order?: Order;
|
|
@@ -3248,19 +3315,20 @@ declare class BancontactElement extends CardElement {
|
|
|
3248
3315
|
risk?: RiskElement;
|
|
3249
3316
|
};
|
|
3250
3317
|
isDropin?: boolean;
|
|
3251
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3252
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3253
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3318
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3319
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3320
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3254
3321
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3255
3322
|
url: string;
|
|
3256
3323
|
method: string;
|
|
3257
3324
|
data?: any;
|
|
3258
3325
|
}) => void;
|
|
3259
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3260
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3326
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3327
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3261
3328
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3262
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3263
|
-
|
|
3329
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3330
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
3331
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3264
3332
|
onOrderUpdated?: (data: {
|
|
3265
3333
|
order: Order;
|
|
3266
3334
|
}) => void;
|
|
@@ -3270,17 +3338,18 @@ declare class BancontactElement extends CardElement {
|
|
|
3270
3338
|
}) => void;
|
|
3271
3339
|
environment?: string;
|
|
3272
3340
|
session?: Session;
|
|
3273
|
-
onComplete?: (state: any, element: UIElement
|
|
3341
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3274
3342
|
isInstantPayment?: boolean;
|
|
3275
3343
|
isStoredPaymentMethod?: boolean;
|
|
3276
3344
|
oneClick?: boolean;
|
|
3277
|
-
statusType?: "
|
|
3345
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3346
|
+
icon?: string;
|
|
3278
3347
|
amount?: PaymentAmount;
|
|
3279
3348
|
secondaryAmount?: PaymentAmountExtended;
|
|
3280
3349
|
showPayButton?: boolean;
|
|
3281
3350
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
3282
3351
|
loadingContext?: string;
|
|
3283
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3352
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3284
3353
|
clientKey?: string;
|
|
3285
3354
|
elementRef?: any;
|
|
3286
3355
|
i18n?: Language;
|
|
@@ -3431,7 +3500,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
3431
3500
|
onFocus?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
3432
3501
|
order?: Order;
|
|
3433
3502
|
id?: string;
|
|
3434
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3503
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3435
3504
|
amount?: PaymentAmount;
|
|
3436
3505
|
secondaryAmount?: PaymentAmountExtended;
|
|
3437
3506
|
environment?: string;
|
|
@@ -3444,18 +3513,19 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
3444
3513
|
session?: Session;
|
|
3445
3514
|
clientKey?: string;
|
|
3446
3515
|
showPayButton?: boolean;
|
|
3447
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3448
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3516
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3517
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3449
3518
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3450
3519
|
url: string;
|
|
3451
3520
|
method: string;
|
|
3452
3521
|
data?: any;
|
|
3453
3522
|
}) => void;
|
|
3454
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3455
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3523
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3524
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3456
3525
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3457
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3458
|
-
|
|
3526
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3527
|
+
onEnterKeyPressed?: ((activeElement: Element, component: UIElement) => void) & ((activeElement: Element, component: UIElement) => void);
|
|
3528
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3459
3529
|
onOrderUpdated?: (data: {
|
|
3460
3530
|
order: Order;
|
|
3461
3531
|
}) => void;
|
|
@@ -3464,24 +3534,25 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
3464
3534
|
reject: () => void;
|
|
3465
3535
|
}) => void;
|
|
3466
3536
|
elementRef?: any;
|
|
3467
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3537
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3468
3538
|
brandsConfiguration?: CardBrandsConfiguration;
|
|
3469
3539
|
isStoredPaymentMethod?: boolean;
|
|
3470
|
-
onComplete?: (state: any, element: UIElement
|
|
3471
|
-
challengeWindowSize?: "
|
|
3540
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3541
|
+
challengeWindowSize?: "01" | "02" | "03" | "04" | "05";
|
|
3472
3542
|
isDropin?: boolean;
|
|
3473
3543
|
isInstantPayment?: boolean;
|
|
3474
3544
|
oneClick?: boolean;
|
|
3475
3545
|
storedPaymentMethodId?: string;
|
|
3476
|
-
statusType?: "
|
|
3546
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3477
3547
|
icon?: string;
|
|
3478
3548
|
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
3479
3549
|
paymentMethodType?: string;
|
|
3480
3550
|
autoFocus?: boolean;
|
|
3481
3551
|
onLoad?: (event: CbObjOnLoad) => void;
|
|
3482
|
-
placeholders?:
|
|
3552
|
+
placeholders?: Placeholders$1;
|
|
3553
|
+
onAddressLookup?: OnAddressLookupType;
|
|
3483
3554
|
expiryMonth?: string;
|
|
3484
|
-
billingAddressMode?: "
|
|
3555
|
+
billingAddressMode?: "full" | "partial" | "none";
|
|
3485
3556
|
brands?: string[];
|
|
3486
3557
|
disableIOSArrowKeys?: boolean;
|
|
3487
3558
|
disclaimerMessage?: DisclaimerMsgObject;
|
|
@@ -3497,6 +3568,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
3497
3568
|
onBinValue?: (event: CbObjOnBinValue) => void;
|
|
3498
3569
|
onBrand?: (event: CbObjOnBrand) => void;
|
|
3499
3570
|
onConfigSuccess?: (event: CbObjOnConfigSuccess) => void;
|
|
3571
|
+
onAllValid?: (event: CbObjOnAllValid) => void;
|
|
3500
3572
|
onFieldValid?: (event: CbObjOnFieldValid) => void;
|
|
3501
3573
|
showStoreDetailsCheckbox?: boolean;
|
|
3502
3574
|
styles?: StylesObject;
|
|
@@ -3510,6 +3582,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
3510
3582
|
paymentMethod: any;
|
|
3511
3583
|
browserInfo: BrowserInfo;
|
|
3512
3584
|
};
|
|
3585
|
+
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
3513
3586
|
updateStyles(stylesObj: any): this;
|
|
3514
3587
|
setFocusOn(frame: any): this;
|
|
3515
3588
|
processBinLookupResponse(binLookupResponse: any): this;
|
|
@@ -3520,6 +3593,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
3520
3593
|
get isValid(): boolean;
|
|
3521
3594
|
get browserInfo(): BrowserInfo;
|
|
3522
3595
|
private onFocus;
|
|
3596
|
+
protected onEnterKeyPressed: (activeElement: Element, component: UIElement) => void;
|
|
3523
3597
|
render(): h.JSX.Element;
|
|
3524
3598
|
}
|
|
3525
3599
|
|
|
@@ -3583,19 +3657,20 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
3583
3657
|
risk?: RiskElement;
|
|
3584
3658
|
};
|
|
3585
3659
|
isDropin?: boolean;
|
|
3586
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3587
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3588
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3660
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3661
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3662
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3589
3663
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3590
3664
|
url: string;
|
|
3591
3665
|
method: string;
|
|
3592
3666
|
data?: any;
|
|
3593
3667
|
}) => void;
|
|
3594
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3595
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3668
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3669
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3596
3670
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3597
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3598
|
-
|
|
3671
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3672
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
3673
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3599
3674
|
onOrderUpdated?: (data: {
|
|
3600
3675
|
order: Order;
|
|
3601
3676
|
}) => void;
|
|
@@ -3605,12 +3680,12 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
3605
3680
|
}) => void;
|
|
3606
3681
|
environment?: string;
|
|
3607
3682
|
session?: Session;
|
|
3608
|
-
onComplete?: (state: any, element: UIElement
|
|
3683
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3609
3684
|
isInstantPayment?: boolean;
|
|
3610
3685
|
isStoredPaymentMethod?: boolean;
|
|
3611
3686
|
oneClick?: boolean;
|
|
3612
3687
|
storedPaymentMethodId?: string;
|
|
3613
|
-
statusType?: "
|
|
3688
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3614
3689
|
name?: string;
|
|
3615
3690
|
icon?: string;
|
|
3616
3691
|
amount?: PaymentAmount;
|
|
@@ -3618,7 +3693,7 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
3618
3693
|
showPayButton?: boolean;
|
|
3619
3694
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
3620
3695
|
loadingContext?: string;
|
|
3621
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3696
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3622
3697
|
clientKey?: string;
|
|
3623
3698
|
elementRef?: any;
|
|
3624
3699
|
i18n?: Language;
|
|
@@ -3650,19 +3725,20 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
3650
3725
|
risk?: RiskElement;
|
|
3651
3726
|
};
|
|
3652
3727
|
isDropin?: boolean;
|
|
3653
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3654
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3655
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3728
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3729
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3730
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3656
3731
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3657
3732
|
url: string;
|
|
3658
3733
|
method: string;
|
|
3659
3734
|
data?: any;
|
|
3660
3735
|
}) => void;
|
|
3661
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3662
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3736
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3737
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3663
3738
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3664
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3665
|
-
|
|
3739
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3740
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
3741
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3666
3742
|
onOrderUpdated?: (data: {
|
|
3667
3743
|
order: Order;
|
|
3668
3744
|
}) => void;
|
|
@@ -3672,12 +3748,12 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
3672
3748
|
}) => void;
|
|
3673
3749
|
environment?: string;
|
|
3674
3750
|
session?: Session;
|
|
3675
|
-
onComplete?: (state: any, element: UIElement
|
|
3751
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3676
3752
|
isInstantPayment?: boolean;
|
|
3677
3753
|
isStoredPaymentMethod?: boolean;
|
|
3678
3754
|
oneClick?: boolean;
|
|
3679
3755
|
storedPaymentMethodId?: string;
|
|
3680
|
-
statusType?: "
|
|
3756
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3681
3757
|
name?: string;
|
|
3682
3758
|
icon?: string;
|
|
3683
3759
|
amount?: PaymentAmount;
|
|
@@ -3685,7 +3761,7 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
3685
3761
|
showPayButton?: boolean;
|
|
3686
3762
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
3687
3763
|
loadingContext?: string;
|
|
3688
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3764
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3689
3765
|
clientKey?: string;
|
|
3690
3766
|
elementRef?: any;
|
|
3691
3767
|
i18n?: Language;
|
|
@@ -3718,19 +3794,20 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
3718
3794
|
risk?: RiskElement;
|
|
3719
3795
|
};
|
|
3720
3796
|
isDropin?: boolean;
|
|
3721
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3722
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3723
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3797
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3798
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3799
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3724
3800
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3725
3801
|
url: string;
|
|
3726
3802
|
method: string;
|
|
3727
3803
|
data?: any;
|
|
3728
3804
|
}) => void;
|
|
3729
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3730
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3805
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3806
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3731
3807
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3732
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3733
|
-
|
|
3808
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3809
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
3810
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3734
3811
|
onOrderUpdated?: (data: {
|
|
3735
3812
|
order: Order;
|
|
3736
3813
|
}) => void;
|
|
@@ -3740,12 +3817,12 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
3740
3817
|
}) => void;
|
|
3741
3818
|
environment?: string;
|
|
3742
3819
|
session?: Session;
|
|
3743
|
-
onComplete?: (state: any, element: UIElement
|
|
3820
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3744
3821
|
isInstantPayment?: boolean;
|
|
3745
3822
|
isStoredPaymentMethod?: boolean;
|
|
3746
3823
|
oneClick?: boolean;
|
|
3747
3824
|
storedPaymentMethodId?: string;
|
|
3748
|
-
statusType?: "
|
|
3825
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3749
3826
|
name?: string;
|
|
3750
3827
|
icon?: string;
|
|
3751
3828
|
amount?: PaymentAmount;
|
|
@@ -3753,7 +3830,7 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
3753
3830
|
showPayButton?: boolean;
|
|
3754
3831
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
3755
3832
|
loadingContext?: string;
|
|
3756
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3833
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3757
3834
|
clientKey?: string;
|
|
3758
3835
|
elementRef?: any;
|
|
3759
3836
|
i18n?: Language;
|
|
@@ -3803,19 +3880,20 @@ declare class DragonpayElement extends UIElement<DragonpayConfiguraton> {
|
|
|
3803
3880
|
risk?: RiskElement;
|
|
3804
3881
|
};
|
|
3805
3882
|
isDropin?: boolean;
|
|
3806
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3807
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3808
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
3883
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
3884
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
3885
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3809
3886
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3810
3887
|
url: string;
|
|
3811
3888
|
method: string;
|
|
3812
3889
|
data?: any;
|
|
3813
3890
|
}) => void;
|
|
3814
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3815
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
3891
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
3892
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3816
3893
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3817
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3818
|
-
|
|
3894
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
3895
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
3896
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3819
3897
|
onOrderUpdated?: (data: {
|
|
3820
3898
|
order: Order;
|
|
3821
3899
|
}) => void;
|
|
@@ -3825,19 +3903,19 @@ declare class DragonpayElement extends UIElement<DragonpayConfiguraton> {
|
|
|
3825
3903
|
}) => void;
|
|
3826
3904
|
environment?: string;
|
|
3827
3905
|
session?: Session;
|
|
3828
|
-
onComplete?: (state: any, element: UIElement
|
|
3906
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
3829
3907
|
isInstantPayment?: boolean;
|
|
3830
3908
|
isStoredPaymentMethod?: boolean;
|
|
3831
3909
|
oneClick?: boolean;
|
|
3832
3910
|
storedPaymentMethodId?: string;
|
|
3833
|
-
statusType?: "
|
|
3911
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
3834
3912
|
name?: string;
|
|
3835
3913
|
icon?: string;
|
|
3836
3914
|
amount?: PaymentAmount;
|
|
3837
3915
|
secondaryAmount?: PaymentAmountExtended;
|
|
3838
3916
|
showPayButton?: boolean;
|
|
3839
3917
|
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
3840
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
3918
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
3841
3919
|
clientKey?: string;
|
|
3842
3920
|
elementRef?: any;
|
|
3843
3921
|
label?: string;
|
|
@@ -3886,7 +3964,11 @@ declare class OxxoElement extends UIElement<VoucherConfiguration> {
|
|
|
3886
3964
|
name: string;
|
|
3887
3965
|
};
|
|
3888
3966
|
get isValid(): boolean;
|
|
3889
|
-
formatData():
|
|
3967
|
+
formatData(): {
|
|
3968
|
+
paymentMethod: {
|
|
3969
|
+
type: string;
|
|
3970
|
+
};
|
|
3971
|
+
};
|
|
3890
3972
|
private handleRef;
|
|
3891
3973
|
render(): h.JSX.Element;
|
|
3892
3974
|
}
|
|
@@ -3928,8 +4010,10 @@ declare class GiftcardElement extends UIElement<GiftCardConfiguration> {
|
|
|
3928
4010
|
get displayName(): any;
|
|
3929
4011
|
private handleBalanceCheck;
|
|
3930
4012
|
private onOrderRequest;
|
|
3931
|
-
balanceCheck():
|
|
3932
|
-
onBalanceCheck
|
|
4013
|
+
balanceCheck(): void;
|
|
4014
|
+
private onBalanceCheck;
|
|
4015
|
+
private handleOnRequiringConfirmation;
|
|
4016
|
+
submit(): boolean;
|
|
3933
4017
|
payButton: (props: any) => h.JSX.Element;
|
|
3934
4018
|
render(): h.JSX.Element;
|
|
3935
4019
|
}
|
|
@@ -3980,19 +4064,20 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
3980
4064
|
risk?: RiskElement;
|
|
3981
4065
|
};
|
|
3982
4066
|
isDropin?: boolean;
|
|
3983
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
3984
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
3985
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
4067
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
4068
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
4069
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
3986
4070
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3987
4071
|
url: string;
|
|
3988
4072
|
method: string;
|
|
3989
4073
|
data?: any;
|
|
3990
4074
|
}) => void;
|
|
3991
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
3992
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
4075
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4076
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
3993
4077
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
3994
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
3995
|
-
|
|
4078
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
4079
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
4080
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
3996
4081
|
onOrderUpdated?: (data: {
|
|
3997
4082
|
order: Order;
|
|
3998
4083
|
}) => void;
|
|
@@ -4002,12 +4087,12 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
4002
4087
|
}) => void;
|
|
4003
4088
|
environment?: string;
|
|
4004
4089
|
session?: Session;
|
|
4005
|
-
onComplete?: (state: any, element: UIElement
|
|
4090
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
4006
4091
|
isInstantPayment?: boolean;
|
|
4007
4092
|
isStoredPaymentMethod?: boolean;
|
|
4008
4093
|
oneClick?: boolean;
|
|
4009
4094
|
storedPaymentMethodId?: string;
|
|
4010
|
-
statusType?: "
|
|
4095
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
4011
4096
|
name?: string;
|
|
4012
4097
|
icon?: string;
|
|
4013
4098
|
amount?: PaymentAmount;
|
|
@@ -4015,7 +4100,7 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
4015
4100
|
showPayButton?: boolean;
|
|
4016
4101
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
4017
4102
|
loadingContext?: string;
|
|
4018
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
4103
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4019
4104
|
clientKey?: string;
|
|
4020
4105
|
elementRef?: any;
|
|
4021
4106
|
i18n?: Language;
|
|
@@ -4032,7 +4117,7 @@ declare class AchElement extends UIElement<AchConfiguration> {
|
|
|
4032
4117
|
hasHolderName?: boolean;
|
|
4033
4118
|
enableStoreDetails: boolean;
|
|
4034
4119
|
bankAccountNumber: string;
|
|
4035
|
-
placeholders?:
|
|
4120
|
+
placeholders?: Placeholders;
|
|
4036
4121
|
order?: Order;
|
|
4037
4122
|
modules?: {
|
|
4038
4123
|
srPanel?: SRPanel;
|
|
@@ -4041,19 +4126,20 @@ declare class AchElement extends UIElement<AchConfiguration> {
|
|
|
4041
4126
|
risk?: RiskElement;
|
|
4042
4127
|
};
|
|
4043
4128
|
isDropin?: boolean;
|
|
4044
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
4045
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
4046
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
4129
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
4130
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
4131
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
4047
4132
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4048
4133
|
url: string;
|
|
4049
4134
|
method: string;
|
|
4050
4135
|
data?: any;
|
|
4051
4136
|
}) => void;
|
|
4052
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
4053
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
4137
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4138
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4054
4139
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4055
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
4056
|
-
|
|
4140
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
4141
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
4142
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
4057
4143
|
onOrderUpdated?: (data: {
|
|
4058
4144
|
order: Order;
|
|
4059
4145
|
}) => void;
|
|
@@ -4063,13 +4149,11 @@ declare class AchElement extends UIElement<AchConfiguration> {
|
|
|
4063
4149
|
}) => void;
|
|
4064
4150
|
environment?: string;
|
|
4065
4151
|
session?: Session;
|
|
4066
|
-
onComplete?: (state: any, element: UIElement
|
|
4067
|
-
* Formats the component data output
|
|
4068
|
-
*/
|
|
4152
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
4069
4153
|
isInstantPayment?: boolean;
|
|
4070
4154
|
isStoredPaymentMethod?: boolean;
|
|
4071
4155
|
oneClick?: boolean;
|
|
4072
|
-
statusType?: "
|
|
4156
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
4073
4157
|
type?: string;
|
|
4074
4158
|
name?: string;
|
|
4075
4159
|
icon?: string;
|
|
@@ -4078,7 +4162,7 @@ declare class AchElement extends UIElement<AchConfiguration> {
|
|
|
4078
4162
|
showPayButton?: boolean;
|
|
4079
4163
|
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
4080
4164
|
loadingContext?: string;
|
|
4081
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
4165
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4082
4166
|
clientKey?: string;
|
|
4083
4167
|
elementRef?: any;
|
|
4084
4168
|
i18n?: Language;
|
|
@@ -4297,15 +4381,86 @@ declare class RatePayDirectDebit extends OpenInvoiceContainer {
|
|
|
4297
4381
|
formatProps(props: any): any;
|
|
4298
4382
|
}
|
|
4299
4383
|
|
|
4384
|
+
/**
|
|
4385
|
+
* For mobile:
|
|
4386
|
+
* We should show upi_collect or upi_intent depending on if `apps` are returned in /paymentMethods response
|
|
4387
|
+
* The upi_qr should always be on the second tab
|
|
4388
|
+
*
|
|
4389
|
+
* For non-mobile:
|
|
4390
|
+
* We should never show the upi_intent (ignore `apps` in /paymentMethods response)
|
|
4391
|
+
* The upi_qr should be on the first tab and the upi_collect should be on second tab
|
|
4392
|
+
*/
|
|
4300
4393
|
declare class UPI extends UIElement<UPIConfiguration> {
|
|
4301
4394
|
static type: TxVariants;
|
|
4302
4395
|
static txVariants: TxVariants[];
|
|
4303
|
-
private
|
|
4304
|
-
|
|
4305
|
-
|
|
4396
|
+
private selectedMode;
|
|
4397
|
+
constructor(checkout: ICore, props: UPIConfiguration);
|
|
4398
|
+
formatProps(props: UPIConfiguration): {
|
|
4399
|
+
defaultMode: UpiMode;
|
|
4400
|
+
apps: {
|
|
4401
|
+
type: TxVariants;
|
|
4402
|
+
id: string;
|
|
4403
|
+
name: string;
|
|
4404
|
+
}[];
|
|
4405
|
+
url?: string;
|
|
4406
|
+
paymentData?: string;
|
|
4407
|
+
qrCodeData?: string;
|
|
4408
|
+
brandLogo?: string;
|
|
4409
|
+
order?: Order;
|
|
4410
|
+
modules?: {
|
|
4411
|
+
srPanel?: SRPanel;
|
|
4412
|
+
analytics?: AnalyticsModule;
|
|
4413
|
+
resources?: Resources;
|
|
4414
|
+
risk?: RiskElement;
|
|
4415
|
+
};
|
|
4416
|
+
isDropin?: boolean;
|
|
4417
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
4418
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
4419
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
4420
|
+
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4421
|
+
url: string;
|
|
4422
|
+
method: string;
|
|
4423
|
+
data?: any;
|
|
4424
|
+
}) => void;
|
|
4425
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4426
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4427
|
+
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4428
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
4429
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
4430
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
4431
|
+
onOrderUpdated?: (data: {
|
|
4432
|
+
order: Order;
|
|
4433
|
+
}) => void;
|
|
4434
|
+
onPaymentMethodsRequest?: (data: PaymentMethodsRequestData, actions: {
|
|
4435
|
+
resolve: (response: PaymentMethodsResponse) => void;
|
|
4436
|
+
reject: () => void;
|
|
4437
|
+
}) => void;
|
|
4438
|
+
environment?: string;
|
|
4439
|
+
session?: Session;
|
|
4440
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
4441
|
+
isInstantPayment?: boolean;
|
|
4442
|
+
isStoredPaymentMethod?: boolean;
|
|
4443
|
+
oneClick?: boolean;
|
|
4444
|
+
storedPaymentMethodId?: string;
|
|
4445
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
4446
|
+
type?: string;
|
|
4447
|
+
name?: string;
|
|
4448
|
+
icon?: string;
|
|
4449
|
+
amount?: PaymentAmount;
|
|
4450
|
+
secondaryAmount?: PaymentAmountExtended;
|
|
4451
|
+
showPayButton?: boolean;
|
|
4452
|
+
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
4453
|
+
loadingContext?: string;
|
|
4454
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4455
|
+
clientKey?: string;
|
|
4456
|
+
elementRef?: any;
|
|
4457
|
+
i18n?: Language;
|
|
4458
|
+
label?: string;
|
|
4459
|
+
paymentMethodType?: string;
|
|
4306
4460
|
};
|
|
4307
4461
|
get isValid(): boolean;
|
|
4308
4462
|
formatData(): UpiPaymentData;
|
|
4463
|
+
get paymentType(): UpiType;
|
|
4309
4464
|
private onUpdateMode;
|
|
4310
4465
|
private renderContent;
|
|
4311
4466
|
render(): h.JSX.Element;
|
|
@@ -4369,19 +4524,20 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
4369
4524
|
risk?: RiskElement;
|
|
4370
4525
|
};
|
|
4371
4526
|
isDropin?: boolean;
|
|
4372
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
4373
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
4374
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
4527
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
4528
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
4529
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
4375
4530
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4376
4531
|
url: string;
|
|
4377
4532
|
method: string;
|
|
4378
4533
|
data?: any;
|
|
4379
4534
|
}) => void;
|
|
4380
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
4381
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
4535
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4536
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4382
4537
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4383
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
4384
|
-
|
|
4538
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
4539
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
4540
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
4385
4541
|
onOrderUpdated?: (data: {
|
|
4386
4542
|
order: Order;
|
|
4387
4543
|
}) => void;
|
|
@@ -4391,12 +4547,12 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
4391
4547
|
}) => void;
|
|
4392
4548
|
environment?: string;
|
|
4393
4549
|
session?: Session;
|
|
4394
|
-
onComplete?: (state: any, element: UIElement
|
|
4550
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
4395
4551
|
isInstantPayment?: boolean;
|
|
4396
4552
|
isStoredPaymentMethod?: boolean;
|
|
4397
4553
|
oneClick?: boolean;
|
|
4398
4554
|
storedPaymentMethodId?: string;
|
|
4399
|
-
statusType?: "
|
|
4555
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
4400
4556
|
name?: string;
|
|
4401
4557
|
icon?: string;
|
|
4402
4558
|
amount?: PaymentAmount;
|
|
@@ -4404,7 +4560,7 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
4404
4560
|
showPayButton?: boolean;
|
|
4405
4561
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
4406
4562
|
loadingContext?: string;
|
|
4407
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
4563
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4408
4564
|
clientKey?: string;
|
|
4409
4565
|
elementRef?: any;
|
|
4410
4566
|
i18n?: Language;
|
|
@@ -4436,19 +4592,20 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
4436
4592
|
risk?: RiskElement;
|
|
4437
4593
|
};
|
|
4438
4594
|
isDropin?: boolean;
|
|
4439
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
4440
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
4441
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
4595
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
4596
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
4597
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
4442
4598
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4443
4599
|
url: string;
|
|
4444
4600
|
method: string;
|
|
4445
4601
|
data?: any;
|
|
4446
4602
|
}) => void;
|
|
4447
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
4448
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
4603
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4604
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4449
4605
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4450
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
4451
|
-
|
|
4606
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
4607
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
4608
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
4452
4609
|
onOrderUpdated?: (data: {
|
|
4453
4610
|
order: Order;
|
|
4454
4611
|
}) => void;
|
|
@@ -4458,12 +4615,12 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
4458
4615
|
}) => void;
|
|
4459
4616
|
environment?: string;
|
|
4460
4617
|
session?: Session;
|
|
4461
|
-
onComplete?: (state: any, element: UIElement
|
|
4618
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
4462
4619
|
isInstantPayment?: boolean;
|
|
4463
4620
|
isStoredPaymentMethod?: boolean;
|
|
4464
4621
|
oneClick?: boolean;
|
|
4465
4622
|
storedPaymentMethodId?: string;
|
|
4466
|
-
statusType?: "
|
|
4623
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
4467
4624
|
name?: string;
|
|
4468
4625
|
icon?: string;
|
|
4469
4626
|
amount?: PaymentAmount;
|
|
@@ -4471,7 +4628,7 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
4471
4628
|
showPayButton?: boolean;
|
|
4472
4629
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
4473
4630
|
loadingContext?: string;
|
|
4474
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
4631
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4475
4632
|
clientKey?: string;
|
|
4476
4633
|
elementRef?: any;
|
|
4477
4634
|
i18n?: Language;
|
|
@@ -4501,7 +4658,7 @@ declare class Riverty extends OpenInvoiceContainer {
|
|
|
4501
4658
|
deliveryAddress?: AddressData;
|
|
4502
4659
|
bankAccount?: BankDetailsSchema;
|
|
4503
4660
|
};
|
|
4504
|
-
onChange?: (state: any, element?: UIElement
|
|
4661
|
+
onChange?: (state: any, element?: UIElement) => void;
|
|
4505
4662
|
payButton?: any;
|
|
4506
4663
|
visibility?: OpenInvoiceVisibility;
|
|
4507
4664
|
personalDetailsRequiredFields: string[];
|
|
@@ -4516,18 +4673,19 @@ declare class Riverty extends OpenInvoiceContainer {
|
|
|
4516
4673
|
risk?: RiskElement;
|
|
4517
4674
|
};
|
|
4518
4675
|
isDropin?: boolean;
|
|
4519
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
4520
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
4676
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
4677
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
4521
4678
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4522
4679
|
url: string;
|
|
4523
4680
|
method: string;
|
|
4524
4681
|
data?: any;
|
|
4525
4682
|
}) => void;
|
|
4526
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
4527
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
4683
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
4684
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
4528
4685
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
4529
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
4530
|
-
|
|
4686
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
4687
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
4688
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
4531
4689
|
onOrderUpdated?: (data: {
|
|
4532
4690
|
order: Order;
|
|
4533
4691
|
}) => void;
|
|
@@ -4537,12 +4695,12 @@ declare class Riverty extends OpenInvoiceContainer {
|
|
|
4537
4695
|
}) => void;
|
|
4538
4696
|
environment?: string;
|
|
4539
4697
|
session?: Session;
|
|
4540
|
-
onComplete?: (state: any, element: UIElement
|
|
4698
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
4541
4699
|
isInstantPayment?: boolean;
|
|
4542
4700
|
isStoredPaymentMethod?: boolean;
|
|
4543
4701
|
oneClick?: boolean;
|
|
4544
4702
|
storedPaymentMethodId?: string;
|
|
4545
|
-
statusType?: "
|
|
4703
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
4546
4704
|
type?: string;
|
|
4547
4705
|
name?: string;
|
|
4548
4706
|
icon?: string;
|
|
@@ -4550,7 +4708,7 @@ declare class Riverty extends OpenInvoiceContainer {
|
|
|
4550
4708
|
secondaryAmount?: PaymentAmountExtended;
|
|
4551
4709
|
showPayButton?: boolean;
|
|
4552
4710
|
loadingContext?: string;
|
|
4553
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
4711
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
4554
4712
|
clientKey?: string;
|
|
4555
4713
|
elementRef?: any;
|
|
4556
4714
|
i18n?: Language;
|
|
@@ -4673,6 +4831,7 @@ declare const ComponentsMap: {
|
|
|
4673
4831
|
klarna: typeof KlarnaPayments;
|
|
4674
4832
|
klarna_account: typeof KlarnaPayments;
|
|
4675
4833
|
klarna_paynow: typeof KlarnaPayments;
|
|
4834
|
+
klarna_b2b: typeof KlarnaPayments;
|
|
4676
4835
|
/** Klarna */
|
|
4677
4836
|
/** QRLoader */
|
|
4678
4837
|
bcmc_mobile: typeof BCMCMobileElement;
|
|
@@ -4692,6 +4851,7 @@ declare const ComponentsMap: {
|
|
|
4692
4851
|
upi: typeof UPI;
|
|
4693
4852
|
upi_qr: typeof UPI;
|
|
4694
4853
|
upi_collect: typeof UPI;
|
|
4854
|
+
upi_intent: typeof UPI;
|
|
4695
4855
|
/** Await */
|
|
4696
4856
|
/** Giftcard */
|
|
4697
4857
|
giftcard: typeof GiftcardElement;
|
|
@@ -4703,13 +4863,13 @@ declare const ComponentsMap: {
|
|
|
4703
4863
|
/**
|
|
4704
4864
|
* Available components
|
|
4705
4865
|
*/
|
|
4706
|
-
type PaymentMethods = typeof ComponentsMap;
|
|
4866
|
+
type PaymentMethods$1 = typeof ComponentsMap;
|
|
4707
4867
|
/**
|
|
4708
4868
|
* Options for a component
|
|
4709
4869
|
*/
|
|
4710
|
-
type PaymentMethodOptions<P extends keyof PaymentMethods> = InstanceType<PaymentMethods[P]>['props'];
|
|
4870
|
+
type PaymentMethodOptions<P extends keyof PaymentMethods$1> = InstanceType<PaymentMethods$1[P]>['props'];
|
|
4711
4871
|
type PaymentMethodsConfigurationMap = {
|
|
4712
|
-
[key in keyof PaymentMethods]?: Partial<PaymentMethodOptions<key>>;
|
|
4872
|
+
[key in keyof PaymentMethods$1]?: Partial<PaymentMethodOptions<key>>;
|
|
4713
4873
|
};
|
|
4714
4874
|
type PaymentActionTypesMap = {
|
|
4715
4875
|
[key in PaymentActionsType]?: Partial<UIElementProps>;
|
|
@@ -4839,14 +4999,75 @@ interface DropinComponentState {
|
|
|
4839
4999
|
}
|
|
4840
5000
|
interface IDropin {
|
|
4841
5001
|
/**
|
|
4842
|
-
* Used to make the Dropin display the final animation
|
|
4843
|
-
*
|
|
4844
|
-
* @internal
|
|
4845
|
-
* @param type - animation type
|
|
5002
|
+
* Used to make the Dropin display the final animation
|
|
5003
|
+
*
|
|
5004
|
+
* @internal
|
|
5005
|
+
* @param type - animation type
|
|
5006
|
+
*/
|
|
5007
|
+
displayFinalAnimation(type: 'success' | 'error'): void;
|
|
5008
|
+
activePaymentMethod: () => null;
|
|
5009
|
+
closeActivePaymentMethod: () => void;
|
|
5010
|
+
}
|
|
5011
|
+
|
|
5012
|
+
declare class Session {
|
|
5013
|
+
private readonly session;
|
|
5014
|
+
private readonly storage;
|
|
5015
|
+
readonly clientKey: string;
|
|
5016
|
+
readonly loadingContext: string;
|
|
5017
|
+
configuration: SessionConfiguration;
|
|
5018
|
+
constructor(rawSession: Partial<CheckoutSession>, clientKey: string, loadingContext: string);
|
|
5019
|
+
get shopperLocale(): string;
|
|
5020
|
+
get id(): string;
|
|
5021
|
+
get data(): string;
|
|
5022
|
+
/**
|
|
5023
|
+
* Updates the session.data with the latest data blob
|
|
5024
|
+
*/
|
|
5025
|
+
private updateSessionData;
|
|
5026
|
+
/**
|
|
5027
|
+
* Fetches data from a session
|
|
5028
|
+
*/
|
|
5029
|
+
setupSession(options: any): Promise<CheckoutSessionSetupResponse>;
|
|
5030
|
+
/**
|
|
5031
|
+
* Submits a session payment
|
|
4846
5032
|
*/
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
5033
|
+
submitPayment(data: any): Promise<CheckoutSessionPaymentResponse>;
|
|
5034
|
+
/**
|
|
5035
|
+
* Submits session payment additional details
|
|
5036
|
+
*/
|
|
5037
|
+
submitDetails(data: AdditionalDetailsData['data']): Promise<CheckoutSessionDetailsResponse>;
|
|
5038
|
+
/**
|
|
5039
|
+
* Checks the balance for a payment method
|
|
5040
|
+
*/
|
|
5041
|
+
checkBalance(data: any): Promise<CheckoutSessionBalanceResponse>;
|
|
5042
|
+
/**
|
|
5043
|
+
* Creates an order for the current session
|
|
5044
|
+
*/
|
|
5045
|
+
createOrder(): Promise<CheckoutSessionOrdersResponse>;
|
|
5046
|
+
/**
|
|
5047
|
+
* Cancels an order for the current session
|
|
5048
|
+
*/
|
|
5049
|
+
cancelOrder(data: onOrderCancelData): Promise<CheckoutSessionOrdersResponse>;
|
|
5050
|
+
/**
|
|
5051
|
+
* Gets the stored session but only if the current id and the stored id match
|
|
5052
|
+
*/
|
|
5053
|
+
getStoredSession(): CheckoutSession;
|
|
5054
|
+
/**
|
|
5055
|
+
* Stores the session
|
|
5056
|
+
*/
|
|
5057
|
+
storeSession(): void;
|
|
5058
|
+
/**
|
|
5059
|
+
* Clears the stored session
|
|
5060
|
+
*/
|
|
5061
|
+
removeStoredSession(): void;
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
declare class PaymentMethods {
|
|
5065
|
+
paymentMethods: PaymentMethod[];
|
|
5066
|
+
storedPaymentMethods: StoredPaymentMethod[];
|
|
5067
|
+
constructor(response: PaymentMethodsResponse, options?: {});
|
|
5068
|
+
private mapCreatedComponentType;
|
|
5069
|
+
has(paymentMethod: string): boolean;
|
|
5070
|
+
find(paymentMethod: string): PaymentMethod;
|
|
4850
5071
|
}
|
|
4851
5072
|
|
|
4852
5073
|
interface ICore {
|
|
@@ -4860,7 +5081,7 @@ interface ICore {
|
|
|
4860
5081
|
createFromAction(action: PaymentAction, options: any): UIElement;
|
|
4861
5082
|
storeElementReference(element: UIElement): void;
|
|
4862
5083
|
options: CoreConfiguration;
|
|
4863
|
-
paymentMethodsResponse: PaymentMethods
|
|
5084
|
+
paymentMethodsResponse: PaymentMethods;
|
|
4864
5085
|
session?: Session;
|
|
4865
5086
|
}
|
|
4866
5087
|
type PaymentCompletedData = SessionsResponse | {
|
|
@@ -4931,7 +5152,7 @@ interface CoreConfiguration {
|
|
|
4931
5152
|
/**
|
|
4932
5153
|
* Use 'test'. When you're ready to accept live payments, change the value to one of our {@link https://docs.adyen.com/checkout/drop-in-web#testing-your-integration | live environments}.
|
|
4933
5154
|
*/
|
|
4934
|
-
environment?: 'test' | 'live' | 'live-us' | 'live-au' | 'live-apse' | 'live-in'
|
|
5155
|
+
environment?: 'test' | 'live' | 'live-us' | 'live-au' | 'live-apse' | 'live-in';
|
|
4935
5156
|
/**
|
|
4936
5157
|
* Show or hides a Pay Button for each payment method
|
|
4937
5158
|
* @default true
|
|
@@ -5073,6 +5294,11 @@ interface CoreConfiguration {
|
|
|
5073
5294
|
onError?(error: AdyenCheckoutError, component?: UIElement): void;
|
|
5074
5295
|
onBalanceCheck?: onBalanceCheckCallbackType;
|
|
5075
5296
|
onOrderRequest?: onOrderRequestCallbackType;
|
|
5297
|
+
/**
|
|
5298
|
+
* Called when a Component detects, or is told by a SecuredField, that the Enter key has been pressed.
|
|
5299
|
+
* - merchant set config option
|
|
5300
|
+
*/
|
|
5301
|
+
onEnterKeyPressed?(activeElement: Element, component: UIElement): void;
|
|
5076
5302
|
/**
|
|
5077
5303
|
* Callback called when it is required to fetch/update the payment methods list.
|
|
5078
5304
|
* It is currently used mainly on Giftcard flow (Partial orders), since the payment method list might change depending on the amount left to be paid
|
|
@@ -5136,6 +5362,7 @@ declare abstract class BaseElement<P extends BaseElementProps> implements IBaseE
|
|
|
5136
5362
|
protected formatData(): any;
|
|
5137
5363
|
protected setUpAnalytics(setUpAnalyticsObj: AnalyticsInitialEvent): any;
|
|
5138
5364
|
protected submitAnalytics(analyticsObj?: SendAnalyticsObject): any;
|
|
5365
|
+
protected handleKeyPress(e: h.JSX.TargetedKeyboardEvent<HTMLInputElement>): any;
|
|
5139
5366
|
protected setState(newState: object): void;
|
|
5140
5367
|
/**
|
|
5141
5368
|
* Returns the component payment data ready to submit to the Checkout API
|
|
@@ -5224,9 +5451,15 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
5224
5451
|
* @param rawResponse -
|
|
5225
5452
|
*/
|
|
5226
5453
|
protected handleResponse(rawResponse: RawPaymentResponse): void;
|
|
5454
|
+
protected handleKeyPress(e: h.JSX.TargetedKeyboardEvent<HTMLInputElement> | KeyboardEvent): void;
|
|
5455
|
+
/**
|
|
5456
|
+
* Handle Enter key pressed from a UIElement (called via handleKeyPress)
|
|
5457
|
+
* @param obj
|
|
5458
|
+
*/
|
|
5459
|
+
protected onEnterKeyPressed(activeElement: Element, component: UIElement): void;
|
|
5227
5460
|
/**
|
|
5228
5461
|
* Call update on parent instance
|
|
5229
|
-
* This function exist to make safe access to the
|
|
5462
|
+
* This function exist to make safe access to the protected _parentInstance
|
|
5230
5463
|
* @param options - CoreOptions
|
|
5231
5464
|
*/
|
|
5232
5465
|
updateParent(options?: CoreConfiguration): Promise<ICore>;
|
|
@@ -5299,7 +5532,7 @@ interface PaymentAction {
|
|
|
5299
5532
|
/**
|
|
5300
5533
|
* General type of action that needs to be taken by the client
|
|
5301
5534
|
*/
|
|
5302
|
-
type: PaymentActionsType
|
|
5535
|
+
type: PaymentActionsType;
|
|
5303
5536
|
/**
|
|
5304
5537
|
* Refinement of type of action that needs to be taken by the client (currently only applies to the new 'threeDS2' type)
|
|
5305
5538
|
*/
|
|
@@ -5591,117 +5824,6 @@ type DecodeObject = {
|
|
|
5591
5824
|
data?: string;
|
|
5592
5825
|
};
|
|
5593
5826
|
|
|
5594
|
-
interface InstallmentOptions {
|
|
5595
|
-
[key: string]: {
|
|
5596
|
-
values: number[];
|
|
5597
|
-
plans?: string[];
|
|
5598
|
-
preselectedValue?: number;
|
|
5599
|
-
};
|
|
5600
|
-
}
|
|
5601
|
-
|
|
5602
|
-
type CheckoutSession = {
|
|
5603
|
-
id: string;
|
|
5604
|
-
sessionData: string;
|
|
5605
|
-
shopperLocale?: string;
|
|
5606
|
-
shopperEmail?: string;
|
|
5607
|
-
telephoneNumber?: string;
|
|
5608
|
-
};
|
|
5609
|
-
type SessionConfiguration = {
|
|
5610
|
-
installmentOptions?: InstallmentOptions;
|
|
5611
|
-
enableStoreDetails?: boolean;
|
|
5612
|
-
};
|
|
5613
|
-
type CheckoutSessionSetupResponse = {
|
|
5614
|
-
id: string;
|
|
5615
|
-
sessionData: string;
|
|
5616
|
-
countryCode?: string;
|
|
5617
|
-
amount: PaymentAmount;
|
|
5618
|
-
expiresAt: string;
|
|
5619
|
-
paymentMethods: any;
|
|
5620
|
-
returnUrl: string;
|
|
5621
|
-
configuration: SessionConfiguration;
|
|
5622
|
-
/**
|
|
5623
|
-
* 'shopperLocale' set during session creation.
|
|
5624
|
-
* @defaultValue en-US
|
|
5625
|
-
*/
|
|
5626
|
-
shopperLocale: string;
|
|
5627
|
-
};
|
|
5628
|
-
type CheckoutSessionPaymentResponse = {
|
|
5629
|
-
sessionData: string;
|
|
5630
|
-
sessionResult: string;
|
|
5631
|
-
status?: string;
|
|
5632
|
-
resultCode: ResultCode;
|
|
5633
|
-
action?: PaymentAction;
|
|
5634
|
-
};
|
|
5635
|
-
type CheckoutSessionDetailsResponse = {
|
|
5636
|
-
sessionData: string;
|
|
5637
|
-
sessionResult: string;
|
|
5638
|
-
resultCode: ResultCode;
|
|
5639
|
-
status?: string;
|
|
5640
|
-
action?: PaymentAction;
|
|
5641
|
-
};
|
|
5642
|
-
type CheckoutSessionBalanceResponse = {
|
|
5643
|
-
sessionData: string;
|
|
5644
|
-
balance?: PaymentAmount;
|
|
5645
|
-
transactionLimit?: PaymentAmount;
|
|
5646
|
-
};
|
|
5647
|
-
type CheckoutSessionOrdersResponse = {
|
|
5648
|
-
sessionData: string;
|
|
5649
|
-
orderData: string;
|
|
5650
|
-
pspReference: string;
|
|
5651
|
-
};
|
|
5652
|
-
|
|
5653
|
-
declare class Session {
|
|
5654
|
-
private readonly session;
|
|
5655
|
-
private readonly storage;
|
|
5656
|
-
readonly clientKey: string;
|
|
5657
|
-
readonly loadingContext: string;
|
|
5658
|
-
configuration: SessionConfiguration;
|
|
5659
|
-
constructor(rawSession: Partial<CheckoutSession>, clientKey: string, loadingContext: string);
|
|
5660
|
-
get shopperLocale(): string;
|
|
5661
|
-
get id(): string;
|
|
5662
|
-
get data(): string;
|
|
5663
|
-
/**
|
|
5664
|
-
* Updates the session.data with the latest data blob
|
|
5665
|
-
*/
|
|
5666
|
-
private updateSessionData;
|
|
5667
|
-
/**
|
|
5668
|
-
* Fetches data from a session
|
|
5669
|
-
*/
|
|
5670
|
-
setupSession(options: any): Promise<CheckoutSessionSetupResponse>;
|
|
5671
|
-
/**
|
|
5672
|
-
* Submits a session payment
|
|
5673
|
-
*/
|
|
5674
|
-
submitPayment(data: any): Promise<CheckoutSessionPaymentResponse>;
|
|
5675
|
-
/**
|
|
5676
|
-
* Submits session payment additional details
|
|
5677
|
-
*/
|
|
5678
|
-
submitDetails(data: AdditionalDetailsData['data']): Promise<CheckoutSessionDetailsResponse>;
|
|
5679
|
-
/**
|
|
5680
|
-
* Checks the balance for a payment method
|
|
5681
|
-
*/
|
|
5682
|
-
checkBalance(data: any): Promise<CheckoutSessionBalanceResponse>;
|
|
5683
|
-
/**
|
|
5684
|
-
* Creates an order for the current session
|
|
5685
|
-
*/
|
|
5686
|
-
createOrder(): Promise<CheckoutSessionOrdersResponse>;
|
|
5687
|
-
/**
|
|
5688
|
-
* Cancels an order for the current session
|
|
5689
|
-
*/
|
|
5690
|
-
cancelOrder(data: onOrderCancelData): Promise<CheckoutSessionOrdersResponse>;
|
|
5691
|
-
/**
|
|
5692
|
-
* Gets the stored session but only if the current id and the stored id match
|
|
5693
|
-
*/
|
|
5694
|
-
getStoredSession(): CheckoutSession;
|
|
5695
|
-
/**
|
|
5696
|
-
* Stores the session
|
|
5697
|
-
*/
|
|
5698
|
-
storeSession(): void;
|
|
5699
|
-
/**
|
|
5700
|
-
* Clears the stored session
|
|
5701
|
-
*/
|
|
5702
|
-
removeStoredSession(): void;
|
|
5703
|
-
}
|
|
5704
|
-
|
|
5705
5827
|
declare class CardElement extends UIElement<CardConfiguration> {
|
|
5706
5828
|
static type: TxVariants;
|
|
5707
5829
|
private readonly clickToPayService;
|
|
@@ -5710,146 +5832,10 @@ declare class CardElement extends UIElement<CardConfiguration> {
|
|
|
5710
5832
|
*/
|
|
5711
5833
|
private clickToPayRef;
|
|
5712
5834
|
constructor(checkout: ICore, props?: CardConfiguration);
|
|
5713
|
-
protected static defaultProps:
|
|
5714
|
-
onBinLookup: () => void;
|
|
5715
|
-
_disableClickToPay: boolean;
|
|
5716
|
-
};
|
|
5835
|
+
protected static defaultProps: any;
|
|
5717
5836
|
setStatus(status: UIElementStatus, props?: any): this;
|
|
5718
5837
|
private setClickToPayRef;
|
|
5719
|
-
formatProps(props: CardConfiguration):
|
|
5720
|
-
storedPaymentMethodId: string;
|
|
5721
|
-
holderNameRequired: boolean;
|
|
5722
|
-
hasCVC: boolean;
|
|
5723
|
-
billingAddressRequired: boolean;
|
|
5724
|
-
/** props.brand will be specified in the case of a StoredCard or a Bancontact component, for a regular Card we default it to 'card' */
|
|
5725
|
-
brand: string;
|
|
5726
|
-
countryCode: string;
|
|
5727
|
-
configuration: {
|
|
5728
|
-
socialSecurityNumberMode: SocialSecurityMode;
|
|
5729
|
-
visaSrciDpaId?: string;
|
|
5730
|
-
visaSrcInitiatorId?: string;
|
|
5731
|
-
mcSrcClientId?: string;
|
|
5732
|
-
mcDpaId?: string;
|
|
5733
|
-
merchantIdentifier?: string;
|
|
5734
|
-
merchantOrigin?: string;
|
|
5735
|
-
gatewayMerchantId?: string;
|
|
5736
|
-
publicKeyId?: string;
|
|
5737
|
-
region?: string;
|
|
5738
|
-
merchantName?: string;
|
|
5739
|
-
merchantId?: string;
|
|
5740
|
-
intent?: string;
|
|
5741
|
-
koreanAuthenticationRequired?: boolean;
|
|
5742
|
-
icon?: string;
|
|
5743
|
-
brandsConfiguration?: CardBrandsConfiguration;
|
|
5744
|
-
};
|
|
5745
|
-
brandsConfiguration: CardBrandsConfiguration;
|
|
5746
|
-
icon: string;
|
|
5747
|
-
installmentOptions: InstallmentOptions;
|
|
5748
|
-
enableStoreDetails: boolean;
|
|
5749
|
-
showStoreDetailsCheckbox: boolean;
|
|
5750
|
-
/**
|
|
5751
|
-
* Click to Pay configuration
|
|
5752
|
-
* - If email is set explicitly in the configuration, then it can override the one used in the session creation
|
|
5753
|
-
*/
|
|
5754
|
-
clickToPayConfiguration: {
|
|
5755
|
-
disableOtpAutoFocus: boolean;
|
|
5756
|
-
shopperEmail: string;
|
|
5757
|
-
telephoneNumber: string;
|
|
5758
|
-
locale: string;
|
|
5759
|
-
merchantDisplayName?: string;
|
|
5760
|
-
onReady?(): void;
|
|
5761
|
-
onTimeout?(error: TimeoutError): void;
|
|
5762
|
-
};
|
|
5763
|
-
autoFocus?: boolean;
|
|
5764
|
-
billingAddressAllowedCountries?: string[];
|
|
5765
|
-
billingAddressMode?: "none" | "full" | "partial";
|
|
5766
|
-
billingAddressRequiredFields?: string[];
|
|
5767
|
-
brands?: string[];
|
|
5768
|
-
challengeWindowSize?: "02" | "01" | "03" | "04" | "05";
|
|
5769
|
-
data?: {
|
|
5770
|
-
holderName?: string;
|
|
5771
|
-
billingAddress?: Partial<AddressData>;
|
|
5772
|
-
};
|
|
5773
|
-
_disableClickToPay?: boolean;
|
|
5774
|
-
disableIOSArrowKeys?: boolean;
|
|
5775
|
-
disclaimerMessage?: DisclaimerMsgObject;
|
|
5776
|
-
doBinLookup?: boolean;
|
|
5777
|
-
expiryMonth?: string;
|
|
5778
|
-
exposeExpiryDate?: boolean;
|
|
5779
|
-
forceCompat?: boolean;
|
|
5780
|
-
fundingSource?: "debit" | "credit";
|
|
5781
|
-
hasHolderName?: boolean;
|
|
5782
|
-
hideCVC?: boolean;
|
|
5783
|
-
id?: string;
|
|
5784
|
-
keypadFix?: boolean;
|
|
5785
|
-
lastFour?: string;
|
|
5786
|
-
legacyInputMode?: boolean;
|
|
5787
|
-
maskSecurityCode?: boolean;
|
|
5788
|
-
minimumExpiryDate?: string[];
|
|
5789
|
-
name?: string;
|
|
5790
|
-
onBinLookup?: (event: CbObjOnBinLookup) => void;
|
|
5791
|
-
onBinValue?: (event: CbObjOnBinValue) => void;
|
|
5792
|
-
onBlur?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
5793
|
-
onBrand?: (event: CbObjOnBrand) => void;
|
|
5794
|
-
onConfigSuccess?: (event: CbObjOnConfigSuccess) => void;
|
|
5795
|
-
onFieldValid?: (event: CbObjOnFieldValid) => void;
|
|
5796
|
-
onFocus?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
5797
|
-
onLoad?: (event: CbObjOnLoad) => void;
|
|
5798
|
-
placeholders?: Partial<Record<"cardNumber" | "expiryDate" | "holderName" | "expiryMonth" | "expiryYear" | "securityCodeThreeDigits" | "securityCodeFourDigits" | "password", string>>;
|
|
5799
|
-
positionHolderNameOnTop?: boolean;
|
|
5800
|
-
showBrandIcon?: boolean;
|
|
5801
|
-
showContextualElement?: boolean;
|
|
5802
|
-
showInstallmentAmounts?: boolean;
|
|
5803
|
-
styles?: StylesObject;
|
|
5804
|
-
supportedShopperInteractions?: string[];
|
|
5805
|
-
type?: string;
|
|
5806
|
-
order?: Order;
|
|
5807
|
-
modules?: {
|
|
5808
|
-
srPanel?: SRPanel;
|
|
5809
|
-
analytics?: AnalyticsModule;
|
|
5810
|
-
resources?: Resources;
|
|
5811
|
-
risk?: RiskElement;
|
|
5812
|
-
};
|
|
5813
|
-
isDropin?: boolean;
|
|
5814
|
-
onChange?: (state: OnChangeData, component: UIElement<UIElementProps>) => void;
|
|
5815
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement<UIElementProps>) => void;
|
|
5816
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement<UIElementProps>) => void;
|
|
5817
|
-
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5818
|
-
url: string;
|
|
5819
|
-
method: string;
|
|
5820
|
-
data?: any;
|
|
5821
|
-
}) => void;
|
|
5822
|
-
beforeSubmit?: (state: PaymentData, component: UIElement<UIElementProps>, actions: BeforeSubmitActions) => void;
|
|
5823
|
-
onSubmit?: (state: SubmitData, component: UIElement<UIElementProps>, actions: SubmitActions) => void;
|
|
5824
|
-
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
5825
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement<UIElementProps>, actions: AdditionalDetailsActions) => void;
|
|
5826
|
-
onError?: (error: AdyenCheckoutError, component?: UIElement<UIElementProps>) => void;
|
|
5827
|
-
onOrderUpdated?: (data: {
|
|
5828
|
-
order: Order;
|
|
5829
|
-
}) => void;
|
|
5830
|
-
onPaymentMethodsRequest?: (data: PaymentMethodsRequestData, actions: {
|
|
5831
|
-
resolve: (response: PaymentMethodsResponse) => void;
|
|
5832
|
-
reject: () => void;
|
|
5833
|
-
}) => void;
|
|
5834
|
-
environment?: string;
|
|
5835
|
-
session?: Session;
|
|
5836
|
-
onComplete?: (state: any, element: UIElement<UIElementProps>) => void;
|
|
5837
|
-
isInstantPayment?: boolean;
|
|
5838
|
-
isStoredPaymentMethod?: boolean;
|
|
5839
|
-
oneClick?: boolean;
|
|
5840
|
-
statusType?: "custom" | "loading" | "redirect";
|
|
5841
|
-
amount?: PaymentAmount;
|
|
5842
|
-
secondaryAmount?: PaymentAmountExtended;
|
|
5843
|
-
showPayButton?: boolean;
|
|
5844
|
-
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
5845
|
-
loadingContext?: string;
|
|
5846
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement<UIElementProps>;
|
|
5847
|
-
clientKey?: string;
|
|
5848
|
-
elementRef?: any;
|
|
5849
|
-
i18n?: Language;
|
|
5850
|
-
label?: string;
|
|
5851
|
-
paymentMethodType?: string;
|
|
5852
|
-
};
|
|
5838
|
+
formatProps(props: CardConfiguration): CardConfiguration;
|
|
5853
5839
|
/**
|
|
5854
5840
|
* Formats the component data output
|
|
5855
5841
|
*/
|
|
@@ -5881,7 +5867,7 @@ declare class CardElement extends UIElement<CardConfiguration> {
|
|
|
5881
5867
|
get displayName(): string;
|
|
5882
5868
|
get accessibleName(): string;
|
|
5883
5869
|
get browserInfo(): BrowserInfo;
|
|
5884
|
-
protected payButton: (props:
|
|
5870
|
+
protected payButton: (props: PayButtonFunctionProps) => h.JSX.Element;
|
|
5885
5871
|
private renderCardInput;
|
|
5886
5872
|
render(): h.JSX.Element;
|
|
5887
5873
|
}
|
|
@@ -5939,19 +5925,20 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
5939
5925
|
risk?: RiskElement;
|
|
5940
5926
|
};
|
|
5941
5927
|
isDropin?: boolean;
|
|
5942
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
5943
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
5944
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
5928
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
5929
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
5930
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
5945
5931
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5946
5932
|
url: string;
|
|
5947
5933
|
method: string;
|
|
5948
5934
|
data?: any;
|
|
5949
5935
|
}) => void;
|
|
5950
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
5951
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
5936
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
5937
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
5952
5938
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
5953
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
5954
|
-
|
|
5939
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
5940
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
5941
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
5955
5942
|
onOrderUpdated?: (data: {
|
|
5956
5943
|
order: Order;
|
|
5957
5944
|
}) => void;
|
|
@@ -5961,12 +5948,12 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
5961
5948
|
}) => void;
|
|
5962
5949
|
environment?: string;
|
|
5963
5950
|
session?: Session;
|
|
5964
|
-
onComplete?: (state: any, element: UIElement
|
|
5951
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
5965
5952
|
isInstantPayment?: boolean;
|
|
5966
5953
|
isStoredPaymentMethod?: boolean;
|
|
5967
5954
|
oneClick?: boolean;
|
|
5968
5955
|
storedPaymentMethodId?: string;
|
|
5969
|
-
statusType?: "
|
|
5956
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
5970
5957
|
name?: string;
|
|
5971
5958
|
icon?: string;
|
|
5972
5959
|
amount?: PaymentAmount;
|
|
@@ -5974,7 +5961,7 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
5974
5961
|
showPayButton?: boolean;
|
|
5975
5962
|
payButton?: (options: PayButtonFunctionProps) => preact.JSX.Element;
|
|
5976
5963
|
loadingContext?: string;
|
|
5977
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
5964
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
5978
5965
|
clientKey?: string;
|
|
5979
5966
|
elementRef?: any;
|
|
5980
5967
|
i18n?: Language;
|
|
@@ -6008,7 +5995,7 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
6008
5995
|
openFirstStoredPaymentMethod?: boolean;
|
|
6009
5996
|
openFirstPaymentMethod?: boolean;
|
|
6010
5997
|
onReady?(): void;
|
|
6011
|
-
onSelect?(paymentMethod: UIElement
|
|
5998
|
+
onSelect?(paymentMethod: UIElement): void;
|
|
6012
5999
|
showRemovePaymentMethodButton?: boolean;
|
|
6013
6000
|
showRadioButton?: boolean;
|
|
6014
6001
|
onDisableStoredPaymentMethod?: (storedPaymentMethod: any, resolve: any, reject: any) => void;
|
|
@@ -6019,19 +6006,20 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
6019
6006
|
risk?: RiskElement;
|
|
6020
6007
|
};
|
|
6021
6008
|
isDropin?: boolean;
|
|
6022
|
-
onChange?: (state: OnChangeData, component: UIElement
|
|
6023
|
-
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement
|
|
6024
|
-
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement
|
|
6009
|
+
onChange?: (state: OnChangeData, component: UIElement) => void;
|
|
6010
|
+
onPaymentCompleted?: (data: PaymentCompletedData, component?: UIElement) => void;
|
|
6011
|
+
onPaymentFailed?: (data?: PaymentFailedData, component?: UIElement) => void;
|
|
6025
6012
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
6026
6013
|
url: string;
|
|
6027
6014
|
method: string;
|
|
6028
6015
|
data?: any;
|
|
6029
6016
|
}) => void;
|
|
6030
|
-
beforeSubmit?: (state: PaymentData, component: UIElement
|
|
6031
|
-
onSubmit?: (state: SubmitData, component: UIElement
|
|
6017
|
+
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => void;
|
|
6018
|
+
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
6032
6019
|
onActionHandled?: (actionHandled: ActionHandledReturnObject) => void;
|
|
6033
|
-
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement
|
|
6034
|
-
|
|
6020
|
+
onAdditionalDetails?: (state: AdditionalDetailsData, component: UIElement, actions: AdditionalDetailsActions) => void;
|
|
6021
|
+
onEnterKeyPressed?: (activeElement: Element, component: UIElement) => void;
|
|
6022
|
+
onError?: (error: AdyenCheckoutError, component?: UIElement) => void;
|
|
6035
6023
|
onOrderUpdated?: (data: {
|
|
6036
6024
|
order: Order;
|
|
6037
6025
|
}) => void;
|
|
@@ -6041,12 +6029,12 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
6041
6029
|
}) => void;
|
|
6042
6030
|
environment?: string;
|
|
6043
6031
|
session?: Session;
|
|
6044
|
-
onComplete?: (state: any, element: UIElement
|
|
6032
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
6045
6033
|
isInstantPayment?: boolean;
|
|
6046
6034
|
isStoredPaymentMethod?: boolean;
|
|
6047
6035
|
oneClick?: boolean;
|
|
6048
6036
|
storedPaymentMethodId?: string;
|
|
6049
|
-
statusType?: "
|
|
6037
|
+
statusType?: "redirect" | "loading" | "custom";
|
|
6050
6038
|
type: string;
|
|
6051
6039
|
name?: string;
|
|
6052
6040
|
icon?: string;
|
|
@@ -6055,7 +6043,7 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
6055
6043
|
showPayButton?: boolean;
|
|
6056
6044
|
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
6057
6045
|
loadingContext?: string;
|
|
6058
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement
|
|
6046
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
6059
6047
|
clientKey?: string;
|
|
6060
6048
|
elementRef?: any;
|
|
6061
6049
|
i18n?: Language;
|
|
@@ -6083,6 +6071,8 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
6083
6071
|
*/
|
|
6084
6072
|
protected handleOrder: ({ order }: PaymentResponseData) => void;
|
|
6085
6073
|
closeActivePaymentMethod(): void;
|
|
6074
|
+
protected handleKeyPress(e: h.JSX.TargetedKeyboardEvent<HTMLInputElement> | KeyboardEvent): void;
|
|
6075
|
+
protected onEnterKeyPressed(activeElement: Element, component: UIElement): void;
|
|
6086
6076
|
render(): h.JSX.Element;
|
|
6087
6077
|
}
|
|
6088
6078
|
|
|
@@ -6126,7 +6116,7 @@ declare namespace index_d {
|
|
|
6126
6116
|
|
|
6127
6117
|
declare class Core implements ICore {
|
|
6128
6118
|
session?: Session;
|
|
6129
|
-
paymentMethodsResponse: PaymentMethods
|
|
6119
|
+
paymentMethodsResponse: PaymentMethods;
|
|
6130
6120
|
modules: Readonly<{
|
|
6131
6121
|
risk: RiskElement;
|
|
6132
6122
|
analytics: AnalyticsModule;
|
|
@@ -6148,11 +6138,8 @@ declare class Core implements ICore {
|
|
|
6148
6138
|
componentsMap: Record<string, NewableComponent>;
|
|
6149
6139
|
supportedTxVariants: Set<string>;
|
|
6150
6140
|
add(...items: NewableComponent[]): void;
|
|
6151
|
-
getComponent(type: string): NewableComponent;
|
|
6152
|
-
createComponentsMap(components: NewableComponent[]): {};
|
|
6153
|
-
* Used internally by the PaymentMethod components to auto-register themselves
|
|
6154
|
-
* @internal
|
|
6155
|
-
*/
|
|
6141
|
+
getComponent(type: string): NewableComponent | undefined;
|
|
6142
|
+
createComponentsMap(components: NewableComponent[]): {};
|
|
6156
6143
|
};
|
|
6157
6144
|
static setBundleType(type: string): void;
|
|
6158
6145
|
static register(...items: NewableComponent[]): void;
|
|
@@ -6218,8 +6205,8 @@ declare class Core implements ICore {
|
|
|
6218
6205
|
|
|
6219
6206
|
declare function AdyenCheckout(props: CoreConfiguration): Promise<Core>;
|
|
6220
6207
|
declare namespace AdyenCheckout {
|
|
6221
|
-
var register: (...items: (new (checkout: ICore, props: any) => UIElement
|
|
6208
|
+
var register: (...items: (new (checkout: ICore, props: any) => UIElement)[]) => void;
|
|
6222
6209
|
var setBundleType: (type: string) => void;
|
|
6223
6210
|
}
|
|
6224
6211
|
|
|
6225
|
-
export { ANCVElement as ANCV, type ANCVConfiguration, type ANCVDataState, AchElement as Ach, type AchConfiguration, type ActionDescriptionType, type ActionHandledReturnObject, type AdditionalDetailsActions, type AdditionalDetailsData, AddressElement as Address, type AddressData, type AddressField, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, type AmazonPayBackendConfiguration, type AmazonPayButtonProps, type AmazonPayButtonSettings, type AmazonPayComponentProps, type AmazonPayConfiguration, type AmazonPayElementData, type AnalyticsModule, ApplePayElement as ApplePay, type ApplePayButtonType, type ApplePayConfiguration, type ApplePayElementData, type ApplePayPaymentAuthorizationResult, type ApplePayPaymentOrderDetails, type ApplePaySessionRequest, Atome, type AwaitComponentProps, type AwaitConfiguration, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, type BankDetailsSchema, BankTransferElement as BankTransfer, type BankTransferConfiguration, type BankTransferSchema, type BankTransferState, BCMCMobileElement as BcmcMobile, type BeforeSubmitActions, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, type BinLookupResponse, type BinLookupResponseRaw, BlikElement as Blik, BoletoElement as Boleto, type BoletoElementProps, type BoletoInputDataState, type BoletoInputErrorState, type BoletoInputValidState, type BrandConfiguration, type BrandObject, type BrowserInfo, type CReqData, CardElement as Card, type CardBackendConfiguration, type CardBrandsConfiguration, type CardConfiguration, type CardElementData, CashAppPay, type CashAppPayConfiguration, type CashAppPayElementData, type CashAppPayEventData, type ChallengeData, type ChallengeResolveData, type ChangeActionOptions, type ChangePaymentDetailsButtonProps, type ChargeAmount, type CheckoutAdvancedFlowResponse, type CheckoutDetailsRequest, type CheckoutSessionConfig, ClickToPayElement as ClickToPay, type ClickToPayConfiguration, type ClickToPayPaymentData, type ClickToPayProps, type ClickToPayScheme, type ComponentFocusObject, type ComponentMethodsRef, type CoreConfiguration, type Currency, CustomCard, type CustomCardConfiguration, type DecodeObject, type DeliverySpecifications, DokuElement as Doku, type DokuVoucherResultProps, DonationElement as Donation, type DonationConfiguration, DotpayElement as Dotpay, DragonpayElement as Dragonpay, type DragonpayConfiguraton, type DragonpayInputData, type DragonpayInputIssuerItem, type DragonpayInputProps, type DragonpayVoucherResultProps, DropinElement as Dropin, type DropinComponentProps, type DropinComponentState, type DropinConfiguration, type DropinStatusProps, type DualBrandSelectElement, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, type EcontextConfiguration, type EcontextInputSchema, type EcontextVoucherResultProps, type ErrorCodeObject, type ExtendedMerchantInfo, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, type FieldsetVisibility, type FingerPrintData, type FingerprintResolveData, type FundingSource, type GiftCardConfiguration, type GiftCardElementData, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, type GooglePayConfiguration, type GooglePaymentDataRequest, type ICore, type IDropin, type InstantPaymentTypes, type Intent, type IssuerListConfiguration, type IssuerListData, type KlarnConfiguration, KlarnaPayments as Klarna, type KlarnaSdkData, type KlarnaWidgetAuthorizeResponse, type KlarnaWidgetProps, type LedgerCurrencies, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, type MultibancoVoucherResultProps, type OnChangeData, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, type OpenInvoiceActiveFieldsets, type OpenInvoiceConfiguration, type OpenInvoiceFieldsetsRefs, type OpenInvoiceProps, type OpenInvoiceStateData, type OpenInvoiceStateError, type OpenInvoiceStateValid, type OpenInvoiceVisibility, type Order, type OrderButtonProps, type OrderStatus, OxxoElement as Oxxo, type
|
|
6212
|
+
export { ANCVElement as ANCV, type ANCVConfiguration, type ANCVDataState, AchElement as Ach, type AchConfiguration, type ActionDescriptionType, type ActionHandledReturnObject, type AdditionalDetailsActions, type AdditionalDetailsData, AddressElement as Address, type AddressData, type AddressField, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, type AmazonPayBackendConfiguration, type AmazonPayButtonProps, type AmazonPayButtonSettings, type AmazonPayComponentProps, type AmazonPayConfiguration, type AmazonPayElementData, type AnalyticsModule, type App, ApplePayElement as ApplePay, type ApplePayButtonType, type ApplePayConfiguration, type ApplePayElementData, type ApplePayPaymentAuthorizationResult, type ApplePayPaymentOrderDetails, type ApplePaySessionRequest, Atome, type AwaitComponentProps, type AwaitConfiguration, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, type BankDetailsSchema, BankTransferElement as BankTransfer, type BankTransferConfiguration, type BankTransferSchema, type BankTransferState, BCMCMobileElement as BcmcMobile, type BeforeSubmitActions, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, type BinLookupResponse, type BinLookupResponseRaw, BlikElement as Blik, BoletoElement as Boleto, type BoletoElementProps, type BoletoInputDataState, type BoletoInputErrorState, type BoletoInputValidState, type BrandConfiguration, type BrandObject, type BrowserInfo, type CReqData, CardElement as Card, type CardBackendConfiguration, type CardBrandsConfiguration, type CardConfiguration, type CardElementData, CashAppPay, type CashAppPayConfiguration, type CashAppPayElementData, type CashAppPayEventData, type ChallengeData, type ChallengeResolveData, type ChangeActionOptions, type ChangePaymentDetailsButtonProps, type ChargeAmount, type CheckoutAdvancedFlowResponse, type CheckoutDetailsRequest, type CheckoutSessionConfig, ClickToPayElement as ClickToPay, type ClickToPayConfiguration, type ClickToPayPaymentData, type ClickToPayProps, type ClickToPayScheme, type ComponentFocusObject, type ComponentMethodsRef, type CoreConfiguration, type Currency, CustomCard, type CustomCardConfiguration, type DecodeObject, type DeliverySpecifications, DokuElement as Doku, type DokuVoucherResultProps, DonationElement as Donation, type DonationConfiguration, DotpayElement as Dotpay, DragonpayElement as Dragonpay, type DragonpayConfiguraton, type DragonpayInputData, type DragonpayInputIssuerItem, type DragonpayInputProps, type DragonpayVoucherResultProps, DropinElement as Dropin, type DropinComponentProps, type DropinComponentState, type DropinConfiguration, type DropinStatusProps, type DualBrandSelectElement, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, type EcontextConfiguration, type EcontextInputSchema, type EcontextVoucherResultProps, type ErrorCodeObject, type ExtendedMerchantInfo, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, type FieldsetVisibility, type FingerPrintData, type FingerprintResolveData, type FundingSource, type GiftCardConfiguration, type GiftCardElementData, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, type GooglePayConfiguration, type GooglePaymentDataRequest, type ICore, type IDropin, type InstantPaymentTypes, type Intent, type IssuerListConfiguration, type IssuerListData, type KlarnConfiguration, KlarnaPayments as Klarna, type KlarnaSdkData, type KlarnaWidgetAuthorizeResponse, type KlarnaWidgetProps, type LedgerCurrencies, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, type MultibancoVoucherResultProps, type OnChangeData, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, type OpenInvoiceActiveFieldsets, type OpenInvoiceConfiguration, type OpenInvoiceFieldsetsRefs, type OpenInvoiceProps, type OpenInvoiceStateData, type OpenInvoiceStateError, type OpenInvoiceStateValid, type OpenInvoiceVisibility, type Order, type OrderButtonProps, type OrderStatus, OxxoElement as Oxxo, type OxxoVoucherResultProps, type PayButtonFunctionProps, PayByBank, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, type PayPalConfiguration, type PayloadJSON, type PaymentAction, type PaymentActionsType, type PaymentAmount, type PaymentAmountExtended, type PaymentCompletedData, type PaymentData, type PaymentFailedData, type PaymentMethod, type PaymentMethodData, type PaymentMethodGroup, type PaymentMethodOptions, type PaymentMethods$1 as PaymentMethods, type PaymentMethodsConfiguration, type PaymentMethodsRequestData, type PaymentMethodsResponse, type PaymentResponseData, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, type PersonalDetailsSchema, PixElement as Pix, type PixConfiguration, type PixElementData, type PostMsgParseErrorObject, type ProcessedResponse, PromptPayElement as PromptPay, type QRLoaderConfiguration, RatePay, RatePayDirectDebit, type RawPaymentResponse, type RecurringMetadata, RedirectElement as Redirect, type RedirectConfiguration, type Region, type ResultCode, type ResultObject, type ResultValue, Riverty, type SepaConfiguration, SepaElement as SepaDirectDebit, type SepaElementData, type SessionsResponse, type SignOutButtonProps, type SocialSecurityMode, type StatusObject, type StoredPaymentMethod, type SubmitActions, type SubmitData, type SupportedLocale, SwishElement as Swish, ThreeDS2Challenge, type ThreeDS2ChallengeConfiguration, ThreeDS2DeviceFingerprint, type ThreeDS2DeviceFingerprintConfiguration, type ThreeDS2FingerprintResponse, type ThreeDS2FlowObject, type ThreeDS2Token, TrustlyElement as Trustly, TwintElement as Twint, UIElement, type UIElementProps, type UIElementStatus, UPI, type UPIConfiguration, type UpdateAmazonCheckoutSessionRequest, type UpiMode, type UpiPaymentData, type UpiType, type ValidationError, VippsElement as Vipps, type VoucherConfiguration, type VoucherDetail, type VoucherProps, WalletINElement as WalletIN, WeChatPayElement as WeChat, type balanceCheckResponseType, index_d as components, type onBalanceCheckCallbackType, type onOrderCancelData, type onOrderCancelType, type onOrderRequestCallbackType, type onRequiringConfirmationCallbackType };
|