globalpayments-api 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/Builders/AuthorizationBuilder.d.ts +325 -0
- package/lib/src/Builders/AuthorizationBuilder.js +617 -0
- package/lib/src/Builders/AuthorizationBuilder.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +14 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.js +62 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +16 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js +36 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +11 -0
- package/lib/src/Builders/BaseBuilder/Validations.js +55 -0
- package/lib/src/Builders/BaseBuilder/Validations.js.map +1 -0
- package/lib/src/Builders/BaseBuilder.d.ts +11 -0
- package/lib/src/Builders/BaseBuilder.js +17 -0
- package/lib/src/Builders/BaseBuilder.js.map +1 -0
- package/lib/src/Builders/ManagementBuilder.d.ts +104 -0
- package/lib/src/Builders/ManagementBuilder.js +208 -0
- package/lib/src/Builders/ManagementBuilder.js.map +1 -0
- package/lib/src/Builders/PayFacBuilder.d.ts +98 -0
- package/lib/src/Builders/PayFacBuilder.js +234 -0
- package/lib/src/Builders/PayFacBuilder.js.map +1 -0
- package/lib/src/Builders/RecurringBuilder.d.ts +13 -0
- package/lib/src/Builders/RecurringBuilder.js +34 -0
- package/lib/src/Builders/RecurringBuilder.js.map +1 -0
- package/lib/src/Builders/ReportBuilder.d.ts +8 -0
- package/lib/src/Builders/ReportBuilder.js +21 -0
- package/lib/src/Builders/ReportBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js +23 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.d.ts +17 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +36 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.d.ts +6 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js +49 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.d.ts +3 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.js +20 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.d.ts +17 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js +109 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js +83 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.d.ts +9 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js +66 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.d.ts +3 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js +20 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +7 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +31 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/index.d.ts +3 -0
- package/lib/src/Builders/RequestBuilder/index.js +20 -0
- package/lib/src/Builders/RequestBuilder/index.js.map +1 -0
- package/lib/src/Builders/TransactionBuilder.d.ts +12 -0
- package/lib/src/Builders/TransactionBuilder.js +43 -0
- package/lib/src/Builders/TransactionBuilder.js.map +1 -0
- package/lib/src/Builders/TransactionReportBuilder.d.ts +15 -0
- package/lib/src/Builders/TransactionReportBuilder.js +65 -0
- package/lib/src/Builders/TransactionReportBuilder.js.map +1 -0
- package/lib/src/Builders/index.d.ts +8 -0
- package/lib/src/Builders/index.js +25 -0
- package/lib/src/Builders/index.js.map +1 -0
- package/lib/src/ConfiguredServices.d.ts +18 -0
- package/lib/src/ConfiguredServices.js +24 -0
- package/lib/src/ConfiguredServices.js.map +1 -0
- package/lib/src/Entities/Address.d.ts +13 -0
- package/lib/src/Entities/Address.js +21 -0
- package/lib/src/Entities/Address.js.map +1 -0
- package/lib/src/Entities/BatchSummary.d.ts +6 -0
- package/lib/src/Entities/BatchSummary.js +11 -0
- package/lib/src/Entities/BatchSummary.js.map +1 -0
- package/lib/src/Entities/Customer.d.ts +64 -0
- package/lib/src/Entities/Customer.js +80 -0
- package/lib/src/Entities/Customer.js.map +1 -0
- package/lib/src/Entities/CustomerDocument.d.ts +8 -0
- package/lib/src/Entities/CustomerDocument.js +16 -0
- package/lib/src/Entities/CustomerDocument.js.map +1 -0
- package/lib/src/Entities/DocumentUploadData.d.ts +13 -0
- package/lib/src/Entities/DocumentUploadData.js +81 -0
- package/lib/src/Entities/DocumentUploadData.js.map +1 -0
- package/lib/src/Entities/EcommerceInfo.d.ts +12 -0
- package/lib/src/Entities/EcommerceInfo.js +22 -0
- package/lib/src/Entities/EcommerceInfo.js.map +1 -0
- package/lib/src/Entities/EncryptionData.d.ts +6 -0
- package/lib/src/Entities/EncryptionData.js +11 -0
- package/lib/src/Entities/EncryptionData.js.map +1 -0
- package/lib/src/Entities/Enums.d.ts +428 -0
- package/lib/src/Entities/Enums.js +565 -0
- package/lib/src/Entities/Enums.js.map +1 -0
- package/lib/src/Entities/Errors.d.ts +23 -0
- package/lib/src/Entities/Errors.js +72 -0
- package/lib/src/Entities/Errors.js.map +1 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.d.ts +16 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.js +21 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiAccount.d.ts +5 -0
- package/lib/src/Entities/GpApi/GpApiAccount.js +13 -0
- package/lib/src/Entities/GpApi/GpApiAccount.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiRequest.d.ts +21 -0
- package/lib/src/Entities/GpApi/GpApiRequest.js +26 -0
- package/lib/src/Entities/GpApi/GpApiRequest.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.d.ts +52 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js +115 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js.map +1 -0
- package/lib/src/Entities/GpApi/index.d.ts +4 -0
- package/lib/src/Entities/GpApi/index.js +21 -0
- package/lib/src/Entities/GpApi/index.js.map +1 -0
- package/lib/src/Entities/HostedPaymentData.d.ts +10 -0
- package/lib/src/Entities/HostedPaymentData.js +17 -0
- package/lib/src/Entities/HostedPaymentData.js.map +1 -0
- package/lib/src/Entities/IRequestBuilder.d.ts +6 -0
- package/lib/src/Entities/IRequestBuilder.js +3 -0
- package/lib/src/Entities/IRequestBuilder.js.map +1 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +7 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +12 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js.map +1 -0
- package/lib/src/Entities/ProFac/AccountPermissions.d.ts +15 -0
- package/lib/src/Entities/ProFac/AccountPermissions.js +19 -0
- package/lib/src/Entities/ProFac/AccountPermissions.js.map +1 -0
- package/lib/src/Entities/ProFac/BankAccountData.d.ts +10 -0
- package/lib/src/Entities/ProFac/BankAccountData.js +42 -0
- package/lib/src/Entities/ProFac/BankAccountData.js.map +1 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +8 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +15 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js.map +1 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +6 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js +12 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js.map +1 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +5 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +10 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js.map +1 -0
- package/lib/src/Entities/ProFac/BusinessData.d.ts +15 -0
- package/lib/src/Entities/ProFac/BusinessData.js +50 -0
- package/lib/src/Entities/ProFac/BusinessData.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +4 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +17 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceData.d.ts +5 -0
- package/lib/src/Entities/ProFac/DeviceData.js +11 -0
- package/lib/src/Entities/ProFac/DeviceData.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceInfo.d.ts +6 -0
- package/lib/src/Entities/ProFac/DeviceInfo.js +19 -0
- package/lib/src/Entities/ProFac/DeviceInfo.js.map +1 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +7 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +15 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js.map +1 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +8 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.js +10 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.js.map +1 -0
- package/lib/src/Entities/ProFac/OrderDevice.d.ts +18 -0
- package/lib/src/Entities/ProFac/OrderDevice.js +23 -0
- package/lib/src/Entities/ProFac/OrderDevice.js.map +1 -0
- package/lib/src/Entities/ProFac/OwnersData.d.ts +12 -0
- package/lib/src/Entities/ProFac/OwnersData.js +43 -0
- package/lib/src/Entities/ProFac/OwnersData.js.map +1 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +55 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.js +62 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.js.map +1 -0
- package/lib/src/Entities/ProFac/RenewAccountData.d.ts +10 -0
- package/lib/src/Entities/ProFac/RenewAccountData.js +38 -0
- package/lib/src/Entities/ProFac/RenewAccountData.js.map +1 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +8 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.js +27 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.js.map +1 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +5 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.js +19 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.js.map +1 -0
- package/lib/src/Entities/ProFac/UserPersonalData.d.ts +26 -0
- package/lib/src/Entities/ProFac/UserPersonalData.js +82 -0
- package/lib/src/Entities/ProFac/UserPersonalData.js.map +1 -0
- package/lib/src/Entities/RecurringEntity.d.ts +14 -0
- package/lib/src/Entities/RecurringEntity.js +92 -0
- package/lib/src/Entities/RecurringEntity.js.map +1 -0
- package/lib/src/Entities/Request.d.ts +10 -0
- package/lib/src/Entities/Request.js +18 -0
- package/lib/src/Entities/Request.js.map +1 -0
- package/lib/src/Entities/SSORequestData.d.ts +5 -0
- package/lib/src/Entities/SSORequestData.js +19 -0
- package/lib/src/Entities/SSORequestData.js.map +1 -0
- package/lib/src/Entities/Schedule.d.ts +47 -0
- package/lib/src/Entities/Schedule.js +325 -0
- package/lib/src/Entities/Schedule.js.map +1 -0
- package/lib/src/Entities/ServiceEndpoints.d.ts +12 -0
- package/lib/src/Entities/ServiceEndpoints.js +17 -0
- package/lib/src/Entities/ServiceEndpoints.js.map +1 -0
- package/lib/src/Entities/Transaction.d.ts +78 -0
- package/lib/src/Entities/Transaction.js +127 -0
- package/lib/src/Entities/Transaction.js.map +1 -0
- package/lib/src/Entities/TransactionSummary.d.ts +61 -0
- package/lib/src/Entities/TransactionSummary.js +66 -0
- package/lib/src/Entities/TransactionSummary.js.map +1 -0
- package/lib/src/Entities/index.d.ts +17 -0
- package/lib/src/Entities/index.js +34 -0
- package/lib/src/Entities/index.js.map +1 -0
- package/lib/src/Gateways/Gateway.d.ts +12 -0
- package/lib/src/Gateways/Gateway.js +70 -0
- package/lib/src/Gateways/Gateway.js.map +1 -0
- package/lib/src/Gateways/GatewayResponse.d.ts +8 -0
- package/lib/src/Gateways/GatewayResponse.js +15 -0
- package/lib/src/Gateways/GatewayResponse.js.map +1 -0
- package/lib/src/Gateways/GpApiConnector.d.ts +41 -0
- package/lib/src/Gateways/GpApiConnector.js +218 -0
- package/lib/src/Gateways/GpApiConnector.js.map +1 -0
- package/lib/src/Gateways/GpEcomConnector.d.ts +36 -0
- package/lib/src/Gateways/GpEcomConnector.js +465 -0
- package/lib/src/Gateways/GpEcomConnector.js.map +1 -0
- package/lib/src/Gateways/IPayFacProvider.d.ts +5 -0
- package/lib/src/Gateways/IPayFacProvider.js +3 -0
- package/lib/src/Gateways/IPayFacProvider.js.map +1 -0
- package/lib/src/Gateways/IPaymentGateway.d.ts +8 -0
- package/lib/src/Gateways/IPaymentGateway.js +3 -0
- package/lib/src/Gateways/IPaymentGateway.js.map +1 -0
- package/lib/src/Gateways/IRecurringService.d.ts +6 -0
- package/lib/src/Gateways/IRecurringService.js +3 -0
- package/lib/src/Gateways/IRecurringService.js.map +1 -0
- package/lib/src/Gateways/PayPlanConnector.d.ts +42 -0
- package/lib/src/Gateways/PayPlanConnector.js +532 -0
- package/lib/src/Gateways/PayPlanConnector.js.map +1 -0
- package/lib/src/Gateways/PorticoConnector.d.ts +48 -0
- package/lib/src/Gateways/PorticoConnector.js +1013 -0
- package/lib/src/Gateways/PorticoConnector.js.map +1 -0
- package/lib/src/Gateways/ProPayConnector.d.ts +45 -0
- package/lib/src/Gateways/ProPayConnector.js +802 -0
- package/lib/src/Gateways/ProPayConnector.js.map +1 -0
- package/lib/src/Gateways/RestGateway.d.ts +8 -0
- package/lib/src/Gateways/RestGateway.js +49 -0
- package/lib/src/Gateways/RestGateway.js.map +1 -0
- package/lib/src/Gateways/XmlGateway.d.ts +5 -0
- package/lib/src/Gateways/XmlGateway.js +14 -0
- package/lib/src/Gateways/XmlGateway.js.map +1 -0
- package/lib/src/Gateways/https-wrapper.d.ts +3 -0
- package/lib/src/Gateways/https-wrapper.js +77 -0
- package/lib/src/Gateways/https-wrapper.js.map +1 -0
- package/lib/src/Gateways/index.d.ts +9 -0
- package/lib/src/Gateways/index.js +26 -0
- package/lib/src/Gateways/index.js.map +1 -0
- package/lib/src/HostedPaymentConfig.d.ts +12 -0
- package/lib/src/HostedPaymentConfig.js +16 -0
- package/lib/src/HostedPaymentConfig.js.map +1 -0
- package/lib/src/Mapping/GpApiMapping.d.ts +5 -0
- package/lib/src/Mapping/GpApiMapping.js +14 -0
- package/lib/src/Mapping/GpApiMapping.js.map +1 -0
- package/lib/src/Mapping/GpEcomMapping.d.ts +9 -0
- package/lib/src/Mapping/GpEcomMapping.js +85 -0
- package/lib/src/Mapping/GpEcomMapping.js.map +1 -0
- package/lib/src/Mapping/index.d.ts +2 -0
- package/lib/src/Mapping/index.js +19 -0
- package/lib/src/Mapping/index.js.map +1 -0
- package/lib/src/PaymentMethods/Cash.d.ts +8 -0
- package/lib/src/PaymentMethods/Cash.js +16 -0
- package/lib/src/PaymentMethods/Cash.js.map +1 -0
- package/lib/src/PaymentMethods/Credit.d.ts +85 -0
- package/lib/src/PaymentMethods/Credit.js +105 -0
- package/lib/src/PaymentMethods/Credit.js.map +1 -0
- package/lib/src/PaymentMethods/CreditCardData.d.ts +20 -0
- package/lib/src/PaymentMethods/CreditCardData.js +47 -0
- package/lib/src/PaymentMethods/CreditCardData.js.map +1 -0
- package/lib/src/PaymentMethods/CreditTrackData.d.ts +7 -0
- package/lib/src/PaymentMethods/CreditTrackData.js +10 -0
- package/lib/src/PaymentMethods/CreditTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/Debit.d.ts +40 -0
- package/lib/src/PaymentMethods/Debit.js +52 -0
- package/lib/src/PaymentMethods/Debit.js.map +1 -0
- package/lib/src/PaymentMethods/DebitTrackData.d.ts +7 -0
- package/lib/src/PaymentMethods/DebitTrackData.js +10 -0
- package/lib/src/PaymentMethods/DebitTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/EBT.d.ts +48 -0
- package/lib/src/PaymentMethods/EBT.js +68 -0
- package/lib/src/PaymentMethods/EBT.js.map +1 -0
- package/lib/src/PaymentMethods/EBTCardData.d.ts +16 -0
- package/lib/src/PaymentMethods/EBTCardData.js +25 -0
- package/lib/src/PaymentMethods/EBTCardData.js.map +1 -0
- package/lib/src/PaymentMethods/EBTTrackData.d.ts +8 -0
- package/lib/src/PaymentMethods/EBTTrackData.js +11 -0
- package/lib/src/PaymentMethods/EBTTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/ECheck.d.ts +32 -0
- package/lib/src/PaymentMethods/ECheck.js +38 -0
- package/lib/src/PaymentMethods/ECheck.js.map +1 -0
- package/lib/src/PaymentMethods/GiftCard.d.ts +131 -0
- package/lib/src/PaymentMethods/GiftCard.js +189 -0
- package/lib/src/PaymentMethods/GiftCard.js.map +1 -0
- package/lib/src/PaymentMethods/Interfaces.d.ts +55 -0
- package/lib/src/PaymentMethods/Interfaces.js +3 -0
- package/lib/src/PaymentMethods/Interfaces.js.map +1 -0
- package/lib/src/PaymentMethods/PaymentMethod.d.ts +19 -0
- package/lib/src/PaymentMethods/PaymentMethod.js +57 -0
- package/lib/src/PaymentMethods/PaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +23 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js +66 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/TransactionReference.d.ts +10 -0
- package/lib/src/PaymentMethods/TransactionReference.js +17 -0
- package/lib/src/PaymentMethods/TransactionReference.js.map +1 -0
- package/lib/src/PaymentMethods/index.d.ts +15 -0
- package/lib/src/PaymentMethods/index.js +32 -0
- package/lib/src/PaymentMethods/index.js.map +1 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.d.ts +29 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.js +43 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Configuration.d.ts +15 -0
- package/lib/src/ServiceConfigs/Configuration.js +20 -0
- package/lib/src/ServiceConfigs/Configuration.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.d.ts +14 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js +30 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +21 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +44 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.d.ts +21 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js +50 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.d.ts +22 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js +116 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/index.d.ts +4 -0
- package/lib/src/ServiceConfigs/Gateways/index.js +21 -0
- package/lib/src/ServiceConfigs/Gateways/index.js.map +1 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.d.ts +6 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.js +14 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.js.map +1 -0
- package/lib/src/ServiceConfigs/index.d.ts +4 -0
- package/lib/src/ServiceConfigs/index.js +21 -0
- package/lib/src/ServiceConfigs/index.js.map +1 -0
- package/lib/src/Services/BatchService.d.ts +4 -0
- package/lib/src/Services/BatchService.js +15 -0
- package/lib/src/Services/BatchService.js.map +1 -0
- package/lib/src/Services/CheckService.d.ts +7 -0
- package/lib/src/Services/CheckService.js +20 -0
- package/lib/src/Services/CheckService.js.map +1 -0
- package/lib/src/Services/CreditService.d.ts +13 -0
- package/lib/src/Services/CreditService.js +54 -0
- package/lib/src/Services/CreditService.js.map +1 -0
- package/lib/src/Services/DebitService.d.ts +8 -0
- package/lib/src/Services/DebitService.js +28 -0
- package/lib/src/Services/DebitService.js.map +1 -0
- package/lib/src/Services/EBTService.d.ts +9 -0
- package/lib/src/Services/EBTService.js +31 -0
- package/lib/src/Services/EBTService.js.map +1 -0
- package/lib/src/Services/GiftService.d.ts +17 -0
- package/lib/src/Services/GiftService.js +54 -0
- package/lib/src/Services/GiftService.js.map +1 -0
- package/lib/src/Services/GpApiServices.d.ts +4 -0
- package/lib/src/Services/GpApiServices.js +44 -0
- package/lib/src/Services/GpApiServices.js.map +1 -0
- package/lib/src/Services/HostedService.d.ts +10 -0
- package/lib/src/Services/HostedService.js +59 -0
- package/lib/src/Services/HostedService.js.map +1 -0
- package/lib/src/Services/PayFacService.d.ts +26 -0
- package/lib/src/Services/PayFacService.js +76 -0
- package/lib/src/Services/PayFacService.js.map +1 -0
- package/lib/src/Services/RecurringService.d.ts +8 -0
- package/lib/src/Services/RecurringService.js +24 -0
- package/lib/src/Services/RecurringService.js.map +1 -0
- package/lib/src/Services/ReportingService.d.ts +6 -0
- package/lib/src/Services/ReportingService.js +18 -0
- package/lib/src/Services/ReportingService.js.map +1 -0
- package/lib/src/Services/index.d.ts +10 -0
- package/lib/src/Services/index.js +27 -0
- package/lib/src/Services/index.js.map +1 -0
- package/lib/src/ServicesContainer.d.ts +17 -0
- package/lib/src/ServicesContainer.js +58 -0
- package/lib/src/ServicesContainer.js.map +1 -0
- package/lib/src/Utils/GenerationUtils.d.ts +5 -0
- package/lib/src/Utils/GenerationUtils.js +34 -0
- package/lib/src/Utils/GenerationUtils.js.map +1 -0
- package/lib/src/Utils/InputValidation.d.ts +12 -0
- package/lib/src/Utils/InputValidation.js +71 -0
- package/lib/src/Utils/InputValidation.js.map +1 -0
- package/lib/src/Utils/Sha1.d.ts +6 -0
- package/lib/src/Utils/Sha1.js +231 -0
- package/lib/src/Utils/Sha1.js.map +1 -0
- package/lib/src/Utils/StringUtils.d.ts +6 -0
- package/lib/src/Utils/StringUtils.js +51 -0
- package/lib/src/Utils/StringUtils.js.map +1 -0
- package/lib/src/Utils/index.d.ts +2 -0
- package/lib/src/Utils/index.js +19 -0
- package/lib/src/Utils/index.js.map +1 -0
- package/lib/src/index.d.ts +12 -0
- package/lib/src/index.js +33 -0
- package/lib/src/index.js.map +1 -0
- package/lib/test/Data/BaseGpApiTestConfig.d.ts +13 -0
- package/lib/test/Data/BaseGpApiTestConfig.js +42 -0
- package/lib/test/Data/BaseGpApiTestConfig.js.map +1 -0
- package/lib/test/Data/TestCards.d.ts +24 -0
- package/lib/test/Data/TestCards.js +220 -0
- package/lib/test/Data/TestCards.js.map +1 -0
- package/lib/test/Data/TestChecks.d.ts +4 -0
- package/lib/test/Data/TestChecks.js +27 -0
- package/lib/test/Data/TestChecks.js.map +1 -0
- package/lib/test/Data/index.d.ts +2 -0
- package/lib/test/Data/index.js +19 -0
- package/lib/test/Data/index.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +102 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +2446 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +506 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +1296 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +847 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +214 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +98 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +132 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +59 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +378 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +86 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +1723 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +86 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +1760 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +420 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +2221 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +392 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +82 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +72 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +111 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +147 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +101 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +50 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +44 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +221 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +60 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +80 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +39 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +393 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +44 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +330 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +60 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +80 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +34 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +322 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +4 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +28 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +1 -0
- package/lib/test/Integration/Services/CheckServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/CheckServiceTest.js +45 -0
- package/lib/test/Integration/Services/CheckServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/CreditServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/CreditServiceTest.js +174 -0
- package/lib/test/Integration/Services/CreditServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/DebitServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/DebitServiceTest.js +81 -0
- package/lib/test/Integration/Services/DebitServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/EBTServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/EBTServiceTest.js +64 -0
- package/lib/test/Integration/Services/EBTServiceTest.js.map +1 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +1 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +111 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +1 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +1 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +62 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +1 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +34 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +1 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +125 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { Address, AddressType, AliasAction, EcommerceInfo, GiftCard, HostedPaymentData, InquiryType, IPaymentMethod, RecurringSequence, RecurringType, StoredCredentialInitiator, Transaction } from "../";
|
|
2
|
+
import { TransactionBuilder } from "./TransactionBuilder";
|
|
3
|
+
export declare class AuthorizationBuilder extends TransactionBuilder<Transaction> {
|
|
4
|
+
alias: string;
|
|
5
|
+
aliasAction: AliasAction;
|
|
6
|
+
allowDuplicates: boolean;
|
|
7
|
+
allowPartialAuth: boolean;
|
|
8
|
+
amount: string | number;
|
|
9
|
+
authAmount: string | number;
|
|
10
|
+
balanceInquiryType: InquiryType;
|
|
11
|
+
billingAddress: Address;
|
|
12
|
+
cardBrandTransactionId: string;
|
|
13
|
+
cashBackAmount: string | number;
|
|
14
|
+
clientTransactionId: string;
|
|
15
|
+
currency: string;
|
|
16
|
+
customerId: string;
|
|
17
|
+
customerIpAddress: string;
|
|
18
|
+
cvn: string;
|
|
19
|
+
description: string;
|
|
20
|
+
dynamicDescriptor: string;
|
|
21
|
+
ecommerceInfo: EcommerceInfo;
|
|
22
|
+
gratuity: string | number;
|
|
23
|
+
convenienceAmt: string | number;
|
|
24
|
+
shippingAmt: string | number;
|
|
25
|
+
hostedPaymentData: HostedPaymentData;
|
|
26
|
+
invoiceNumber: string;
|
|
27
|
+
level2Request: boolean;
|
|
28
|
+
offlineAuthCode: string;
|
|
29
|
+
oneTimePayment: boolean;
|
|
30
|
+
orderId: string;
|
|
31
|
+
productId: string;
|
|
32
|
+
recurringSequence: RecurringSequence;
|
|
33
|
+
recurringType: RecurringType;
|
|
34
|
+
requestMultiUseToken: boolean;
|
|
35
|
+
replacementCard: GiftCard;
|
|
36
|
+
scheduleId: string;
|
|
37
|
+
shippingAddress: Address;
|
|
38
|
+
timestamp: string;
|
|
39
|
+
transactionInitiator: StoredCredentialInitiator;
|
|
40
|
+
constructor(type: number, paymentMethod?: IPaymentMethod);
|
|
41
|
+
/**
|
|
42
|
+
* Executes the authorization builder against the gateway.
|
|
43
|
+
*
|
|
44
|
+
* @returns Promise<Transaction>
|
|
45
|
+
*/
|
|
46
|
+
execute(configName?: string): Promise<Transaction>;
|
|
47
|
+
/**
|
|
48
|
+
* Serializes an authorization builder for hosted payment page requests.
|
|
49
|
+
*
|
|
50
|
+
* Requires the gateway and account support hosted payment pages.
|
|
51
|
+
*
|
|
52
|
+
* @throws UnsupportedTransactionError Thrown when gateway doesn't support hosted payments
|
|
53
|
+
* @returns string
|
|
54
|
+
*/
|
|
55
|
+
serialize(): string;
|
|
56
|
+
protected setupValidations(): void;
|
|
57
|
+
/**
|
|
58
|
+
* Sets an address value; where applicable.
|
|
59
|
+
*
|
|
60
|
+
* Currently supports billing and shipping addresses.
|
|
61
|
+
*
|
|
62
|
+
* @param address The desired address information
|
|
63
|
+
* @param addressType The desired address type
|
|
64
|
+
* @returns AuthorizationBuilder
|
|
65
|
+
*/
|
|
66
|
+
withAddress(address?: Address, addressType?: AddressType): this;
|
|
67
|
+
withAlias(aliasAction: AliasAction, alias?: string): this;
|
|
68
|
+
/**
|
|
69
|
+
* Allows duplicate transactions by skipping the
|
|
70
|
+
* gateway's duplicate checking.
|
|
71
|
+
*
|
|
72
|
+
* @param allowDuplicates The duplicate skip flag
|
|
73
|
+
* @returns AuthorizationBuilder
|
|
74
|
+
*/
|
|
75
|
+
withAllowDuplicates(allowDuplicates?: boolean): this;
|
|
76
|
+
/**
|
|
77
|
+
* Allows partial authorizations to occur.
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @param allowPartialAuth The allow partial flag
|
|
81
|
+
* @returns AuthorizationBuilder
|
|
82
|
+
*/
|
|
83
|
+
withAllowPartialAuth(allowPartialAuth?: boolean): this;
|
|
84
|
+
/**
|
|
85
|
+
* Sets the transaction's amount
|
|
86
|
+
*
|
|
87
|
+
* @param amount The amount
|
|
88
|
+
* @returns AuthorizationBuilder
|
|
89
|
+
*/
|
|
90
|
+
withAmount(amount?: string | number): this;
|
|
91
|
+
/**
|
|
92
|
+
* Sets the transaction's authorization amount; where applicable.
|
|
93
|
+
*
|
|
94
|
+
* This is a specialized field. In most cases,
|
|
95
|
+
* `Authorization.withAmount` should be used.
|
|
96
|
+
*
|
|
97
|
+
* @param authAmount The authorization amount
|
|
98
|
+
* @returns AuthorizationBuilder
|
|
99
|
+
*/
|
|
100
|
+
withAuthAmount(authAmount?: string | number): this;
|
|
101
|
+
withBalanceInquiryType(inquiry?: InquiryType): this;
|
|
102
|
+
/**
|
|
103
|
+
* Sets Credential on File fields
|
|
104
|
+
*/
|
|
105
|
+
withCardBrandStorage(transactionInitiator: StoredCredentialInitiator, value?: string): this;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the cash back amount.
|
|
108
|
+
*
|
|
109
|
+
* This is a specialized field for debit or EBT transactions.
|
|
110
|
+
*
|
|
111
|
+
* @param amount The desired cash back amount
|
|
112
|
+
* @returns AuthorizationBuilder
|
|
113
|
+
*/
|
|
114
|
+
withCashBack(amount?: string | number): this;
|
|
115
|
+
/**
|
|
116
|
+
* Sets the client transaction ID.
|
|
117
|
+
*
|
|
118
|
+
* This is an application derived value that can be used to identify a
|
|
119
|
+
* transaction in case a gateway transaction ID is not returned, e.g.
|
|
120
|
+
* in cases of timeouts.
|
|
121
|
+
*
|
|
122
|
+
* The supplied value should be unique to the configured merchant or
|
|
123
|
+
* terminal account.
|
|
124
|
+
*
|
|
125
|
+
* @param clientTransactionId The client transaction ID
|
|
126
|
+
* @returns AuthorizationBuilder
|
|
127
|
+
*/
|
|
128
|
+
withClientTransactionId(clientTransactionId?: string): this;
|
|
129
|
+
/**
|
|
130
|
+
* Sets the transaction's currency; where applicable.
|
|
131
|
+
*
|
|
132
|
+
* The formatting for the supplied value will currently depend on
|
|
133
|
+
* the configured gateway's requirements.
|
|
134
|
+
*
|
|
135
|
+
* @param currency The currency
|
|
136
|
+
* @returns AuthorizationBuilder
|
|
137
|
+
*/
|
|
138
|
+
withCurrency(currency?: string): this;
|
|
139
|
+
/**
|
|
140
|
+
* Sets the customer ID; where applicable.
|
|
141
|
+
*
|
|
142
|
+
* This is an application/merchant generated value.
|
|
143
|
+
*
|
|
144
|
+
* @param customerId The customer ID
|
|
145
|
+
* @returns AuthorizationBuilder
|
|
146
|
+
*/
|
|
147
|
+
withCustomerId(customerId?: string): this;
|
|
148
|
+
/**
|
|
149
|
+
* Sets the customer's IP address; where applicable.
|
|
150
|
+
*
|
|
151
|
+
* This value should be obtained during the payment process.
|
|
152
|
+
*
|
|
153
|
+
* @param customerIpAddress The customer's IP address
|
|
154
|
+
* @returns AuthorizationBuilder
|
|
155
|
+
*/
|
|
156
|
+
withCustomerIpAddress(customerIpAddress?: string): this;
|
|
157
|
+
/**
|
|
158
|
+
* Sets the CVN value for recurring payments; where applicable.
|
|
159
|
+
*
|
|
160
|
+
* @param cvn CVN value to use in the request
|
|
161
|
+
* @returns AuthorizationBuilder
|
|
162
|
+
*/
|
|
163
|
+
withCvn(cvn?: string): this;
|
|
164
|
+
/**
|
|
165
|
+
* Sets the transaction's description.
|
|
166
|
+
*
|
|
167
|
+
* This value is not guaranteed to be sent in the authorization
|
|
168
|
+
* or settlement process.
|
|
169
|
+
*
|
|
170
|
+
* @param description The description
|
|
171
|
+
* @returns AuthorizationBuilder
|
|
172
|
+
*/
|
|
173
|
+
withDescription(description?: string): this;
|
|
174
|
+
/**
|
|
175
|
+
* Sets the transaction's dynamic descriptor.
|
|
176
|
+
*
|
|
177
|
+
* This value is sent during the authorization process and is displayed
|
|
178
|
+
* in the consumer's account.
|
|
179
|
+
*
|
|
180
|
+
* @param dynamicDescriptor The dynamic descriptor
|
|
181
|
+
* @returns AuthorizationBuilder
|
|
182
|
+
*/
|
|
183
|
+
withDynamicDescriptor(dynamicDescriptor?: string): this;
|
|
184
|
+
/**
|
|
185
|
+
* Sets eCommerce specific data; where applicable.
|
|
186
|
+
*
|
|
187
|
+
* This can include:
|
|
188
|
+
*
|
|
189
|
+
* - Consumer authentication (3DSecure) data
|
|
190
|
+
* - Direct market data
|
|
191
|
+
*
|
|
192
|
+
* @param ecommerceInfo The eCommerce data
|
|
193
|
+
* @returns AuthorizationBuilder
|
|
194
|
+
*/
|
|
195
|
+
withEcommerceInfo(ecommerceInfo?: EcommerceInfo): this;
|
|
196
|
+
/**
|
|
197
|
+
* Sets the gratuity amount; where applicable.
|
|
198
|
+
*
|
|
199
|
+
* This value is information only and does not affect
|
|
200
|
+
* the authorization amount.
|
|
201
|
+
*
|
|
202
|
+
* @param gratuity The gratuity amount
|
|
203
|
+
* @returns AuthorizationBuilder
|
|
204
|
+
*/
|
|
205
|
+
withGratuity(gratuity?: string | number): this;
|
|
206
|
+
/**
|
|
207
|
+
* Sets the Convenience amount; where applicable.
|
|
208
|
+
*
|
|
209
|
+
* @param convenienceAmt The Convenience amount
|
|
210
|
+
* @returns AuthorizationBuilder
|
|
211
|
+
*/
|
|
212
|
+
withConvenienceAmt(convenienceAmt?: string | number): this;
|
|
213
|
+
/**
|
|
214
|
+
* Sets the Shipping amount; where applicable.
|
|
215
|
+
*
|
|
216
|
+
* @param shippingAmt The Shipping amount
|
|
217
|
+
* @returns AuthorizationBuilder
|
|
218
|
+
*/
|
|
219
|
+
withShippingAmt(shippingAmt?: string | number): this;
|
|
220
|
+
/**
|
|
221
|
+
* Additional hosted payment specific information for Realex HPP implementation.
|
|
222
|
+
*
|
|
223
|
+
* @param hostedPaymentData The hosted payment data
|
|
224
|
+
* @returns AuthorizationBuilder
|
|
225
|
+
*/
|
|
226
|
+
withHostedPaymentData(hostedPaymentData?: HostedPaymentData): this;
|
|
227
|
+
/**
|
|
228
|
+
* Sets the invoice number; where applicable.
|
|
229
|
+
*
|
|
230
|
+
* @param invoiceNumber The invoice number
|
|
231
|
+
* @returns AuthorizationBuilder
|
|
232
|
+
*/
|
|
233
|
+
withInvoiceNumber(invoiceNumber?: string): this;
|
|
234
|
+
/**
|
|
235
|
+
* Sets the commercial request flag; where applicable.
|
|
236
|
+
*
|
|
237
|
+
* This flag indicates commercial purchase cards are accepted/expected.
|
|
238
|
+
* The application should inspect the transaction response and pass the
|
|
239
|
+
* appropriate Level II data when necessary.
|
|
240
|
+
*
|
|
241
|
+
* @param level2Request The commercial request flag
|
|
242
|
+
* @returns AuthorizationBuilder
|
|
243
|
+
*/
|
|
244
|
+
withCommercialRequest(level2Request?: boolean): this;
|
|
245
|
+
/**
|
|
246
|
+
* Sets the offline authorization code; where applicable.
|
|
247
|
+
*
|
|
248
|
+
* The merchant is required to supply this value as obtained when
|
|
249
|
+
* calling the issuing bank for the authorization.
|
|
250
|
+
*
|
|
251
|
+
* @param offlineAuthCode The offline authorization code
|
|
252
|
+
* @returns AuthorizationBuilder
|
|
253
|
+
*/
|
|
254
|
+
withOfflineAuthCode(offlineAuthCode?: string): this;
|
|
255
|
+
/**
|
|
256
|
+
* Sets the one-time payment flag; where applicable.
|
|
257
|
+
*
|
|
258
|
+
* This is only useful when using recurring payment profiles for
|
|
259
|
+
* one-time payments that are not a part of a recurring schedule.
|
|
260
|
+
*
|
|
261
|
+
* @param oneTimePayment The one-time flag
|
|
262
|
+
* @returns AuthorizationBuilder
|
|
263
|
+
*/
|
|
264
|
+
withOneTimePayment(oneTimePayment?: boolean): this;
|
|
265
|
+
/**
|
|
266
|
+
* Sets the transaction's order ID; where applicable.
|
|
267
|
+
*
|
|
268
|
+
* @param orderId The order ID
|
|
269
|
+
* @returns AuthorizationBuilder
|
|
270
|
+
*/
|
|
271
|
+
withOrderId(orderId?: string): this;
|
|
272
|
+
/**
|
|
273
|
+
* Sets the transaction's product ID; where applicable.
|
|
274
|
+
*
|
|
275
|
+
* @param productId The product ID
|
|
276
|
+
* @returns AuthorizationBuilder
|
|
277
|
+
*/
|
|
278
|
+
withProductId(productId?: string): this;
|
|
279
|
+
/**
|
|
280
|
+
* Sets the Recurring Info for Realex based recurring payments;
|
|
281
|
+
* where applicable.
|
|
282
|
+
*
|
|
283
|
+
* @param type The value can be 'fixed' or 'variable' depending on whether
|
|
284
|
+
* the amount will change for each transaction.
|
|
285
|
+
* @param sequence Indicates where in the recurring sequence the transaction
|
|
286
|
+
* occurs. Must be 'first' for the first transaction for this
|
|
287
|
+
* card, 'subsequent' for transactions after that, and 'last'
|
|
288
|
+
* for the final transaction of the set.
|
|
289
|
+
* @returns AuthorizationBuilder
|
|
290
|
+
*/
|
|
291
|
+
withRecurringInfo(type?: RecurringType, sequence?: RecurringSequence): this;
|
|
292
|
+
/**
|
|
293
|
+
* Requests multi-use tokenization / card storage.
|
|
294
|
+
*
|
|
295
|
+
* This will depend on a successful transaction. If there was a failure
|
|
296
|
+
* or decline, the multi-use tokenization / card storage will not be
|
|
297
|
+
* successful.
|
|
298
|
+
*
|
|
299
|
+
* @param requestMultiUseToken The request flag
|
|
300
|
+
* @returns AuthorizationBuilder
|
|
301
|
+
*/
|
|
302
|
+
withRequestMultiUseToken(requestMultiUseToken?: boolean): this;
|
|
303
|
+
withReplacementCard(replacementCard?: GiftCard): this;
|
|
304
|
+
/**
|
|
305
|
+
* Sets the schedule ID associated with the transaction; where applicable.
|
|
306
|
+
*
|
|
307
|
+
* This is specific to transactions against recurring profiles that are
|
|
308
|
+
* a part of a recurring schedule.
|
|
309
|
+
*
|
|
310
|
+
* @param scheduleId The schedule ID
|
|
311
|
+
* @returns AuthorizationBuilder
|
|
312
|
+
*/
|
|
313
|
+
withScheduleId(scheduleId?: string): this;
|
|
314
|
+
/**
|
|
315
|
+
* Sets the related gateway transaction ID; where applicable.
|
|
316
|
+
*
|
|
317
|
+
* This value is used to associated a previous transaction with the
|
|
318
|
+
* current transaction.
|
|
319
|
+
*
|
|
320
|
+
* @param transactionId The gateway transaction ID
|
|
321
|
+
* @returns AuthorizationBuilder
|
|
322
|
+
*/
|
|
323
|
+
withTransactionId(transactionId?: string): this;
|
|
324
|
+
withTimestamp(timestamp?: string): this;
|
|
325
|
+
}
|