react-native-tpay 0.3.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/LICENSE +22 -0
- package/README.md +555 -0
- package/android/build.gradle +95 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/AndroidManifestNew.xml +2 -0
- package/android/src/main/java/com/tpay/TpayAmbiguousBLIKPaymentHandler.kt +21 -0
- package/android/src/main/java/com/tpay/TpayModule.kt +528 -0
- package/android/src/main/java/com/tpay/TpayPackage.kt +17 -0
- package/android/src/main/java/com/tpay/TpayResult.kt +12 -0
- package/android/src/main/java/com/tpay/TpayScreenlessPaymentHandler.kt +102 -0
- package/android/src/main/java/com/tpay/TpayScreenlessResult.kt +25 -0
- package/android/src/main/java/com/tpay/TpayScreenlessResultHandler.kt +121 -0
- package/android/src/main/java/com/tpay/delegate/AddCardDelegateImpl.kt +30 -0
- package/android/src/main/java/com/tpay/delegate/PaymentDelegateImpl.kt +33 -0
- package/android/src/main/java/com/tpay/extension/AmbiguousAlias+.kt +11 -0
- package/android/src/main/java/com/tpay/extension/BlikAlias+.kt +18 -0
- package/android/src/main/java/com/tpay/extension/CardTokenTransaction+.kt +19 -0
- package/android/src/main/java/com/tpay/extension/Exception.kt +3 -0
- package/android/src/main/java/com/tpay/extension/JSONObject+.kt +10 -0
- package/android/src/main/java/com/tpay/extension/PaymentChannel+.kt +22 -0
- package/android/src/main/java/com/tpay/extension/PaymentConstraint+.kt +24 -0
- package/android/src/main/java/com/tpay/extension/PaymentGroup+.kt +21 -0
- package/android/src/main/java/com/tpay/extension/SingleTransaction+.kt +14 -0
- package/android/src/main/java/com/tpay/extension/String+.kt +30 -0
- package/android/src/main/java/com/tpay/model/CertificateConfiguration.kt +20 -0
- package/android/src/main/java/com/tpay/model/Configuration.kt +5 -0
- package/android/src/main/java/com/tpay/model/ConfigurationMerchant.kt +33 -0
- package/android/src/main/java/com/tpay/model/Languages.kt +24 -0
- package/android/src/main/java/com/tpay/model/LocalizedString.kt +21 -0
- package/android/src/main/java/com/tpay/model/MerchantAuthorization.kt +20 -0
- package/android/src/main/java/com/tpay/model/MerchantDetails.kt +32 -0
- package/android/src/main/java/com/tpay/model/PaymentMethods.kt +90 -0
- package/android/src/main/java/com/tpay/model/TpayConfiguration.kt +50 -0
- package/android/src/main/java/com/tpay/model/WalletConfiguration.kt +14 -0
- package/android/src/main/java/com/tpay/model/googlePay/GooglePayConfiguration.kt +13 -0
- package/android/src/main/java/com/tpay/model/googlePay/GooglePayConfigureResult.kt +6 -0
- package/android/src/main/java/com/tpay/model/googlePay/GooglePayUtilsConfiguration.kt +57 -0
- package/android/src/main/java/com/tpay/model/screenless/AmbiguousBLIKAlias.kt +35 -0
- package/android/src/main/java/com/tpay/model/screenless/AmbiguousBLIKPayment.kt +26 -0
- package/android/src/main/java/com/tpay/model/screenless/BLIKScreenlessPayment.kt +28 -0
- package/android/src/main/java/com/tpay/model/screenless/CreditCardData.kt +10 -0
- package/android/src/main/java/com/tpay/model/screenless/CreditCardScreenlessPayment.kt +75 -0
- package/android/src/main/java/com/tpay/model/screenless/ExpirationDate.kt +22 -0
- package/android/src/main/java/com/tpay/model/screenless/GooglePayScreenlessPayment.kt +19 -0
- package/android/src/main/java/com/tpay/model/screenless/PaymentConstraintType.kt +5 -0
- package/android/src/main/java/com/tpay/model/screenless/RatyPekaoScreenlessPayment.kt +9 -0
- package/android/src/main/java/com/tpay/model/screenless/ScreenlessPayment.kt +87 -0
- package/android/src/main/java/com/tpay/model/screenless/TransferScreenlessPayment.kt +9 -0
- package/android/src/main/java/com/tpay/util/JsonUtil.kt +178 -0
- package/android/src/main/java/com/tpay/util/TpayBackpressUtil.kt +23 -0
- package/android/src/main/java/com/tpay/util/TpayUtil.kt +67 -0
- package/android/src/main/java/com/tpay/util/ValidationMessages.kt +19 -0
- package/ios/Source/Configuration/MerchantConfiguration.swift +120 -0
- package/ios/Source/Configuration/PaymentMethodConfiguration.swift +41 -0
- package/ios/Source/Configuration/TransactionConfiguration.swift +200 -0
- package/ios/Source/Extension/TPay+Setup.swift +32 -0
- package/ios/Source/Model/Domain/BankPayment.swift +12 -0
- package/ios/Source/Model/Domain/BlikPayment.swift +14 -0
- package/ios/Source/Model/Domain/CardPayment.swift +14 -0
- package/ios/Source/Model/Domain/ConfigurationResult.swift +98 -0
- package/ios/Source/Model/Domain/ContinuePayment.swift +10 -0
- package/ios/Source/Model/Domain/DigitalWalletPayment.swift +13 -0
- package/ios/Source/Model/Domain/PaymentChannelResult.swift +44 -0
- package/ios/Source/Model/Domain/ScreenlessResult.swift +67 -0
- package/ios/Source/Model/Domain/TokenisationData.swift +16 -0
- package/ios/Source/Model/Transportation/Transportation+AmbiguousAlias.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+Bank.swift +11 -0
- package/ios/Source/Model/Transportation/Transportation+BankPayment.swift +13 -0
- package/ios/Source/Model/Transportation/Transportation+BlikPayment+Alias.swift +9 -0
- package/ios/Source/Model/Transportation/Transportation+BlikPayment.swift +13 -0
- package/ios/Source/Model/Transportation/Transportation+Callbacks+Notifications.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+Callbacks+Redirects.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+Callbacks.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+CardDetails+Configuration.swift +9 -0
- package/ios/Source/Model/Transportation/Transportation+CardDetails+ExpiryDate.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+CardDetails.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation+CardPayment.swift +13 -0
- package/ios/Source/Model/Transportation/Transportation+CardToken.swift +11 -0
- package/ios/Source/Model/Transportation/Transportation+ContinuePayment.swift +11 -0
- package/ios/Source/Model/Transportation/Transportation+DigitalWalletPayment.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation+Environment.swift +23 -0
- package/ios/Source/Model/Transportation/Transportation+Languages.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+Merchant+Authorization.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+Merchant+CertificatePinning.swift +9 -0
- package/ios/Source/Model/Transportation/Transportation+Merchant+WalletConfiguration+ApplePay.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+Merchant+WalletConfiguration.swift +9 -0
- package/ios/Source/Model/Transportation/Transportation+Merchant.swift +13 -0
- package/ios/Source/Model/Transportation/Transportation+MerchantConfiguration.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation+MerchantDetails+Detail.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+MerchantDetails.swift +11 -0
- package/ios/Source/Model/Transportation/Transportation+Payer+Address.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation+Payer.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation+PayerContext+AutomaticPaymentMethods+BlikAlias.swift +9 -0
- package/ios/Source/Model/Transportation/Transportation+PayerContext+AutomaticPaymentMethods.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+PayerContext.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+PaymentChannel.swift +21 -0
- package/ios/Source/Model/Transportation/Transportation+PaymentDetails.swift +10 -0
- package/ios/Source/Model/Transportation/Transportation+PaymentMethod.swift +47 -0
- package/ios/Source/Model/Transportation/Transportation+PaymentMethods.swift +11 -0
- package/ios/Source/Model/Transportation/Transportation+PaymentMethodsInfo.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation+SingleTransaction.swift +11 -0
- package/ios/Source/Model/Transportation/Transportation+TokenPayment.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation+Tokenisation.swift +12 -0
- package/ios/Source/Model/Transportation/Transportation.swift +3 -0
- package/ios/Source/Presentation/AddCardPresentation.swift +43 -0
- package/ios/Source/Presentation/CardTokenPresentation.swift +48 -0
- package/ios/Source/Presentation/PaymentPresentation.swift +48 -0
- package/ios/Source/Provider/DefaultMerchantDetailsProvider.swift +32 -0
- package/ios/Source/Provider/DefaultSSLCertificatesProvider.swift +14 -0
- package/ios/Source/TpaySDK.mm +35 -0
- package/ios/Source/TpaySDK.swift +324 -0
- package/ios/Tpay-Bridging-Header.h +2 -0
- package/lib/commonjs/assets/tpay_logo.png +0 -0
- package/lib/commonjs/assets/tpay_logo@2x.png +0 -0
- package/lib/commonjs/assets/tpay_logo@3x.png +0 -0
- package/lib/commonjs/component/tpay_button.js +38 -0
- package/lib/commonjs/component/tpay_button.js.map +1 -0
- package/lib/commonjs/index.js +856 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/model/language/language.js +12 -0
- package/lib/commonjs/model/language/language.js.map +1 -0
- package/lib/commonjs/model/language/languages.js +21 -0
- package/lib/commonjs/model/language/languages.js.map +1 -0
- package/lib/commonjs/model/language/localized_string.js +17 -0
- package/lib/commonjs/model/language/localized_string.js.map +1 -0
- package/lib/commonjs/model/merchant/apple_pay_configuration.js +22 -0
- package/lib/commonjs/model/merchant/apple_pay_configuration.js.map +1 -0
- package/lib/commonjs/model/merchant/certificate_configuration.js +20 -0
- package/lib/commonjs/model/merchant/certificate_configuration.js.map +1 -0
- package/lib/commonjs/model/merchant/google_pay_configuration.js +19 -0
- package/lib/commonjs/model/merchant/google_pay_configuration.js.map +1 -0
- package/lib/commonjs/model/merchant/merchant.js +27 -0
- package/lib/commonjs/model/merchant/merchant.js.map +1 -0
- package/lib/commonjs/model/merchant/merchant_authorization.js +21 -0
- package/lib/commonjs/model/merchant/merchant_authorization.js.map +1 -0
- package/lib/commonjs/model/merchant/merchant_details.js +23 -0
- package/lib/commonjs/model/merchant/merchant_details.js.map +1 -0
- package/lib/commonjs/model/merchant/tpay_environment.js +12 -0
- package/lib/commonjs/model/merchant/tpay_environment.js.map +1 -0
- package/lib/commonjs/model/merchant/wallet_configuration.js +21 -0
- package/lib/commonjs/model/merchant/wallet_configuration.js.map +1 -0
- package/lib/commonjs/model/payer/address.js +25 -0
- package/lib/commonjs/model/payer/address.js.map +1 -0
- package/lib/commonjs/model/payer/payer.js +25 -0
- package/lib/commonjs/model/payer/payer.js.map +1 -0
- package/lib/commonjs/model/payer/payer_context.js +21 -0
- package/lib/commonjs/model/payer/payer_context.js.map +1 -0
- package/lib/commonjs/model/payment_channel/payment_channel.js +35 -0
- package/lib/commonjs/model/payment_channel/payment_channel.js.map +1 -0
- package/lib/commonjs/model/payment_channel/payment_constraint.js +47 -0
- package/lib/commonjs/model/payment_channel/payment_constraint.js.map +1 -0
- package/lib/commonjs/model/payment_channel/payment_group.js +30 -0
- package/lib/commonjs/model/payment_channel/payment_group.js.map +1 -0
- package/lib/commonjs/model/payment_method/automatic_payment_methods.js +21 -0
- package/lib/commonjs/model/payment_method/automatic_payment_methods.js.map +1 -0
- package/lib/commonjs/model/payment_method/blik_alias.js +23 -0
- package/lib/commonjs/model/payment_method/blik_alias.js.map +1 -0
- package/lib/commonjs/model/payment_method/credit_card_brand.js +16 -0
- package/lib/commonjs/model/payment_method/credit_card_brand.js.map +1 -0
- package/lib/commonjs/model/payment_method/digital_wallet.js +15 -0
- package/lib/commonjs/model/payment_method/digital_wallet.js.map +1 -0
- package/lib/commonjs/model/payment_method/installment_payment.js +14 -0
- package/lib/commonjs/model/payment_method/installment_payment.js.map +1 -0
- package/lib/commonjs/model/payment_method/payment_method.js +16 -0
- package/lib/commonjs/model/payment_method/payment_method.js.map +1 -0
- package/lib/commonjs/model/payment_method/payment_methods.js +23 -0
- package/lib/commonjs/model/payment_method/payment_methods.js.map +1 -0
- package/lib/commonjs/model/payment_method/tokenized_card.js +23 -0
- package/lib/commonjs/model/payment_method/tokenized_card.js.map +1 -0
- package/lib/commonjs/model/result/google_pay_configure_result.js +33 -0
- package/lib/commonjs/model/result/google_pay_configure_result.js.map +1 -0
- package/lib/commonjs/model/result/google_pay_open_result.js +61 -0
- package/lib/commonjs/model/result/google_pay_open_result.js.map +1 -0
- package/lib/commonjs/model/result/payment_channels_result.js +42 -0
- package/lib/commonjs/model/result/payment_channels_result.js.map +1 -0
- package/lib/commonjs/model/result/result.js +96 -0
- package/lib/commonjs/model/result/result.js.map +1 -0
- package/lib/commonjs/model/result/screenless_result.js +141 -0
- package/lib/commonjs/model/result/screenless_result.js.map +1 -0
- package/lib/commonjs/model/screenless/ambiguous_alias.js +25 -0
- package/lib/commonjs/model/screenless/ambiguous_alias.js.map +1 -0
- package/lib/commonjs/model/screenless/ambiguous_blik_payment.js +23 -0
- package/lib/commonjs/model/screenless/ambiguous_blik_payment.js.map +1 -0
- package/lib/commonjs/model/screenless/apple_pay_payment.js +21 -0
- package/lib/commonjs/model/screenless/apple_pay_payment.js.map +1 -0
- package/lib/commonjs/model/screenless/blik_payment.js +26 -0
- package/lib/commonjs/model/screenless/blik_payment.js.map +1 -0
- package/lib/commonjs/model/screenless/callbacks.js +21 -0
- package/lib/commonjs/model/screenless/callbacks.js.map +1 -0
- package/lib/commonjs/model/screenless/credit_card.js +25 -0
- package/lib/commonjs/model/screenless/credit_card.js.map +1 -0
- package/lib/commonjs/model/screenless/credit_card_config.js +22 -0
- package/lib/commonjs/model/screenless/credit_card_config.js.map +1 -0
- package/lib/commonjs/model/screenless/credit_card_payment.js +26 -0
- package/lib/commonjs/model/screenless/credit_card_payment.js.map +1 -0
- package/lib/commonjs/model/screenless/expiration_date.js +21 -0
- package/lib/commonjs/model/screenless/expiration_date.js.map +1 -0
- package/lib/commonjs/model/screenless/frequency.js +18 -0
- package/lib/commonjs/model/screenless/frequency.js.map +1 -0
- package/lib/commonjs/model/screenless/google_pay_environment.js +15 -0
- package/lib/commonjs/model/screenless/google_pay_environment.js.map +1 -0
- package/lib/commonjs/model/screenless/google_pay_payment.js +21 -0
- package/lib/commonjs/model/screenless/google_pay_payment.js.map +1 -0
- package/lib/commonjs/model/screenless/google_pay_utils_configuration.js +27 -0
- package/lib/commonjs/model/screenless/google_pay_utils_configuration.js.map +1 -0
- package/lib/commonjs/model/screenless/notifications.js +21 -0
- package/lib/commonjs/model/screenless/notifications.js.map +1 -0
- package/lib/commonjs/model/screenless/payment_details.js +25 -0
- package/lib/commonjs/model/screenless/payment_details.js.map +1 -0
- package/lib/commonjs/model/screenless/raty_pekao_payment.js +21 -0
- package/lib/commonjs/model/screenless/raty_pekao_payment.js.map +1 -0
- package/lib/commonjs/model/screenless/recursive.js +23 -0
- package/lib/commonjs/model/screenless/recursive.js.map +1 -0
- package/lib/commonjs/model/screenless/redirects.js +21 -0
- package/lib/commonjs/model/screenless/redirects.js.map +1 -0
- package/lib/commonjs/model/screenless/screenless_payment.js +23 -0
- package/lib/commonjs/model/screenless/screenless_payment.js.map +1 -0
- package/lib/commonjs/model/screenless/transfer_payment.js +21 -0
- package/lib/commonjs/model/screenless/transfer_payment.js.map +1 -0
- package/lib/commonjs/model/tokenization/tokenization.js +21 -0
- package/lib/commonjs/model/tokenization/tokenization.js.map +1 -0
- package/lib/commonjs/model/tpay_configuration.js +25 -0
- package/lib/commonjs/model/tpay_configuration.js.map +1 -0
- package/lib/commonjs/model/transaction/single_transaction.js +24 -0
- package/lib/commonjs/model/transaction/single_transaction.js.map +1 -0
- package/lib/commonjs/model/transaction/token_payment.js +26 -0
- package/lib/commonjs/model/transaction/token_payment.js.map +1 -0
- package/lib/commonjs/model/transaction/transaction.js +23 -0
- package/lib/commonjs/model/transaction/transaction.js.map +1 -0
- package/lib/commonjs/util/google_pay_configuration_util.js +22 -0
- package/lib/commonjs/util/google_pay_configuration_util.js.map +1 -0
- package/lib/commonjs/util/google_pay_open_util.js +24 -0
- package/lib/commonjs/util/google_pay_open_util.js.map +1 -0
- package/lib/commonjs/util/payment_channels_util.js +22 -0
- package/lib/commonjs/util/payment_channels_util.js.map +1 -0
- package/lib/commonjs/util/result_util.js +40 -0
- package/lib/commonjs/util/result_util.js.map +1 -0
- package/lib/commonjs/util/screenless_result_util.js +38 -0
- package/lib/commonjs/util/screenless_result_util.js.map +1 -0
- package/lib/module/assets/tpay_logo.png +0 -0
- package/lib/module/assets/tpay_logo@2x.png +0 -0
- package/lib/module/assets/tpay_logo@3x.png +0 -0
- package/lib/module/component/tpay_button.js +31 -0
- package/lib/module/component/tpay_button.js.map +1 -0
- package/lib/module/index.js +204 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/model/language/language.js +6 -0
- package/lib/module/model/language/language.js.map +1 -0
- package/lib/module/model/language/languages.js +14 -0
- package/lib/module/model/language/languages.js.map +1 -0
- package/lib/module/model/language/localized_string.js +10 -0
- package/lib/module/model/language/localized_string.js.map +1 -0
- package/lib/module/model/merchant/apple_pay_configuration.js +15 -0
- package/lib/module/model/merchant/apple_pay_configuration.js.map +1 -0
- package/lib/module/model/merchant/certificate_configuration.js +13 -0
- package/lib/module/model/merchant/certificate_configuration.js.map +1 -0
- package/lib/module/model/merchant/google_pay_configuration.js +12 -0
- package/lib/module/model/merchant/google_pay_configuration.js.map +1 -0
- package/lib/module/model/merchant/merchant.js +20 -0
- package/lib/module/model/merchant/merchant.js.map +1 -0
- package/lib/module/model/merchant/merchant_authorization.js +14 -0
- package/lib/module/model/merchant/merchant_authorization.js.map +1 -0
- package/lib/module/model/merchant/merchant_details.js +16 -0
- package/lib/module/model/merchant/merchant_details.js.map +1 -0
- package/lib/module/model/merchant/tpay_environment.js +6 -0
- package/lib/module/model/merchant/tpay_environment.js.map +1 -0
- package/lib/module/model/merchant/wallet_configuration.js +14 -0
- package/lib/module/model/merchant/wallet_configuration.js.map +1 -0
- package/lib/module/model/payer/address.js +18 -0
- package/lib/module/model/payer/address.js.map +1 -0
- package/lib/module/model/payer/payer.js +18 -0
- package/lib/module/model/payer/payer.js.map +1 -0
- package/lib/module/model/payer/payer_context.js +14 -0
- package/lib/module/model/payer/payer_context.js.map +1 -0
- package/lib/module/model/payment_channel/payment_channel.js +28 -0
- package/lib/module/model/payment_channel/payment_channel.js.map +1 -0
- package/lib/module/model/payment_channel/payment_constraint.js +40 -0
- package/lib/module/model/payment_channel/payment_constraint.js.map +1 -0
- package/lib/module/model/payment_channel/payment_group.js +23 -0
- package/lib/module/model/payment_channel/payment_group.js.map +1 -0
- package/lib/module/model/payment_method/automatic_payment_methods.js +14 -0
- package/lib/module/model/payment_method/automatic_payment_methods.js.map +1 -0
- package/lib/module/model/payment_method/blik_alias.js +16 -0
- package/lib/module/model/payment_method/blik_alias.js.map +1 -0
- package/lib/module/model/payment_method/credit_card_brand.js +10 -0
- package/lib/module/model/payment_method/credit_card_brand.js.map +1 -0
- package/lib/module/model/payment_method/digital_wallet.js +9 -0
- package/lib/module/model/payment_method/digital_wallet.js.map +1 -0
- package/lib/module/model/payment_method/installment_payment.js +8 -0
- package/lib/module/model/payment_method/installment_payment.js.map +1 -0
- package/lib/module/model/payment_method/payment_method.js +10 -0
- package/lib/module/model/payment_method/payment_method.js.map +1 -0
- package/lib/module/model/payment_method/payment_methods.js +16 -0
- package/lib/module/model/payment_method/payment_methods.js.map +1 -0
- package/lib/module/model/payment_method/tokenized_card.js +16 -0
- package/lib/module/model/payment_method/tokenized_card.js.map +1 -0
- package/lib/module/model/result/google_pay_configure_result.js +24 -0
- package/lib/module/model/result/google_pay_configure_result.js.map +1 -0
- package/lib/module/model/result/google_pay_open_result.js +50 -0
- package/lib/module/model/result/google_pay_open_result.js.map +1 -0
- package/lib/module/model/result/payment_channels_result.js +33 -0
- package/lib/module/model/result/payment_channels_result.js.map +1 -0
- package/lib/module/model/result/result.js +81 -0
- package/lib/module/model/result/result.js.map +1 -0
- package/lib/module/model/result/screenless_result.js +127 -0
- package/lib/module/model/result/screenless_result.js.map +1 -0
- package/lib/module/model/screenless/ambiguous_alias.js +18 -0
- package/lib/module/model/screenless/ambiguous_alias.js.map +1 -0
- package/lib/module/model/screenless/ambiguous_blik_payment.js +16 -0
- package/lib/module/model/screenless/ambiguous_blik_payment.js.map +1 -0
- package/lib/module/model/screenless/apple_pay_payment.js +15 -0
- package/lib/module/model/screenless/apple_pay_payment.js.map +1 -0
- package/lib/module/model/screenless/blik_payment.js +20 -0
- package/lib/module/model/screenless/blik_payment.js.map +1 -0
- package/lib/module/model/screenless/callbacks.js +14 -0
- package/lib/module/model/screenless/callbacks.js.map +1 -0
- package/lib/module/model/screenless/credit_card.js +18 -0
- package/lib/module/model/screenless/credit_card.js.map +1 -0
- package/lib/module/model/screenless/credit_card_config.js +15 -0
- package/lib/module/model/screenless/credit_card_config.js.map +1 -0
- package/lib/module/model/screenless/credit_card_payment.js +20 -0
- package/lib/module/model/screenless/credit_card_payment.js.map +1 -0
- package/lib/module/model/screenless/expiration_date.js +14 -0
- package/lib/module/model/screenless/expiration_date.js.map +1 -0
- package/lib/module/model/screenless/frequency.js +12 -0
- package/lib/module/model/screenless/frequency.js.map +1 -0
- package/lib/module/model/screenless/google_pay_environment.js +9 -0
- package/lib/module/model/screenless/google_pay_environment.js.map +1 -0
- package/lib/module/model/screenless/google_pay_payment.js +15 -0
- package/lib/module/model/screenless/google_pay_payment.js.map +1 -0
- package/lib/module/model/screenless/google_pay_utils_configuration.js +20 -0
- package/lib/module/model/screenless/google_pay_utils_configuration.js.map +1 -0
- package/lib/module/model/screenless/notifications.js +14 -0
- package/lib/module/model/screenless/notifications.js.map +1 -0
- package/lib/module/model/screenless/payment_details.js +18 -0
- package/lib/module/model/screenless/payment_details.js.map +1 -0
- package/lib/module/model/screenless/raty_pekao_payment.js +15 -0
- package/lib/module/model/screenless/raty_pekao_payment.js.map +1 -0
- package/lib/module/model/screenless/recursive.js +16 -0
- package/lib/module/model/screenless/recursive.js.map +1 -0
- package/lib/module/model/screenless/redirects.js +14 -0
- package/lib/module/model/screenless/redirects.js.map +1 -0
- package/lib/module/model/screenless/screenless_payment.js +16 -0
- package/lib/module/model/screenless/screenless_payment.js.map +1 -0
- package/lib/module/model/screenless/transfer_payment.js +15 -0
- package/lib/module/model/screenless/transfer_payment.js.map +1 -0
- package/lib/module/model/tokenization/tokenization.js +14 -0
- package/lib/module/model/tokenization/tokenization.js.map +1 -0
- package/lib/module/model/tpay_configuration.js +18 -0
- package/lib/module/model/tpay_configuration.js.map +1 -0
- package/lib/module/model/transaction/single_transaction.js +18 -0
- package/lib/module/model/transaction/single_transaction.js.map +1 -0
- package/lib/module/model/transaction/token_payment.js +20 -0
- package/lib/module/model/transaction/token_payment.js.map +1 -0
- package/lib/module/model/transaction/transaction.js +16 -0
- package/lib/module/model/transaction/transaction.js.map +1 -0
- package/lib/module/util/google_pay_configuration_util.js +16 -0
- package/lib/module/util/google_pay_configuration_util.js.map +1 -0
- package/lib/module/util/google_pay_open_util.js +18 -0
- package/lib/module/util/google_pay_open_util.js.map +1 -0
- package/lib/module/util/payment_channels_util.js +16 -0
- package/lib/module/util/payment_channels_util.js.map +1 -0
- package/lib/module/util/result_util.js +41 -0
- package/lib/module/util/result_util.js.map +1 -0
- package/lib/module/util/screenless_result_util.js +32 -0
- package/lib/module/util/screenless_result_util.js.map +1 -0
- package/lib/typescript/src/component/tpay_button.d.ts +13 -0
- package/lib/typescript/src/component/tpay_button.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +147 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/model/language/language.d.ts +5 -0
- package/lib/typescript/src/model/language/language.d.ts.map +1 -0
- package/lib/typescript/src/model/language/languages.d.ts +14 -0
- package/lib/typescript/src/model/language/languages.d.ts.map +1 -0
- package/lib/typescript/src/model/language/localized_string.d.ts +10 -0
- package/lib/typescript/src/model/language/localized_string.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/apple_pay_configuration.d.ts +14 -0
- package/lib/typescript/src/model/merchant/apple_pay_configuration.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/certificate_configuration.d.ts +12 -0
- package/lib/typescript/src/model/merchant/certificate_configuration.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/google_pay_configuration.d.ts +11 -0
- package/lib/typescript/src/model/merchant/google_pay_configuration.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/merchant.d.ts +23 -0
- package/lib/typescript/src/model/merchant/merchant.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/merchant_authorization.d.ts +13 -0
- package/lib/typescript/src/model/merchant/merchant_authorization.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/merchant_details.d.ts +16 -0
- package/lib/typescript/src/model/merchant/merchant_details.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/tpay_environment.d.ts +5 -0
- package/lib/typescript/src/model/merchant/tpay_environment.d.ts.map +1 -0
- package/lib/typescript/src/model/merchant/wallet_configuration.d.ts +15 -0
- package/lib/typescript/src/model/merchant/wallet_configuration.d.ts.map +1 -0
- package/lib/typescript/src/model/payer/address.d.ts +17 -0
- package/lib/typescript/src/model/payer/address.d.ts.map +1 -0
- package/lib/typescript/src/model/payer/payer.d.ts +18 -0
- package/lib/typescript/src/model/payer/payer.d.ts.map +1 -0
- package/lib/typescript/src/model/payer/payer_context.d.ts +15 -0
- package/lib/typescript/src/model/payer/payer_context.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_channel/payment_channel.d.ts +24 -0
- package/lib/typescript/src/model/payment_channel/payment_channel.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_channel/payment_constraint.d.ts +31 -0
- package/lib/typescript/src/model/payment_channel/payment_constraint.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_channel/payment_group.d.ts +19 -0
- package/lib/typescript/src/model/payment_channel/payment_group.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/automatic_payment_methods.d.ts +15 -0
- package/lib/typescript/src/model/payment_method/automatic_payment_methods.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/blik_alias.d.ts +15 -0
- package/lib/typescript/src/model/payment_method/blik_alias.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/credit_card_brand.d.ts +9 -0
- package/lib/typescript/src/model/payment_method/credit_card_brand.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/digital_wallet.d.ts +8 -0
- package/lib/typescript/src/model/payment_method/digital_wallet.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/installment_payment.d.ts +7 -0
- package/lib/typescript/src/model/payment_method/installment_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/payment_method.d.ts +9 -0
- package/lib/typescript/src/model/payment_method/payment_method.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/payment_methods.d.ts +18 -0
- package/lib/typescript/src/model/payment_method/payment_methods.d.ts.map +1 -0
- package/lib/typescript/src/model/payment_method/tokenized_card.d.ts +16 -0
- package/lib/typescript/src/model/payment_method/tokenized_card.d.ts.map +1 -0
- package/lib/typescript/src/model/result/google_pay_configure_result.d.ts +21 -0
- package/lib/typescript/src/model/result/google_pay_configure_result.d.ts.map +1 -0
- package/lib/typescript/src/model/result/google_pay_open_result.d.ts +44 -0
- package/lib/typescript/src/model/result/google_pay_open_result.d.ts.map +1 -0
- package/lib/typescript/src/model/result/payment_channels_result.d.ts +27 -0
- package/lib/typescript/src/model/result/payment_channels_result.d.ts.map +1 -0
- package/lib/typescript/src/model/result/result.d.ts +66 -0
- package/lib/typescript/src/model/result/result.d.ts.map +1 -0
- package/lib/typescript/src/model/result/screenless_result.d.ts +98 -0
- package/lib/typescript/src/model/result/screenless_result.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/ambiguous_alias.d.ts +15 -0
- package/lib/typescript/src/model/screenless/ambiguous_alias.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/ambiguous_blik_payment.d.ts +17 -0
- package/lib/typescript/src/model/screenless/ambiguous_blik_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/apple_pay_payment.d.ts +15 -0
- package/lib/typescript/src/model/screenless/apple_pay_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/blik_payment.d.ts +21 -0
- package/lib/typescript/src/model/screenless/blik_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/callbacks.d.ts +15 -0
- package/lib/typescript/src/model/screenless/callbacks.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/credit_card.d.ts +19 -0
- package/lib/typescript/src/model/screenless/credit_card.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/credit_card_config.d.ts +14 -0
- package/lib/typescript/src/model/screenless/credit_card_config.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/credit_card_payment.d.ts +21 -0
- package/lib/typescript/src/model/screenless/credit_card_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/expiration_date.d.ts +13 -0
- package/lib/typescript/src/model/screenless/expiration_date.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/frequency.d.ts +11 -0
- package/lib/typescript/src/model/screenless/frequency.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/google_pay_environment.d.ts +8 -0
- package/lib/typescript/src/model/screenless/google_pay_environment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/google_pay_payment.d.ts +15 -0
- package/lib/typescript/src/model/screenless/google_pay_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/google_pay_utils_configuration.d.ts +20 -0
- package/lib/typescript/src/model/screenless/google_pay_utils_configuration.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/notifications.d.ts +13 -0
- package/lib/typescript/src/model/screenless/notifications.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/payment_details.d.ts +18 -0
- package/lib/typescript/src/model/screenless/payment_details.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/raty_pekao_payment.d.ts +15 -0
- package/lib/typescript/src/model/screenless/raty_pekao_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/recursive.d.ts +16 -0
- package/lib/typescript/src/model/screenless/recursive.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/redirects.d.ts +13 -0
- package/lib/typescript/src/model/screenless/redirects.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/screenless_payment.d.ts +18 -0
- package/lib/typescript/src/model/screenless/screenless_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/screenless/transfer_payment.d.ts +15 -0
- package/lib/typescript/src/model/screenless/transfer_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/tokenization/tokenization.d.ts +14 -0
- package/lib/typescript/src/model/tokenization/tokenization.d.ts.map +1 -0
- package/lib/typescript/src/model/tpay_configuration.d.ts +21 -0
- package/lib/typescript/src/model/tpay_configuration.d.ts.map +1 -0
- package/lib/typescript/src/model/transaction/single_transaction.d.ts +17 -0
- package/lib/typescript/src/model/transaction/single_transaction.d.ts.map +1 -0
- package/lib/typescript/src/model/transaction/token_payment.d.ts +19 -0
- package/lib/typescript/src/model/transaction/token_payment.d.ts.map +1 -0
- package/lib/typescript/src/model/transaction/transaction.d.ts +16 -0
- package/lib/typescript/src/model/transaction/transaction.d.ts.map +1 -0
- package/lib/typescript/src/util/google_pay_configuration_util.d.ts +3 -0
- package/lib/typescript/src/util/google_pay_configuration_util.d.ts.map +1 -0
- package/lib/typescript/src/util/google_pay_open_util.d.ts +3 -0
- package/lib/typescript/src/util/google_pay_open_util.d.ts.map +1 -0
- package/lib/typescript/src/util/payment_channels_util.d.ts +3 -0
- package/lib/typescript/src/util/payment_channels_util.d.ts.map +1 -0
- package/lib/typescript/src/util/result_util.d.ts +3 -0
- package/lib/typescript/src/util/result_util.d.ts.map +1 -0
- package/lib/typescript/src/util/screenless_result_util.d.ts +3 -0
- package/lib/typescript/src/util/screenless_result_util.d.ts.map +1 -0
- package/package.json +164 -0
- package/react-native-tpay.podspec +42 -0
- package/src/assets/tpay_logo.png +0 -0
- package/src/assets/tpay_logo@2x.png +0 -0
- package/src/assets/tpay_logo@3x.png +0 -0
- package/src/component/tpay_button.tsx +44 -0
- package/src/index.tsx +267 -0
- package/src/model/language/language.ts +4 -0
- package/src/model/language/languages.ts +21 -0
- package/src/model/language/localized_string.ts +14 -0
- package/src/model/merchant/apple_pay_configuration.ts +17 -0
- package/src/model/merchant/certificate_configuration.ts +15 -0
- package/src/model/merchant/google_pay_configuration.ts +13 -0
- package/src/model/merchant/merchant.ts +36 -0
- package/src/model/merchant/merchant_authorization.ts +16 -0
- package/src/model/merchant/merchant_details.ts +25 -0
- package/src/model/merchant/tpay_environment.ts +4 -0
- package/src/model/merchant/wallet_configuration.ts +22 -0
- package/src/model/payer/address.ts +27 -0
- package/src/model/payer/payer.ts +29 -0
- package/src/model/payer/payer_context.ts +22 -0
- package/src/model/payment_channel/payment_channel.ts +38 -0
- package/src/model/payment_channel/payment_constraint.ts +41 -0
- package/src/model/payment_channel/payment_group.ts +25 -0
- package/src/model/payment_method/automatic_payment_methods.ts +22 -0
- package/src/model/payment_method/blik_alias.ts +19 -0
- package/src/model/payment_method/credit_card_brand.ts +8 -0
- package/src/model/payment_method/digital_wallet.ts +7 -0
- package/src/model/payment_method/installment_payment.ts +6 -0
- package/src/model/payment_method/payment_method.ts +8 -0
- package/src/model/payment_method/payment_methods.ts +27 -0
- package/src/model/payment_method/tokenized_card.ts +21 -0
- package/src/model/result/google_pay_configure_result.ts +25 -0
- package/src/model/result/google_pay_open_result.ts +58 -0
- package/src/model/result/payment_channels_result.ts +36 -0
- package/src/model/result/result.ts +84 -0
- package/src/model/result/screenless_result.ts +138 -0
- package/src/model/screenless/ambiguous_alias.ts +19 -0
- package/src/model/screenless/ambiguous_blik_payment.ts +26 -0
- package/src/model/screenless/apple_pay_payment.ts +24 -0
- package/src/model/screenless/blik_payment.ts +32 -0
- package/src/model/screenless/callbacks.ts +22 -0
- package/src/model/screenless/credit_card.ts +30 -0
- package/src/model/screenless/credit_card_config.ts +18 -0
- package/src/model/screenless/credit_card_payment.ts +32 -0
- package/src/model/screenless/expiration_date.ts +16 -0
- package/src/model/screenless/frequency.ts +10 -0
- package/src/model/screenless/google_pay_environment.ts +7 -0
- package/src/model/screenless/google_pay_payment.ts +24 -0
- package/src/model/screenless/google_pay_utils_configuration.ts +33 -0
- package/src/model/screenless/notifications.ts +16 -0
- package/src/model/screenless/payment_details.ts +29 -0
- package/src/model/screenless/raty_pekao_payment.ts +24 -0
- package/src/model/screenless/recursive.ts +21 -0
- package/src/model/screenless/redirects.ts +16 -0
- package/src/model/screenless/screenless_payment.ts +27 -0
- package/src/model/screenless/transfer_payment.ts +24 -0
- package/src/model/tokenization/tokenization.ts +18 -0
- package/src/model/tpay_configuration.ts +32 -0
- package/src/model/transaction/single_transaction.ts +26 -0
- package/src/model/transaction/token_payment.ts +30 -0
- package/src/model/transaction/transaction.ts +25 -0
- package/src/util/google_pay_configuration_util.ts +25 -0
- package/src/util/google_pay_open_util.ts +31 -0
- package/src/util/payment_channels_util.ts +22 -0
- package/src/util/result_util.ts +44 -0
- package/src/util/screenless_result_util.ts +50 -0
|
@@ -0,0 +1,856 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
configure: true,
|
|
8
|
+
startPayment: true,
|
|
9
|
+
tokenizeCard: true,
|
|
10
|
+
startCardTokenPayment: true,
|
|
11
|
+
screenlessBLIKPayment: true,
|
|
12
|
+
screenlessAmbiguousBLIKPayment: true,
|
|
13
|
+
screenlessTransferPayment: true,
|
|
14
|
+
screenlessRatyPekaoPayment: true,
|
|
15
|
+
screenlessCreditCardPayment: true,
|
|
16
|
+
screenlessGooglePayPayment: true,
|
|
17
|
+
screenlessApplePayPayment: true,
|
|
18
|
+
configureGooglePayUtils: true,
|
|
19
|
+
isGooglePayAvailable: true,
|
|
20
|
+
openGooglePay: true,
|
|
21
|
+
getAvailablePaymentChannels: true
|
|
22
|
+
};
|
|
23
|
+
exports.configure = configure;
|
|
24
|
+
exports.configureGooglePayUtils = configureGooglePayUtils;
|
|
25
|
+
exports.getAvailablePaymentChannels = getAvailablePaymentChannels;
|
|
26
|
+
exports.isGooglePayAvailable = isGooglePayAvailable;
|
|
27
|
+
exports.openGooglePay = openGooglePay;
|
|
28
|
+
exports.screenlessAmbiguousBLIKPayment = screenlessAmbiguousBLIKPayment;
|
|
29
|
+
exports.screenlessApplePayPayment = screenlessApplePayPayment;
|
|
30
|
+
exports.screenlessBLIKPayment = screenlessBLIKPayment;
|
|
31
|
+
exports.screenlessCreditCardPayment = screenlessCreditCardPayment;
|
|
32
|
+
exports.screenlessGooglePayPayment = screenlessGooglePayPayment;
|
|
33
|
+
exports.screenlessRatyPekaoPayment = screenlessRatyPekaoPayment;
|
|
34
|
+
exports.screenlessTransferPayment = screenlessTransferPayment;
|
|
35
|
+
exports.startCardTokenPayment = startCardTokenPayment;
|
|
36
|
+
exports.startPayment = startPayment;
|
|
37
|
+
exports.tokenizeCard = tokenizeCard;
|
|
38
|
+
var _reactNative = require("react-native");
|
|
39
|
+
var _result_util = require("./util/result_util");
|
|
40
|
+
var _screenless_result_util = require("./util/screenless_result_util");
|
|
41
|
+
var _google_pay_configuration_util = require("./util/google_pay_configuration_util");
|
|
42
|
+
var _google_pay_open_util = require("./util/google_pay_open_util");
|
|
43
|
+
var _payment_channels_util = require("./util/payment_channels_util");
|
|
44
|
+
var _language = require("./model/language/language");
|
|
45
|
+
Object.keys(_language).forEach(function (key) {
|
|
46
|
+
if (key === "default" || key === "__esModule") return;
|
|
47
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
48
|
+
if (key in exports && exports[key] === _language[key]) return;
|
|
49
|
+
Object.defineProperty(exports, key, {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () {
|
|
52
|
+
return _language[key];
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
var _languages = require("./model/language/languages");
|
|
57
|
+
Object.keys(_languages).forEach(function (key) {
|
|
58
|
+
if (key === "default" || key === "__esModule") return;
|
|
59
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
60
|
+
if (key in exports && exports[key] === _languages[key]) return;
|
|
61
|
+
Object.defineProperty(exports, key, {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () {
|
|
64
|
+
return _languages[key];
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
var _localized_string = require("./model/language/localized_string");
|
|
69
|
+
Object.keys(_localized_string).forEach(function (key) {
|
|
70
|
+
if (key === "default" || key === "__esModule") return;
|
|
71
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
72
|
+
if (key in exports && exports[key] === _localized_string[key]) return;
|
|
73
|
+
Object.defineProperty(exports, key, {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () {
|
|
76
|
+
return _localized_string[key];
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
var _apple_pay_configuration = require("./model/merchant/apple_pay_configuration");
|
|
81
|
+
Object.keys(_apple_pay_configuration).forEach(function (key) {
|
|
82
|
+
if (key === "default" || key === "__esModule") return;
|
|
83
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
84
|
+
if (key in exports && exports[key] === _apple_pay_configuration[key]) return;
|
|
85
|
+
Object.defineProperty(exports, key, {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () {
|
|
88
|
+
return _apple_pay_configuration[key];
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
var _certificate_configuration = require("./model/merchant/certificate_configuration");
|
|
93
|
+
Object.keys(_certificate_configuration).forEach(function (key) {
|
|
94
|
+
if (key === "default" || key === "__esModule") return;
|
|
95
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
96
|
+
if (key in exports && exports[key] === _certificate_configuration[key]) return;
|
|
97
|
+
Object.defineProperty(exports, key, {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () {
|
|
100
|
+
return _certificate_configuration[key];
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
var _google_pay_configuration = require("./model/merchant/google_pay_configuration");
|
|
105
|
+
Object.keys(_google_pay_configuration).forEach(function (key) {
|
|
106
|
+
if (key === "default" || key === "__esModule") return;
|
|
107
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
108
|
+
if (key in exports && exports[key] === _google_pay_configuration[key]) return;
|
|
109
|
+
Object.defineProperty(exports, key, {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () {
|
|
112
|
+
return _google_pay_configuration[key];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
var _merchant_authorization = require("./model/merchant/merchant_authorization");
|
|
117
|
+
Object.keys(_merchant_authorization).forEach(function (key) {
|
|
118
|
+
if (key === "default" || key === "__esModule") return;
|
|
119
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
120
|
+
if (key in exports && exports[key] === _merchant_authorization[key]) return;
|
|
121
|
+
Object.defineProperty(exports, key, {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () {
|
|
124
|
+
return _merchant_authorization[key];
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
var _merchant_details = require("./model/merchant/merchant_details");
|
|
129
|
+
Object.keys(_merchant_details).forEach(function (key) {
|
|
130
|
+
if (key === "default" || key === "__esModule") return;
|
|
131
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
132
|
+
if (key in exports && exports[key] === _merchant_details[key]) return;
|
|
133
|
+
Object.defineProperty(exports, key, {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () {
|
|
136
|
+
return _merchant_details[key];
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
var _merchant = require("./model/merchant/merchant");
|
|
141
|
+
Object.keys(_merchant).forEach(function (key) {
|
|
142
|
+
if (key === "default" || key === "__esModule") return;
|
|
143
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
144
|
+
if (key in exports && exports[key] === _merchant[key]) return;
|
|
145
|
+
Object.defineProperty(exports, key, {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () {
|
|
148
|
+
return _merchant[key];
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
var _tpay_environment = require("./model/merchant/tpay_environment");
|
|
153
|
+
Object.keys(_tpay_environment).forEach(function (key) {
|
|
154
|
+
if (key === "default" || key === "__esModule") return;
|
|
155
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
156
|
+
if (key in exports && exports[key] === _tpay_environment[key]) return;
|
|
157
|
+
Object.defineProperty(exports, key, {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function () {
|
|
160
|
+
return _tpay_environment[key];
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
var _wallet_configuration = require("./model/merchant/wallet_configuration");
|
|
165
|
+
Object.keys(_wallet_configuration).forEach(function (key) {
|
|
166
|
+
if (key === "default" || key === "__esModule") return;
|
|
167
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
168
|
+
if (key in exports && exports[key] === _wallet_configuration[key]) return;
|
|
169
|
+
Object.defineProperty(exports, key, {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function () {
|
|
172
|
+
return _wallet_configuration[key];
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
var _address = require("./model/payer/address");
|
|
177
|
+
Object.keys(_address).forEach(function (key) {
|
|
178
|
+
if (key === "default" || key === "__esModule") return;
|
|
179
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
180
|
+
if (key in exports && exports[key] === _address[key]) return;
|
|
181
|
+
Object.defineProperty(exports, key, {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () {
|
|
184
|
+
return _address[key];
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
var _payer_context = require("./model/payer/payer_context");
|
|
189
|
+
Object.keys(_payer_context).forEach(function (key) {
|
|
190
|
+
if (key === "default" || key === "__esModule") return;
|
|
191
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
192
|
+
if (key in exports && exports[key] === _payer_context[key]) return;
|
|
193
|
+
Object.defineProperty(exports, key, {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
get: function () {
|
|
196
|
+
return _payer_context[key];
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
var _payer = require("./model/payer/payer");
|
|
201
|
+
Object.keys(_payer).forEach(function (key) {
|
|
202
|
+
if (key === "default" || key === "__esModule") return;
|
|
203
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
204
|
+
if (key in exports && exports[key] === _payer[key]) return;
|
|
205
|
+
Object.defineProperty(exports, key, {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () {
|
|
208
|
+
return _payer[key];
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
var _payment_channel = require("./model/payment_channel/payment_channel");
|
|
213
|
+
Object.keys(_payment_channel).forEach(function (key) {
|
|
214
|
+
if (key === "default" || key === "__esModule") return;
|
|
215
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
216
|
+
if (key in exports && exports[key] === _payment_channel[key]) return;
|
|
217
|
+
Object.defineProperty(exports, key, {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function () {
|
|
220
|
+
return _payment_channel[key];
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
var _payment_constraint = require("./model/payment_channel/payment_constraint");
|
|
225
|
+
Object.keys(_payment_constraint).forEach(function (key) {
|
|
226
|
+
if (key === "default" || key === "__esModule") return;
|
|
227
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
228
|
+
if (key in exports && exports[key] === _payment_constraint[key]) return;
|
|
229
|
+
Object.defineProperty(exports, key, {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () {
|
|
232
|
+
return _payment_constraint[key];
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
var _payment_group = require("./model/payment_channel/payment_group");
|
|
237
|
+
Object.keys(_payment_group).forEach(function (key) {
|
|
238
|
+
if (key === "default" || key === "__esModule") return;
|
|
239
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
240
|
+
if (key in exports && exports[key] === _payment_group[key]) return;
|
|
241
|
+
Object.defineProperty(exports, key, {
|
|
242
|
+
enumerable: true,
|
|
243
|
+
get: function () {
|
|
244
|
+
return _payment_group[key];
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
var _automatic_payment_methods = require("./model/payment_method/automatic_payment_methods");
|
|
249
|
+
Object.keys(_automatic_payment_methods).forEach(function (key) {
|
|
250
|
+
if (key === "default" || key === "__esModule") return;
|
|
251
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
252
|
+
if (key in exports && exports[key] === _automatic_payment_methods[key]) return;
|
|
253
|
+
Object.defineProperty(exports, key, {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () {
|
|
256
|
+
return _automatic_payment_methods[key];
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
});
|
|
260
|
+
var _blik_alias = require("./model/payment_method/blik_alias");
|
|
261
|
+
Object.keys(_blik_alias).forEach(function (key) {
|
|
262
|
+
if (key === "default" || key === "__esModule") return;
|
|
263
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
264
|
+
if (key in exports && exports[key] === _blik_alias[key]) return;
|
|
265
|
+
Object.defineProperty(exports, key, {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
get: function () {
|
|
268
|
+
return _blik_alias[key];
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
var _credit_card_brand = require("./model/payment_method/credit_card_brand");
|
|
273
|
+
Object.keys(_credit_card_brand).forEach(function (key) {
|
|
274
|
+
if (key === "default" || key === "__esModule") return;
|
|
275
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
276
|
+
if (key in exports && exports[key] === _credit_card_brand[key]) return;
|
|
277
|
+
Object.defineProperty(exports, key, {
|
|
278
|
+
enumerable: true,
|
|
279
|
+
get: function () {
|
|
280
|
+
return _credit_card_brand[key];
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
});
|
|
284
|
+
var _digital_wallet = require("./model/payment_method/digital_wallet");
|
|
285
|
+
Object.keys(_digital_wallet).forEach(function (key) {
|
|
286
|
+
if (key === "default" || key === "__esModule") return;
|
|
287
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
288
|
+
if (key in exports && exports[key] === _digital_wallet[key]) return;
|
|
289
|
+
Object.defineProperty(exports, key, {
|
|
290
|
+
enumerable: true,
|
|
291
|
+
get: function () {
|
|
292
|
+
return _digital_wallet[key];
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
var _installment_payment = require("./model/payment_method/installment_payment");
|
|
297
|
+
Object.keys(_installment_payment).forEach(function (key) {
|
|
298
|
+
if (key === "default" || key === "__esModule") return;
|
|
299
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
300
|
+
if (key in exports && exports[key] === _installment_payment[key]) return;
|
|
301
|
+
Object.defineProperty(exports, key, {
|
|
302
|
+
enumerable: true,
|
|
303
|
+
get: function () {
|
|
304
|
+
return _installment_payment[key];
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
});
|
|
308
|
+
var _payment_method = require("./model/payment_method/payment_method");
|
|
309
|
+
Object.keys(_payment_method).forEach(function (key) {
|
|
310
|
+
if (key === "default" || key === "__esModule") return;
|
|
311
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
312
|
+
if (key in exports && exports[key] === _payment_method[key]) return;
|
|
313
|
+
Object.defineProperty(exports, key, {
|
|
314
|
+
enumerable: true,
|
|
315
|
+
get: function () {
|
|
316
|
+
return _payment_method[key];
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
});
|
|
320
|
+
var _payment_methods = require("./model/payment_method/payment_methods");
|
|
321
|
+
Object.keys(_payment_methods).forEach(function (key) {
|
|
322
|
+
if (key === "default" || key === "__esModule") return;
|
|
323
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
324
|
+
if (key in exports && exports[key] === _payment_methods[key]) return;
|
|
325
|
+
Object.defineProperty(exports, key, {
|
|
326
|
+
enumerable: true,
|
|
327
|
+
get: function () {
|
|
328
|
+
return _payment_methods[key];
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
var _tokenized_card = require("./model/payment_method/tokenized_card");
|
|
333
|
+
Object.keys(_tokenized_card).forEach(function (key) {
|
|
334
|
+
if (key === "default" || key === "__esModule") return;
|
|
335
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
336
|
+
if (key in exports && exports[key] === _tokenized_card[key]) return;
|
|
337
|
+
Object.defineProperty(exports, key, {
|
|
338
|
+
enumerable: true,
|
|
339
|
+
get: function () {
|
|
340
|
+
return _tokenized_card[key];
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
var _google_pay_configure_result = require("./model/result/google_pay_configure_result");
|
|
345
|
+
Object.keys(_google_pay_configure_result).forEach(function (key) {
|
|
346
|
+
if (key === "default" || key === "__esModule") return;
|
|
347
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
348
|
+
if (key in exports && exports[key] === _google_pay_configure_result[key]) return;
|
|
349
|
+
Object.defineProperty(exports, key, {
|
|
350
|
+
enumerable: true,
|
|
351
|
+
get: function () {
|
|
352
|
+
return _google_pay_configure_result[key];
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
});
|
|
356
|
+
var _google_pay_open_result = require("./model/result/google_pay_open_result");
|
|
357
|
+
Object.keys(_google_pay_open_result).forEach(function (key) {
|
|
358
|
+
if (key === "default" || key === "__esModule") return;
|
|
359
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
360
|
+
if (key in exports && exports[key] === _google_pay_open_result[key]) return;
|
|
361
|
+
Object.defineProperty(exports, key, {
|
|
362
|
+
enumerable: true,
|
|
363
|
+
get: function () {
|
|
364
|
+
return _google_pay_open_result[key];
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
var _payment_channels_result = require("./model/result/payment_channels_result");
|
|
369
|
+
Object.keys(_payment_channels_result).forEach(function (key) {
|
|
370
|
+
if (key === "default" || key === "__esModule") return;
|
|
371
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
372
|
+
if (key in exports && exports[key] === _payment_channels_result[key]) return;
|
|
373
|
+
Object.defineProperty(exports, key, {
|
|
374
|
+
enumerable: true,
|
|
375
|
+
get: function () {
|
|
376
|
+
return _payment_channels_result[key];
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
});
|
|
380
|
+
var _result = require("./model/result/result");
|
|
381
|
+
Object.keys(_result).forEach(function (key) {
|
|
382
|
+
if (key === "default" || key === "__esModule") return;
|
|
383
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
384
|
+
if (key in exports && exports[key] === _result[key]) return;
|
|
385
|
+
Object.defineProperty(exports, key, {
|
|
386
|
+
enumerable: true,
|
|
387
|
+
get: function () {
|
|
388
|
+
return _result[key];
|
|
389
|
+
}
|
|
390
|
+
});
|
|
391
|
+
});
|
|
392
|
+
var _screenless_result = require("./model/result/screenless_result");
|
|
393
|
+
Object.keys(_screenless_result).forEach(function (key) {
|
|
394
|
+
if (key === "default" || key === "__esModule") return;
|
|
395
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
396
|
+
if (key in exports && exports[key] === _screenless_result[key]) return;
|
|
397
|
+
Object.defineProperty(exports, key, {
|
|
398
|
+
enumerable: true,
|
|
399
|
+
get: function () {
|
|
400
|
+
return _screenless_result[key];
|
|
401
|
+
}
|
|
402
|
+
});
|
|
403
|
+
});
|
|
404
|
+
var _ambiguous_alias = require("./model/screenless/ambiguous_alias");
|
|
405
|
+
Object.keys(_ambiguous_alias).forEach(function (key) {
|
|
406
|
+
if (key === "default" || key === "__esModule") return;
|
|
407
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
408
|
+
if (key in exports && exports[key] === _ambiguous_alias[key]) return;
|
|
409
|
+
Object.defineProperty(exports, key, {
|
|
410
|
+
enumerable: true,
|
|
411
|
+
get: function () {
|
|
412
|
+
return _ambiguous_alias[key];
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
});
|
|
416
|
+
var _ambiguous_blik_payment = require("./model/screenless/ambiguous_blik_payment");
|
|
417
|
+
Object.keys(_ambiguous_blik_payment).forEach(function (key) {
|
|
418
|
+
if (key === "default" || key === "__esModule") return;
|
|
419
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
420
|
+
if (key in exports && exports[key] === _ambiguous_blik_payment[key]) return;
|
|
421
|
+
Object.defineProperty(exports, key, {
|
|
422
|
+
enumerable: true,
|
|
423
|
+
get: function () {
|
|
424
|
+
return _ambiguous_blik_payment[key];
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
var _apple_pay_payment = require("./model/screenless/apple_pay_payment");
|
|
429
|
+
Object.keys(_apple_pay_payment).forEach(function (key) {
|
|
430
|
+
if (key === "default" || key === "__esModule") return;
|
|
431
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
432
|
+
if (key in exports && exports[key] === _apple_pay_payment[key]) return;
|
|
433
|
+
Object.defineProperty(exports, key, {
|
|
434
|
+
enumerable: true,
|
|
435
|
+
get: function () {
|
|
436
|
+
return _apple_pay_payment[key];
|
|
437
|
+
}
|
|
438
|
+
});
|
|
439
|
+
});
|
|
440
|
+
var _blik_payment = require("./model/screenless/blik_payment");
|
|
441
|
+
Object.keys(_blik_payment).forEach(function (key) {
|
|
442
|
+
if (key === "default" || key === "__esModule") return;
|
|
443
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
444
|
+
if (key in exports && exports[key] === _blik_payment[key]) return;
|
|
445
|
+
Object.defineProperty(exports, key, {
|
|
446
|
+
enumerable: true,
|
|
447
|
+
get: function () {
|
|
448
|
+
return _blik_payment[key];
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
});
|
|
452
|
+
var _callbacks = require("./model/screenless/callbacks");
|
|
453
|
+
Object.keys(_callbacks).forEach(function (key) {
|
|
454
|
+
if (key === "default" || key === "__esModule") return;
|
|
455
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
456
|
+
if (key in exports && exports[key] === _callbacks[key]) return;
|
|
457
|
+
Object.defineProperty(exports, key, {
|
|
458
|
+
enumerable: true,
|
|
459
|
+
get: function () {
|
|
460
|
+
return _callbacks[key];
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
});
|
|
464
|
+
var _credit_card_config = require("./model/screenless/credit_card_config");
|
|
465
|
+
Object.keys(_credit_card_config).forEach(function (key) {
|
|
466
|
+
if (key === "default" || key === "__esModule") return;
|
|
467
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
468
|
+
if (key in exports && exports[key] === _credit_card_config[key]) return;
|
|
469
|
+
Object.defineProperty(exports, key, {
|
|
470
|
+
enumerable: true,
|
|
471
|
+
get: function () {
|
|
472
|
+
return _credit_card_config[key];
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
});
|
|
476
|
+
var _credit_card_payment = require("./model/screenless/credit_card_payment");
|
|
477
|
+
Object.keys(_credit_card_payment).forEach(function (key) {
|
|
478
|
+
if (key === "default" || key === "__esModule") return;
|
|
479
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
480
|
+
if (key in exports && exports[key] === _credit_card_payment[key]) return;
|
|
481
|
+
Object.defineProperty(exports, key, {
|
|
482
|
+
enumerable: true,
|
|
483
|
+
get: function () {
|
|
484
|
+
return _credit_card_payment[key];
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
});
|
|
488
|
+
var _credit_card = require("./model/screenless/credit_card");
|
|
489
|
+
Object.keys(_credit_card).forEach(function (key) {
|
|
490
|
+
if (key === "default" || key === "__esModule") return;
|
|
491
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
492
|
+
if (key in exports && exports[key] === _credit_card[key]) return;
|
|
493
|
+
Object.defineProperty(exports, key, {
|
|
494
|
+
enumerable: true,
|
|
495
|
+
get: function () {
|
|
496
|
+
return _credit_card[key];
|
|
497
|
+
}
|
|
498
|
+
});
|
|
499
|
+
});
|
|
500
|
+
var _expiration_date = require("./model/screenless/expiration_date");
|
|
501
|
+
Object.keys(_expiration_date).forEach(function (key) {
|
|
502
|
+
if (key === "default" || key === "__esModule") return;
|
|
503
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
504
|
+
if (key in exports && exports[key] === _expiration_date[key]) return;
|
|
505
|
+
Object.defineProperty(exports, key, {
|
|
506
|
+
enumerable: true,
|
|
507
|
+
get: function () {
|
|
508
|
+
return _expiration_date[key];
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
});
|
|
512
|
+
var _frequency = require("./model/screenless/frequency");
|
|
513
|
+
Object.keys(_frequency).forEach(function (key) {
|
|
514
|
+
if (key === "default" || key === "__esModule") return;
|
|
515
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
516
|
+
if (key in exports && exports[key] === _frequency[key]) return;
|
|
517
|
+
Object.defineProperty(exports, key, {
|
|
518
|
+
enumerable: true,
|
|
519
|
+
get: function () {
|
|
520
|
+
return _frequency[key];
|
|
521
|
+
}
|
|
522
|
+
});
|
|
523
|
+
});
|
|
524
|
+
var _google_pay_environment = require("./model/screenless/google_pay_environment");
|
|
525
|
+
Object.keys(_google_pay_environment).forEach(function (key) {
|
|
526
|
+
if (key === "default" || key === "__esModule") return;
|
|
527
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
528
|
+
if (key in exports && exports[key] === _google_pay_environment[key]) return;
|
|
529
|
+
Object.defineProperty(exports, key, {
|
|
530
|
+
enumerable: true,
|
|
531
|
+
get: function () {
|
|
532
|
+
return _google_pay_environment[key];
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
});
|
|
536
|
+
var _google_pay_payment = require("./model/screenless/google_pay_payment");
|
|
537
|
+
Object.keys(_google_pay_payment).forEach(function (key) {
|
|
538
|
+
if (key === "default" || key === "__esModule") return;
|
|
539
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
540
|
+
if (key in exports && exports[key] === _google_pay_payment[key]) return;
|
|
541
|
+
Object.defineProperty(exports, key, {
|
|
542
|
+
enumerable: true,
|
|
543
|
+
get: function () {
|
|
544
|
+
return _google_pay_payment[key];
|
|
545
|
+
}
|
|
546
|
+
});
|
|
547
|
+
});
|
|
548
|
+
var _google_pay_utils_configuration = require("./model/screenless/google_pay_utils_configuration");
|
|
549
|
+
Object.keys(_google_pay_utils_configuration).forEach(function (key) {
|
|
550
|
+
if (key === "default" || key === "__esModule") return;
|
|
551
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
552
|
+
if (key in exports && exports[key] === _google_pay_utils_configuration[key]) return;
|
|
553
|
+
Object.defineProperty(exports, key, {
|
|
554
|
+
enumerable: true,
|
|
555
|
+
get: function () {
|
|
556
|
+
return _google_pay_utils_configuration[key];
|
|
557
|
+
}
|
|
558
|
+
});
|
|
559
|
+
});
|
|
560
|
+
var _notifications = require("./model/screenless/notifications");
|
|
561
|
+
Object.keys(_notifications).forEach(function (key) {
|
|
562
|
+
if (key === "default" || key === "__esModule") return;
|
|
563
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
564
|
+
if (key in exports && exports[key] === _notifications[key]) return;
|
|
565
|
+
Object.defineProperty(exports, key, {
|
|
566
|
+
enumerable: true,
|
|
567
|
+
get: function () {
|
|
568
|
+
return _notifications[key];
|
|
569
|
+
}
|
|
570
|
+
});
|
|
571
|
+
});
|
|
572
|
+
var _payment_details = require("./model/screenless/payment_details");
|
|
573
|
+
Object.keys(_payment_details).forEach(function (key) {
|
|
574
|
+
if (key === "default" || key === "__esModule") return;
|
|
575
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
576
|
+
if (key in exports && exports[key] === _payment_details[key]) return;
|
|
577
|
+
Object.defineProperty(exports, key, {
|
|
578
|
+
enumerable: true,
|
|
579
|
+
get: function () {
|
|
580
|
+
return _payment_details[key];
|
|
581
|
+
}
|
|
582
|
+
});
|
|
583
|
+
});
|
|
584
|
+
var _raty_pekao_payment = require("./model/screenless/raty_pekao_payment");
|
|
585
|
+
Object.keys(_raty_pekao_payment).forEach(function (key) {
|
|
586
|
+
if (key === "default" || key === "__esModule") return;
|
|
587
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
588
|
+
if (key in exports && exports[key] === _raty_pekao_payment[key]) return;
|
|
589
|
+
Object.defineProperty(exports, key, {
|
|
590
|
+
enumerable: true,
|
|
591
|
+
get: function () {
|
|
592
|
+
return _raty_pekao_payment[key];
|
|
593
|
+
}
|
|
594
|
+
});
|
|
595
|
+
});
|
|
596
|
+
var _recursive = require("./model/screenless/recursive");
|
|
597
|
+
Object.keys(_recursive).forEach(function (key) {
|
|
598
|
+
if (key === "default" || key === "__esModule") return;
|
|
599
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
600
|
+
if (key in exports && exports[key] === _recursive[key]) return;
|
|
601
|
+
Object.defineProperty(exports, key, {
|
|
602
|
+
enumerable: true,
|
|
603
|
+
get: function () {
|
|
604
|
+
return _recursive[key];
|
|
605
|
+
}
|
|
606
|
+
});
|
|
607
|
+
});
|
|
608
|
+
var _redirects = require("./model/screenless/redirects");
|
|
609
|
+
Object.keys(_redirects).forEach(function (key) {
|
|
610
|
+
if (key === "default" || key === "__esModule") return;
|
|
611
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
612
|
+
if (key in exports && exports[key] === _redirects[key]) return;
|
|
613
|
+
Object.defineProperty(exports, key, {
|
|
614
|
+
enumerable: true,
|
|
615
|
+
get: function () {
|
|
616
|
+
return _redirects[key];
|
|
617
|
+
}
|
|
618
|
+
});
|
|
619
|
+
});
|
|
620
|
+
var _screenless_payment = require("./model/screenless/screenless_payment");
|
|
621
|
+
Object.keys(_screenless_payment).forEach(function (key) {
|
|
622
|
+
if (key === "default" || key === "__esModule") return;
|
|
623
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
624
|
+
if (key in exports && exports[key] === _screenless_payment[key]) return;
|
|
625
|
+
Object.defineProperty(exports, key, {
|
|
626
|
+
enumerable: true,
|
|
627
|
+
get: function () {
|
|
628
|
+
return _screenless_payment[key];
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
});
|
|
632
|
+
var _transfer_payment = require("./model/screenless/transfer_payment");
|
|
633
|
+
Object.keys(_transfer_payment).forEach(function (key) {
|
|
634
|
+
if (key === "default" || key === "__esModule") return;
|
|
635
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
636
|
+
if (key in exports && exports[key] === _transfer_payment[key]) return;
|
|
637
|
+
Object.defineProperty(exports, key, {
|
|
638
|
+
enumerable: true,
|
|
639
|
+
get: function () {
|
|
640
|
+
return _transfer_payment[key];
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
});
|
|
644
|
+
var _tokenization = require("./model/tokenization/tokenization");
|
|
645
|
+
Object.keys(_tokenization).forEach(function (key) {
|
|
646
|
+
if (key === "default" || key === "__esModule") return;
|
|
647
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
648
|
+
if (key in exports && exports[key] === _tokenization[key]) return;
|
|
649
|
+
Object.defineProperty(exports, key, {
|
|
650
|
+
enumerable: true,
|
|
651
|
+
get: function () {
|
|
652
|
+
return _tokenization[key];
|
|
653
|
+
}
|
|
654
|
+
});
|
|
655
|
+
});
|
|
656
|
+
var _single_transaction = require("./model/transaction/single_transaction");
|
|
657
|
+
Object.keys(_single_transaction).forEach(function (key) {
|
|
658
|
+
if (key === "default" || key === "__esModule") return;
|
|
659
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
660
|
+
if (key in exports && exports[key] === _single_transaction[key]) return;
|
|
661
|
+
Object.defineProperty(exports, key, {
|
|
662
|
+
enumerable: true,
|
|
663
|
+
get: function () {
|
|
664
|
+
return _single_transaction[key];
|
|
665
|
+
}
|
|
666
|
+
});
|
|
667
|
+
});
|
|
668
|
+
var _token_payment = require("./model/transaction/token_payment");
|
|
669
|
+
Object.keys(_token_payment).forEach(function (key) {
|
|
670
|
+
if (key === "default" || key === "__esModule") return;
|
|
671
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
672
|
+
if (key in exports && exports[key] === _token_payment[key]) return;
|
|
673
|
+
Object.defineProperty(exports, key, {
|
|
674
|
+
enumerable: true,
|
|
675
|
+
get: function () {
|
|
676
|
+
return _token_payment[key];
|
|
677
|
+
}
|
|
678
|
+
});
|
|
679
|
+
});
|
|
680
|
+
var _transaction = require("./model/transaction/transaction");
|
|
681
|
+
Object.keys(_transaction).forEach(function (key) {
|
|
682
|
+
if (key === "default" || key === "__esModule") return;
|
|
683
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
684
|
+
if (key in exports && exports[key] === _transaction[key]) return;
|
|
685
|
+
Object.defineProperty(exports, key, {
|
|
686
|
+
enumerable: true,
|
|
687
|
+
get: function () {
|
|
688
|
+
return _transaction[key];
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
});
|
|
692
|
+
var _tpay_configuration = require("./model/tpay_configuration");
|
|
693
|
+
Object.keys(_tpay_configuration).forEach(function (key) {
|
|
694
|
+
if (key === "default" || key === "__esModule") return;
|
|
695
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
696
|
+
if (key in exports && exports[key] === _tpay_configuration[key]) return;
|
|
697
|
+
Object.defineProperty(exports, key, {
|
|
698
|
+
enumerable: true,
|
|
699
|
+
get: function () {
|
|
700
|
+
return _tpay_configuration[key];
|
|
701
|
+
}
|
|
702
|
+
});
|
|
703
|
+
});
|
|
704
|
+
var _tpay_button = require("./component/tpay_button");
|
|
705
|
+
Object.keys(_tpay_button).forEach(function (key) {
|
|
706
|
+
if (key === "default" || key === "__esModule") return;
|
|
707
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
708
|
+
if (key in exports && exports[key] === _tpay_button[key]) return;
|
|
709
|
+
Object.defineProperty(exports, key, {
|
|
710
|
+
enumerable: true,
|
|
711
|
+
get: function () {
|
|
712
|
+
return _tpay_button[key];
|
|
713
|
+
}
|
|
714
|
+
});
|
|
715
|
+
});
|
|
716
|
+
const LINKING_ERROR = `The package 'react-native-tpay' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
|
|
717
|
+
ios: "- You have run 'pod install'\n",
|
|
718
|
+
default: ''
|
|
719
|
+
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
720
|
+
const Tpay = _reactNative.NativeModules.TpayRNModule ? _reactNative.NativeModules.TpayRNModule : new Proxy({}, {
|
|
721
|
+
get() {
|
|
722
|
+
throw new Error(LINKING_ERROR);
|
|
723
|
+
}
|
|
724
|
+
});
|
|
725
|
+
/**
|
|
726
|
+
* Method used to configure Tpay UI Module
|
|
727
|
+
*
|
|
728
|
+
* @returns {Result} ConfigurationSuccess when Tpay module was successfully configured
|
|
729
|
+
*/
|
|
730
|
+
async function configure(configuration) {
|
|
731
|
+
const result = await Tpay.configure(JSON.stringify(configuration));
|
|
732
|
+
return (0, _result_util.mapResult)(result);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Method used to start standard payment with Tpay UI Module
|
|
737
|
+
*/
|
|
738
|
+
async function startPayment(transaction) {
|
|
739
|
+
const result = await Tpay.startPayment(JSON.stringify(transaction));
|
|
740
|
+
return (0, _result_util.mapResult)(result);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Method used to start credit card tokenization with Tpay UI Module
|
|
745
|
+
*/
|
|
746
|
+
async function tokenizeCard(tokenization) {
|
|
747
|
+
const result = await Tpay.tokenizeCard(JSON.stringify(tokenization));
|
|
748
|
+
return (0, _result_util.mapResult)(result);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Method used to start credit card token payment with Tpay UI Module
|
|
753
|
+
*/
|
|
754
|
+
async function startCardTokenPayment(tokenPayment) {
|
|
755
|
+
const result = await Tpay.startCardTokenPayment(JSON.stringify(tokenPayment));
|
|
756
|
+
return (0, _result_util.mapResult)(result);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Method used to start screenless BLIK payment
|
|
761
|
+
*/
|
|
762
|
+
async function screenlessBLIKPayment(blikPayment) {
|
|
763
|
+
const result = await Tpay.screenlessBLIKPayment(JSON.stringify(blikPayment));
|
|
764
|
+
return (0, _screenless_result_util.mapScreenlessResult)(result);
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Method used to continue BLIK one click payment if ambiguous aliases were returned
|
|
769
|
+
*/
|
|
770
|
+
async function screenlessAmbiguousBLIKPayment(ambiguousBlikPayment) {
|
|
771
|
+
const result = await Tpay.screenlessAmbiguousBLIKPayment(JSON.stringify(ambiguousBlikPayment));
|
|
772
|
+
return (0, _screenless_result_util.mapScreenlessResult)(result);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Method used to start screenless transfer payment
|
|
777
|
+
*/
|
|
778
|
+
async function screenlessTransferPayment(transferPayment) {
|
|
779
|
+
const result = await Tpay.screenlessTransferPayment(JSON.stringify(transferPayment));
|
|
780
|
+
return (0, _screenless_result_util.mapScreenlessResult)(result);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Method used to start screenless Raty Pekao payment
|
|
785
|
+
*/
|
|
786
|
+
async function screenlessRatyPekaoPayment(ratyPekaoPayment) {
|
|
787
|
+
const result = await Tpay.screenlessRatyPekaoPayment(JSON.stringify(ratyPekaoPayment));
|
|
788
|
+
return (0, _screenless_result_util.mapScreenlessResult)(result);
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Method used to start screenless credit card payment
|
|
793
|
+
*/
|
|
794
|
+
async function screenlessCreditCardPayment(creditCardPayment) {
|
|
795
|
+
const result = await Tpay.screenlessCreditCardPayment(JSON.stringify(creditCardPayment));
|
|
796
|
+
return (0, _screenless_result_util.mapScreenlessResult)(result);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Method used to start screenless Google Pay payment
|
|
801
|
+
*/
|
|
802
|
+
async function screenlessGooglePayPayment(googlePayPayment) {
|
|
803
|
+
const result = await Tpay.screenlessGooglePayPayment(JSON.stringify(googlePayPayment));
|
|
804
|
+
return (0, _screenless_result_util.mapScreenlessResult)(result);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* Method used to start screenless Apple Pay payment
|
|
809
|
+
*/
|
|
810
|
+
async function screenlessApplePayPayment(applePayPayment) {
|
|
811
|
+
const result = await Tpay.screenlessApplePayPayment(JSON.stringify(applePayPayment));
|
|
812
|
+
return (0, _screenless_result_util.mapScreenlessResult)(result);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Method used to configure Google Pay utils.
|
|
817
|
+
* Call this method before using isGooglePayAvailable and openGooglePay methods.
|
|
818
|
+
*
|
|
819
|
+
* Android only
|
|
820
|
+
*/
|
|
821
|
+
async function configureGooglePayUtils(googlePayUtilsConfiguration) {
|
|
822
|
+
const result = await Tpay.configureGooglePayUtils(JSON.stringify(googlePayUtilsConfiguration));
|
|
823
|
+
return (0, _google_pay_configuration_util.mapGooglePayConfigurationResult)(result);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Method used to check if Google Pay is available
|
|
828
|
+
*
|
|
829
|
+
* Android only
|
|
830
|
+
*
|
|
831
|
+
* @returns true if Google Pay is available on the device
|
|
832
|
+
*/
|
|
833
|
+
async function isGooglePayAvailable() {
|
|
834
|
+
return await Tpay.isGooglePayAvailable();
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Method used to open Google Pay
|
|
839
|
+
*
|
|
840
|
+
* Android only
|
|
841
|
+
*
|
|
842
|
+
* @returns GooglePayOpenSuccess object if user successfully selects the credit card
|
|
843
|
+
*/
|
|
844
|
+
async function openGooglePay() {
|
|
845
|
+
const result = await Tpay.openGooglePay();
|
|
846
|
+
return (0, _google_pay_open_util.mapGooglePayOpenResult)(result);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* Method used to fetch payment channels from Tpay
|
|
851
|
+
*/
|
|
852
|
+
async function getAvailablePaymentChannels() {
|
|
853
|
+
const result = await Tpay.getAvailablePaymentChannels();
|
|
854
|
+
return (0, _payment_channels_util.mapPaymentChannelsResult)(result);
|
|
855
|
+
}
|
|
856
|
+
//# sourceMappingURL=index.js.map
|