globalpayments-api 3.5.1-fix-4 → 3.5.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/package.json +2 -3
- package/lib/src/Builders/AuthorizationBuilder.d.ts +0 -348
- package/lib/src/Builders/AuthorizationBuilder.js +0 -668
- package/lib/src/Builders/AuthorizationBuilder.js.map +0 -1
- package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +0 -16
- package/lib/src/Builders/BaseBuilder/ValidationClause.js +0 -92
- package/lib/src/Builders/BaseBuilder/ValidationClause.js.map +0 -1
- package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +0 -16
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js +0 -36
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js.map +0 -1
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +0 -11
- package/lib/src/Builders/BaseBuilder/Validations.js +0 -55
- package/lib/src/Builders/BaseBuilder/Validations.js.map +0 -1
- package/lib/src/Builders/BaseBuilder.d.ts +0 -11
- package/lib/src/Builders/BaseBuilder.js +0 -17
- package/lib/src/Builders/BaseBuilder.js.map +0 -1
- package/lib/src/Builders/ManagementBuilder.d.ts +0 -122
- package/lib/src/Builders/ManagementBuilder.js +0 -244
- package/lib/src/Builders/ManagementBuilder.js.map +0 -1
- package/lib/src/Builders/PayFacBuilder.d.ts +0 -97
- package/lib/src/Builders/PayFacBuilder.js +0 -233
- package/lib/src/Builders/PayFacBuilder.js.map +0 -1
- package/lib/src/Builders/RecurringBuilder.d.ts +0 -13
- package/lib/src/Builders/RecurringBuilder.js +0 -34
- package/lib/src/Builders/RecurringBuilder.js.map +0 -1
- package/lib/src/Builders/ReportBuilder.d.ts +0 -10
- package/lib/src/Builders/ReportBuilder.js +0 -27
- package/lib/src/Builders/ReportBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.d.ts +0 -11
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js +0 -23
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.d.ts +0 -35
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +0 -448
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.d.ts +0 -7
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +0 -179
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.d.ts +0 -16
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js +0 -34
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.d.ts +0 -11
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +0 -163
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.d.ts +0 -6
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js +0 -49
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/index.d.ts +0 -4
- package/lib/src/Builders/RequestBuilder/GpApi/index.js +0 -21
- package/lib/src/Builders/RequestBuilder/GpApi/index.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.d.ts +0 -18
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js +0 -125
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.d.ts +0 -11
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js +0 -83
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.d.ts +0 -9
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js +0 -66
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/index.d.ts +0 -3
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js +0 -20
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +0 -8
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +0 -39
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/index.d.ts +0 -3
- package/lib/src/Builders/RequestBuilder/index.js +0 -20
- package/lib/src/Builders/RequestBuilder/index.js.map +0 -1
- package/lib/src/Builders/TransactionBuilder.d.ts +0 -13
- package/lib/src/Builders/TransactionBuilder.js +0 -47
- package/lib/src/Builders/TransactionBuilder.js.map +0 -1
- package/lib/src/Builders/TransactionReportBuilder.d.ts +0 -19
- package/lib/src/Builders/TransactionReportBuilder.js +0 -92
- package/lib/src/Builders/TransactionReportBuilder.js.map +0 -1
- package/lib/src/Builders/index.d.ts +0 -8
- package/lib/src/Builders/index.js +0 -25
- package/lib/src/Builders/index.js.map +0 -1
- package/lib/src/ConfiguredServices.d.ts +0 -24
- package/lib/src/ConfiguredServices.js +0 -33
- package/lib/src/ConfiguredServices.js.map +0 -1
- package/lib/src/Entities/Address.d.ts +0 -14
- package/lib/src/Entities/Address.js +0 -23
- package/lib/src/Entities/Address.js.map +0 -1
- package/lib/src/Entities/BatchSummary.d.ts +0 -6
- package/lib/src/Entities/BatchSummary.js +0 -11
- package/lib/src/Entities/BatchSummary.js.map +0 -1
- package/lib/src/Entities/Card.d.ts +0 -36
- package/lib/src/Entities/Card.js +0 -41
- package/lib/src/Entities/Card.js.map +0 -1
- package/lib/src/Entities/CardIssuerResponse.d.ts +0 -22
- package/lib/src/Entities/CardIssuerResponse.js +0 -27
- package/lib/src/Entities/CardIssuerResponse.js.map +0 -1
- package/lib/src/Entities/Customer.d.ts +0 -74
- package/lib/src/Entities/Customer.js +0 -94
- package/lib/src/Entities/Customer.js.map +0 -1
- package/lib/src/Entities/CustomerDocument.d.ts +0 -8
- package/lib/src/Entities/CustomerDocument.js +0 -16
- package/lib/src/Entities/CustomerDocument.js.map +0 -1
- package/lib/src/Entities/DocumentUploadData.d.ts +0 -13
- package/lib/src/Entities/DocumentUploadData.js +0 -81
- package/lib/src/Entities/DocumentUploadData.js.map +0 -1
- package/lib/src/Entities/EcommerceInfo.d.ts +0 -12
- package/lib/src/Entities/EcommerceInfo.js +0 -22
- package/lib/src/Entities/EcommerceInfo.js.map +0 -1
- package/lib/src/Entities/EncryptionData.d.ts +0 -7
- package/lib/src/Entities/EncryptionData.js +0 -16
- package/lib/src/Entities/EncryptionData.js.map +0 -1
- package/lib/src/Entities/Enums/AcquisitionType.d.ts +0 -10
- package/lib/src/Entities/Enums/AcquisitionType.js +0 -15
- package/lib/src/Entities/Enums/AcquisitionType.js.map +0 -1
- package/lib/src/Entities/Enums/CardTypeFilter.d.ts +0 -7
- package/lib/src/Entities/Enums/CardTypeFilter.js +0 -12
- package/lib/src/Entities/Enums/CardTypeFilter.js.map +0 -1
- package/lib/src/Entities/Enums.d.ts +0 -669
- package/lib/src/Entities/Enums.js +0 -859
- package/lib/src/Entities/Enums.js.map +0 -1
- package/lib/src/Entities/Errors.d.ts +0 -23
- package/lib/src/Entities/Errors.js +0 -72
- package/lib/src/Entities/Errors.js.map +0 -1
- package/lib/src/Entities/FraudRule.d.ts +0 -8
- package/lib/src/Entities/FraudRule.js +0 -17
- package/lib/src/Entities/FraudRule.js.map +0 -1
- package/lib/src/Entities/GpApi/AccessTokenInfo.d.ts +0 -16
- package/lib/src/Entities/GpApi/AccessTokenInfo.js +0 -21
- package/lib/src/Entities/GpApi/AccessTokenInfo.js.map +0 -1
- package/lib/src/Entities/GpApi/DTO/Card.d.ts +0 -16
- package/lib/src/Entities/GpApi/DTO/Card.js +0 -21
- package/lib/src/Entities/GpApi/DTO/Card.js.map +0 -1
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.d.ts +0 -17
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js +0 -21
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js.map +0 -1
- package/lib/src/Entities/GpApi/DTO/index.d.ts +0 -2
- package/lib/src/Entities/GpApi/DTO/index.js +0 -19
- package/lib/src/Entities/GpApi/DTO/index.js.map +0 -1
- package/lib/src/Entities/GpApi/GpApiAccount.d.ts +0 -5
- package/lib/src/Entities/GpApi/GpApiAccount.js +0 -13
- package/lib/src/Entities/GpApi/GpApiAccount.js.map +0 -1
- package/lib/src/Entities/GpApi/GpApiRequest.d.ts +0 -21
- package/lib/src/Entities/GpApi/GpApiRequest.js +0 -26
- package/lib/src/Entities/GpApi/GpApiRequest.js.map +0 -1
- package/lib/src/Entities/GpApi/GpApiTokenResponse.d.ts +0 -52
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js +0 -115
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js.map +0 -1
- package/lib/src/Entities/GpApi/PageResult.d.ts +0 -8
- package/lib/src/Entities/GpApi/PageResult.js +0 -13
- package/lib/src/Entities/GpApi/PageResult.js.map +0 -1
- package/lib/src/Entities/GpApi/index.d.ts +0 -5
- package/lib/src/Entities/GpApi/index.js +0 -22
- package/lib/src/Entities/GpApi/index.js.map +0 -1
- package/lib/src/Entities/HostedPaymentData.d.ts +0 -10
- package/lib/src/Entities/HostedPaymentData.js +0 -17
- package/lib/src/Entities/HostedPaymentData.js.map +0 -1
- package/lib/src/Entities/IRequestBuilder.d.ts +0 -6
- package/lib/src/Entities/IRequestBuilder.js +0 -3
- package/lib/src/Entities/IRequestBuilder.js.map +0 -1
- package/lib/src/Entities/IRequestLogger.d.ts +0 -8
- package/lib/src/Entities/IRequestLogger.js +0 -3
- package/lib/src/Entities/IRequestLogger.js.map +0 -1
- package/lib/src/Entities/LodgingData.d.ts +0 -14
- package/lib/src/Entities/LodgingData.js +0 -18
- package/lib/src/Entities/LodgingData.js.map +0 -1
- package/lib/src/Entities/LodgingItems.d.ts +0 -6
- package/lib/src/Entities/LodgingItems.js +0 -11
- package/lib/src/Entities/LodgingItems.js.map +0 -1
- package/lib/src/Entities/MaskedValueCollection.d.ts +0 -12
- package/lib/src/Entities/MaskedValueCollection.js +0 -53
- package/lib/src/Entities/MaskedValueCollection.js.map +0 -1
- package/lib/src/Entities/PayerDetails.d.ts +0 -8
- package/lib/src/Entities/PayerDetails.js +0 -12
- package/lib/src/Entities/PayerDetails.js.map +0 -1
- package/lib/src/Entities/PhoneNumber.d.ts +0 -6
- package/lib/src/Entities/PhoneNumber.js +0 -15
- package/lib/src/Entities/PhoneNumber.js.map +0 -1
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +0 -7
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +0 -12
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js.map +0 -1
- package/lib/src/Entities/ProFac/AccountPermissions.d.ts +0 -15
- package/lib/src/Entities/ProFac/AccountPermissions.js +0 -19
- package/lib/src/Entities/ProFac/AccountPermissions.js.map +0 -1
- package/lib/src/Entities/ProFac/BankAccountData.d.ts +0 -10
- package/lib/src/Entities/ProFac/BankAccountData.js +0 -42
- package/lib/src/Entities/ProFac/BankAccountData.js.map +0 -1
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +0 -8
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +0 -15
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js.map +0 -1
- package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +0 -6
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js +0 -12
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js.map +0 -1
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +0 -5
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +0 -10
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js.map +0 -1
- package/lib/src/Entities/ProFac/BusinessData.d.ts +0 -15
- package/lib/src/Entities/ProFac/BusinessData.js +0 -50
- package/lib/src/Entities/ProFac/BusinessData.js.map +0 -1
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +0 -4
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +0 -17
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js.map +0 -1
- package/lib/src/Entities/ProFac/DeviceData.d.ts +0 -5
- package/lib/src/Entities/ProFac/DeviceData.js +0 -11
- package/lib/src/Entities/ProFac/DeviceData.js.map +0 -1
- package/lib/src/Entities/ProFac/DeviceInfo.d.ts +0 -6
- package/lib/src/Entities/ProFac/DeviceInfo.js +0 -19
- package/lib/src/Entities/ProFac/DeviceInfo.js.map +0 -1
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +0 -7
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +0 -15
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js.map +0 -1
- package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +0 -8
- package/lib/src/Entities/ProFac/GrossBillingInformation.js +0 -10
- package/lib/src/Entities/ProFac/GrossBillingInformation.js.map +0 -1
- package/lib/src/Entities/ProFac/OrderDevice.d.ts +0 -18
- package/lib/src/Entities/ProFac/OrderDevice.js +0 -23
- package/lib/src/Entities/ProFac/OrderDevice.js.map +0 -1
- package/lib/src/Entities/ProFac/OwnersData.d.ts +0 -12
- package/lib/src/Entities/ProFac/OwnersData.js +0 -43
- package/lib/src/Entities/ProFac/OwnersData.js.map +0 -1
- package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +0 -55
- package/lib/src/Entities/ProFac/PayFacResponseData.js +0 -62
- package/lib/src/Entities/ProFac/PayFacResponseData.js.map +0 -1
- package/lib/src/Entities/ProFac/RenewAccountData.d.ts +0 -10
- package/lib/src/Entities/ProFac/RenewAccountData.js +0 -38
- package/lib/src/Entities/ProFac/RenewAccountData.js.map +0 -1
- package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +0 -8
- package/lib/src/Entities/ProFac/SignificantOwnerData.js +0 -27
- package/lib/src/Entities/ProFac/SignificantOwnerData.js.map +0 -1
- package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +0 -5
- package/lib/src/Entities/ProFac/ThreatRiskData.js +0 -19
- package/lib/src/Entities/ProFac/ThreatRiskData.js.map +0 -1
- package/lib/src/Entities/ProFac/UserPersonalData.d.ts +0 -26
- package/lib/src/Entities/ProFac/UserPersonalData.js +0 -82
- package/lib/src/Entities/ProFac/UserPersonalData.js.map +0 -1
- package/lib/src/Entities/RecurringEntity.d.ts +0 -14
- package/lib/src/Entities/RecurringEntity.js +0 -92
- package/lib/src/Entities/RecurringEntity.js.map +0 -1
- package/lib/src/Entities/Reporting/BaseSummary.d.ts +0 -8
- package/lib/src/Entities/Reporting/BaseSummary.js +0 -13
- package/lib/src/Entities/Reporting/BaseSummary.js.map +0 -1
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +0 -108
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +0 -125
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js.map +0 -1
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.d.ts +0 -11
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js +0 -16
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js.map +0 -1
- package/lib/src/Entities/Reporting/index.d.ts +0 -3
- package/lib/src/Entities/Reporting/index.js +0 -20
- package/lib/src/Entities/Reporting/index.js.map +0 -1
- package/lib/src/Entities/Request.d.ts +0 -10
- package/lib/src/Entities/Request.js +0 -18
- package/lib/src/Entities/Request.js.map +0 -1
- package/lib/src/Entities/SSORequestData.d.ts +0 -5
- package/lib/src/Entities/SSORequestData.js +0 -19
- package/lib/src/Entities/SSORequestData.js.map +0 -1
- package/lib/src/Entities/Schedule.d.ts +0 -47
- package/lib/src/Entities/Schedule.js +0 -325
- package/lib/src/Entities/Schedule.js.map +0 -1
- package/lib/src/Entities/ServiceEndpoints.d.ts +0 -12
- package/lib/src/Entities/ServiceEndpoints.js +0 -17
- package/lib/src/Entities/ServiceEndpoints.js.map +0 -1
- package/lib/src/Entities/StoredCredentials.d.ts +0 -9
- package/lib/src/Entities/StoredCredentials.js +0 -13
- package/lib/src/Entities/StoredCredentials.js.map +0 -1
- package/lib/src/Entities/Transaction.d.ts +0 -96
- package/lib/src/Entities/Transaction.js +0 -157
- package/lib/src/Entities/Transaction.js.map +0 -1
- package/lib/src/Entities/TransactionStatus.d.ts +0 -13
- package/lib/src/Entities/TransactionStatus.js +0 -29
- package/lib/src/Entities/TransactionStatus.js.map +0 -1
- package/lib/src/Entities/TransactionSummary.d.ts +0 -78
- package/lib/src/Entities/TransactionSummary.js +0 -83
- package/lib/src/Entities/TransactionSummary.js.map +0 -1
- package/lib/src/Entities/UPA/ProcessIndicator.d.ts +0 -7
- package/lib/src/Entities/UPA/ProcessIndicator.js +0 -11
- package/lib/src/Entities/UPA/ProcessIndicator.js.map +0 -1
- package/lib/src/Entities/UPA/UpaParam.d.ts +0 -10
- package/lib/src/Entities/UPA/UpaParam.js +0 -14
- package/lib/src/Entities/UPA/UpaParam.js.map +0 -1
- package/lib/src/Entities/UPA/UpaTransactionData.d.ts +0 -8
- package/lib/src/Entities/UPA/UpaTransactionData.js +0 -12
- package/lib/src/Entities/UPA/UpaTransactionData.js.map +0 -1
- package/lib/src/Entities/UPA/index.d.ts +0 -3
- package/lib/src/Entities/UPA/index.js +0 -20
- package/lib/src/Entities/UPA/index.js.map +0 -1
- package/lib/src/Entities/index.d.ts +0 -31
- package/lib/src/Entities/index.js +0 -48
- package/lib/src/Entities/index.js.map +0 -1
- package/lib/src/Gateways/Gateway.d.ts +0 -16
- package/lib/src/Gateways/Gateway.js +0 -94
- package/lib/src/Gateways/Gateway.js.map +0 -1
- package/lib/src/Gateways/GatewayResponse.d.ts +0 -8
- package/lib/src/Gateways/GatewayResponse.js +0 -15
- package/lib/src/Gateways/GatewayResponse.js.map +0 -1
- package/lib/src/Gateways/GpApiConnector.d.ts +0 -42
- package/lib/src/Gateways/GpApiConnector.js +0 -232
- package/lib/src/Gateways/GpApiConnector.js.map +0 -1
- package/lib/src/Gateways/GpEcomConnector.d.ts +0 -36
- package/lib/src/Gateways/GpEcomConnector.js +0 -468
- package/lib/src/Gateways/GpEcomConnector.js.map +0 -1
- package/lib/src/Gateways/IPayFacProvider.d.ts +0 -5
- package/lib/src/Gateways/IPayFacProvider.js +0 -3
- package/lib/src/Gateways/IPayFacProvider.js.map +0 -1
- package/lib/src/Gateways/IPaymentGateway.d.ts +0 -8
- package/lib/src/Gateways/IPaymentGateway.js +0 -3
- package/lib/src/Gateways/IPaymentGateway.js.map +0 -1
- package/lib/src/Gateways/IRecurringService.d.ts +0 -6
- package/lib/src/Gateways/IRecurringService.js +0 -3
- package/lib/src/Gateways/IRecurringService.js.map +0 -1
- package/lib/src/Gateways/PayPlanConnector.d.ts +0 -42
- package/lib/src/Gateways/PayPlanConnector.js +0 -545
- package/lib/src/Gateways/PayPlanConnector.js.map +0 -1
- package/lib/src/Gateways/PorticoConnector.d.ts +0 -48
- package/lib/src/Gateways/PorticoConnector.js +0 -1013
- package/lib/src/Gateways/PorticoConnector.js.map +0 -1
- package/lib/src/Gateways/ProPayConnector.d.ts +0 -45
- package/lib/src/Gateways/ProPayConnector.js +0 -801
- package/lib/src/Gateways/ProPayConnector.js.map +0 -1
- package/lib/src/Gateways/RestGateway.d.ts +0 -9
- package/lib/src/Gateways/RestGateway.js +0 -77
- package/lib/src/Gateways/RestGateway.js.map +0 -1
- package/lib/src/Gateways/XmlGateway.d.ts +0 -6
- package/lib/src/Gateways/XmlGateway.js +0 -54
- package/lib/src/Gateways/XmlGateway.js.map +0 -1
- package/lib/src/Gateways/https-wrapper.d.ts +0 -3
- package/lib/src/Gateways/https-wrapper.js +0 -81
- package/lib/src/Gateways/https-wrapper.js.map +0 -1
- package/lib/src/Gateways/index.d.ts +0 -9
- package/lib/src/Gateways/index.js +0 -26
- package/lib/src/Gateways/index.js.map +0 -1
- package/lib/src/HostedPaymentConfig.d.ts +0 -12
- package/lib/src/HostedPaymentConfig.js +0 -16
- package/lib/src/HostedPaymentConfig.js.map +0 -1
- package/lib/src/Mapping/EnumMapping.d.ts +0 -8
- package/lib/src/Mapping/EnumMapping.js +0 -84
- package/lib/src/Mapping/EnumMapping.js.map +0 -1
- package/lib/src/Mapping/GpApiMapping.d.ts +0 -15
- package/lib/src/Mapping/GpApiMapping.js +0 -285
- package/lib/src/Mapping/GpApiMapping.js.map +0 -1
- package/lib/src/Mapping/GpEcomMapping.d.ts +0 -9
- package/lib/src/Mapping/GpEcomMapping.js +0 -85
- package/lib/src/Mapping/GpEcomMapping.js.map +0 -1
- package/lib/src/Mapping/index.d.ts +0 -3
- package/lib/src/Mapping/index.js +0 -20
- package/lib/src/Mapping/index.js.map +0 -1
- package/lib/src/PaymentMethods/AlternativePaymentMethod.d.ts +0 -22
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js +0 -47
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js.map +0 -1
- package/lib/src/PaymentMethods/Cash.d.ts +0 -8
- package/lib/src/PaymentMethods/Cash.js +0 -16
- package/lib/src/PaymentMethods/Cash.js.map +0 -1
- package/lib/src/PaymentMethods/Credit.d.ts +0 -109
- package/lib/src/PaymentMethods/Credit.js +0 -161
- package/lib/src/PaymentMethods/Credit.js.map +0 -1
- package/lib/src/PaymentMethods/CreditCardData.d.ts +0 -20
- package/lib/src/PaymentMethods/CreditCardData.js +0 -47
- package/lib/src/PaymentMethods/CreditCardData.js.map +0 -1
- package/lib/src/PaymentMethods/CreditTrackData.d.ts +0 -15
- package/lib/src/PaymentMethods/CreditTrackData.js +0 -36
- package/lib/src/PaymentMethods/CreditTrackData.js.map +0 -1
- package/lib/src/PaymentMethods/Debit.d.ts +0 -48
- package/lib/src/PaymentMethods/Debit.js +0 -64
- package/lib/src/PaymentMethods/Debit.js.map +0 -1
- package/lib/src/PaymentMethods/DebitTrackData.d.ts +0 -9
- package/lib/src/PaymentMethods/DebitTrackData.js +0 -24
- package/lib/src/PaymentMethods/DebitTrackData.js.map +0 -1
- package/lib/src/PaymentMethods/EBT.d.ts +0 -48
- package/lib/src/PaymentMethods/EBT.js +0 -68
- package/lib/src/PaymentMethods/EBT.js.map +0 -1
- package/lib/src/PaymentMethods/EBTCardData.d.ts +0 -16
- package/lib/src/PaymentMethods/EBTCardData.js +0 -25
- package/lib/src/PaymentMethods/EBTCardData.js.map +0 -1
- package/lib/src/PaymentMethods/EBTTrackData.d.ts +0 -8
- package/lib/src/PaymentMethods/EBTTrackData.js +0 -11
- package/lib/src/PaymentMethods/EBTTrackData.js.map +0 -1
- package/lib/src/PaymentMethods/ECheck.d.ts +0 -32
- package/lib/src/PaymentMethods/ECheck.js +0 -38
- package/lib/src/PaymentMethods/ECheck.js.map +0 -1
- package/lib/src/PaymentMethods/GiftCard.d.ts +0 -131
- package/lib/src/PaymentMethods/GiftCard.js +0 -189
- package/lib/src/PaymentMethods/GiftCard.js.map +0 -1
- package/lib/src/PaymentMethods/Interfaces.d.ts +0 -59
- package/lib/src/PaymentMethods/Interfaces.js +0 -3
- package/lib/src/PaymentMethods/Interfaces.js.map +0 -1
- package/lib/src/PaymentMethods/PaymentMethod.d.ts +0 -19
- package/lib/src/PaymentMethods/PaymentMethod.js +0 -57
- package/lib/src/PaymentMethods/PaymentMethod.js.map +0 -1
- package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +0 -25
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js +0 -69
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +0 -1
- package/lib/src/PaymentMethods/TransactionReference.d.ts +0 -10
- package/lib/src/PaymentMethods/TransactionReference.js +0 -17
- package/lib/src/PaymentMethods/TransactionReference.js.map +0 -1
- package/lib/src/PaymentMethods/index.d.ts +0 -17
- package/lib/src/PaymentMethods/index.js +0 -34
- package/lib/src/PaymentMethods/index.js.map +0 -1
- package/lib/src/ServiceConfigs/AcceptorConfig.d.ts +0 -29
- package/lib/src/ServiceConfigs/AcceptorConfig.js +0 -43
- package/lib/src/ServiceConfigs/AcceptorConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Configuration.d.ts +0 -15
- package/lib/src/ServiceConfigs/Configuration.js +0 -20
- package/lib/src/ServiceConfigs/Configuration.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.d.ts +0 -14
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js +0 -30
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +0 -21
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +0 -45
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.d.ts +0 -21
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js +0 -51
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.d.ts +0 -22
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js +0 -117
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/index.d.ts +0 -4
- package/lib/src/ServiceConfigs/Gateways/index.js +0 -21
- package/lib/src/ServiceConfigs/Gateways/index.js.map +0 -1
- package/lib/src/ServiceConfigs/ServicesConfigs.d.ts +0 -8
- package/lib/src/ServiceConfigs/ServicesConfigs.js +0 -15
- package/lib/src/ServiceConfigs/ServicesConfigs.js.map +0 -1
- package/lib/src/ServiceConfigs/index.d.ts +0 -4
- package/lib/src/ServiceConfigs/index.js +0 -21
- package/lib/src/ServiceConfigs/index.js.map +0 -1
- package/lib/src/Services/BatchService.d.ts +0 -4
- package/lib/src/Services/BatchService.js +0 -15
- package/lib/src/Services/BatchService.js.map +0 -1
- package/lib/src/Services/CheckService.d.ts +0 -7
- package/lib/src/Services/CheckService.js +0 -20
- package/lib/src/Services/CheckService.js.map +0 -1
- package/lib/src/Services/CreditService.d.ts +0 -13
- package/lib/src/Services/CreditService.js +0 -54
- package/lib/src/Services/CreditService.js.map +0 -1
- package/lib/src/Services/DebitService.d.ts +0 -8
- package/lib/src/Services/DebitService.js +0 -28
- package/lib/src/Services/DebitService.js.map +0 -1
- package/lib/src/Services/DeviceService.d.ts +0 -5
- package/lib/src/Services/DeviceService.js +0 -19
- package/lib/src/Services/DeviceService.js.map +0 -1
- package/lib/src/Services/EBTService.d.ts +0 -9
- package/lib/src/Services/EBTService.js +0 -31
- package/lib/src/Services/EBTService.js.map +0 -1
- package/lib/src/Services/GiftService.d.ts +0 -17
- package/lib/src/Services/GiftService.js +0 -54
- package/lib/src/Services/GiftService.js.map +0 -1
- package/lib/src/Services/GpApiServices.d.ts +0 -4
- package/lib/src/Services/GpApiServices.js +0 -44
- package/lib/src/Services/GpApiServices.js.map +0 -1
- package/lib/src/Services/HostedService.d.ts +0 -10
- package/lib/src/Services/HostedService.js +0 -59
- package/lib/src/Services/HostedService.js.map +0 -1
- package/lib/src/Services/PayFacService.d.ts +0 -26
- package/lib/src/Services/PayFacService.js +0 -76
- package/lib/src/Services/PayFacService.js.map +0 -1
- package/lib/src/Services/RecurringService.d.ts +0 -8
- package/lib/src/Services/RecurringService.js +0 -24
- package/lib/src/Services/RecurringService.js.map +0 -1
- package/lib/src/Services/ReportingService.d.ts +0 -10
- package/lib/src/Services/ReportingService.js +0 -34
- package/lib/src/Services/ReportingService.js.map +0 -1
- package/lib/src/Services/index.d.ts +0 -10
- package/lib/src/Services/index.js +0 -27
- package/lib/src/Services/index.js.map +0 -1
- package/lib/src/ServicesContainer.d.ts +0 -19
- package/lib/src/ServicesContainer.js +0 -64
- package/lib/src/ServicesContainer.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.d.ts +0 -6
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceInterface.d.ts +0 -13
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceMessage.d.ts +0 -4
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceResponse.d.ts +0 -52
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.d.ts +0 -3
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js +0 -3
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.d.ts +0 -3
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js +0 -3
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js.map +0 -1
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.d.ts +0 -16
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js +0 -3
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js.map +0 -1
- package/lib/src/Terminals/Abstractions/index.d.ts +0 -7
- package/lib/src/Terminals/Abstractions/index.js +0 -24
- package/lib/src/Terminals/Abstractions/index.js.map +0 -1
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.d.ts +0 -65
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js +0 -172
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js.map +0 -1
- package/lib/src/Terminals/Builders/TerminalBuilder.d.ts +0 -12
- package/lib/src/Terminals/Builders/TerminalBuilder.js +0 -32
- package/lib/src/Terminals/Builders/TerminalBuilder.js.map +0 -1
- package/lib/src/Terminals/Builders/TerminalManageBuilder.d.ts +0 -30
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js +0 -95
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js.map +0 -1
- package/lib/src/Terminals/Builders/index.d.ts +0 -2
- package/lib/src/Terminals/Builders/index.js +0 -19
- package/lib/src/Terminals/Builders/index.js.map +0 -1
- package/lib/src/Terminals/ConnectionConfig.d.ts +0 -20
- package/lib/src/Terminals/ConnectionConfig.js +0 -49
- package/lib/src/Terminals/ConnectionConfig.js.map +0 -1
- package/lib/src/Terminals/DeviceController.d.ts +0 -23
- package/lib/src/Terminals/DeviceController.js +0 -42
- package/lib/src/Terminals/DeviceController.js.map +0 -1
- package/lib/src/Terminals/DeviceInterface.d.ts +0 -21
- package/lib/src/Terminals/DeviceInterface.js +0 -50
- package/lib/src/Terminals/DeviceInterface.js.map +0 -1
- package/lib/src/Terminals/DeviceMessage.d.ts +0 -15
- package/lib/src/Terminals/DeviceMessage.js +0 -42
- package/lib/src/Terminals/DeviceMessage.js.map +0 -1
- package/lib/src/Terminals/DeviceResponse.d.ts +0 -10
- package/lib/src/Terminals/DeviceResponse.js +0 -16
- package/lib/src/Terminals/DeviceResponse.js.map +0 -1
- package/lib/src/Terminals/Enums/ControlCodes.d.ts +0 -5
- package/lib/src/Terminals/Enums/ControlCodes.js +0 -10
- package/lib/src/Terminals/Enums/ControlCodes.js.map +0 -1
- package/lib/src/Terminals/Enums/index.d.ts +0 -1
- package/lib/src/Terminals/Enums/index.js +0 -18
- package/lib/src/Terminals/Enums/index.js.map +0 -1
- package/lib/src/Terminals/Enums.d.ts +0 -12
- package/lib/src/Terminals/Enums.js +0 -18
- package/lib/src/Terminals/Enums.js.map +0 -1
- package/lib/src/Terminals/SummaryResponse.d.ts +0 -28
- package/lib/src/Terminals/SummaryResponse.js +0 -33
- package/lib/src/Terminals/SummaryResponse.js.map +0 -1
- package/lib/src/Terminals/TerminalResponse.d.ts +0 -42
- package/lib/src/Terminals/TerminalResponse.js +0 -49
- package/lib/src/Terminals/TerminalResponse.js.map +0 -1
- package/lib/src/Terminals/TerminalUtils.d.ts +0 -4
- package/lib/src/Terminals/TerminalUtils.js +0 -24
- package/lib/src/Terminals/TerminalUtils.js.map +0 -1
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.d.ts +0 -20
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js +0 -25
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js.map +0 -1
- package/lib/src/Terminals/UPA/Entities/index.d.ts +0 -1
- package/lib/src/Terminals/UPA/Entities/index.js +0 -18
- package/lib/src/Terminals/UPA/Entities/index.js.map +0 -1
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.d.ts +0 -12
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js +0 -76
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js.map +0 -1
- package/lib/src/Terminals/UPA/Interfaces/index.d.ts +0 -1
- package/lib/src/Terminals/UPA/Interfaces/index.js +0 -18
- package/lib/src/Terminals/UPA/Interfaces/index.js.map +0 -1
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.d.ts +0 -53
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js +0 -70
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js.map +0 -1
- package/lib/src/Terminals/UPA/Reponses/index.d.ts +0 -1
- package/lib/src/Terminals/UPA/Reponses/index.js +0 -18
- package/lib/src/Terminals/UPA/Reponses/index.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/BaseRequest.d.ts +0 -7
- package/lib/src/Terminals/UPA/Request/BaseRequest.js +0 -11
- package/lib/src/Terminals/UPA/Request/BaseRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/GroupRequest.d.ts +0 -5
- package/lib/src/Terminals/UPA/Request/GroupRequest.js +0 -9
- package/lib/src/Terminals/UPA/Request/GroupRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/RequestParams.d.ts +0 -9
- package/lib/src/Terminals/UPA/Request/RequestParams.js +0 -14
- package/lib/src/Terminals/UPA/Request/RequestParams.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/RootRequest.d.ts +0 -5
- package/lib/src/Terminals/UPA/Request/RootRequest.js +0 -9
- package/lib/src/Terminals/UPA/Request/RootRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/TransactionRequest.d.ts +0 -10
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js +0 -15
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/index.d.ts +0 -5
- package/lib/src/Terminals/UPA/Request/index.js +0 -22
- package/lib/src/Terminals/UPA/Request/index.js.map +0 -1
- package/lib/src/Terminals/UPA/UpaController.d.ts +0 -16
- package/lib/src/Terminals/UPA/UpaController.js +0 -213
- package/lib/src/Terminals/UPA/UpaController.js.map +0 -1
- package/lib/src/Terminals/UPA/UpaInterface.d.ts +0 -10
- package/lib/src/Terminals/UPA/UpaInterface.js +0 -44
- package/lib/src/Terminals/UPA/UpaInterface.js.map +0 -1
- package/lib/src/Terminals/UPA/UpaMessageType.d.ts +0 -8
- package/lib/src/Terminals/UPA/UpaMessageType.js +0 -13
- package/lib/src/Terminals/UPA/UpaMessageType.js.map +0 -1
- package/lib/src/Terminals/UPA/index.d.ts +0 -7
- package/lib/src/Terminals/UPA/index.js +0 -24
- package/lib/src/Terminals/UPA/index.js.map +0 -1
- package/lib/src/Terminals/index.d.ts +0 -8
- package/lib/src/Terminals/index.js +0 -25
- package/lib/src/Terminals/index.js.map +0 -1
- package/lib/src/Utils/CardUtils.d.ts +0 -13
- package/lib/src/Utils/CardUtils.js +0 -221
- package/lib/src/Utils/CardUtils.js.map +0 -1
- package/lib/src/Utils/GenerationUtils.d.ts +0 -6
- package/lib/src/Utils/GenerationUtils.js +0 -79
- package/lib/src/Utils/GenerationUtils.js.map +0 -1
- package/lib/src/Utils/IRawRequestBuilder.d.ts +0 -3
- package/lib/src/Utils/IRawRequestBuilder.js +0 -3
- package/lib/src/Utils/IRawRequestBuilder.js.map +0 -1
- package/lib/src/Utils/InputValidation.d.ts +0 -12
- package/lib/src/Utils/InputValidation.js +0 -71
- package/lib/src/Utils/InputValidation.js.map +0 -1
- package/lib/src/Utils/Logging/Logger.d.ts +0 -32
- package/lib/src/Utils/Logging/Logger.js +0 -209
- package/lib/src/Utils/Logging/Logger.js.map +0 -1
- package/lib/src/Utils/Logging/ProtectSensitiveData.d.ts +0 -11
- package/lib/src/Utils/Logging/ProtectSensitiveData.js +0 -23
- package/lib/src/Utils/Logging/ProtectSensitiveData.js.map +0 -1
- package/lib/src/Utils/Logging/SampleRequestLogger.d.ts +0 -12
- package/lib/src/Utils/Logging/SampleRequestLogger.js +0 -38
- package/lib/src/Utils/Logging/SampleRequestLogger.js.map +0 -1
- package/lib/src/Utils/Logging/index.d.ts +0 -3
- package/lib/src/Utils/Logging/index.js +0 -20
- package/lib/src/Utils/Logging/index.js.map +0 -1
- package/lib/src/Utils/Sha1.d.ts +0 -6
- package/lib/src/Utils/Sha1.js +0 -231
- package/lib/src/Utils/Sha1.js.map +0 -1
- package/lib/src/Utils/StringUtils.d.ts +0 -15
- package/lib/src/Utils/StringUtils.js +0 -80
- package/lib/src/Utils/StringUtils.js.map +0 -1
- package/lib/src/Utils/index.d.ts +0 -5
- package/lib/src/Utils/index.js +0 -22
- package/lib/src/Utils/index.js.map +0 -1
- package/lib/src/index.d.ts +0 -13
- package/lib/src/index.js +0 -34
- package/lib/src/index.js.map +0 -1
- package/lib/test/Data/BaseGpApiTestConfig.d.ts +0 -14
- package/lib/test/Data/BaseGpApiTestConfig.js +0 -50
- package/lib/test/Data/BaseGpApiTestConfig.js.map +0 -1
- package/lib/test/Data/TestCards.d.ts +0 -24
- package/lib/test/Data/TestCards.js +0 -220
- package/lib/test/Data/TestCards.js.map +0 -1
- package/lib/test/Data/TestChecks.d.ts +0 -4
- package/lib/test/Data/TestChecks.js +0 -27
- package/lib/test/Data/TestChecks.js.map +0 -1
- package/lib/test/Data/index.d.ts +0 -2
- package/lib/test/Data/index.js +0 -19
- package/lib/test/Data/index.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +0 -109
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +0 -1023
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js +0 -439
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js +0 -143
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js +0 -434
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js +0 -217
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +0 -337
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +0 -2446
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +0 -506
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +0 -1296
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +0 -847
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +0 -215
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +0 -99
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +0 -133
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +0 -59
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +0 -378
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +0 -86
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +0 -1723
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +0 -86
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +0 -1760
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +0 -420
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +0 -2221
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +0 -392
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +0 -82
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +0 -72
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +0 -111
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +0 -147
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +0 -101
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +0 -50
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +0 -44
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +0 -221
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +0 -60
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +0 -80
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +0 -39
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +0 -393
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +0 -44
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +0 -330
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +0 -60
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +0 -80
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +0 -34
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +0 -322
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +0 -4
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +0 -28
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +0 -1
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.d.ts +0 -4
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js +0 -10
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js.map +0 -1
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js +0 -149
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js.map +0 -1
- package/lib/test/Integration/Services/CheckServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CheckServiceTest.js +0 -45
- package/lib/test/Integration/Services/CheckServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/CreditServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CreditServiceTest.js +0 -174
- package/lib/test/Integration/Services/CreditServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/DebitServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/DebitServiceTest.js +0 -81
- package/lib/test/Integration/Services/DebitServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/EBTServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/EBTServiceTest.js +0 -64
- package/lib/test/Integration/Services/EBTServiceTest.js.map +0 -1
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +0 -111
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +0 -1
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +0 -62
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +0 -1
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +0 -34
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +0 -125
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +0 -1
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Credit = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const PaymentMethod_1 = require("./PaymentMethod");
|
|
6
|
-
class Credit extends PaymentMethod_1.PaymentMethod {
|
|
7
|
-
encryptionData;
|
|
8
|
-
paymentMethodType = __1.PaymentMethodType.Credit;
|
|
9
|
-
/**
|
|
10
|
-
* The token value representing the card.
|
|
11
|
-
*
|
|
12
|
-
* For `TransactionModifier.EncryptedMobile` transactions, this value is the
|
|
13
|
-
* encrypted payload from the mobile payment scheme.
|
|
14
|
-
*/
|
|
15
|
-
token;
|
|
16
|
-
/**
|
|
17
|
-
* The type of mobile device used in `Transaction.Modifier.EncryptedMobile`
|
|
18
|
-
* transactions.
|
|
19
|
-
*/
|
|
20
|
-
mobileType;
|
|
21
|
-
/**
|
|
22
|
-
* Payment Source is the API or source of the cryptogram for WalletData.
|
|
23
|
-
*/
|
|
24
|
-
paymentSource;
|
|
25
|
-
cryptogram;
|
|
26
|
-
eci;
|
|
27
|
-
/**
|
|
28
|
-
* Authorizes the payment method
|
|
29
|
-
*
|
|
30
|
-
* @param string|number amount Amount to authorize
|
|
31
|
-
*
|
|
32
|
-
* @return AuthorizationBuilder
|
|
33
|
-
*/
|
|
34
|
-
authorize(amount) {
|
|
35
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Auth, this).withAmount(amount);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Authorizes the payment method and captures the entire authorized amount
|
|
39
|
-
*
|
|
40
|
-
* @param string|number amount Amount to authorize
|
|
41
|
-
*
|
|
42
|
-
* @return AuthorizationBuilder
|
|
43
|
-
*/
|
|
44
|
-
charge(amount) {
|
|
45
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Sale, this).withAmount(amount);
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Adds value to the payment method
|
|
49
|
-
*
|
|
50
|
-
* @param string|number amount Amount to add
|
|
51
|
-
*
|
|
52
|
-
* @return AuthorizationBuilder
|
|
53
|
-
*/
|
|
54
|
-
addValue(amount) {
|
|
55
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.AddValue, this).withAmount(amount);
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Inquires the balance of the payment method
|
|
59
|
-
*
|
|
60
|
-
* @param InquiryType inquiry Type of inquiry
|
|
61
|
-
*
|
|
62
|
-
* @return AuthorizationBuilder
|
|
63
|
-
*/
|
|
64
|
-
balanceInquiry(inquiry) {
|
|
65
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Balance, this).withBalanceInquiryType(inquiry);
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Refunds the payment method
|
|
69
|
-
*
|
|
70
|
-
* @param string|number amount Amount to refund
|
|
71
|
-
*
|
|
72
|
-
* @return AuthorizationBuilder
|
|
73
|
-
*/
|
|
74
|
-
refund(amount) {
|
|
75
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Refund, this).withAmount(amount);
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Reverses the payment method
|
|
79
|
-
*
|
|
80
|
-
* @param string|number amount Amount to reverse
|
|
81
|
-
*
|
|
82
|
-
* @return AuthorizationBuilder
|
|
83
|
-
*/
|
|
84
|
-
reverse(amount) {
|
|
85
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Reversal, this).withAmount(amount);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Verifies the payment method
|
|
89
|
-
*
|
|
90
|
-
* @return AuthorizationBuilder
|
|
91
|
-
*/
|
|
92
|
-
verify() {
|
|
93
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Verify, this);
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Tokenizes the payment method
|
|
97
|
-
*
|
|
98
|
-
* @return AuthorizationBuilder
|
|
99
|
-
*/
|
|
100
|
-
tokenize(verifyCard = true, usageMode = __1.PaymentMethodUsageMode.MULTIPLE) {
|
|
101
|
-
if (verifyCard !== false) {
|
|
102
|
-
verifyCard = true;
|
|
103
|
-
}
|
|
104
|
-
const type = verifyCard ? __1.TransactionType.Verify : __1.TransactionType.Tokenize;
|
|
105
|
-
return new __1.AuthorizationBuilder(type, this)
|
|
106
|
-
.withRequestMultiUseToken(true)
|
|
107
|
-
.withPaymentMethodUsageMode(usageMode);
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Updates the token expiry date with the values proced to the card object
|
|
111
|
-
*
|
|
112
|
-
* @returns boolean value indicating success/failure
|
|
113
|
-
*/
|
|
114
|
-
async updateTokenExpiry() {
|
|
115
|
-
if (!this.token) {
|
|
116
|
-
throw new __1.BuilderError("Token cannot be null");
|
|
117
|
-
}
|
|
118
|
-
await new __1.ManagementBuilder(__1.TransactionType.TokenUpdate)
|
|
119
|
-
.withPaymentMethod(this)
|
|
120
|
-
.execute();
|
|
121
|
-
return true;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Updates the payment token
|
|
125
|
-
*
|
|
126
|
-
* @returns ManagementBuilder
|
|
127
|
-
*/
|
|
128
|
-
updateToken() {
|
|
129
|
-
if (!this.token) {
|
|
130
|
-
throw new __1.BuilderError("Token cannot be null");
|
|
131
|
-
}
|
|
132
|
-
return new __1.ManagementBuilder(__1.TransactionType.TokenUpdate).withPaymentMethod(this);
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Deletes the token associated with the current card object
|
|
136
|
-
*
|
|
137
|
-
* @returns boolean value indicating success/failure
|
|
138
|
-
*/
|
|
139
|
-
async deleteToken() {
|
|
140
|
-
if (!this.token) {
|
|
141
|
-
throw new __1.BuilderError("Token cannot be null");
|
|
142
|
-
}
|
|
143
|
-
await new __1.ManagementBuilder(__1.TransactionType.TokenUpdate)
|
|
144
|
-
.withPaymentMethod(this)
|
|
145
|
-
.execute();
|
|
146
|
-
return true;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Detokenizes the payment method
|
|
150
|
-
*
|
|
151
|
-
* @returns result of the detokenization
|
|
152
|
-
*/
|
|
153
|
-
async detokenize() {
|
|
154
|
-
if (!this.token) {
|
|
155
|
-
throw new __1.BuilderError("Token cannot be null or empty");
|
|
156
|
-
}
|
|
157
|
-
return await new __1.ManagementBuilder(__1.TransactionType.Detokenize, this).execute();
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
exports.Credit = Credit;
|
|
161
|
-
//# sourceMappingURL=Credit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Credit.js","sourceRoot":"","sources":["../../../src/PaymentMethods/Credit.ts"],"names":[],"mappings":";;;AAAA,2BAUa;AAYb,mDAAgD;AAEhD,MAAsB,MACpB,SAAQ,6BAAa;IAYd,cAAc,CAAiB;IAC/B,iBAAiB,GAAG,qBAAiB,CAAC,MAAM,CAAC;IAEpD;;;;;OAKG;IACI,KAAK,CAAS;IAErB;;;OAGG;IACI,UAAU,CAAS;IAC1B;;OAEG;IACI,aAAa,CAAS;IACtB,UAAU,CAAS;IACnB,GAAG,CAAS;IAEnB;;;;;;OAMG;IACI,SAAS,CAAC,MAAwB;QACvC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,UAAU,CACpE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAwB;QACpC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,UAAU,CACpE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,QAAQ,CAAC,MAAwB;QACtC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,UAAU,CACxE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CAAC,OAAqB;QACzC,OAAO,IAAI,wBAAoB,CAC7B,mBAAe,CAAC,OAAO,EACvB,IAAI,CACL,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAwB;QACpC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,UAAU,CACtE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,OAAO,CAAC,MAAwB;QACrC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,UAAU,CACxE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACI,MAAM;QACX,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAED;;;;OAIG;IACI,QAAQ,CACb,aAAsB,IAAI,EAC1B,YAAoC,0BAAsB,CAAC,QAAQ;QAEnE,IAAI,UAAU,KAAK,KAAK,EAAE;YACxB,UAAU,GAAG,IAAI,CAAC;SACnB;QACD,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,mBAAe,CAAC,MAAM,CAAC,CAAC,CAAC,mBAAe,CAAC,QAAQ,CAAC;QAE5E,OAAO,IAAI,wBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC;aACxC,wBAAwB,CAAC,IAAI,CAAC;aAC9B,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC3C,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,iBAAiB;QAC5B,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,MAAM,IAAI,gBAAY,CAAC,sBAAsB,CAAC,CAAC;SAChD;QAED,MAAM,IAAI,qBAAiB,CAAC,mBAAe,CAAC,WAAW,CAAC;aACrD,iBAAiB,CAAC,IAAI,CAAC;aACvB,OAAO,EAAE,CAAC;QAEb,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;OAIG;IACI,WAAW;QAChB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,MAAM,IAAI,gBAAY,CAAC,sBAAsB,CAAC,CAAC;SAChD;QAED,OAAO,IAAI,qBAAiB,CAAC,mBAAe,CAAC,WAAW,CAAC,CAAC,iBAAiB,CACzE,IAAI,CACL,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,WAAW;QACtB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,MAAM,IAAI,gBAAY,CAAC,sBAAsB,CAAC,CAAC;SAChD;QAED,MAAM,IAAI,qBAAiB,CAAC,mBAAe,CAAC,WAAW,CAAC;aACrD,iBAAiB,CAAC,IAAI,CAAC;aACvB,OAAO,EAAE,CAAC;QAEb,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,UAAU;QACrB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,MAAM,IAAI,gBAAY,CAAC,+BAA+B,CAAC,CAAC;SACzD;QAED,OAAO,MAAM,IAAI,qBAAiB,CAChC,mBAAe,CAAC,UAAU,EAC1B,IAAI,CACL,CAAC,OAAO,EAAE,CAAC;IACd,CAAC;CACF;AA/MD,wBA+MC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CvnPresenceIndicator } from "../";
|
|
2
|
-
import { Credit } from "./Credit";
|
|
3
|
-
import { ICardData } from "./Interfaces";
|
|
4
|
-
export declare class CreditCardData extends Credit implements ICardData {
|
|
5
|
-
static cardTypes: {
|
|
6
|
-
name: string;
|
|
7
|
-
regex: RegExp;
|
|
8
|
-
}[];
|
|
9
|
-
number: string;
|
|
10
|
-
expMonth: string;
|
|
11
|
-
expYear: string;
|
|
12
|
-
cvn: string;
|
|
13
|
-
cvnPresenceIndicator: CvnPresenceIndicator;
|
|
14
|
-
cardHolderName: string;
|
|
15
|
-
cardPresent: boolean;
|
|
16
|
-
readerPresent: boolean;
|
|
17
|
-
constructor();
|
|
18
|
-
getCardType(): string;
|
|
19
|
-
getShortExpiry(): string;
|
|
20
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreditCardData = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const Credit_1 = require("./Credit");
|
|
6
|
-
class CreditCardData extends Credit_1.Credit {
|
|
7
|
-
static cardTypes = [
|
|
8
|
-
{ name: "Visa", regex: /^4/ },
|
|
9
|
-
{ name: "MC", regex: /^(5[1-5]|2[2-7])/ },
|
|
10
|
-
{ name: "Amex", regex: /^3[47]/ },
|
|
11
|
-
{ name: "Diners", regex: /^3[0689]/ },
|
|
12
|
-
{ name: "EnRoute", regex: /^2(014|149)/ },
|
|
13
|
-
{ name: "Discover", regex: /^6([045]|22)/ },
|
|
14
|
-
{ name: "Jcb", regex: /^35/ },
|
|
15
|
-
];
|
|
16
|
-
number;
|
|
17
|
-
expMonth;
|
|
18
|
-
expYear;
|
|
19
|
-
cvn;
|
|
20
|
-
cvnPresenceIndicator;
|
|
21
|
-
cardHolderName;
|
|
22
|
-
cardPresent;
|
|
23
|
-
readerPresent;
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
this.cardPresent = false;
|
|
27
|
-
this.readerPresent = false;
|
|
28
|
-
this.cvnPresenceIndicator = __1.CvnPresenceIndicator.NotRequested;
|
|
29
|
-
}
|
|
30
|
-
getCardType() {
|
|
31
|
-
const number = this.number.replace(" ", "").replace("-", "");
|
|
32
|
-
for (const type of CreditCardData.cardTypes) {
|
|
33
|
-
if (type.regex.test(number)) {
|
|
34
|
-
return type.name;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return "Unknown";
|
|
38
|
-
}
|
|
39
|
-
getShortExpiry() {
|
|
40
|
-
if (this.expMonth != null && this.expYear != null) {
|
|
41
|
-
return this.expMonth + this.expYear.slice(-2);
|
|
42
|
-
}
|
|
43
|
-
return "";
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.CreditCardData = CreditCardData;
|
|
47
|
-
//# sourceMappingURL=CreditCardData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreditCardData.js","sourceRoot":"","sources":["../../../src/PaymentMethods/CreditCardData.ts"],"names":[],"mappings":";;;AAAA,2BAA2C;AAC3C,qCAAkC;AAGlC,MAAa,cAAe,SAAQ,eAAM;IACjC,MAAM,CAAC,SAAS,GAAG;QACxB,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE;QAC7B,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE;QACzC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE;QACrC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE;QACzC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE;QAC3C,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;KAC9B,CAAC;IAEK,MAAM,CAAS;IACf,QAAQ,CAAS;IACjB,OAAO,CAAS;IAChB,GAAG,CAAS;IACZ,oBAAoB,CAAuB;IAC3C,cAAc,CAAS;IACvB,WAAW,CAAU;IACrB,aAAa,CAAU;IAE9B;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,oBAAoB,GAAG,wBAAoB,CAAC,YAAY,CAAC;IAChE,CAAC;IAEM,WAAW;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAE7D,KAAK,MAAM,IAAI,IAAI,cAAc,CAAC,SAAS,EAAE;YAC3C,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;gBAC3B,OAAO,IAAI,CAAC,IAAI,CAAC;aAClB;SACF;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAEM,cAAc;QACnB,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACjD,OAAO,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAC/C;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;;AA7CH,wCA8CC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntryMethod } from "../";
|
|
2
|
-
import { Credit } from "./Credit";
|
|
3
|
-
import { ITrackData } from "./Interfaces";
|
|
4
|
-
export declare class CreditTrackData extends Credit implements ITrackData {
|
|
5
|
-
entryMethod: EntryMethod;
|
|
6
|
-
value: string;
|
|
7
|
-
discretionaryData: string;
|
|
8
|
-
expiry: string;
|
|
9
|
-
pan: string;
|
|
10
|
-
purchaseDeviceSequenceNumber: string;
|
|
11
|
-
trackNumber: string;
|
|
12
|
-
trackData: string;
|
|
13
|
-
setTrackData(value: string): void;
|
|
14
|
-
setValue(value: string): void;
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreditTrackData = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const Credit_1 = require("./Credit");
|
|
6
|
-
class CreditTrackData extends Credit_1.Credit {
|
|
7
|
-
entryMethod;
|
|
8
|
-
value;
|
|
9
|
-
discretionaryData;
|
|
10
|
-
expiry;
|
|
11
|
-
pan;
|
|
12
|
-
purchaseDeviceSequenceNumber;
|
|
13
|
-
trackNumber;
|
|
14
|
-
trackData;
|
|
15
|
-
setTrackData(value) {
|
|
16
|
-
if (!this.value) {
|
|
17
|
-
this.setValue(value);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
this.trackData = value;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
setValue(value) {
|
|
24
|
-
this.value = value;
|
|
25
|
-
__1.CardUtils.parseTrackData(this);
|
|
26
|
-
this.cardType = __1.CardUtils.getCardType(this.pan);
|
|
27
|
-
this.isFleet = __1.CardUtils.isFleet(this.cardType, this.pan);
|
|
28
|
-
if (this.cardType === "WexFleet" &&
|
|
29
|
-
this.discretionaryData !== null &&
|
|
30
|
-
this.discretionaryData.length >= 8) {
|
|
31
|
-
this.purchaseDeviceSequenceNumber = this.discretionaryData.substring(3, 11);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.CreditTrackData = CreditTrackData;
|
|
36
|
-
//# sourceMappingURL=CreditTrackData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreditTrackData.js","sourceRoot":"","sources":["../../../src/PaymentMethods/CreditTrackData.ts"],"names":[],"mappings":";;;AAAA,2BAA6C;AAC7C,qCAAkC;AAGlC,MAAa,eAAgB,SAAQ,eAAM;IAClC,WAAW,CAAc;IACzB,KAAK,CAAS;IACd,iBAAiB,CAAS;IAC1B,MAAM,CAAS;IACf,GAAG,CAAS;IACZ,4BAA4B,CAAS;IACrC,WAAW,CAAS;IACpB,SAAS,CAAS;IAElB,YAAY,CAAC,KAAa;QAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SACtB;aAAM;YACL,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;SACxB;IACH,CAAC;IAED,QAAQ,CAAC,KAAa;QACpB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,aAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,aAAS,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,aAAS,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAE1D,IACE,IAAI,CAAC,QAAQ,KAAK,UAAU;YAC5B,IAAI,CAAC,iBAAiB,KAAK,IAAI;YAC/B,IAAI,CAAC,iBAAiB,CAAC,MAAM,IAAI,CAAC,EAClC;YACA,IAAI,CAAC,4BAA4B,GAAG,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAClE,CAAC,EACD,EAAE,CACH,CAAC;SACH;IACH,CAAC;CACF;AAnCD,0CAmCC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { AuthorizationBuilder, EncryptionData, PaymentMethodType } from "../";
|
|
2
|
-
import { IChargable, IEncryptable, IPinProtected, IPrePayable, IRefundable, IReversable } from "./Interfaces";
|
|
3
|
-
import { PaymentMethod } from "./PaymentMethod";
|
|
4
|
-
export declare abstract class Debit extends PaymentMethod implements IChargable, IEncryptable, IRefundable, IReversable, IPrePayable, IPinProtected {
|
|
5
|
-
encryptionData: EncryptionData;
|
|
6
|
-
paymentMethodType: PaymentMethodType;
|
|
7
|
-
pinBlock: string;
|
|
8
|
-
/**
|
|
9
|
-
* Authorizes the payment method and captures the entire authorized amount
|
|
10
|
-
*
|
|
11
|
-
* @param string|number amount Amount to authorize
|
|
12
|
-
*
|
|
13
|
-
* @return AuthorizationBuilder
|
|
14
|
-
*/
|
|
15
|
-
charge(amount?: string | number): AuthorizationBuilder;
|
|
16
|
-
/**
|
|
17
|
-
* Adds value to the payment method
|
|
18
|
-
*
|
|
19
|
-
* @param string|number amount Amount to add
|
|
20
|
-
*
|
|
21
|
-
* @return AuthorizationBuilder
|
|
22
|
-
*/
|
|
23
|
-
addValue(amount?: string | number): AuthorizationBuilder;
|
|
24
|
-
/**
|
|
25
|
-
* Refunds the payment method
|
|
26
|
-
*
|
|
27
|
-
* @param string|number amount Amount to refund
|
|
28
|
-
*
|
|
29
|
-
* @return AuthorizationBuilder
|
|
30
|
-
*/
|
|
31
|
-
refund(amount?: string | number): AuthorizationBuilder;
|
|
32
|
-
/**
|
|
33
|
-
* Reverses the payment method
|
|
34
|
-
*
|
|
35
|
-
* @param string|number amount Amount to reverse
|
|
36
|
-
*
|
|
37
|
-
* @return AuthorizationBuilder
|
|
38
|
-
*/
|
|
39
|
-
reverse(amount?: string | number): AuthorizationBuilder;
|
|
40
|
-
/**
|
|
41
|
-
* Authorizes the payment method
|
|
42
|
-
*
|
|
43
|
-
* @param string|number amount Amount to reverse
|
|
44
|
-
*
|
|
45
|
-
* @return AuthorizationBuilder
|
|
46
|
-
*/
|
|
47
|
-
authorize(amount?: string | number): AuthorizationBuilder;
|
|
48
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Debit = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const PaymentMethod_1 = require("./PaymentMethod");
|
|
6
|
-
class Debit extends PaymentMethod_1.PaymentMethod {
|
|
7
|
-
encryptionData;
|
|
8
|
-
paymentMethodType = __1.PaymentMethodType.Debit;
|
|
9
|
-
pinBlock;
|
|
10
|
-
/**
|
|
11
|
-
* Authorizes the payment method and captures the entire authorized amount
|
|
12
|
-
*
|
|
13
|
-
* @param string|number amount Amount to authorize
|
|
14
|
-
*
|
|
15
|
-
* @return AuthorizationBuilder
|
|
16
|
-
*/
|
|
17
|
-
charge(amount) {
|
|
18
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Sale, this).withAmount(amount);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Adds value to the payment method
|
|
22
|
-
*
|
|
23
|
-
* @param string|number amount Amount to add
|
|
24
|
-
*
|
|
25
|
-
* @return AuthorizationBuilder
|
|
26
|
-
*/
|
|
27
|
-
addValue(amount) {
|
|
28
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.AddValue, this).withAmount(amount);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Refunds the payment method
|
|
32
|
-
*
|
|
33
|
-
* @param string|number amount Amount to refund
|
|
34
|
-
*
|
|
35
|
-
* @return AuthorizationBuilder
|
|
36
|
-
*/
|
|
37
|
-
refund(amount) {
|
|
38
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Refund, this).withAmount(amount);
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Reverses the payment method
|
|
42
|
-
*
|
|
43
|
-
* @param string|number amount Amount to reverse
|
|
44
|
-
*
|
|
45
|
-
* @return AuthorizationBuilder
|
|
46
|
-
*/
|
|
47
|
-
reverse(amount) {
|
|
48
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Reversal, this).withAmount(amount);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Authorizes the payment method
|
|
52
|
-
*
|
|
53
|
-
* @param string|number amount Amount to reverse
|
|
54
|
-
*
|
|
55
|
-
* @return AuthorizationBuilder
|
|
56
|
-
*/
|
|
57
|
-
authorize(amount) {
|
|
58
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Auth, this)
|
|
59
|
-
.withAmount(amount)
|
|
60
|
-
.withAmountEstimated(true);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.Debit = Debit;
|
|
64
|
-
//# sourceMappingURL=Debit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Debit.js","sourceRoot":"","sources":["../../../src/PaymentMethods/Debit.ts"],"names":[],"mappings":";;;AAAA,2BAKa;AASb,mDAAgD;AAEhD,MAAsB,KACpB,SAAQ,6BAAa;IASd,cAAc,CAAiB;IAC/B,iBAAiB,GAAsB,qBAAiB,CAAC,KAAK,CAAC;IAC/D,QAAQ,CAAS;IAExB;;;;;;OAMG;IACI,MAAM,CAAC,MAAwB;QACpC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,UAAU,CACpE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,QAAQ,CAAC,MAAwB;QACtC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,UAAU,CACxE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAwB;QACpC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,UAAU,CACtE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,OAAO,CAAC,MAAwB;QACrC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,UAAU,CACxE,MAAM,CACP,CAAC;IACJ,CAAC;IACD;;;;;;OAMG;IACI,SAAS,CAAC,MAAwB;QACvC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,IAAI,EAAE,IAAI,CAAC;aACxD,UAAU,CAAC,MAAM,CAAC;aAClB,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;CACF;AA7ED,sBA6EC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EntryMethod } from "../";
|
|
2
|
-
import { Debit } from "./Debit";
|
|
3
|
-
import { ITrackData } from "./Interfaces";
|
|
4
|
-
export declare class DebitTrackData extends Debit implements ITrackData {
|
|
5
|
-
entryMethod: EntryMethod;
|
|
6
|
-
value: string;
|
|
7
|
-
setTrackData(value: string): void;
|
|
8
|
-
setValue(value: string): void;
|
|
9
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DebitTrackData = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const Debit_1 = require("./Debit");
|
|
6
|
-
class DebitTrackData extends Debit_1.Debit {
|
|
7
|
-
entryMethod;
|
|
8
|
-
value;
|
|
9
|
-
setTrackData(value) {
|
|
10
|
-
if (!this.value) {
|
|
11
|
-
this.setValue(value);
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
this.trackData = value;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
setValue(value) {
|
|
18
|
-
this.value = value;
|
|
19
|
-
__1.CardUtils.parseTrackData(this);
|
|
20
|
-
this.cardType = __1.CardUtils.getCardType(this.pan);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
exports.DebitTrackData = DebitTrackData;
|
|
24
|
-
//# sourceMappingURL=DebitTrackData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebitTrackData.js","sourceRoot":"","sources":["../../../src/PaymentMethods/DebitTrackData.ts"],"names":[],"mappings":";;;AAAA,2BAA6C;AAC7C,mCAAgC;AAGhC,MAAa,cAAe,SAAQ,aAAK;IAChC,WAAW,CAAc;IACzB,KAAK,CAAS;IAEd,YAAY,CAAC,KAAa;QAC/B,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SACtB;aAAM;YACL,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;SACxB;IACH,CAAC;IAEM,QAAQ,CAAC,KAAa;QAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,aAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,aAAS,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClD,CAAC;CACF;AAjBD,wCAiBC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { AuthorizationBuilder, InquiryType, PaymentMethodType } from "../";
|
|
2
|
-
import { IBalanceable, IChargable, IPinProtected, IPrePayable, IRefundable, IReversable } from "./Interfaces";
|
|
3
|
-
import { PaymentMethod } from "./PaymentMethod";
|
|
4
|
-
export declare abstract class EBT extends PaymentMethod implements IBalanceable, IChargable, IRefundable, IReversable, IPrePayable, IPinProtected {
|
|
5
|
-
paymentMethodType: PaymentMethodType;
|
|
6
|
-
pinBlock: string;
|
|
7
|
-
/**
|
|
8
|
-
* Authorizes the payment method and captures the entire authorized amount
|
|
9
|
-
*
|
|
10
|
-
* @param string|number amount Amount to authorize
|
|
11
|
-
*
|
|
12
|
-
* @return AuthorizationBuilder
|
|
13
|
-
*/
|
|
14
|
-
charge(amount?: string | number): AuthorizationBuilder;
|
|
15
|
-
/**
|
|
16
|
-
* Adds value to the payment method
|
|
17
|
-
*
|
|
18
|
-
* @param string|number amount Amount to add
|
|
19
|
-
*
|
|
20
|
-
* @return AuthorizationBuilder
|
|
21
|
-
*/
|
|
22
|
-
addValue(amount?: string | number): AuthorizationBuilder;
|
|
23
|
-
/**
|
|
24
|
-
* Inquires the balance of the payment method
|
|
25
|
-
*
|
|
26
|
-
* @param InquiryType inquiry Type of inquiry
|
|
27
|
-
*
|
|
28
|
-
* @return AuthorizationBuilder
|
|
29
|
-
*/
|
|
30
|
-
balanceInquiry(inquiry?: InquiryType): AuthorizationBuilder;
|
|
31
|
-
benefitWithdrawal(amount?: number | string): AuthorizationBuilder;
|
|
32
|
-
/**
|
|
33
|
-
* Refunds the payment method
|
|
34
|
-
*
|
|
35
|
-
* @param string|number amount Amount to refund
|
|
36
|
-
*
|
|
37
|
-
* @return AuthorizationBuilder
|
|
38
|
-
*/
|
|
39
|
-
refund(amount?: string | number): AuthorizationBuilder;
|
|
40
|
-
/**
|
|
41
|
-
* Reverses the payment method
|
|
42
|
-
*
|
|
43
|
-
* @param string|number amount Amount to reverse
|
|
44
|
-
*
|
|
45
|
-
* @return AuthorizationBuilder
|
|
46
|
-
*/
|
|
47
|
-
reverse(): AuthorizationBuilder;
|
|
48
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EBT = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const PaymentMethod_1 = require("./PaymentMethod");
|
|
6
|
-
class EBT extends PaymentMethod_1.PaymentMethod {
|
|
7
|
-
paymentMethodType = __1.PaymentMethodType.EBT;
|
|
8
|
-
pinBlock;
|
|
9
|
-
/**
|
|
10
|
-
* Authorizes the payment method and captures the entire authorized amount
|
|
11
|
-
*
|
|
12
|
-
* @param string|number amount Amount to authorize
|
|
13
|
-
*
|
|
14
|
-
* @return AuthorizationBuilder
|
|
15
|
-
*/
|
|
16
|
-
charge(amount) {
|
|
17
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Sale, this).withAmount(amount);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Adds value to the payment method
|
|
21
|
-
*
|
|
22
|
-
* @param string|number amount Amount to add
|
|
23
|
-
*
|
|
24
|
-
* @return AuthorizationBuilder
|
|
25
|
-
*/
|
|
26
|
-
addValue(amount) {
|
|
27
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.AddValue, this).withAmount(amount);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Inquires the balance of the payment method
|
|
31
|
-
*
|
|
32
|
-
* @param InquiryType inquiry Type of inquiry
|
|
33
|
-
*
|
|
34
|
-
* @return AuthorizationBuilder
|
|
35
|
-
*/
|
|
36
|
-
balanceInquiry(inquiry = __1.InquiryType.Foodstamp) {
|
|
37
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Balance, this)
|
|
38
|
-
.withBalanceInquiryType(inquiry)
|
|
39
|
-
.withAmount(0);
|
|
40
|
-
}
|
|
41
|
-
benefitWithdrawal(amount) {
|
|
42
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.BenefitWithDrawal, this)
|
|
43
|
-
.withAmount(amount)
|
|
44
|
-
.withCashBack(0);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Refunds the payment method
|
|
48
|
-
*
|
|
49
|
-
* @param string|number amount Amount to refund
|
|
50
|
-
*
|
|
51
|
-
* @return AuthorizationBuilder
|
|
52
|
-
*/
|
|
53
|
-
refund(amount) {
|
|
54
|
-
return new __1.AuthorizationBuilder(__1.TransactionType.Refund, this).withAmount(amount);
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Reverses the payment method
|
|
58
|
-
*
|
|
59
|
-
* @param string|number amount Amount to reverse
|
|
60
|
-
*
|
|
61
|
-
* @return AuthorizationBuilder
|
|
62
|
-
*/
|
|
63
|
-
reverse() {
|
|
64
|
-
throw new __1.NotImplementedError();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.EBT = EBT;
|
|
68
|
-
//# sourceMappingURL=EBT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EBT.js","sourceRoot":"","sources":["../../../src/PaymentMethods/EBT.ts"],"names":[],"mappings":";;;AAAA,2BAMa;AASb,mDAAgD;AAEhD,MAAsB,GACpB,SAAQ,6BAAa;IASd,iBAAiB,GAAsB,qBAAiB,CAAC,GAAG,CAAC;IAC7D,QAAQ,CAAS;IAExB;;;;;;OAMG;IACI,MAAM,CAAC,MAAwB;QACpC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,UAAU,CACpE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,QAAQ,CAAC,MAAwB;QACtC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,UAAU,CACxE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CAAC,OAAO,GAAG,eAAW,CAAC,SAAS;QACnD,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,OAAO,EAAE,IAAI,CAAC;aAC3D,sBAAsB,CAAC,OAAO,CAAC;aAC/B,UAAU,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC;IAEM,iBAAiB,CAAC,MAAwB;QAC/C,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,iBAAiB,EAAE,IAAI,CAAC;aACrE,UAAU,CAAC,MAAM,CAAC;aAClB,YAAY,CAAC,CAAC,CAAC,CAAC;IACrB,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAwB;QACpC,OAAO,IAAI,wBAAoB,CAAC,mBAAe,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,UAAU,CACtE,MAAM,CACP,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,OAAO;QACZ,MAAM,IAAI,uBAAmB,EAAE,CAAC;IAClC,CAAC;CACF;AAjFD,kBAiFC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CvnPresenceIndicator } from "../";
|
|
2
|
-
import { EBT } from "./EBT";
|
|
3
|
-
import { ICardData } from "./Interfaces";
|
|
4
|
-
export declare class EBTCardData extends EBT implements ICardData {
|
|
5
|
-
approvalCode: string;
|
|
6
|
-
number: string;
|
|
7
|
-
expMonth: string;
|
|
8
|
-
expYear: string;
|
|
9
|
-
cvn: string;
|
|
10
|
-
cvnPresenceIndicator: CvnPresenceIndicator;
|
|
11
|
-
cardHolderName: string;
|
|
12
|
-
cardPresent: boolean;
|
|
13
|
-
readerPresent: boolean;
|
|
14
|
-
serialNumber: string;
|
|
15
|
-
constructor();
|
|
16
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EBTCardData = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const EBT_1 = require("./EBT");
|
|
6
|
-
class EBTCardData extends EBT_1.EBT {
|
|
7
|
-
approvalCode;
|
|
8
|
-
number;
|
|
9
|
-
expMonth;
|
|
10
|
-
expYear;
|
|
11
|
-
cvn;
|
|
12
|
-
cvnPresenceIndicator;
|
|
13
|
-
cardHolderName;
|
|
14
|
-
cardPresent;
|
|
15
|
-
readerPresent;
|
|
16
|
-
serialNumber;
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
this.cardPresent = false;
|
|
20
|
-
this.readerPresent = false;
|
|
21
|
-
this.cvnPresenceIndicator = __1.CvnPresenceIndicator.NotRequested;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.EBTCardData = EBTCardData;
|
|
25
|
-
//# sourceMappingURL=EBTCardData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EBTCardData.js","sourceRoot":"","sources":["../../../src/PaymentMethods/EBTCardData.ts"],"names":[],"mappings":";;;AAAA,2BAA2C;AAC3C,+BAA4B;AAG5B,MAAa,WAAY,SAAQ,SAAG;IAC3B,YAAY,CAAS;IACrB,MAAM,CAAS;IACf,QAAQ,CAAS;IACjB,OAAO,CAAS;IAChB,GAAG,CAAS;IACZ,oBAAoB,CAAuB;IAC3C,cAAc,CAAS;IACvB,WAAW,CAAU;IACrB,aAAa,CAAU;IACvB,YAAY,CAAS;IAE5B;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,oBAAoB,GAAG,wBAAoB,CAAC,YAAY,CAAC;IAChE,CAAC;CACF;AAlBD,kCAkBC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EncryptionData, EntryMethod } from "../";
|
|
2
|
-
import { EBT } from "./EBT";
|
|
3
|
-
import { IEncryptable, ITrackData } from "./Interfaces";
|
|
4
|
-
export declare class EBTTrackData extends EBT implements ITrackData, IEncryptable {
|
|
5
|
-
encryptionData: EncryptionData;
|
|
6
|
-
entryMethod: EntryMethod;
|
|
7
|
-
value: string;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EBTTrackData = void 0;
|
|
4
|
-
const EBT_1 = require("./EBT");
|
|
5
|
-
class EBTTrackData extends EBT_1.EBT {
|
|
6
|
-
encryptionData;
|
|
7
|
-
entryMethod;
|
|
8
|
-
value;
|
|
9
|
-
}
|
|
10
|
-
exports.EBTTrackData = EBTTrackData;
|
|
11
|
-
//# sourceMappingURL=EBTTrackData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EBTTrackData.js","sourceRoot":"","sources":["../../../src/PaymentMethods/EBTTrackData.ts"],"names":[],"mappings":";;;AACA,+BAA4B;AAG5B,MAAa,YAAa,SAAQ,SAAG;IAC5B,cAAc,CAAiB;IAC/B,WAAW,CAAc;IACzB,KAAK,CAAS;CACtB;AAJD,oCAIC"}
|