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 @@
|
|
|
1
|
+
{"version":3,"names":["ScreenlessBlikAmbiguousAlias","ScreenlessConfiguredPaymentFailed","ScreenlessMethodCallError","ScreenlessPaid","ScreenlessPaymentCreated","ScreenlessPaymentError","ScreenlessValidationError","paid","configuredPaymentFailed","ambiguousAlias","error","paymentCreated","validationError","methodCallError","unknownScreenlessResult","mapScreenlessResult","json","object","JSON","parse","type","transactionId","message","paymentUrl","aliases","Error"],"sourceRoot":"../../../src","sources":["util/screenless_result_util.ts"],"mappings":"AAAA,SACEA,4BAA4B,EAC5BC,iCAAiC,EACjCC,yBAAyB,EACzBC,cAAc,EACdC,wBAAwB,EACxBC,sBAAsB,EAEtBC,yBAAyB,QACpB,mCAAmC;AAG1C,MAAMC,IAAI,GAAG,MAAM;AACnB,MAAMC,uBAAuB,GAAG,yBAAyB;AACzD,MAAMC,cAAc,GAAG,gBAAgB;AACvC,MAAMC,KAAK,GAAG,OAAO;AACrB,MAAMC,cAAc,GAAG,gBAAgB;AACvC,MAAMC,eAAe,GAAG,iBAAiB;AACzC,MAAMC,eAAe,GAAG,iBAAiB;AACzC,MAAMC,uBAAuB,GAAG,gCAAgC;AAEhE,OAAO,SAASC,mBAAmBA,CAACC,IAAY,EAAoB;EAClE,MAAMC,MAAM,GAAGC,IAAI,CAACC,KAAK,CAACH,IAAI,CAAC;EAE/B,QAAQC,MAAM,CAACG,IAAI;IACjB,KAAKb,IAAI;MACP,OAAO,IAAIJ,cAAc,CAACc,MAAM,CAACI,aAAa,CAAC;IACjD,KAAKb,uBAAuB;MAC1B,OAAO,IAAIP,iCAAiC,CAC1CgB,MAAM,CAACI,aAAa,EACpBJ,MAAM,CAACK,OACT,CAAC;IACH,KAAKX,cAAc;MACjB,OAAO,IAAIP,wBAAwB,CACjCa,MAAM,CAACI,aAAa,EACpBJ,MAAM,CAACM,UACT,CAAC;IACH,KAAKd,cAAc;MACjB,MAAMe,OAA8B,GAAGP,MAAM,CAACO,OAAO;MACrD,OAAO,IAAIxB,4BAA4B,CAACiB,MAAM,CAACI,aAAa,EAAEG,OAAO,CAAC;IACxE,KAAKX,eAAe;MAClB,OAAO,IAAIX,yBAAyB,CAACe,MAAM,CAACK,OAAO,CAAC;IACtD,KAAKZ,KAAK;MACR,OAAO,IAAIL,sBAAsB,CAACY,MAAM,CAACK,OAAO,CAAC;IACnD,KAAKV,eAAe;MAClB,OAAO,IAAIN,yBAAyB,CAACW,MAAM,CAACK,OAAO,CAAC;IACtD;MACE,MAAMG,KAAK,CAACX,uBAAuB,CAAC;EACxC;AACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type TpayButtonProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Called when button is clicked
|
|
5
|
+
*/
|
|
6
|
+
onClick: Function;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the button should be enabled
|
|
9
|
+
*/
|
|
10
|
+
isEnabled: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const TpayButton: ({ onClick, isEnabled }: TpayButtonProps) => JSX.Element;
|
|
13
|
+
//# sourceMappingURL=tpay_button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tpay_button.d.ts","sourceRoot":"","sources":["../../../../src/component/tpay_button.tsx"],"names":[],"mappings":";AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,OAAO,EAAE,QAAQ,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,UAAU,2BAA4B,eAAe,gBAqBjE,CAAC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import type { TpayConfiguration } from './model/tpay_configuration';
|
|
2
|
+
import { Result } from './model/result/result';
|
|
3
|
+
import type { SingleTransaction } from './model/transaction/single_transaction';
|
|
4
|
+
import type { Tokenization } from './model/tokenization/tokenization';
|
|
5
|
+
import type { TokenPayment } from './model/transaction/token_payment';
|
|
6
|
+
import type { ScreenlessResult } from './model/result/screenless_result';
|
|
7
|
+
import type { AmbiguousBlikPayment } from './model/screenless/ambiguous_blik_payment';
|
|
8
|
+
import type { TransferPayment } from './model/screenless/transfer_payment';
|
|
9
|
+
import type { CreditCardPayment } from './model/screenless/credit_card_payment';
|
|
10
|
+
import type { GooglePayPayment } from './model/screenless/google_pay_payment';
|
|
11
|
+
import type { GooglePayUtilsConfiguration } from './model/screenless/google_pay_utils_configuration';
|
|
12
|
+
import type { GooglePayConfigureResult } from './model/result/google_pay_configure_result';
|
|
13
|
+
import type { GooglePayOpenResult } from './model/result/google_pay_open_result';
|
|
14
|
+
import type { PaymentChannelsResult } from './model/result/payment_channels_result';
|
|
15
|
+
import type { RatyPekaoPayment } from './model/screenless/raty_pekao_payment';
|
|
16
|
+
import type { BlikPayment } from './model/screenless/blik_payment';
|
|
17
|
+
import type { ApplePayPayment } from './model/screenless/apple_pay_payment';
|
|
18
|
+
export * from './model/language/language';
|
|
19
|
+
export * from './model/language/languages';
|
|
20
|
+
export * from './model/language/localized_string';
|
|
21
|
+
export * from './model/merchant/apple_pay_configuration';
|
|
22
|
+
export * from './model/merchant/certificate_configuration';
|
|
23
|
+
export * from './model/merchant/google_pay_configuration';
|
|
24
|
+
export * from './model/merchant/merchant_authorization';
|
|
25
|
+
export * from './model/merchant/merchant_details';
|
|
26
|
+
export * from './model/merchant/merchant';
|
|
27
|
+
export * from './model/merchant/tpay_environment';
|
|
28
|
+
export * from './model/merchant/wallet_configuration';
|
|
29
|
+
export * from './model/payer/address';
|
|
30
|
+
export * from './model/payer/payer_context';
|
|
31
|
+
export * from './model/payer/payer';
|
|
32
|
+
export * from './model/payment_channel/payment_channel';
|
|
33
|
+
export * from './model/payment_channel/payment_constraint';
|
|
34
|
+
export * from './model/payment_channel/payment_group';
|
|
35
|
+
export * from './model/payment_method/automatic_payment_methods';
|
|
36
|
+
export * from './model/payment_method/blik_alias';
|
|
37
|
+
export * from './model/payment_method/credit_card_brand';
|
|
38
|
+
export * from './model/payment_method/digital_wallet';
|
|
39
|
+
export * from './model/payment_method/installment_payment';
|
|
40
|
+
export * from './model/payment_method/payment_method';
|
|
41
|
+
export * from './model/payment_method/payment_methods';
|
|
42
|
+
export * from './model/payment_method/tokenized_card';
|
|
43
|
+
export * from './model/result/google_pay_configure_result';
|
|
44
|
+
export * from './model/result/google_pay_open_result';
|
|
45
|
+
export * from './model/result/payment_channels_result';
|
|
46
|
+
export * from './model/result/result';
|
|
47
|
+
export * from './model/result/screenless_result';
|
|
48
|
+
export * from './model/screenless/ambiguous_alias';
|
|
49
|
+
export * from './model/screenless/ambiguous_blik_payment';
|
|
50
|
+
export * from './model/screenless/apple_pay_payment';
|
|
51
|
+
export * from './model/screenless/blik_payment';
|
|
52
|
+
export * from './model/screenless/callbacks';
|
|
53
|
+
export * from './model/screenless/credit_card_config';
|
|
54
|
+
export * from './model/screenless/credit_card_payment';
|
|
55
|
+
export * from './model/screenless/credit_card';
|
|
56
|
+
export * from './model/screenless/expiration_date';
|
|
57
|
+
export * from './model/screenless/frequency';
|
|
58
|
+
export * from './model/screenless/google_pay_environment';
|
|
59
|
+
export * from './model/screenless/google_pay_payment';
|
|
60
|
+
export * from './model/screenless/google_pay_utils_configuration';
|
|
61
|
+
export * from './model/screenless/notifications';
|
|
62
|
+
export * from './model/screenless/payment_details';
|
|
63
|
+
export * from './model/screenless/raty_pekao_payment';
|
|
64
|
+
export * from './model/screenless/recursive';
|
|
65
|
+
export * from './model/screenless/redirects';
|
|
66
|
+
export * from './model/screenless/screenless_payment';
|
|
67
|
+
export * from './model/screenless/transfer_payment';
|
|
68
|
+
export * from './model/tokenization/tokenization';
|
|
69
|
+
export * from './model/transaction/single_transaction';
|
|
70
|
+
export * from './model/transaction/token_payment';
|
|
71
|
+
export * from './model/transaction/transaction';
|
|
72
|
+
export * from './model/tpay_configuration';
|
|
73
|
+
export * from './component/tpay_button';
|
|
74
|
+
/**
|
|
75
|
+
* Method used to configure Tpay UI Module
|
|
76
|
+
*
|
|
77
|
+
* @returns {Result} ConfigurationSuccess when Tpay module was successfully configured
|
|
78
|
+
*/
|
|
79
|
+
export declare function configure(configuration: TpayConfiguration): Promise<Result>;
|
|
80
|
+
/**
|
|
81
|
+
* Method used to start standard payment with Tpay UI Module
|
|
82
|
+
*/
|
|
83
|
+
export declare function startPayment(transaction: SingleTransaction): Promise<Result>;
|
|
84
|
+
/**
|
|
85
|
+
* Method used to start credit card tokenization with Tpay UI Module
|
|
86
|
+
*/
|
|
87
|
+
export declare function tokenizeCard(tokenization: Tokenization): Promise<Result>;
|
|
88
|
+
/**
|
|
89
|
+
* Method used to start credit card token payment with Tpay UI Module
|
|
90
|
+
*/
|
|
91
|
+
export declare function startCardTokenPayment(tokenPayment: TokenPayment): Promise<Result>;
|
|
92
|
+
/**
|
|
93
|
+
* Method used to start screenless BLIK payment
|
|
94
|
+
*/
|
|
95
|
+
export declare function screenlessBLIKPayment(blikPayment: BlikPayment): Promise<ScreenlessResult>;
|
|
96
|
+
/**
|
|
97
|
+
* Method used to continue BLIK one click payment if ambiguous aliases were returned
|
|
98
|
+
*/
|
|
99
|
+
export declare function screenlessAmbiguousBLIKPayment(ambiguousBlikPayment: AmbiguousBlikPayment): Promise<ScreenlessResult>;
|
|
100
|
+
/**
|
|
101
|
+
* Method used to start screenless transfer payment
|
|
102
|
+
*/
|
|
103
|
+
export declare function screenlessTransferPayment(transferPayment: TransferPayment): Promise<ScreenlessResult>;
|
|
104
|
+
/**
|
|
105
|
+
* Method used to start screenless Raty Pekao payment
|
|
106
|
+
*/
|
|
107
|
+
export declare function screenlessRatyPekaoPayment(ratyPekaoPayment: RatyPekaoPayment): Promise<ScreenlessResult>;
|
|
108
|
+
/**
|
|
109
|
+
* Method used to start screenless credit card payment
|
|
110
|
+
*/
|
|
111
|
+
export declare function screenlessCreditCardPayment(creditCardPayment: CreditCardPayment): Promise<ScreenlessResult>;
|
|
112
|
+
/**
|
|
113
|
+
* Method used to start screenless Google Pay payment
|
|
114
|
+
*/
|
|
115
|
+
export declare function screenlessGooglePayPayment(googlePayPayment: GooglePayPayment): Promise<ScreenlessResult>;
|
|
116
|
+
/**
|
|
117
|
+
* Method used to start screenless Apple Pay payment
|
|
118
|
+
*/
|
|
119
|
+
export declare function screenlessApplePayPayment(applePayPayment: ApplePayPayment): Promise<ScreenlessResult>;
|
|
120
|
+
/**
|
|
121
|
+
* Method used to configure Google Pay utils.
|
|
122
|
+
* Call this method before using isGooglePayAvailable and openGooglePay methods.
|
|
123
|
+
*
|
|
124
|
+
* Android only
|
|
125
|
+
*/
|
|
126
|
+
export declare function configureGooglePayUtils(googlePayUtilsConfiguration: GooglePayUtilsConfiguration): Promise<GooglePayConfigureResult>;
|
|
127
|
+
/**
|
|
128
|
+
* Method used to check if Google Pay is available
|
|
129
|
+
*
|
|
130
|
+
* Android only
|
|
131
|
+
*
|
|
132
|
+
* @returns true if Google Pay is available on the device
|
|
133
|
+
*/
|
|
134
|
+
export declare function isGooglePayAvailable(): Promise<Boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* Method used to open Google Pay
|
|
137
|
+
*
|
|
138
|
+
* Android only
|
|
139
|
+
*
|
|
140
|
+
* @returns GooglePayOpenSuccess object if user successfully selects the credit card
|
|
141
|
+
*/
|
|
142
|
+
export declare function openGooglePay(): Promise<GooglePayOpenResult>;
|
|
143
|
+
/**
|
|
144
|
+
* Method used to fetch payment channels from Tpay
|
|
145
|
+
*/
|
|
146
|
+
export declare function getAvailablePaymentChannels(): Promise<PaymentChannelsResult>;
|
|
147
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../../../src/model/language/language.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,EAAE,OAAO;IACT,EAAE,OAAO;CACV"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Language } from "./language";
|
|
2
|
+
/**
|
|
3
|
+
* Class responsible for storing information about module languages.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Languages {
|
|
6
|
+
preferredLanguage: Language;
|
|
7
|
+
supportedLanguages: Array<Language>;
|
|
8
|
+
/**
|
|
9
|
+
* @param {Language} preferredLanguage - module will open in this language
|
|
10
|
+
* @param {Array<Language>} supportedLanguages - languages that user will be able to use in module
|
|
11
|
+
*/
|
|
12
|
+
constructor(preferredLanguage: Language, supportedLanguages: Array<Language>);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=languages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"languages.d.ts","sourceRoot":"","sources":["../../../../../src/model/language/languages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C;;GAEG;AACH,qBAAa,SAAS;IACpB,iBAAiB,EAAE,QAAQ,CAAC;IAC5B,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAEpC;;;OAGG;gBAED,iBAAiB,EAAE,QAAQ,EAC3B,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC;CAKtC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Language } from "./language";
|
|
2
|
+
/**
|
|
3
|
+
* Class responsible for storing a localized string
|
|
4
|
+
*/
|
|
5
|
+
export declare class LocalizedString {
|
|
6
|
+
language: Language;
|
|
7
|
+
value: string;
|
|
8
|
+
constructor(language: Language, value: string);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=localized_string.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localized_string.d.ts","sourceRoot":"","sources":["../../../../../src/model/language/localized_string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C;;GAEG;AACH,qBAAa,eAAe;IAC1B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;gBAEF,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM;CAI9C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class responsible for storing information about Apple Pay configuration.
|
|
3
|
+
*/
|
|
4
|
+
export declare class ApplePayConfiguration {
|
|
5
|
+
merchantIdentifier: string;
|
|
6
|
+
countryCode: string;
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @param merchantIdentifier - unique id that identifies your business as a merchant able to accept apple payments
|
|
10
|
+
* @param countryCode - country code, for example "PL"
|
|
11
|
+
*/
|
|
12
|
+
constructor(merchantIdentifier: string, countryCode: string);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=apple_pay_configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apple_pay_configuration.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/apple_pay_configuration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,qBAAqB;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;gBACS,kBAAkB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAI5D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class responsible for storing information about certificate pinning.
|
|
3
|
+
*/
|
|
4
|
+
export declare class CertificatePinningConfiguration {
|
|
5
|
+
pinnedDomain: string;
|
|
6
|
+
publicKeyHash: string;
|
|
7
|
+
/**
|
|
8
|
+
* @param publicKeyHash - public key used to encrypt credit card data during payment/tokenization.
|
|
9
|
+
*/
|
|
10
|
+
constructor(publicKeyHash: string);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=certificate_configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certificate_configuration.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/certificate_configuration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,+BAA+B;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;gBACS,aAAa,EAAE,MAAM;CAIlC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class responsible for storing information about GooglePay configuration
|
|
3
|
+
*/
|
|
4
|
+
export declare class GooglePayConfiguration {
|
|
5
|
+
merchantId: string;
|
|
6
|
+
/**
|
|
7
|
+
* @param merchantId - your merchant id in Tpay system
|
|
8
|
+
*/
|
|
9
|
+
constructor(merchantId: string);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=google_pay_configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google_pay_configuration.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/google_pay_configuration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,sBAAsB;IACjC,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;gBACS,UAAU,EAAE,MAAM;CAG/B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CertificatePinningConfiguration } from "./certificate_configuration";
|
|
2
|
+
import type { MerchantAuthorization } from "./merchant_authorization";
|
|
3
|
+
import type { TpayEnvironment } from "./tpay_environment";
|
|
4
|
+
import type { WalletConfiguration } from "./wallet_configuration";
|
|
5
|
+
/**
|
|
6
|
+
* Class responsible for storing merchant information
|
|
7
|
+
*/
|
|
8
|
+
export declare class Merchant {
|
|
9
|
+
authorization: MerchantAuthorization;
|
|
10
|
+
environment: TpayEnvironment;
|
|
11
|
+
certificatePinningConfiguration: CertificatePinningConfiguration;
|
|
12
|
+
blikAliasToRegister: string;
|
|
13
|
+
walletConfiguration: WalletConfiguration | null;
|
|
14
|
+
/**
|
|
15
|
+
* @param authorization - merchant credentials
|
|
16
|
+
* @param environment - environment that the module will use
|
|
17
|
+
* @param certificatePinningConfiguration - encryption information
|
|
18
|
+
* @param blikAliasToRegister - BLIK that will be registered with payment
|
|
19
|
+
* @param walletConfiguration - configuration of digital wallets
|
|
20
|
+
*/
|
|
21
|
+
constructor(authorization: MerchantAuthorization, environment: TpayEnvironment, certificatePinningConfiguration: CertificatePinningConfiguration, blikAliasToRegister: string, walletConfiguration: WalletConfiguration | null);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=merchant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merchant.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/merchant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE;;GAEG;AACH,qBAAa,QAAQ;IACnB,aAAa,EAAE,qBAAqB,CAAC;IACrC,WAAW,EAAE,eAAe,CAAC;IAC7B,+BAA+B,EAAE,+BAA+B,CAAC;IACjE,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEhD;;;;;;OAMG;gBAED,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,eAAe,EAC5B,+BAA+B,EAAE,+BAA+B,EAChE,mBAAmB,EAAE,MAAM,EAC3B,mBAAmB,EAAE,mBAAmB,GAAG,IAAI;CAQlD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class responsible for storing merchant's authorization
|
|
3
|
+
*/
|
|
4
|
+
export declare class MerchantAuthorization {
|
|
5
|
+
clientId: string;
|
|
6
|
+
clientSecret: string;
|
|
7
|
+
/**
|
|
8
|
+
* @param clientId - your client id in Tpay system
|
|
9
|
+
* @param clientSecret - your client secret in Tpay system
|
|
10
|
+
*/
|
|
11
|
+
constructor(clientId: string, clientSecret: string);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=merchant_authorization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merchant_authorization.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/merchant_authorization.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,qBAAqB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;gBACS,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM;CAInD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { LocalizedString } from "../language/localized_string";
|
|
2
|
+
/**
|
|
3
|
+
* Class responsible for storing localized information about merchant
|
|
4
|
+
*/
|
|
5
|
+
export declare class MerchantDetails {
|
|
6
|
+
merchantDisplayName: Array<LocalizedString>;
|
|
7
|
+
merchantHeadquarters: Array<LocalizedString>;
|
|
8
|
+
regulations: Array<LocalizedString>;
|
|
9
|
+
/**
|
|
10
|
+
* @param merchantDisplayNames - localized display names
|
|
11
|
+
* @param merchantHeadquarters - localized headquarters
|
|
12
|
+
* @param regulationUrls - localized regulation urls
|
|
13
|
+
*/
|
|
14
|
+
constructor(merchantDisplayNames: Array<LocalizedString>, merchantHeadquarters: Array<LocalizedString>, regulationUrls: Array<LocalizedString>);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=merchant_details.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merchant_details.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/merchant_details.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE;;GAEG;AACH,qBAAa,eAAe;IAC1B,mBAAmB,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC5C,oBAAoB,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC7C,WAAW,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAEpC;;;;OAIG;gBAED,oBAAoB,EAAE,KAAK,CAAC,eAAe,CAAC,EAC5C,oBAAoB,EAAE,KAAK,CAAC,eAAe,CAAC,EAC5C,cAAc,EAAE,KAAK,CAAC,eAAe,CAAC;CAMzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tpay_environment.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/tpay_environment.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,UAAU,eAAe;IACzB,OAAO,YAAY;CACpB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ApplePayConfiguration } from './apple_pay_configuration';
|
|
2
|
+
import type { GooglePayConfiguration } from './google_pay_configuration';
|
|
3
|
+
/**
|
|
4
|
+
* Class responsible for storing wallet configuration
|
|
5
|
+
*/
|
|
6
|
+
export declare class WalletConfiguration {
|
|
7
|
+
googlePay: GooglePayConfiguration | null;
|
|
8
|
+
applePay: ApplePayConfiguration | null;
|
|
9
|
+
/**
|
|
10
|
+
* @param googlePay - Google Pay configuration
|
|
11
|
+
* @param applePay - Apple Pay configuration
|
|
12
|
+
*/
|
|
13
|
+
constructor(googlePay: GooglePayConfiguration | null, applePay: ApplePayConfiguration | null);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=wallet_configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wallet_configuration.d.ts","sourceRoot":"","sources":["../../../../../src/model/merchant/wallet_configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,SAAS,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACzC,QAAQ,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAEvC;;;OAGG;gBAED,SAAS,EAAE,sBAAsB,GAAG,IAAI,EACxC,QAAQ,EAAE,qBAAqB,GAAG,IAAI;CAKzC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class responsible for storing payer address
|
|
3
|
+
*/
|
|
4
|
+
export declare class Address {
|
|
5
|
+
address: string | null;
|
|
6
|
+
city: string | null;
|
|
7
|
+
countryCode: string | null;
|
|
8
|
+
postalCode: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* @param address - street number
|
|
11
|
+
* @param city - city name
|
|
12
|
+
* @param countryCode - country code, for example 'PL'
|
|
13
|
+
* @param postalCode - postal code
|
|
14
|
+
*/
|
|
15
|
+
constructor(address: string | null, city: string | null, countryCode: string | null, postalCode: string | null);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=address.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../../../src/model/payer/address.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,OAAO;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;gBAED,OAAO,EAAE,MAAM,GAAG,IAAI,EACtB,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,WAAW,EAAE,MAAM,GAAG,IAAI,EAC1B,UAAU,EAAE,MAAM,GAAG,IAAI;CAO5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Address } from "./address";
|
|
2
|
+
/**
|
|
3
|
+
* Class responsible for storing information about payer
|
|
4
|
+
*/
|
|
5
|
+
export declare class Payer {
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
phone: string | null;
|
|
9
|
+
address: Address | null;
|
|
10
|
+
/**
|
|
11
|
+
* @param name - payer's full name
|
|
12
|
+
* @param email - payer's email
|
|
13
|
+
* @param phone - payer's phone number
|
|
14
|
+
* @param address - payer's address
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, email: string, phone: string | null, address: Address | null);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=payer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payer.d.ts","sourceRoot":"","sources":["../../../../../src/model/payer/payer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,qBAAa,KAAK;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAExB;;;;;OAKG;gBAED,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,OAAO,EAAE,OAAO,GAAG,IAAI;CAO1B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AutomaticPaymentMethods } from "../payment_method/automatic_payment_methods";
|
|
2
|
+
import type { Payer } from "./payer";
|
|
3
|
+
/**
|
|
4
|
+
* Class responsible for storing information about payer and automatic payment methods
|
|
5
|
+
*/
|
|
6
|
+
export declare class PayerContext {
|
|
7
|
+
payer: Payer | null;
|
|
8
|
+
automaticPaymentMethods: AutomaticPaymentMethods | null;
|
|
9
|
+
/**
|
|
10
|
+
* @param payer - payer information
|
|
11
|
+
* @param automaticPaymentMethods - automatic payment methods for payer
|
|
12
|
+
*/
|
|
13
|
+
constructor(payer: Payer | null, automaticPaymentMethods: AutomaticPaymentMethods | null);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=payer_context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payer_context.d.ts","sourceRoot":"","sources":["../../../../../src/model/payer/payer_context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;GAEG;AACH,qBAAa,YAAY;IACvB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,uBAAuB,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAExD;;;OAGG;gBAED,KAAK,EAAE,KAAK,GAAG,IAAI,EACnB,uBAAuB,EAAE,uBAAuB,GAAG,IAAI;CAK1D"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { PaymentConstraint } from './payment_constraint';
|
|
2
|
+
/**
|
|
3
|
+
* Class responsible for storing information about a payment channel
|
|
4
|
+
*/
|
|
5
|
+
export declare class PaymentChannel {
|
|
6
|
+
/**
|
|
7
|
+
* id of the payment channel
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* channel display name
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* channel image url
|
|
16
|
+
*/
|
|
17
|
+
imageUrl: string;
|
|
18
|
+
/**
|
|
19
|
+
* channel constraints
|
|
20
|
+
*/
|
|
21
|
+
constraints: Array<PaymentConstraint>;
|
|
22
|
+
constructor(id: string, name: string, imageUrl: string, constraints: Array<PaymentConstraint>);
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=payment_channel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment_channel.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_channel/payment_channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,qBAAa,cAAc;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;gBAGpC,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC;CAOxC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class indicating that there is a payment constraint on a payment channel
|
|
3
|
+
*/
|
|
4
|
+
export declare class PaymentConstraint {
|
|
5
|
+
/**
|
|
6
|
+
* type of a payment constraint
|
|
7
|
+
*/
|
|
8
|
+
type: PaymentConstraintType;
|
|
9
|
+
constructor(type: PaymentConstraintType);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Enum describing available payment constraint types
|
|
13
|
+
*/
|
|
14
|
+
export declare enum PaymentConstraintType {
|
|
15
|
+
amount = "amount"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Class responsible for storing information about amount payment constraint
|
|
19
|
+
*/
|
|
20
|
+
export declare class AmountPaymentConstraint extends PaymentConstraint {
|
|
21
|
+
/**
|
|
22
|
+
* minimum price that can be used while creating the transaction
|
|
23
|
+
*/
|
|
24
|
+
minimum: number | null | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* maximum price that can be used while creating the transaction
|
|
27
|
+
*/
|
|
28
|
+
maximum: number | null | undefined;
|
|
29
|
+
constructor(minimum: number | null, maximum: number | null);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=payment_constraint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment_constraint.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_channel/payment_constraint.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,iBAAiB;IAC5B;;OAEG;IACH,IAAI,EAAE,qBAAqB,CAAC;gBAEhB,IAAI,EAAE,qBAAqB;CAGxC;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,iBAAiB;IAC5D;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEnC;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;gBAEvB,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;CAK3D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class responsible for storing payment group's information
|
|
3
|
+
*/
|
|
4
|
+
export declare class PaymentGroup {
|
|
5
|
+
/**
|
|
6
|
+
* id of the group
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* group's display name
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* group's image url
|
|
15
|
+
*/
|
|
16
|
+
imageUrl: string;
|
|
17
|
+
constructor(id: string, name: string, imageUrl: string);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=payment_group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment_group.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_channel/payment_group.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,YAAY;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;gBAEL,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAKvD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BlikAlias } from "./blik_alias";
|
|
2
|
+
import type { TokenizedCard } from "./tokenized_card";
|
|
3
|
+
/**
|
|
4
|
+
* Class responsible for storing information about payer's automatic payment methods
|
|
5
|
+
*/
|
|
6
|
+
export declare class AutomaticPaymentMethods {
|
|
7
|
+
tokenizedCards: Array<TokenizedCard> | null;
|
|
8
|
+
blikAlias: BlikAlias | null;
|
|
9
|
+
/**
|
|
10
|
+
* @param tokenizedCards - tokenized cards created after successful credit card payment
|
|
11
|
+
* @param blikAlias - BLIK alias that will be registered after payment or used to pay (if registered)
|
|
12
|
+
*/
|
|
13
|
+
constructor(tokenizedCards: Array<TokenizedCard> | null, blikAlias: BlikAlias | null);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=automatic_payment_methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automatic_payment_methods.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_method/automatic_payment_methods.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,qBAAa,uBAAuB;IAClC,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IAC5C,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAE5B;;;OAGG;gBAED,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,EAC3C,SAAS,EAAE,SAAS,GAAG,IAAI;CAK9B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class responsible for storing information about BLIK alias
|
|
3
|
+
*/
|
|
4
|
+
export declare class BlikAlias {
|
|
5
|
+
isRegistered: boolean;
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* @param isRegistered - true if this BLIK alias is registered (payer saved it after paying with 6-digit code)
|
|
10
|
+
* @param value - payer's unique alias value
|
|
11
|
+
* @param label - alias display name
|
|
12
|
+
*/
|
|
13
|
+
constructor(isRegistered: boolean, value: string, label: string);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=blik_alias.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blik_alias.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_method/blik_alias.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,SAAS;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;gBACS,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAKhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit_card_brand.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_method/credit_card_brand.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,eAAe;IACzB,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"digital_wallet.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_method/digital_wallet.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,aAAa;IACvB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installment_payment.d.ts","sourceRoot":"","sources":["../../../../../src/model/payment_method/installment_payment.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,SAAS,cAAc;CACxB"}
|