react-native-hyperpay-sdk 0.2.0 → 0.5.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 +2 -1
- package/OPPWAMobile-Resources.bundle/Info.plist +0 -0
- package/OPPWAMobile-Resources.bundle/Klarna.json +67 -0
- package/OPPWAMobile-Resources.bundle/OPPBrandCollectionViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPCardDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPCardsTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPCheckoutTextFieldView.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPChinaUnionPayDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPDirectDebitDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPGiropayDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPIkanoDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPKlarnaDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPKlarnaTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPListDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPMBWAYDetailsViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentFormHeaderView.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentProcessingViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeViewController.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPStorePaymentDetailsView.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTokenCollectionViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTokensTableViewCell.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/objects-11.0+.nib +0 -0
- package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/runtime.nib +0 -0
- package/OPPWAMobile-Resources.bundle/alipay.png +0 -0
- package/OPPWAMobile-Resources.bundle/alipay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/alipay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/amex.png +0 -0
- package/OPPWAMobile-Resources.bundle/amex@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/amex@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/applepay.png +0 -0
- package/OPPWAMobile-Resources.bundle/applepay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/applepay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ar.lproj/OPPCheckout.strings +89 -0
- package/OPPWAMobile-Resources.bundle/arrow_down.png +0 -0
- package/OPPWAMobile-Resources.bundle/arrow_up.png +0 -0
- package/OPPWAMobile-Resources.bundle/boleto.png +0 -0
- package/OPPWAMobile-Resources.bundle/boleto@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/boleto@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ca.lproj/OPPCheckout.strings +90 -0
- package/OPPWAMobile-Resources.bundle/camera_icon.png +0 -0
- package/OPPWAMobile-Resources.bundle/camera_icon@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/camera_icon@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/card.png +0 -0
- package/OPPWAMobile-Resources.bundle/card@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/card@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/cartebleue.png +0 -0
- package/OPPWAMobile-Resources.bundle/cartebleue@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/cartebleue@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/dankort.png +0 -0
- package/OPPWAMobile-Resources.bundle/dankort@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/dankort@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/de.lproj/OPPCheckout.strings +99 -0
- package/OPPWAMobile-Resources.bundle/diners.png +0 -0
- package/OPPWAMobile-Resources.bundle/diners@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/diners@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/directdebit_sepa.png +0 -0
- package/OPPWAMobile-Resources.bundle/directdebit_sepa@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/directdebit_sepa@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/discover.png +0 -0
- package/OPPWAMobile-Resources.bundle/discover@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/discover@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/en.lproj/OPPCheckout.strings +145 -0
- package/OPPWAMobile-Resources.bundle/es.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile-Resources.bundle/eu-ES.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile-Resources.bundle/fr-CA.lproj/OPPCheckout.strings +93 -0
- package/OPPWAMobile-Resources.bundle/fr.lproj/OPPCheckout.strings +93 -0
- package/OPPWAMobile-Resources.bundle/giropay.png +0 -0
- package/OPPWAMobile-Resources.bundle/giropay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/giropay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/gl-ES.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile-Resources.bundle/ideal.png +0 -0
- package/OPPWAMobile-Resources.bundle/ideal@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ideal@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/it.lproj/OPPCheckout.strings +94 -0
- package/OPPWAMobile-Resources.bundle/ja.lproj/OPPCheckout.strings +74 -0
- package/OPPWAMobile-Resources.bundle/jcb.png +0 -0
- package/OPPWAMobile-Resources.bundle/jcb@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/jcb@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_detail_logo.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_detail_logo@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_detail_logo@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_nl_agreement.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_billpay.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_paylater.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/mada.png +0 -0
- package/OPPWAMobile-Resources.bundle/mada@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/mada@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/maestro.png +0 -0
- package/OPPWAMobile-Resources.bundle/maestro@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/maestro@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/master.png +0 -0
- package/OPPWAMobile-Resources.bundle/master@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/master@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterdebit.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterdebit@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterdebit@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterpass.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterpass@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/masterpass@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/nl.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/paydirekt.png +0 -0
- package/OPPWAMobile-Resources.bundle/paydirekt@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paydirekt@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paypal.png +0 -0
- package/OPPWAMobile-Resources.bundle/paypal@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paypal@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paysafecard.png +0 -0
- package/OPPWAMobile-Resources.bundle/paysafecard@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paysafecard@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paytrail.png +0 -0
- package/OPPWAMobile-Resources.bundle/paytrail@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/paytrail@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/pf_karte_direct.png +0 -0
- package/OPPWAMobile-Resources.bundle/pf_karte_direct@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/pf_karte_direct@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/przelewy.png +0 -0
- package/OPPWAMobile-Resources.bundle/przelewy@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/przelewy@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/pt.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/ratenkauf.png +0 -0
- package/OPPWAMobile-Resources.bundle/ratenkauf@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ratenkauf@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/ru.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/sibs_multibanco.png +0 -0
- package/OPPWAMobile-Resources.bundle/sibs_multibanco@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/sibs_multibanco@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/sofortueberweisung.png +0 -0
- package/OPPWAMobile-Resources.bundle/sofortueberweisung@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/sofortueberweisung@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/th.lproj/OPPCheckout.strings +91 -0
- package/OPPWAMobile-Resources.bundle/trustly.png +0 -0
- package/OPPWAMobile-Resources.bundle/trustly@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/trustly@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/unionpay.png +0 -0
- package/OPPWAMobile-Resources.bundle/unionpay@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/unionpay@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/version.plist +0 -0
- package/OPPWAMobile-Resources.bundle/visa.png +0 -0
- package/OPPWAMobile-Resources.bundle/visa@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visa@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visadebit.png +0 -0
- package/OPPWAMobile-Resources.bundle/visadebit@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visadebit@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visaelectron.png +0 -0
- package/OPPWAMobile-Resources.bundle/visaelectron@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/visaelectron@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/yandex.png +0 -0
- package/OPPWAMobile-Resources.bundle/yandex@2x.png +0 -0
- package/OPPWAMobile-Resources.bundle/yandex@3x.png +0 -0
- package/OPPWAMobile-Resources.bundle/zh-Hans.lproj/OPPCheckout.strings +92 -0
- package/OPPWAMobile.framework/.DS_Store +0 -0
- package/OPPWAMobile.framework/Headers/OPPAlipayPaymentParams.h +49 -0
- package/OPPWAMobile.framework/Headers/OPPApplePayPaymentParams.h +64 -0
- package/OPPWAMobile.framework/Headers/OPPApplePayRequestStatus.h +117 -0
- package/OPPWAMobile.framework/Headers/OPPBankAccount.h +58 -0
- package/OPPWAMobile.framework/Headers/OPPBankAccountPaymentParams.h +171 -0
- package/OPPWAMobile.framework/Headers/OPPCard.h +68 -0
- package/OPPWAMobile.framework/Headers/OPPCardPaymentParams.h +251 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutInfo.h +130 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutPaymentMethod.h +51 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutProvider.h +197 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutSettings.h +185 -0
- package/OPPWAMobile.framework/Headers/OPPCheckoutTheme.h +268 -0
- package/OPPWAMobile.framework/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
- package/OPPWAMobile.framework/Headers/OPPErrors.h +183 -0
- package/OPPWAMobile.framework/Headers/OPPIkanoOiPaymentParams.h +74 -0
- package/OPPWAMobile.framework/Headers/OPPMBWayPaymentParams.h +66 -0
- package/OPPWAMobile.framework/Headers/OPPPayPalPaymentParams.h +48 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentBrandsConfig.h +56 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentButton.h +79 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentParams.h +100 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentParamsBrand.h +57 -0
- package/OPPWAMobile.framework/Headers/OPPPaymentProvider.h +132 -0
- package/OPPWAMobile.framework/Headers/OPPSecurityPolicy.h +87 -0
- package/OPPWAMobile.framework/Headers/OPPToken.h +95 -0
- package/OPPWAMobile.framework/Headers/OPPTokenPaymentParams.h +180 -0
- package/OPPWAMobile.framework/Headers/OPPTransaction.h +77 -0
- package/OPPWAMobile.framework/Headers/OPPWAMobile.h +48 -0
- package/OPPWAMobile.framework/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Resources/Info.plist +0 -0
- package/OPPWAMobile.framework/Versions/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPAlipayPaymentParams.h +49 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayPaymentParams.h +64 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayRequestStatus.h +117 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccount.h +58 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccountPaymentParams.h +171 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCard.h +68 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCardPaymentParams.h +251 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutInfo.h +130 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutPaymentMethod.h +51 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutProvider.h +197 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutSettings.h +185 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutTheme.h +268 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPErrors.h +183 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPIkanoOiPaymentParams.h +74 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPMBWayPaymentParams.h +66 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPayPalPaymentParams.h +48 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentBrandsConfig.h +56 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentButton.h +79 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParams.h +100 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParamsBrand.h +57 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentProvider.h +132 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPSecurityPolicy.h +87 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPToken.h +95 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTokenPaymentParams.h +180 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTransaction.h +77 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPWAMobile.h +48 -0
- package/OPPWAMobile.framework/Versions/2.47.0/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Resources/Info.plist +0 -0
- package/OPPWAMobile.framework/Versions/Current/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPAlipayPaymentParams.h +49 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayPaymentParams.h +64 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayRequestStatus.h +117 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccount.h +58 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccountPaymentParams.h +171 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCard.h +68 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCardPaymentParams.h +251 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutInfo.h +130 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutPaymentMethod.h +51 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutProvider.h +197 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutSettings.h +185 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutTheme.h +268 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPChinaUnionPayPaymentParams.h +62 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPErrors.h +183 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPIkanoOiPaymentParams.h +74 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPMBWayPaymentParams.h +66 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPayPalPaymentParams.h +48 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentBrandsConfig.h +56 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentButton.h +79 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParams.h +100 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParamsBrand.h +57 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentProvider.h +132 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPSecurityPolicy.h +87 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPToken.h +95 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPTokenPaymentParams.h +180 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPTransaction.h +77 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPWAMobile.h +48 -0
- package/OPPWAMobile.framework/Versions/Current/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Versions/Current/Resources/Info.plist +0 -0
- package/README.md +6 -8
- package/android/.DS_Store +0 -0
- package/android/.gradle/6.8/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/6.8/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.8/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.8/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.8/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/6.8/gc.properties +0 -0
- package/android/.gradle/6.8/javaCompile/javaCompile.lock +0 -0
- package/android/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.1.1/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.1.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/configuration-cache/gc.properties +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/.gitignore +3 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +19 -0
- package/android/.idea/jarRepositories.xml +40 -0
- package/android/.idea/libraries/Gradle____oppwa_mobile_2_44_0_oppwa_mobile_2_44_0_aar.xml +11 -0
- package/android/.idea/libraries/Gradle__com_android_support_appcompat_v7_23_0_1_aar.xml +18 -0
- package/android/.idea/libraries/Gradle__com_android_support_recyclerview_v7_23_0_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_android_support_support_annotations_23_0_1.xml +13 -0
- package/android/.idea/libraries/Gradle__com_android_support_support_v4_23_0_1_aar.xml +19 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_drawee_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fbcore_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fresco_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp_0_8_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_20_1_aar.xml +19 -0
- package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_2_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp_1_2_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_2_3.xml +13 -0
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_nineoldandroids_library_2_4_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_parse_bolts_bolts_android_1_1_4.xml +13 -0
- package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_2_5_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_ws_2_5_0.xml +13 -0
- package/android/.idea/libraries/Gradle__com_squareup_okio_okio_1_6_0.xml +13 -0
- package/android/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml +13 -0
- package/android/.idea/libraries/Gradle__org_webkit_android_jsc_r174650_aar.xml +11 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/modules/android.iml +66 -0
- package/android/.idea/modules.xml +8 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/build.gradle +40 -116
- package/android/local.properties +8 -0
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/com/{reactnativehyperpaysdk/HyperpaySdkModule.java → reactnativehyperpay/HyperPayModule.java} +8 -7
- package/android/src/main/java/com/{reactnativehyperpaysdk/HyperpaySdkPackage.java → reactnativehyperpay/HyperPayPackage.java} +3 -3
- package/ios/HyperPay.h +11 -0
- package/ios/HyperPay.m +93 -0
- package/ios/{HyperpaySdk.xcodeproj → HyperPay.xcodeproj}/project.pbxproj +28 -20
- package/ios/{HyperpaySdk.xcodeproj → HyperPay.xcodeproj}/project.xcworkspace/contents.xcworkspacedata +0 -0
- package/lib/typescript/index.d.ts +24 -1
- package/package.json +27 -30
- package/react-native-hyperpay.podspec +20 -0
- package/src/index.tsx +17 -11
- package/android/gradle.properties +0 -5
- package/ios/HyperpaySdk.h +0 -5
- package/ios/HyperpaySdk.mm +0 -31
- package/react-native-hyperpay-sdk.podspec +0 -40
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Checkout.strings
|
|
3
|
+
// OPPWAMobile
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
/// View controller titles
|
|
7
|
+
"VIEW_CONTROLLER_TITLE_PAYMENT_METHOD_SELECTION" = "เลือกวิธีชำระเงิน";
|
|
8
|
+
"VIEW_CONTROLLER_TITLE_PAYMENT_DETAILS" = "ข้อมูลชำระเงิน";
|
|
9
|
+
"VIEW_CONTROLLER_TITLE_PROCESSING" = "กำลังดำเนินรายการ";
|
|
10
|
+
|
|
11
|
+
/// Form titles
|
|
12
|
+
"FORM_TITLE_PAYMENT_INFO" = "รายละเอียดชำระเงิน";
|
|
13
|
+
|
|
14
|
+
/// Labels
|
|
15
|
+
"LABEL_TOTAL_AMOUNT" = "ราคารวม";
|
|
16
|
+
"LABEL_MBWAY_PUSH_NOTIFICATION" = "ระบบจะส่งพุชแจ้งเตือนไปที่โทรศัพท์มือถือ";
|
|
17
|
+
"LABEL_MBWAY_ACCEPT_PIN" = "กรุณาใส่ PIN ของ MB WAY เพื่อยืนยันการทำรายการ";
|
|
18
|
+
"LABEL_TERMS_AND_CONDITIONS" = "ข้อตกลงและเงื่อนไข";
|
|
19
|
+
"LABEL_TERMS_AND_CONDITIONS_AGREEMENT" = "ยอมรับข้อตกลงและเงื่อนไข";
|
|
20
|
+
"LABEL_SWEDISH" = "สวีเดน";
|
|
21
|
+
"LABEL_FINNISH" = "ฟินแลนด์";
|
|
22
|
+
|
|
23
|
+
/// Messages
|
|
24
|
+
"MESSAGE_PLEASE_WAIT" = "กรุณารอสักครู่";
|
|
25
|
+
|
|
26
|
+
/// Device owner authentication
|
|
27
|
+
"DEVICE_AUTH_REASON" = "ยืนยันชำระเงิน";
|
|
28
|
+
|
|
29
|
+
/// Button titles
|
|
30
|
+
"BUTTON_TITLE_PAY" = "ชำระเงิน";
|
|
31
|
+
"BUTTON_TITLE_PAY_AMOUNT" = "จ่าย %@";
|
|
32
|
+
"BUTTON_TITLE_REGISTER" = "ลงทะเบียน";
|
|
33
|
+
"BUTTON_TITLE_CANCEL" = "ยกเลิก";
|
|
34
|
+
"BUTTON_TITLE_BACK" = "เปลี่ยน";
|
|
35
|
+
"BUTTON_TITLE_DONE" = "สำเร็จ";
|
|
36
|
+
|
|
37
|
+
/// Text field label names
|
|
38
|
+
"FIELD_LABEL_CARD_HOLDER_NAME" = "ชื่อผู้ถือบัตร";
|
|
39
|
+
"FIELD_LABEL_CREDIT_CARD_NUMBER" = "หมายเลขบัตรเครดิต";
|
|
40
|
+
"FIELD_LABEL_EXPIRY_DATE" = "วันหมดอายุ";
|
|
41
|
+
"FIELD_LABEL_CVV" = "รหัสตรวจสอบบัตร CVC";
|
|
42
|
+
"FIELD_LABEL_MOBILE_PHONE_NUMBER" = "หมายเลขโทรศัพท์เคลื่อนที่";
|
|
43
|
+
"FIELD_LABEL_BANK_ACCOUNT_HOLDER_NAME" = "เจ้าของบัญชี";
|
|
44
|
+
"FIELD_LABEL_IBAN" = "IBAN";
|
|
45
|
+
"FIELD_LABEL_IBAN_OR_ACCOUNT_NUMBER" = "IBAN หรือ เลขที่บัญชี";
|
|
46
|
+
"FIELD_LABEL_BIC_OR_BANK_CODE" = "BIC หรือ รหัสธนาคาร";
|
|
47
|
+
"FIELD_LABEL_SELECT_COUNTRY" = "เลือกประเทศ";
|
|
48
|
+
"FIELD_LABEL_SELECT_BANK" = "เลือกธนาคาร";
|
|
49
|
+
"FIELD_LABEL_STORE_PAYMENT_DETAILS" = "บันทึกข้อมูลชำระเงินสำหรับใช้ครั้งต่อไป";
|
|
50
|
+
"FIELD_LABEL_STORE_CARD_TYPE" = "เลือกประเภทบัตร";
|
|
51
|
+
"FIELD_LABEL_NUMBER_OF_INSTALLMENTS" = "จำนวนรอบผ่อนชำระ";
|
|
52
|
+
"FIELD_LABEL_EMAIL" = "อีเมล";
|
|
53
|
+
"FIELD_LABEL_COUNTRY_CODE" = "รหัสประเทศ";
|
|
54
|
+
"FIELD_LABEL_NATIONAL_IDENTIFIER" = "หมายเลขบัตรประชาชน";
|
|
55
|
+
|
|
56
|
+
/// Text field placeholders
|
|
57
|
+
"FIELD_PLACEHOLDER_CARD_HOLDER_NAME" = "ชื่อบนหน้าบัตร";
|
|
58
|
+
"FIELD_PLACEHOLDER_CARD_NUMBER" = "เลขบนหน้าบัตร";
|
|
59
|
+
"FIELD_PLACEHOLDER_EXPIRY_DATE" = "ดด/ปป หรือ ดด/ปปปป";
|
|
60
|
+
"FIELD_PLACEHOLDER_CVV_3_DIGITS" = "รหัส 3 หลัก";
|
|
61
|
+
"FIELD_PLACEHOLDER_CVV_4_DIGITS" = "รหัส 4 หลัก";
|
|
62
|
+
"FIELD_PLACEHOLDER_BANK_ACCOUNT_HOLDER_NAME" = "ชื่อเจ้าของบัญชี";
|
|
63
|
+
"FIELD_PLACEHOLDER_IBAN" = "เลขที่บัญชีสากล";
|
|
64
|
+
"FIELD_PLACEHOLDER_IBAN_OR_ACCOUNT_NUMBER" = "IBAN หรือ เลขที่บัญชี";
|
|
65
|
+
"FIELD_PLACEHOLDER_BIC_OR_BANK_CODE" = "BIC หรือ รหัสธนาคาร";
|
|
66
|
+
"FIELD_PLACEHOLDER_COUNTRY_CODE" = "+xx";
|
|
67
|
+
"FIELD_PLACEHOLDER_EMAIL" = "อีเมล";
|
|
68
|
+
"FIELD_PLACEHOLDER_NATIONAL_IDENTIFIER" = "หมายเลขบัตรประชาชน";
|
|
69
|
+
|
|
70
|
+
/// Text field errors
|
|
71
|
+
"FIELD_ERROR_CARD_HOLDER_NAME_INVALID" = "ชื่อผู้ถือบัตรไม่ถูกต้อง";
|
|
72
|
+
"FIELD_ERROR_CARD_NUMBER_INVALID" = "หมายเลขบัตรไม่ถูกต้อง";
|
|
73
|
+
"FIELD_ERROR_CARD_EXPIRY_DATE_INVALID" = "วันหมดอายุไม่ถูกต้อง ใช้ ดด/ปป หรือ ดด/ปปปป";
|
|
74
|
+
"FIELD_ERROR_CARD_EXPIRED" = "บัตรหมดอายุ";
|
|
75
|
+
"FIELD_ERROR_CARD_CVV_3_DIGITS_INVALID" = "รหัสตรวจสอบบัตรไม่ใช่เลข 3 หลักสุดท้ายบนหลังบัตร";
|
|
76
|
+
"FIELD_ERROR_CARD_CVV_4_DIGITS_INVALID" = "รหัสตรวจสอบบัตรไม่ใช่เลข 4 หลักบนหน้าบัตร";
|
|
77
|
+
"FIELD_ERROR_MOBILE_PHONE_INVALID" = "รหัสประเทศไม่ถูกต้อง";
|
|
78
|
+
"FIELD_ERROR_BANK_ACCOUNT_HOLDER_INVALID" = "ชื่อเจ้าของบัญชีไม่ถูกต้อง";
|
|
79
|
+
"FIELD_ERROR_IBAN_INVALID" = "IBAN ไม่ถูกต้อง";
|
|
80
|
+
"FIELD_ERROR_IBAN_OR_ACCOUNT_NUMBER_INVALID" = "IBAN หรือ เลขที่บัญชีไม่ถูกต้อง";
|
|
81
|
+
"FIELD_ERROR_BIC_OR_BANK_CODE_INVALID" = "BIC หรือ รหัสธนาคารไม่ถูกต้อง";
|
|
82
|
+
"FIELD_ERROR_EMAIL_INVALID" = "อีเมลไม่ถูกต้อง";
|
|
83
|
+
"FIELD_ERROR_NATIONAL_IDENTIFIER_INVALID" = "หมายเลขบัตรประชาชนไม่ถูกต้อง";
|
|
84
|
+
|
|
85
|
+
/// Payment method names
|
|
86
|
+
"PAYMENT_METHOD_TYPE_SOFORT_BANKING" = "SOFORT";
|
|
87
|
+
|
|
88
|
+
/// Payment method groups are displayed if tokens are received
|
|
89
|
+
"PAYMENT_METHOD_GROUP_STORED" = "วิธีชำระเงินที่เก็บบันทึกไว้";
|
|
90
|
+
"PAYMENT_METHOD_GROUP_OTHER" = "วิธีชำระเงินอื่น";
|
|
91
|
+
"PAYMENT_METHOD_GROUP_CARDS" = "บัตรเครดิต / เดบิต";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Checkout.strings
|
|
3
|
+
// OPPWAMobile
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
/// View controller titles
|
|
7
|
+
"VIEW_CONTROLLER_TITLE_PAYMENT_METHOD_SELECTION" = "请选择支付方式";
|
|
8
|
+
"VIEW_CONTROLLER_TITLE_PAYMENT_DETAILS" = "支付信息";
|
|
9
|
+
"VIEW_CONTROLLER_TITLE_PROCESSING" = "处理中";
|
|
10
|
+
|
|
11
|
+
/// Form titles
|
|
12
|
+
"FORM_TITLE_PAYMENT_INFO" = "支付信息";
|
|
13
|
+
|
|
14
|
+
/// Labels
|
|
15
|
+
"LABEL_TOTAL_AMOUNT" = "合计金额";
|
|
16
|
+
"LABEL_MBWAY_PUSH_NOTIFICATION" = "您的设备将会收到一条推送通知";
|
|
17
|
+
"LABEL_MBWAY_ACCEPT_PIN" = "请采用PIN MB WAY方式受理交易";
|
|
18
|
+
"LABEL_TERMS_AND_CONDITIONS" = "条款和条件";
|
|
19
|
+
"LABEL_TERMS_AND_CONDITIONS_AGREEMENT" = "我已阅读并同意此条款和条件";
|
|
20
|
+
"LABEL_SWEDISH" = "瑞典文";
|
|
21
|
+
"LABEL_FINNISH" = "芬兰文";
|
|
22
|
+
|
|
23
|
+
/// Messages
|
|
24
|
+
"MESSAGE_PLEASE_WAIT" = "请稍等";
|
|
25
|
+
|
|
26
|
+
/// Device owner authentication
|
|
27
|
+
"DEVICE_AUTH_REASON" = "确认支付";
|
|
28
|
+
|
|
29
|
+
/// Button titles
|
|
30
|
+
"BUTTON_TITLE_PAY" = "立即付款";
|
|
31
|
+
"BUTTON_TITLE_PAY_AMOUNT" = "付款 %@";
|
|
32
|
+
"BUTTON_TITLE_REGISTER" = "注册";
|
|
33
|
+
"BUTTON_TITLE_CANCEL" = "取消";
|
|
34
|
+
"BUTTON_TITLE_BACK" = "更改";
|
|
35
|
+
"BUTTON_TITLE_DONE" = "确定";
|
|
36
|
+
|
|
37
|
+
/// Text field label names
|
|
38
|
+
"FIELD_LABEL_CARD_HOLDER_NAME" = "持卡人姓名";
|
|
39
|
+
"FIELD_LABEL_CREDIT_CARD_NUMBER" = "卡号";
|
|
40
|
+
"FIELD_LABEL_EXPIRY_DATE" = "有效期限";
|
|
41
|
+
"FIELD_LABEL_CVV" = "安全码 或 卡验证码";
|
|
42
|
+
"FIELD_LABEL_MOBILE_PHONE_NUMBER" = "手机号码";
|
|
43
|
+
"FIELD_LABEL_BANK_ACCOUNT_HOLDER_NAME" = "开户人姓名";
|
|
44
|
+
"FIELD_LABEL_IBAN" = "国际银行账户号码";
|
|
45
|
+
"FIELD_LABEL_IBAN_OR_ACCOUNT_NUMBER" = "国际银行账户号码 或 账号";
|
|
46
|
+
"FIELD_LABEL_BIC_OR_BANK_CODE" = "银行识别码 或 银行代码";
|
|
47
|
+
"FIELD_LABEL_SELECT_COUNTRY" = "请选择国家";
|
|
48
|
+
"FIELD_LABEL_SELECT_BANK" = "请选择发卡银行";
|
|
49
|
+
"FIELD_LABEL_STORE_PAYMENT_DETAILS" = "保存支付信息方便下次购买";
|
|
50
|
+
"FIELD_LABEL_STORE_CARD_TYPE" = "请选择卡种";
|
|
51
|
+
"FIELD_LABEL_NUMBER_OF_INSTALLMENTS" = "分期笔数";
|
|
52
|
+
"FIELD_LABEL_EMAIL" = "邮箱";
|
|
53
|
+
"FIELD_LABEL_COUNTRY_CODE" = "国家代码";
|
|
54
|
+
"FIELD_LABEL_NATIONAL_IDENTIFIER" = "身份证号码";
|
|
55
|
+
|
|
56
|
+
/// Text field placeholders
|
|
57
|
+
"FIELD_PLACEHOLDER_CARD_HOLDER_NAME" = "卡面上的姓名";
|
|
58
|
+
"FIELD_PLACEHOLDER_CARD_NUMBER" = "卡正面一串较长的数字";
|
|
59
|
+
"FIELD_PLACEHOLDER_EXPIRY_DATE" = "两位月份/两位年份 或 两位月份/四位年份";
|
|
60
|
+
"FIELD_PLACEHOLDER_CVV_3_DIGITS" = "3位号码";
|
|
61
|
+
"FIELD_PLACEHOLDER_CVV_4_DIGITS" = "4位号码";
|
|
62
|
+
"FIELD_PLACEHOLDER_BANK_ACCOUNT_HOLDER_NAME" = "开户人姓名";
|
|
63
|
+
"FIELD_PLACEHOLDER_IBAN" = "国际银行账户号码";
|
|
64
|
+
"FIELD_PLACEHOLDER_IBAN_OR_ACCOUNT_NUMBER" = "国际银行账户号码 或 账号";
|
|
65
|
+
"FIELD_PLACEHOLDER_BIC_OR_BANK_CODE" = "银行识别码 或 银行代码";
|
|
66
|
+
"FIELD_PLACEHOLDER_COUNTRY_CODE" = "+xxx";
|
|
67
|
+
"FIELD_PLACEHOLDER_MOBILE_PHONE_NUMBER" = "xxxxxxxxx";
|
|
68
|
+
"FIELD_PLACEHOLDER_EMAIL" = "邮箱";
|
|
69
|
+
"FIELD_PLACEHOLDER_NATIONAL_IDENTIFIER" = "身份证号码";
|
|
70
|
+
|
|
71
|
+
/// Text field errors
|
|
72
|
+
"FIELD_ERROR_CARD_HOLDER_NAME_INVALID" = "持卡人姓名不正确";
|
|
73
|
+
"FIELD_ERROR_CARD_NUMBER_INVALID" = "输入的卡号不正确";
|
|
74
|
+
"FIELD_ERROR_CARD_EXPIRY_DATE_INVALID" = "有效期不正确,请使用两位月份/两位年份 或 两位月份/四位年份 格式";
|
|
75
|
+
"FIELD_ERROR_CARD_EXPIRED" = "卡片已过期";
|
|
76
|
+
"FIELD_ERROR_CARD_CVV_3_DIGITS_INVALID" = "安全代码由卡背面签名栏数字最后三位构成";
|
|
77
|
+
"FIELD_ERROR_CARD_CVV_4_DIGITS_INVALID" = "安全代码由卡正面的4位号码构成";
|
|
78
|
+
"FIELD_ERROR_MOBILE_PHONE_INVALID" = "手机号码不正确";
|
|
79
|
+
"FIELD_ERROR_BANK_ACCOUNT_HOLDER_INVALID" = "开户人姓名不正确";
|
|
80
|
+
"FIELD_ERROR_IBAN_INVALID" = "国际银行账户号码不正确";
|
|
81
|
+
"FIELD_ERROR_IBAN_OR_ACCOUNT_NUMBER_INVALID" = "国际银行账户号码 或 账号不正确";
|
|
82
|
+
"FIELD_ERROR_BIC_OR_BANK_CODE_INVALID" = "银行识别码 或 银行代码不正确";
|
|
83
|
+
"FIELD_ERROR_EMAIL_INVALID" = "邮箱无效";
|
|
84
|
+
"FIELD_ERROR_NATIONAL_IDENTIFIER_INVALID" = "身份证号码无效";
|
|
85
|
+
|
|
86
|
+
/// Payment method groups are displayed if tokens are received
|
|
87
|
+
"PAYMENT_METHOD_GROUP_STORED" = "已保存的支付方式";
|
|
88
|
+
"PAYMENT_METHOD_GROUP_OTHER" = "其它支付方式";
|
|
89
|
+
"PAYMENT_METHOD_GROUP_CARDS" = "信用卡或借記卡";
|
|
90
|
+
|
|
91
|
+
/// Payment method names
|
|
92
|
+
"PAYMENT_METHOD_TYPE_DIRECTDEBIT_SEPA" = "单一欧元支付区直接借记";
|
|
Binary file
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) 2019 by ACI Worldwide, Inc.
|
|
3
|
+
// All rights reserved.
|
|
4
|
+
//
|
|
5
|
+
// This software is the confidential and proprietary information
|
|
6
|
+
// of ACI Worldwide Inc ("Confidential Information"). You shall
|
|
7
|
+
// not disclose such Confidential Information and shall use it
|
|
8
|
+
// only in accordance with the terms of the license agreement
|
|
9
|
+
// you entered with ACI Worldwide Inc.
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
#import <Foundation/Foundation.h>
|
|
14
|
+
#import "OPPPaymentParams.h"
|
|
15
|
+
|
|
16
|
+
__deprecated_msg("The OPPAlipayPaymentParams class is formally deprecated. To make Alipay transaction, instead use OPPPaymentParams class with payment brand 'ALIPAY'.")
|
|
17
|
+
/**
|
|
18
|
+
Class to encapsulate all necessary transaction parameters for performing an Alipay transaction.
|
|
19
|
+
|
|
20
|
+
@warning **Deprecated:** The `OPPAlipayPaymentParams` class is formally deprecated in 1.4.0. To make Alipay transaction, instead use `OPPPaymentParams` class with payment brand 'ALIPAY'.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
24
|
+
@interface OPPAlipayPaymentParams : OPPPaymentParams
|
|
25
|
+
|
|
26
|
+
/// @name Initialization
|
|
27
|
+
|
|
28
|
+
/// :nodoc:
|
|
29
|
+
- (instancetype)initWithCheckoutID:(NSString *)checkoutID paymentBrand:(NSString *)paymentBrand error:(NSError * _Nullable __autoreleasing *)error NS_UNAVAILABLE;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
Creates an object representing an Alipay transaction.
|
|
33
|
+
|
|
34
|
+
@param checkoutID The checkout ID of the transaction. Must be not nil or empty.
|
|
35
|
+
@param error The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.
|
|
36
|
+
@return Returns an object representing an Alipay transaction.
|
|
37
|
+
*/
|
|
38
|
+
+ (nullable instancetype)alipayPaymentParamsWithCheckoutID:(NSString *)checkoutID error:(NSError **)error;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
Creates an object representing an Alipay transaction.
|
|
42
|
+
|
|
43
|
+
@param checkoutID The checkout ID of the transaction. Must be not nil or empty.
|
|
44
|
+
@param error The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.
|
|
45
|
+
@return Returns an object representing an Alipay transaction.
|
|
46
|
+
*/
|
|
47
|
+
- (nullable instancetype)initWithCheckoutID:(NSString *)checkoutID error:(NSError **)error NS_DESIGNATED_INITIALIZER;
|
|
48
|
+
@end
|
|
49
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) 2019 by ACI Worldwide, Inc.
|
|
3
|
+
// All rights reserved.
|
|
4
|
+
//
|
|
5
|
+
// This software is the confidential and proprietary information
|
|
6
|
+
// of ACI Worldwide Inc ("Confidential Information"). You shall
|
|
7
|
+
// not disclose such Confidential Information and shall use it
|
|
8
|
+
// only in accordance with the terms of the license agreement
|
|
9
|
+
// you entered with ACI Worldwide Inc.
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
#import "OPPPaymentParams.h"
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
Class to encapsulate all necessary transaction parameters for performing an Apple Pay transaction.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
19
|
+
@interface OPPApplePayPaymentParams : OPPPaymentParams
|
|
20
|
+
|
|
21
|
+
/// @name Initialization
|
|
22
|
+
|
|
23
|
+
/// :nodoc:
|
|
24
|
+
- (instancetype)initWithCheckoutID:(NSString *)checkoutID paymentBrand:(NSString *)paymentBrand error:(NSError * _Nullable __autoreleasing *)error NS_UNAVAILABLE;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
Creates an object representing an Apple Pay transaction.
|
|
28
|
+
|
|
29
|
+
@param checkoutID The checkout ID of the transaction. Must be not nil or empty.
|
|
30
|
+
@param tokenData UTF-8 encoded JSON dictionary of encrypted payment data.
|
|
31
|
+
@param error The error that occurred while validating payment parameters. See code attribute (`OPPErrorCode`) and `NSLocalizedDescription` to identify the reason of failure.
|
|
32
|
+
@return Returns an object representing an Apple Pay transaction, and nil if parameters are invalid.
|
|
33
|
+
*/
|
|
34
|
+
+ (nullable instancetype)applePayPaymentParamsWithCheckoutID:(NSString *)checkoutID tokenData:(NSData *)tokenData error:(NSError **)error;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
Creates an object representing an Apple Pay transaction.
|
|
38
|
+
|
|
39
|
+
@param checkoutID The checkout ID of the transaction. Must be not nil or empty.
|
|
40
|
+
@param tokenData UTF-8 encoded JSON dictionary of encrypted payment data.
|
|
41
|
+
@param error The error that occurred while validating payment parameters. See code attribute (`OPPErrorCode`) and `NSLocalizedDescription` to identify the reason of failure.
|
|
42
|
+
@return Returns an object representing an Apple Pay transaction, and nil if parameters are invalid.
|
|
43
|
+
*/
|
|
44
|
+
- (nullable instancetype)initWithCheckoutID:(NSString *)checkoutID tokenData:(NSData *)tokenData error:(NSError **)error NS_DESIGNATED_INITIALIZER;
|
|
45
|
+
|
|
46
|
+
/// @name Properties
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
UTF-8 encoded JSON dictionary of encrypted payment data. Ready for transmission to merchant's e-commerce backend for decryption and submission to a payment processor's gateway.
|
|
50
|
+
*/
|
|
51
|
+
@property (nonatomic, copy, readonly) NSData *tokenData;
|
|
52
|
+
|
|
53
|
+
/// @name Validation methods
|
|
54
|
+
/**
|
|
55
|
+
Checks if the token data is valid to perform a transaction.
|
|
56
|
+
|
|
57
|
+
@param tokenData UTF-8 encoded JSON dictionary of encrypted payment data.
|
|
58
|
+
@return `YES` if the token data is not empty.
|
|
59
|
+
*/
|
|
60
|
+
+ (BOOL)isTokenDataValid:(NSData *)tokenData;
|
|
61
|
+
|
|
62
|
+
@end
|
|
63
|
+
|
|
64
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) 2019 by ACI Worldwide, Inc.
|
|
3
|
+
// All rights reserved.
|
|
4
|
+
//
|
|
5
|
+
// This software is the confidential and proprietary information
|
|
6
|
+
// of ACI Worldwide Inc ("Confidential Information"). You shall
|
|
7
|
+
// not disclose such Confidential Information and shall use it
|
|
8
|
+
// only in accordance with the terms of the license agreement
|
|
9
|
+
// you entered with ACI Worldwide Inc.
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@import Foundation;
|
|
13
|
+
@import PassKit;
|
|
14
|
+
|
|
15
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
Class that reports the status code and errors that you return when a payment is authorized.
|
|
19
|
+
*/
|
|
20
|
+
@interface OPPApplePayRequestAuthorizationResult : NSObject
|
|
21
|
+
|
|
22
|
+
/// @name Initialization
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
Initializes the result with the status code and list of errors.
|
|
26
|
+
@param status Payment authorization general status.
|
|
27
|
+
@param errors List of errors in the Apple Pay form (available for iOS 11 and higher).
|
|
28
|
+
*/
|
|
29
|
+
- (instancetype)initWithStatus:(PKPaymentAuthorizationStatus)status
|
|
30
|
+
errors:(nullable NSArray<NSError *> *)errors NS_DESIGNATED_INITIALIZER;
|
|
31
|
+
|
|
32
|
+
/// @name Properties
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
Payment authorization general status.
|
|
36
|
+
*/
|
|
37
|
+
@property (nonatomic) PKPaymentAuthorizationStatus status;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
Any errors that applied. These errors will be displayed to the user to correct (available for iOS 11 and higher).
|
|
41
|
+
Errors should be ordered from most to least serious.
|
|
42
|
+
See `PKError` for specific `NSError` keys to use to enable rich error handling.
|
|
43
|
+
*/
|
|
44
|
+
@property (null_resettable, nonatomic, copy) NSArray<NSError *> *errors;
|
|
45
|
+
|
|
46
|
+
@end
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
Base class for updating the payment request after the shopper makes changes on the payment form.
|
|
51
|
+
*/
|
|
52
|
+
@interface OPPApplePayRequestUpdate : NSObject
|
|
53
|
+
|
|
54
|
+
/// @name Initialization
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
Initializes a payment request update with the given list of summary items.
|
|
58
|
+
@param paymentSummaryItems The new payment summary items to update the payment request with.
|
|
59
|
+
*/
|
|
60
|
+
- (instancetype)initWithPaymentSummaryItems:(NSArray<PKPaymentSummaryItem *> *)paymentSummaryItems NS_DESIGNATED_INITIALIZER;
|
|
61
|
+
|
|
62
|
+
/// @name Properties
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
The status of the payment request update.
|
|
66
|
+
Set `PKPaymentAuthorizationStatusSuccess` for a successful update, and `PKPaymentAuthorizationStatusFailure` if you were unable to process the required changes.
|
|
67
|
+
`PKPaymentAuthorizationStatusSuccess` by default.
|
|
68
|
+
*/
|
|
69
|
+
@property (nonatomic) PKPaymentAuthorizationStatus status;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
The new payment summary items to update the payment request with.
|
|
73
|
+
*/
|
|
74
|
+
@property (nonatomic, copy) NSArray<PKPaymentSummaryItem *> *paymentSummaryItems;
|
|
75
|
+
|
|
76
|
+
@end
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
Class for updating the payment request after the shipping contact information changed.
|
|
80
|
+
*/
|
|
81
|
+
@interface OPPApplePayRequestShippingContactUpdate : OPPApplePayRequestUpdate
|
|
82
|
+
|
|
83
|
+
/// @name Initialization
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
Initializes a payment request update with provided errors, payment summary items and shipping methods.
|
|
87
|
+
@param errors List of errors in the shipping contact information (available for iOS 11 and higher). See `PKError` for specific `NSError` keys to use.
|
|
88
|
+
@param paymentSummaryItems The new payment summary items to update the payment request with.
|
|
89
|
+
@param shippingMethods The new shipping methods to update the payment request with.
|
|
90
|
+
*/
|
|
91
|
+
- (instancetype)initWithErrors:(nullable NSArray<NSError *> *)errors
|
|
92
|
+
paymentSummaryItems:(NSArray<PKPaymentSummaryItem *> *)paymentSummaryItems
|
|
93
|
+
shippingMethods:(NSArray<PKShippingMethod *> *)shippingMethods NS_DESIGNATED_INITIALIZER;
|
|
94
|
+
|
|
95
|
+
/// @name Properties
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
The new shipping methods to update the payment request with.
|
|
99
|
+
*/
|
|
100
|
+
@property (nonatomic, copy) NSArray<PKShippingMethod *> *shippingMethods;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
List of errors in the shipping contact information (available for iOS 11 and higher).
|
|
104
|
+
See `PKError` for specific `NSError` keys to use.
|
|
105
|
+
*/
|
|
106
|
+
@property (null_resettable, nonatomic, copy) NSArray<NSError *> *errors;
|
|
107
|
+
|
|
108
|
+
@end
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
Class for updating the payment request after the shipping method changed.
|
|
112
|
+
*/
|
|
113
|
+
@interface OPPApplePayRequestShippingMethodUpdate : OPPApplePayRequestUpdate
|
|
114
|
+
|
|
115
|
+
@end
|
|
116
|
+
|
|
117
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) 2019 by ACI Worldwide, Inc.
|
|
3
|
+
// All rights reserved.
|
|
4
|
+
//
|
|
5
|
+
// This software is the confidential and proprietary information
|
|
6
|
+
// of ACI Worldwide Inc ("Confidential Information"). You shall
|
|
7
|
+
// not disclose such Confidential Information and shall use it
|
|
8
|
+
// only in accordance with the terms of the license agreement
|
|
9
|
+
// you entered with ACI Worldwide Inc.
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
#import <Foundation/Foundation.h>
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
Class to encapsulate shopper’s bank account details that have been tokenized.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
19
|
+
@interface OPPBankAccount : NSObject
|
|
20
|
+
|
|
21
|
+
/// @name Properties
|
|
22
|
+
|
|
23
|
+
/** The name of the bank account holder. */
|
|
24
|
+
@property (nonatomic, copy) NSString *holder;
|
|
25
|
+
|
|
26
|
+
/** The IBAN (International Bank Account Number) associated with the bank account. */
|
|
27
|
+
@property (nonatomic, copy) NSString *IBAN;
|
|
28
|
+
|
|
29
|
+
/// @name Initialization
|
|
30
|
+
|
|
31
|
+
/// :nodoc:
|
|
32
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
Creates an `OPPBankAccount` object from the JSON.
|
|
36
|
+
@param JSON A dictionary with parameters received from the Server.
|
|
37
|
+
@return Returns an `OPPBankAccount` object, or `nil` if JSON contains invalid values.
|
|
38
|
+
*/
|
|
39
|
+
+ (nullable instancetype)bankAccountFromJSON:(NSDictionary *)JSON;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
Creates an `OPPBankAccount` object with the provided values.
|
|
43
|
+
@param holder The name of the bank account holder.
|
|
44
|
+
@param IBAN The IBAN (International Bank Account Number) associated with the bank account.
|
|
45
|
+
@return Returns an `OPPBankAccount` object, or `nil` if parameters are empty.
|
|
46
|
+
*/
|
|
47
|
+
+ (nullable instancetype)bankAccountWithHolder:(NSString *)holder IBAN:(NSString *)IBAN;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
Creates an `OPPBankAccount` object with the provided values.
|
|
51
|
+
@param holder The name of the bank account holder.
|
|
52
|
+
@param IBAN The IBAN (International Bank Account Number) associated with the bank account.
|
|
53
|
+
@return Returns an `OPPBankAccount` object, or `nil` if parameters are empty.
|
|
54
|
+
*/
|
|
55
|
+
- (nullable instancetype)initWithHolder:(NSString *)holder IBAN:(NSString *)IBAN NS_DESIGNATED_INITIALIZER;
|
|
56
|
+
|
|
57
|
+
@end
|
|
58
|
+
NS_ASSUME_NONNULL_END
|