cybersource-rest-client 0.0.36 → 0.0.39
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/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/misc.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +162 -0
- package/Logging.md +65 -65
- package/README.md +69 -69
- package/cybersource-rest-client-0.0.38.tgz +0 -0
- package/docs/AccessTokenResponse.md +14 -14
- package/docs/AddNegativeListRequest.md +13 -13
- package/docs/AsymmetricKeyManagementApi.md +149 -149
- package/docs/AuthReversalRequest.md +12 -12
- package/docs/BadRequestError.md +9 -9
- package/docs/CaptureApi.md +58 -58
- package/docs/CapturePaymentRequest.md +20 -20
- package/docs/ChargebackDetailsApi.md +62 -62
- package/docs/ChargebackSummariesApi.md +62 -62
- package/docs/CheckPayerAuthEnrollmentRequest.md +21 -21
- package/docs/ConversionDetailsApi.md +62 -62
- package/docs/CreateAccessTokenRequest.md +12 -12
- package/docs/CreateAdhocReportRequest.md +18 -18
- package/docs/CreateBundledDecisionManagerCaseRequest.md +21 -21
- package/docs/CreateCreditRequest.md +20 -20
- package/docs/CreateInvoiceRequest.md +10 -10
- package/docs/CreateP12KeysRequest.md +9 -9
- package/docs/CreatePaymentRequest.md +30 -30
- package/docs/CreateReportSubscriptionRequest.md +20 -20
- package/docs/CreateSearchRequest.md +14 -14
- package/docs/CreateSharedSecretKeysRequest.md +9 -9
- package/docs/CreateSharedSecretKeysVerifiRequest.md +9 -0
- package/docs/CreditApi.md +55 -55
- package/docs/CustomerApi.md +209 -209
- package/docs/CustomerPaymentInstrumentApi.md +276 -276
- package/docs/CustomerShippingAddressApi.md +276 -276
- package/docs/DecisionManagerApi.md +155 -155
- package/docs/DeleteBulkP12KeysRequest.md +9 -9
- package/docs/DeleteBulkSymmetricKeysRequest.md +9 -9
- package/docs/DownloadDTDApi.md +55 -55
- package/docs/DownloadXSDApi.md +55 -55
- package/docs/FlexV1KeysPost200Response.md +10 -10
- package/docs/FlexV1KeysPost200ResponseDer.md +10 -10
- package/docs/FlexV1KeysPost200ResponseJwk.md +12 -12
- package/docs/FlexV1TokensPost200Response.md +15 -15
- package/docs/Flexv1tokensCardInfo.md +11 -11
- package/docs/FraudMarkingActionRequest.md +9 -9
- package/docs/GeneratePublicKeyRequest.md +9 -9
- package/docs/IncrementAuthRequest.md +12 -12
- package/docs/InlineResponse400.md +8 -8
- package/docs/InlineResponse4001.md +13 -13
- package/docs/InlineResponse4001Fields.md +10 -10
- package/docs/InlineResponse4002.md +11 -11
- package/docs/InlineResponse400Details.md +9 -9
- package/docs/InlineResponse400Errors.md +10 -10
- package/docs/InlineResponseDefault.md +9 -9
- package/docs/InlineResponseDefaultLinks.md +10 -10
- package/docs/InlineResponseDefaultLinksNext.md +10 -10
- package/docs/InlineResponseDefaultResponseStatus.md +12 -12
- package/docs/InlineResponseDefaultResponseStatusDetails.md +9 -9
- package/docs/InstrumentIdentifierApi.md +314 -314
- package/docs/InterchangeClearingLevelDetailsApi.md +62 -62
- package/docs/InvoiceSettingsApi.md +96 -96
- package/docs/InvoiceSettingsRequest.md +8 -8
- package/docs/InvoicesApi.md +300 -300
- package/docs/InvoicingV2InvoiceSettingsGet200Response.md +9 -9
- package/docs/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.md +15 -15
- package/docs/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.md +9 -9
- package/docs/InvoicingV2InvoicesAllGet200Response.md +11 -11
- package/docs/InvoicingV2InvoicesAllGet200ResponseCustomerInformation.md +9 -9
- package/docs/InvoicingV2InvoicesAllGet200ResponseInvoiceInformation.md +8 -8
- package/docs/InvoicingV2InvoicesAllGet200ResponseInvoices.md +13 -13
- package/docs/InvoicingV2InvoicesAllGet200ResponseLinks.md +10 -10
- package/docs/InvoicingV2InvoicesAllGet200ResponseLinks1.md +11 -11
- package/docs/InvoicingV2InvoicesAllGet200ResponseOrderInformation.md +8 -8
- package/docs/InvoicingV2InvoicesAllGet200ResponseOrderInformationAmountDetails.md +9 -9
- package/docs/InvoicingV2InvoicesAllGet400Response.md +12 -12
- package/docs/InvoicingV2InvoicesAllGet404Response.md +12 -12
- package/docs/InvoicingV2InvoicesAllGet502Response.md +11 -11
- package/docs/InvoicingV2InvoicesGet200Response.md +15 -15
- package/docs/InvoicingV2InvoicesGet200ResponseInvoiceHistory.md +10 -10
- package/docs/InvoicingV2InvoicesGet200ResponseTransactionDetails.md +9 -9
- package/docs/InvoicingV2InvoicesPost201Response.md +14 -14
- package/docs/InvoicingV2InvoicesPost201ResponseInvoiceInformation.md +13 -13
- package/docs/InvoicingV2InvoicesPost201ResponseOrderInformation.md +9 -9
- package/docs/InvoicingV2InvoicesPost201ResponseOrderInformationAmountDetails.md +16 -16
- package/docs/InvoicingV2InvoicesPost202Response.md +12 -12
- package/docs/Invoicingv2invoiceSettingsInvoiceSettingsInformation.md +15 -15
- package/docs/Invoicingv2invoicesCustomerInformation.md +10 -10
- package/docs/Invoicingv2invoicesInvoiceInformation.md +13 -13
- package/docs/Invoicingv2invoicesOrderInformation.md +9 -9
- package/docs/Invoicingv2invoicesOrderInformationAmountDetails.md +15 -15
- package/docs/Invoicingv2invoicesOrderInformationAmountDetailsFreight.md +9 -9
- package/docs/Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails.md +10 -10
- package/docs/Invoicingv2invoicesOrderInformationLineItems.md +11 -11
- package/docs/Invoicingv2invoicesidInvoiceInformation.md +11 -11
- package/docs/KeyGenerationApi.md +58 -58
- package/docs/KmsV2KeysAsymDeletesPost200Response.md +10 -10
- package/docs/KmsV2KeysAsymDeletesPost200ResponseKeyInformation.md +13 -13
- package/docs/KmsV2KeysAsymGet200Response.md +9 -9
- package/docs/KmsV2KeysAsymGet200ResponseKeyInformation.md +15 -15
- package/docs/KmsV2KeysAsymPost201Response.md +12 -12
- package/docs/KmsV2KeysAsymPost201ResponseCertificateInformation.md +11 -11
- package/docs/KmsV2KeysAsymPost201ResponseKeyInformation.md +16 -16
- package/docs/KmsV2KeysSymDeletesPost200Response.md +11 -11
- package/docs/KmsV2KeysSymDeletesPost200ResponseKeyInformation.md +12 -12
- package/docs/KmsV2KeysSymGet200Response.md +10 -10
- package/docs/KmsV2KeysSymGet200ResponseKeyInformation.md +13 -13
- package/docs/KmsV2KeysSymPost201Response.md +11 -11
- package/docs/KmsV2KeysSymPost201ResponseErrorInformation.md +9 -9
- package/docs/KmsV2KeysSymPost201ResponseKeyInformation.md +15 -15
- package/docs/Kmsv2keysasymKeyInformation.md +10 -10
- package/docs/Kmsv2keyssymClientReferenceInformation.md +10 -10
- package/docs/Kmsv2keyssymKeyInformation.md +9 -9
- package/docs/Kmsv2keyssymdeletesKeyInformation.md +10 -10
- package/docs/Kmsv2keyssymverifiKeyInformation.md +21 -0
- package/docs/MitReversalRequest.md +12 -12
- package/docs/MitVoidRequest.md +9 -9
- package/docs/NetFundingsApi.md +64 -64
- package/docs/NotificationOfChangesApi.md +58 -58
- package/docs/OAuthApi.md +59 -59
- package/docs/OctCreatePaymentRequest.md +14 -14
- package/docs/PatchCustomerPaymentInstrumentRequest.md +21 -21
- package/docs/PatchCustomerRequest.md +17 -17
- package/docs/PatchCustomerShippingAddressRequest.md +12 -12
- package/docs/PatchInstrumentIdentifierRequest.md +19 -19
- package/docs/PatchPaymentInstrumentRequest.md +21 -21
- package/docs/PayerAuthSetupRequest.md +11 -11
- package/docs/PayerAuthenticationApi.md +149 -149
- package/docs/PaymentBatchSummariesApi.md +68 -68
- package/docs/PaymentInstrumentApi.md +211 -211
- package/docs/PaymentInstrumentList.md +13 -13
- package/docs/PaymentInstrumentListEmbedded.md +8 -8
- package/docs/PaymentInstrumentListLinks.md +12 -12
- package/docs/PaymentInstrumentListLinksFirst.md +8 -8
- package/docs/PaymentInstrumentListLinksLast.md +8 -8
- package/docs/PaymentInstrumentListLinksNext.md +8 -8
- package/docs/PaymentInstrumentListLinksPrev.md +8 -8
- package/docs/PaymentInstrumentListLinksSelf.md +8 -8
- package/docs/PaymentsApi.md +105 -105
- package/docs/PayoutsApi.md +55 -55
- package/docs/PostCustomerPaymentInstrumentRequest.md +21 -21
- package/docs/PostCustomerRequest.md +17 -17
- package/docs/PostCustomerShippingAddressRequest.md +12 -12
- package/docs/PostInstrumentIdentifierEnrollmentRequest.md +19 -19
- package/docs/PostInstrumentIdentifierRequest.md +19 -19
- package/docs/PostPaymentInstrumentRequest.md +21 -21
- package/docs/PredefinedSubscriptionRequestBean.md +17 -17
- package/docs/PtsV1TransactionBatchesGet200Response.md +10 -10
- package/docs/PtsV1TransactionBatchesGet200ResponseLinks.md +8 -8
- package/docs/PtsV1TransactionBatchesGet200ResponseLinksSelf.md +9 -9
- package/docs/PtsV1TransactionBatchesGet200ResponseTransactionBatches.md +14 -14
- package/docs/PtsV1TransactionBatchesGet400Response.md +9 -9
- package/docs/PtsV1TransactionBatchesGet400ResponseErrorInformation.md +10 -10
- package/docs/PtsV1TransactionBatchesGet400ResponseErrorInformationDetails.md +9 -9
- package/docs/PtsV1TransactionBatchesGet500Response.md +9 -9
- package/docs/PtsV1TransactionBatchesGet500ResponseErrorInformation.md +9 -9
- package/docs/PtsV1TransactionBatchesIdGet200Response.md +15 -15
- package/docs/PtsV1TransactionBatchesIdGet200ResponseLinks.md +8 -8
- package/docs/PtsV1TransactionBatchesIdGet200ResponseLinksTransactions.md +9 -9
- package/docs/PtsV2CreditsPost201Response.md +19 -19
- package/docs/PtsV2CreditsPost201ResponseCreditAmountDetails.md +9 -9
- package/docs/PtsV2CreditsPost201ResponsePaymentInformation.md +12 -12
- package/docs/PtsV2CreditsPost201ResponseProcessingInformation.md +9 -9
- package/docs/PtsV2CreditsPost201ResponseProcessingInformationBankTransferOptions.md +8 -8
- package/docs/PtsV2IncrementalAuthorizationPatch201Response.md +17 -17
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponseClientReferenceInformation.md +8 -8
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.md +10 -10
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponseLinks.md +8 -8
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformation.md +8 -8
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformation.md +8 -8
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformationAccountFeatures.md +8 -8
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md +13 -13
- package/docs/PtsV2IncrementalAuthorizationPatch400Response.md +12 -12
- package/docs/PtsV2PaymentsCapturesPost201Response.md +17 -17
- package/docs/PtsV2PaymentsCapturesPost201ResponseLinks.md +10 -10
- package/docs/PtsV2PaymentsCapturesPost201ResponseOrderInformation.md +9 -9
- package/docs/PtsV2PaymentsCapturesPost201ResponseOrderInformationAmountDetails.md +10 -10
- package/docs/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.md +8 -8
- package/docs/PtsV2PaymentsCapturesPost201ResponsePointOfSaleInformation.md +8 -8
- package/docs/PtsV2PaymentsCapturesPost201ResponseProcessingInformation.md +8 -8
- package/docs/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.md +8 -8
- package/docs/PtsV2PaymentsCapturesPost400Response.md +12 -12
- package/docs/PtsV2PaymentsPost201Response.md +27 -26
- package/docs/PtsV2PaymentsPost201ResponseBuyerInformation.md +12 -12
- package/docs/PtsV2PaymentsPost201ResponseClientReferenceInformation.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md +49 -49
- package/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr.md +14 -14
- package/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication.md +8 -8
- package/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseErrorInformation.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseErrorInformationDetails.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseInstallmentInformation.md +33 -33
- package/docs/PtsV2PaymentsPost201ResponseIssuerInformation.md +12 -11
- package/docs/PtsV2PaymentsPost201ResponseLinks.md +14 -14
- package/docs/PtsV2PaymentsPost201ResponseLinksSelf.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseOrderInformation.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseOrderInformationAmountDetails.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails.md +13 -13
- package/docs/PtsV2PaymentsPost201ResponsePaymentAccountInformation.md +8 -8
- package/docs/PtsV2PaymentsPost201ResponsePaymentAccountInformationCard.md +13 -12
- package/docs/PtsV2PaymentsPost201ResponsePaymentInformation.md +20 -20
- package/docs/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.md +25 -25
- package/docs/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeaturesBalances.md +11 -11
- package/docs/PtsV2PaymentsPost201ResponsePaymentInformationBank.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponsePaymentInformationBankAccount.md +8 -8
- package/docs/PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.md +14 -14
- package/docs/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.md +8 -0
- package/docs/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.md +9 -0
- package/docs/PtsV2PaymentsPost201ResponsePointOfSaleInformation.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseProcessingInformation.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md +37 -37
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationAchVerification.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationAvs.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationCardVerification.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationConsumerAuthenticationResponse.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationCustomer.md +8 -8
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.md +19 -19
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.md +10 -9
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformationRouting.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseRiskInformation.md +17 -17
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationInfoCodes.md +16 -16
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationIpAddress.md +14 -14
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationProfile.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationProviders.md +8 -8
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationProvidersProviderName.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationRules.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationScore.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationTravel.md +11 -11
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationTravelActualFinalDestination.md +11 -11
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDeparture.md +11 -11
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDestination.md +11 -11
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationTravelLastDestination.md +11 -11
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationVelocity.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.md +10 -10
- package/docs/PtsV2PaymentsPost201ResponseTokenInformation.md +12 -12
- package/docs/PtsV2PaymentsPost201ResponseTokenInformationCustomer.md +8 -8
- package/docs/PtsV2PaymentsPost201ResponseTokenInformationInstrumentIdentifier.md +9 -9
- package/docs/PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.md +8 -8
- package/docs/PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.md +8 -8
- package/docs/PtsV2PaymentsPost400Response.md +12 -12
- package/docs/PtsV2PaymentsPost502Response.md +11 -11
- package/docs/PtsV2PaymentsRefundPost201Response.md +17 -17
- package/docs/PtsV2PaymentsRefundPost201ResponseLinks.md +9 -9
- package/docs/PtsV2PaymentsRefundPost201ResponseOrderInformation.md +8 -8
- package/docs/PtsV2PaymentsRefundPost201ResponseProcessorInformation.md +13 -13
- package/docs/PtsV2PaymentsRefundPost201ResponseRefundAmountDetails.md +9 -9
- package/docs/PtsV2PaymentsRefundPost400Response.md +12 -12
- package/docs/PtsV2PaymentsReversalsPost201Response.md +18 -18
- package/docs/PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation.md +10 -10
- package/docs/PtsV2PaymentsReversalsPost201ResponseIssuerInformation.md +8 -8
- package/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md +13 -13
- package/docs/PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.md +10 -10
- package/docs/PtsV2PaymentsReversalsPost400Response.md +12 -12
- package/docs/PtsV2PaymentsVoidsPost201Response.md +14 -14
- package/docs/PtsV2PaymentsVoidsPost201ResponseProcessorInformation.md +8 -8
- package/docs/PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails.md +10 -10
- package/docs/PtsV2PaymentsVoidsPost400Response.md +12 -12
- package/docs/PtsV2PayoutsPost201Response.md +18 -18
- package/docs/PtsV2PayoutsPost201ResponseErrorInformation.md +10 -10
- package/docs/PtsV2PayoutsPost201ResponseMerchantInformation.md +8 -8
- package/docs/PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor.md +10 -10
- package/docs/PtsV2PayoutsPost201ResponseOrderInformation.md +8 -8
- package/docs/PtsV2PayoutsPost201ResponseOrderInformationAmountDetails.md +11 -11
- package/docs/PtsV2PayoutsPost201ResponseProcessorInformation.md +12 -12
- package/docs/PtsV2PayoutsPost201ResponseRecipientInformation.md +8 -8
- package/docs/PtsV2PayoutsPost201ResponseRecipientInformationCard.md +9 -9
- package/docs/PtsV2PayoutsPost400Response.md +12 -12
- package/docs/Ptsv2creditsInstallmentInformation.md +8 -8
- package/docs/Ptsv2creditsProcessingInformation.md +25 -25
- package/docs/Ptsv2creditsProcessingInformationBankTransferOptions.md +14 -14
- package/docs/Ptsv2creditsProcessingInformationElectronicBenefitsTransfer.md +8 -8
- package/docs/Ptsv2creditsProcessingInformationJapanPaymentOptions.md +9 -9
- package/docs/Ptsv2creditsProcessingInformationPurchaseOptions.md +8 -8
- package/docs/Ptsv2paymentsAcquirerInformation.md +11 -11
- package/docs/Ptsv2paymentsAggregatorInformation.md +10 -10
- package/docs/Ptsv2paymentsAggregatorInformationSubMerchant.md +18 -18
- package/docs/Ptsv2paymentsBuyerInformation.md +16 -16
- package/docs/Ptsv2paymentsBuyerInformationPersonalIdentification.md +11 -11
- package/docs/Ptsv2paymentsClientReferenceInformation.md +16 -16
- package/docs/Ptsv2paymentsClientReferenceInformationPartner.md +11 -11
- package/docs/Ptsv2paymentsConsumerAuthenticationInformation.md +63 -63
- package/docs/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.md +14 -14
- package/docs/Ptsv2paymentsDeviceInformation.md +25 -25
- package/docs/Ptsv2paymentsDeviceInformationRawData.md +9 -9
- package/docs/Ptsv2paymentsHealthCareInformation.md +8 -8
- package/docs/Ptsv2paymentsHealthCareInformationAmountDetails.md +9 -9
- package/docs/Ptsv2paymentsInstallmentInformation.md +22 -22
- package/docs/Ptsv2paymentsInvoiceDetails.md +8 -8
- package/docs/Ptsv2paymentsIssuerInformation.md +8 -8
- package/docs/Ptsv2paymentsMerchantDefinedInformation.md +9 -9
- package/docs/Ptsv2paymentsMerchantInformation.md +21 -21
- package/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md +18 -17
- package/docs/Ptsv2paymentsMerchantInformationServiceFeeDescriptor.md +10 -10
- package/docs/Ptsv2paymentsOrderInformation.md +19 -18
- package/docs/Ptsv2paymentsOrderInformationAmountDetails.md +33 -33
- package/docs/Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.md +9 -9
- package/docs/Ptsv2paymentsOrderInformationAmountDetailsCurrencyConversion.md +10 -10
- package/docs/Ptsv2paymentsOrderInformationAmountDetailsSurcharge.md +9 -9
- package/docs/Ptsv2paymentsOrderInformationAmountDetailsTaxDetails.md +14 -14
- package/docs/Ptsv2paymentsOrderInformationBillTo.md +27 -27
- package/docs/Ptsv2paymentsOrderInformationBillToCompany.md +14 -14
- package/docs/Ptsv2paymentsOrderInformationInvoiceDetails.md +24 -23
- package/docs/Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.md +8 -8
- package/docs/Ptsv2paymentsOrderInformationLineItems.md +38 -38
- package/docs/Ptsv2paymentsOrderInformationPassenger.md +15 -15
- package/docs/Ptsv2paymentsOrderInformationShipTo.md +24 -24
- package/docs/Ptsv2paymentsOrderInformationShippingDetails.md +10 -10
- package/docs/Ptsv2paymentsPaymentInformation.md +19 -19
- package/docs/Ptsv2paymentsPaymentInformationBank.md +11 -11
- package/docs/Ptsv2paymentsPaymentInformationBankAccount.md +12 -12
- package/docs/Ptsv2paymentsPaymentInformationCard.md +22 -21
- package/docs/Ptsv2paymentsPaymentInformationCustomer.md +9 -9
- package/docs/Ptsv2paymentsPaymentInformationEWallet.md +8 -8
- package/docs/Ptsv2paymentsPaymentInformationFluidData.md +11 -11
- package/docs/Ptsv2paymentsPaymentInformationInstrumentIdentifier.md +8 -8
- package/docs/Ptsv2paymentsPaymentInformationLegacyToken.md +8 -8
- package/docs/Ptsv2paymentsPaymentInformationPaymentInstrument.md +8 -8
- package/docs/Ptsv2paymentsPaymentInformationPaymentType.md +10 -10
- package/docs/Ptsv2paymentsPaymentInformationPaymentTypeMethod.md +8 -8
- package/docs/Ptsv2paymentsPaymentInformationShippingAddress.md +8 -8
- package/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md +18 -17
- package/docs/Ptsv2paymentsPointOfSaleInformation.md +34 -33
- package/docs/Ptsv2paymentsPointOfSaleInformationEmv.md +13 -12
- package/docs/Ptsv2paymentsProcessingInformation.md +35 -34
- package/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md +25 -24
- package/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.md +11 -11
- package/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md +10 -10
- package/docs/Ptsv2paymentsProcessingInformationBankTransferOptions.md +18 -18
- package/docs/Ptsv2paymentsProcessingInformationCaptureOptions.md +10 -10
- package/docs/Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer.md +9 -9
- package/docs/Ptsv2paymentsProcessingInformationJapanPaymentOptions.md +15 -15
- package/docs/Ptsv2paymentsProcessingInformationLoanOptions.md +9 -9
- package/docs/Ptsv2paymentsProcessingInformationPurchaseOptions.md +9 -9
- package/docs/Ptsv2paymentsProcessingInformationRecurringOptions.md +9 -9
- package/docs/Ptsv2paymentsProcessorInformation.md +9 -8
- package/docs/Ptsv2paymentsProcessorInformationAuthorizationOptions.md +8 -0
- package/docs/Ptsv2paymentsPromotionInformation.md +9 -9
- package/docs/Ptsv2paymentsRecipientInformation.md +11 -11
- package/docs/Ptsv2paymentsRecurringPaymentInformation.md +12 -12
- package/docs/Ptsv2paymentsRiskInformation.md +11 -11
- package/docs/Ptsv2paymentsRiskInformationAuxiliaryData.md +9 -9
- package/docs/Ptsv2paymentsRiskInformationBuyerHistory.md +16 -16
- package/docs/Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory.md +9 -9
- package/docs/Ptsv2paymentsRiskInformationBuyerHistoryCustomerAccount.md +13 -13
- package/docs/Ptsv2paymentsRiskInformationProfile.md +8 -8
- package/docs/Ptsv2paymentsTokenInformation.md +12 -12
- package/docs/Ptsv2paymentsTokenInformationPaymentInstrument.md +8 -8
- package/docs/Ptsv2paymentsTokenInformationShippingAddress.md +8 -8
- package/docs/Ptsv2paymentsTravelInformation.md +12 -12
- package/docs/Ptsv2paymentsTravelInformationAgency.md +9 -9
- package/docs/Ptsv2paymentsTravelInformationAutoRental.md +49 -49
- package/docs/Ptsv2paymentsTravelInformationAutoRentalRentalAddress.md +14 -14
- package/docs/Ptsv2paymentsTravelInformationAutoRentalReturnAddress.md +12 -12
- package/docs/Ptsv2paymentsTravelInformationAutoRentalTaxDetails.md +13 -13
- package/docs/Ptsv2paymentsTravelInformationLodging.md +49 -49
- package/docs/Ptsv2paymentsTravelInformationLodgingRoom.md +9 -9
- package/docs/Ptsv2paymentsTravelInformationTransit.md +8 -8
- package/docs/Ptsv2paymentsTravelInformationTransitAirline.md +45 -45
- package/docs/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformation.md +12 -12
- package/docs/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformationService.md +9 -9
- package/docs/Ptsv2paymentsTravelInformationTransitAirlineLegs.md +27 -27
- package/docs/Ptsv2paymentsTravelInformationTransitAirlineTicketIssuer.md +14 -14
- package/docs/Ptsv2paymentsidClientReferenceInformation.md +12 -12
- package/docs/Ptsv2paymentsidClientReferenceInformationPartner.md +10 -10
- package/docs/Ptsv2paymentsidMerchantInformation.md +8 -8
- package/docs/Ptsv2paymentsidOrderInformation.md +8 -8
- package/docs/Ptsv2paymentsidOrderInformationAmountDetails.md +9 -9
- package/docs/Ptsv2paymentsidProcessingInformation.md +8 -8
- package/docs/Ptsv2paymentsidProcessingInformationAuthorizationOptions.md +8 -8
- package/docs/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.md +8 -8
- package/docs/Ptsv2paymentsidTravelInformation.md +8 -8
- package/docs/Ptsv2paymentsidcapturesAggregatorInformation.md +10 -10
- package/docs/Ptsv2paymentsidcapturesAggregatorInformationSubMerchant.md +16 -16
- package/docs/Ptsv2paymentsidcapturesBuyerInformation.md +9 -9
- package/docs/Ptsv2paymentsidcapturesDeviceInformation.md +10 -10
- package/docs/Ptsv2paymentsidcapturesInstallmentInformation.md +32 -32
- package/docs/Ptsv2paymentsidcapturesMerchantInformation.md +13 -13
- package/docs/Ptsv2paymentsidcapturesOrderInformation.md +13 -13
- package/docs/Ptsv2paymentsidcapturesOrderInformationAmountDetails.md +27 -27
- package/docs/Ptsv2paymentsidcapturesOrderInformationBillTo.md +18 -18
- package/docs/Ptsv2paymentsidcapturesOrderInformationInvoiceDetails.md +14 -14
- package/docs/Ptsv2paymentsidcapturesOrderInformationShipTo.md +10 -10
- package/docs/Ptsv2paymentsidcapturesOrderInformationShippingDetails.md +8 -8
- package/docs/Ptsv2paymentsidcapturesPaymentInformation.md +9 -9
- package/docs/Ptsv2paymentsidcapturesPaymentInformationCard.md +9 -9
- package/docs/Ptsv2paymentsidcapturesPointOfSaleInformation.md +9 -9
- package/docs/Ptsv2paymentsidcapturesPointOfSaleInformationEmv.md +9 -9
- package/docs/Ptsv2paymentsidcapturesProcessingInformation.md +19 -19
- package/docs/Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions.md +10 -10
- package/docs/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.md +9 -9
- package/docs/Ptsv2paymentsidrefundsMerchantInformation.md +12 -12
- package/docs/Ptsv2paymentsidrefundsOrderInformation.md +13 -13
- package/docs/Ptsv2paymentsidrefundsOrderInformationLineItems.md +27 -27
- package/docs/Ptsv2paymentsidrefundsPaymentInformation.md +18 -18
- package/docs/Ptsv2paymentsidrefundsPaymentInformationBank.md +10 -10
- package/docs/Ptsv2paymentsidrefundsPaymentInformationCard.md +17 -17
- package/docs/Ptsv2paymentsidrefundsPointOfSaleInformation.md +8 -8
- package/docs/Ptsv2paymentsidrefundsProcessingInformation.md +15 -15
- package/docs/Ptsv2paymentsidrefundsProcessingInformationRecurringOptions.md +8 -8
- package/docs/Ptsv2paymentsidreversalsClientReferenceInformation.md +14 -14
- package/docs/Ptsv2paymentsidreversalsClientReferenceInformationPartner.md +10 -10
- package/docs/Ptsv2paymentsidreversalsOrderInformation.md +9 -9
- package/docs/Ptsv2paymentsidreversalsOrderInformationAmountDetails.md +8 -8
- package/docs/Ptsv2paymentsidreversalsOrderInformationLineItems.md +9 -9
- package/docs/Ptsv2paymentsidreversalsPointOfSaleInformation.md +8 -8
- package/docs/Ptsv2paymentsidreversalsPointOfSaleInformationEmv.md +8 -8
- package/docs/Ptsv2paymentsidreversalsProcessingInformation.md +13 -13
- package/docs/Ptsv2paymentsidreversalsReversalInformation.md +9 -9
- package/docs/Ptsv2paymentsidreversalsReversalInformationAmountDetails.md +9 -9
- package/docs/Ptsv2paymentsidvoidsOrderInformation.md +8 -0
- package/docs/Ptsv2paymentsidvoidsPaymentInformation.md +8 -8
- package/docs/Ptsv2payoutsClientReferenceInformation.md +11 -11
- package/docs/Ptsv2payoutsMerchantInformation.md +11 -11
- package/docs/Ptsv2payoutsMerchantInformationMerchantDescriptor.md +13 -13
- package/docs/Ptsv2payoutsOrderInformation.md +10 -9
- package/docs/Ptsv2payoutsOrderInformationAmountDetails.md +10 -10
- package/docs/Ptsv2payoutsOrderInformationAmountDetailsSurcharge.md +8 -8
- package/docs/Ptsv2payoutsOrderInformationBillTo.md +17 -17
- package/docs/Ptsv2payoutsPaymentInformation.md +9 -9
- package/docs/Ptsv2payoutsPaymentInformationCard.md +12 -12
- package/docs/Ptsv2payoutsProcessingInformation.md +15 -14
- package/docs/Ptsv2payoutsProcessingInformationFundingOptions.md +8 -0
- package/docs/Ptsv2payoutsProcessingInformationFundingOptionsInitiator.md +8 -0
- package/docs/Ptsv2payoutsProcessingInformationPayoutsOptions.md +11 -11
- package/docs/Ptsv2payoutsRecipientInformation.md +18 -18
- package/docs/Ptsv2payoutsSenderInformation.md +25 -22
- package/docs/Ptsv2payoutsSenderInformationAccount.md +9 -9
- package/docs/PurchaseAndRefundDetailsApi.md +72 -72
- package/docs/RefundApi.md +108 -108
- package/docs/RefundCaptureRequest.md +19 -19
- package/docs/RefundPaymentRequest.md +19 -19
- package/docs/ReportDefinitionsApi.md +113 -113
- package/docs/ReportDownloadsApi.md +62 -62
- package/docs/ReportSubscriptionsApi.md +260 -260
- package/docs/ReportingV3ChargebackDetailsGet200Response.md +11 -11
- package/docs/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.md +30 -29
- package/docs/ReportingV3ChargebackSummariesGet200Response.md +11 -11
- package/docs/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.md +10 -10
- package/docs/ReportingV3ConversionDetailsGet200Response.md +11 -11
- package/docs/ReportingV3ConversionDetailsGet200ResponseConversionDetails.md +17 -17
- package/docs/ReportingV3ConversionDetailsGet200ResponseNotes.md +10 -10
- package/docs/ReportingV3InterchangeClearingLevelDetailsGet200Response.md +10 -10
- package/docs/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.md +58 -58
- package/docs/ReportingV3NetFundingsGet200Response.md +15 -15
- package/docs/ReportingV3NetFundingsGet200ResponseNetFundingSummaries.md +15 -15
- package/docs/ReportingV3NetFundingsGet200ResponseTotalPurchases.md +9 -9
- package/docs/ReportingV3NotificationofChangesGet200Response.md +8 -8
- package/docs/ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges.md +15 -15
- package/docs/ReportingV3PaymentBatchSummariesGet200Response.md +10 -10
- package/docs/ReportingV3PaymentBatchSummariesGet200ResponsePaymentBatchSummaries.md +19 -19
- package/docs/ReportingV3PurchaseRefundDetailsGet200Response.md +16 -16
- package/docs/ReportingV3PurchaseRefundDetailsGet200ResponseAuthorizations.md +15 -15
- package/docs/ReportingV3PurchaseRefundDetailsGet200ResponseFeeAndFundingDetails.md +20 -20
- package/docs/ReportingV3PurchaseRefundDetailsGet200ResponseOthers.md +14 -14
- package/docs/ReportingV3PurchaseRefundDetailsGet200ResponseRequestDetails.md +13 -13
- package/docs/ReportingV3PurchaseRefundDetailsGet200ResponseSettlementStatuses.md +12 -12
- package/docs/ReportingV3PurchaseRefundDetailsGet200ResponseSettlements.md +20 -20
- package/docs/ReportingV3ReportDefinitionsGet200Response.md +8 -8
- package/docs/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.md +14 -14
- package/docs/ReportingV3ReportDefinitionsNameGet200Response.md +15 -15
- package/docs/ReportingV3ReportDefinitionsNameGet200ResponseAttributes.md +14 -14
- package/docs/ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.md +15 -15
- package/docs/ReportingV3ReportSubscriptionsGet200Response.md +8 -8
- package/docs/ReportingV3ReportSubscriptionsGet200ResponseSubscriptions.md +21 -21
- package/docs/ReportingV3ReportsGet200Response.md +8 -8
- package/docs/ReportingV3ReportsGet200ResponseLink.md +8 -8
- package/docs/ReportingV3ReportsGet200ResponseLinkReportDownload.md +9 -9
- package/docs/ReportingV3ReportsGet200ResponseReportSearchResults.md +23 -23
- package/docs/ReportingV3ReportsIdGet200Response.md +21 -21
- package/docs/ReportingV3RetrievalDetailsGet200Response.md +11 -11
- package/docs/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.md +29 -29
- package/docs/ReportingV3RetrievalSummariesGet200Response.md +11 -11
- package/docs/Reportingv3ReportDownloadsGet400Response.md +11 -11
- package/docs/Reportingv3ReportDownloadsGet400ResponseDetails.md +9 -9
- package/docs/Reportingv3reportsReportFilters.md +11 -11
- package/docs/Reportingv3reportsReportPreferences.md +9 -9
- package/docs/ReportsApi.md +177 -177
- package/docs/ResourceNotFoundError.md +9 -9
- package/docs/RetrievalDetailsApi.md +62 -62
- package/docs/RetrievalSummariesApi.md +62 -62
- package/docs/ReversalApi.md +105 -105
- package/docs/RiskV1AddressVerificationsPost201Response.md +16 -16
- package/docs/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.md +15 -15
- package/docs/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.md +9 -9
- package/docs/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.md +18 -18
- package/docs/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.md +9 -9
- package/docs/RiskV1AddressVerificationsPost201ResponseErrorInformation.md +10 -10
- package/docs/RiskV1AuthenticationResultsPost201Response.md +16 -16
- package/docs/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.md +33 -30
- package/docs/RiskV1AuthenticationSetupsPost201Response.md +14 -14
- package/docs/RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation.md +10 -10
- package/docs/RiskV1AuthenticationSetupsPost201ResponseErrorInformation.md +10 -10
- package/docs/RiskV1AuthenticationsPost201Response.md +17 -17
- package/docs/RiskV1AuthenticationsPost201ResponseErrorInformation.md +10 -10
- package/docs/RiskV1AuthenticationsPost400Response.md +12 -12
- package/docs/RiskV1AuthenticationsPost400Response1.md +12 -12
- package/docs/RiskV1DecisionsPost201Response.md +18 -18
- package/docs/RiskV1DecisionsPost201ResponseClientReferenceInformation.md +10 -10
- package/docs/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.md +46 -43
- package/docs/RiskV1DecisionsPost201ResponseErrorInformation.md +10 -10
- package/docs/RiskV1DecisionsPost201ResponseOrderInformation.md +8 -8
- package/docs/RiskV1DecisionsPost201ResponseOrderInformationAmountDetails.md +8 -8
- package/docs/RiskV1DecisionsPost201ResponsePaymentInformation.md +12 -12
- package/docs/RiskV1DecisionsPost400Response.md +12 -12
- package/docs/RiskV1DecisionsPost400Response1.md +12 -12
- package/docs/RiskV1ExportComplianceInquiriesPost201Response.md +16 -16
- package/docs/RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation.md +10 -10
- package/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.md +10 -10
- package/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.md +8 -8
- package/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.md +11 -11
- package/docs/RiskV1UpdatePost201Response.md +12 -12
- package/docs/Riskv1addressverificationsBuyerInformation.md +8 -8
- package/docs/Riskv1addressverificationsOrderInformation.md +10 -10
- package/docs/Riskv1addressverificationsOrderInformationBillTo.md +15 -15
- package/docs/Riskv1addressverificationsOrderInformationLineItems.md +13 -13
- package/docs/Riskv1addressverificationsOrderInformationShipTo.md +15 -15
- package/docs/Riskv1authenticationresultsConsumerAuthenticationInformation.md +16 -14
- package/docs/{TssV2TransactionsPost201ResponseEmbeddedDeviceInformation.md → Riskv1authenticationresultsDeviceInformation.md} +8 -8
- package/docs/Riskv1authenticationresultsOrderInformation.md +9 -9
- package/docs/Riskv1authenticationresultsOrderInformationAmountDetails.md +9 -9
- package/docs/Riskv1authenticationresultsOrderInformationLineItems.md +10 -10
- package/docs/Riskv1authenticationresultsPaymentInformation.md +11 -11
- package/docs/Riskv1authenticationresultsPaymentInformationCard.md +12 -12
- package/docs/Riskv1authenticationresultsPaymentInformationFluidData.md +11 -11
- package/docs/Riskv1authenticationresultsPaymentInformationTokenizedCard.md +12 -12
- package/docs/Riskv1authenticationsBuyerInformation.md +10 -10
- package/docs/Riskv1authenticationsDeviceInformation.md +19 -19
- package/docs/Riskv1authenticationsOrderInformation.md +15 -15
- package/docs/Riskv1authenticationsOrderInformationAmountDetails.md +9 -9
- package/docs/Riskv1authenticationsOrderInformationBillTo.md +17 -17
- package/docs/Riskv1authenticationsOrderInformationLineItems.md +17 -17
- package/docs/Riskv1authenticationsPaymentInformation.md +11 -11
- package/docs/Riskv1authenticationsPaymentInformationCard.md +12 -12
- package/docs/Riskv1authenticationsPaymentInformationTokenizedCard.md +14 -12
- package/docs/Riskv1authenticationsRiskInformation.md +8 -8
- package/docs/Riskv1authenticationsTravelInformation.md +10 -10
- package/docs/Riskv1authenticationsetupsPaymentInformation.md +11 -11
- package/docs/Riskv1authenticationsetupsPaymentInformationCard.md +11 -11
- package/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md +8 -8
- package/docs/Riskv1authenticationsetupsPaymentInformationFluidData.md +11 -11
- package/docs/Riskv1authenticationsetupsPaymentInformationTokenizedCard.md +12 -12
- package/docs/Riskv1authenticationsetupsProcessingInformation.md +9 -9
- package/docs/Riskv1authenticationsetupsTokenInformation.md +8 -8
- package/docs/Riskv1decisionsBuyerInformation.md +12 -12
- package/docs/Riskv1decisionsClientReferenceInformation.md +11 -11
- package/docs/Riskv1decisionsClientReferenceInformationPartner.md +9 -9
- package/docs/Riskv1decisionsConsumerAuthenticationInformation.md +48 -47
- package/docs/Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication.md +8 -8
- package/docs/Riskv1decisionsDeviceInformation.md +24 -24
- package/docs/Riskv1decisionsMerchantDefinedInformation.md +9 -9
- package/docs/Riskv1decisionsMerchantInformation.md +9 -9
- package/docs/Riskv1decisionsMerchantInformationMerchantDescriptor.md +9 -9
- package/docs/Riskv1decisionsOrderInformation.md +17 -17
- package/docs/Riskv1decisionsOrderInformationAmountDetails.md +9 -9
- package/docs/Riskv1decisionsOrderInformationBillTo.md +17 -17
- package/docs/Riskv1decisionsOrderInformationLineItems.md +21 -21
- package/docs/Riskv1decisionsOrderInformationShipTo.md +19 -19
- package/docs/Riskv1decisionsOrderInformationShippingDetails.md +9 -9
- package/docs/Riskv1decisionsPaymentInformation.md +12 -12
- package/docs/Riskv1decisionsPaymentInformationCard.md +12 -12
- package/docs/Riskv1decisionsPaymentInformationTokenizedCard.md +12 -12
- package/docs/Riskv1decisionsProcessingInformation.md +8 -8
- package/docs/Riskv1decisionsProcessorInformation.md +9 -9
- package/docs/Riskv1decisionsProcessorInformationAvs.md +8 -8
- package/docs/Riskv1decisionsProcessorInformationCardVerification.md +8 -8
- package/docs/Riskv1decisionsRiskInformation.md +11 -11
- package/docs/Riskv1decisionsTravelInformation.md +14 -14
- package/docs/Riskv1decisionsTravelInformationLegs.md +11 -11
- package/docs/Riskv1decisionsTravelInformationPassengers.md +9 -9
- package/docs/Riskv1decisionsidmarkingRiskInformation.md +8 -8
- package/docs/Riskv1decisionsidmarkingRiskInformationMarkingDetails.md +11 -11
- package/docs/Riskv1exportcomplianceinquiriesDeviceInformation.md +9 -9
- package/docs/Riskv1exportcomplianceinquiriesExportComplianceInformation.md +10 -10
- package/docs/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.md +10 -10
- package/docs/Riskv1exportcomplianceinquiriesOrderInformation.md +10 -10
- package/docs/Riskv1exportcomplianceinquiriesOrderInformationBillTo.md +19 -19
- package/docs/Riskv1exportcomplianceinquiriesOrderInformationBillToCompany.md +8 -8
- package/docs/Riskv1exportcomplianceinquiriesOrderInformationLineItems.md +15 -15
- package/docs/Riskv1exportcomplianceinquiriesOrderInformationShipTo.md +10 -10
- package/docs/Riskv1liststypeentriesBuyerInformation.md +8 -8
- package/docs/Riskv1liststypeentriesClientReferenceInformation.md +10 -10
- package/docs/Riskv1liststypeentriesDeviceInformation.md +9 -9
- package/docs/Riskv1liststypeentriesOrderInformation.md +11 -11
- package/docs/Riskv1liststypeentriesOrderInformationAddress.md +13 -13
- package/docs/Riskv1liststypeentriesOrderInformationBillTo.md +18 -18
- package/docs/Riskv1liststypeentriesOrderInformationLineItems.md +8 -8
- package/docs/Riskv1liststypeentriesOrderInformationShipTo.md +13 -13
- package/docs/Riskv1liststypeentriesPaymentInformation.md +9 -9
- package/docs/Riskv1liststypeentriesPaymentInformationBank.md +11 -11
- package/docs/Riskv1liststypeentriesPaymentInformationCard.md +10 -10
- package/docs/Riskv1liststypeentriesRiskInformation.md +8 -8
- package/docs/Riskv1liststypeentriesRiskInformationMarkingDetails.md +11 -11
- package/docs/SearchRequest.md +11 -11
- package/docs/SearchTransactionsApi.md +102 -102
- package/docs/SecureFileShareApi.md +115 -115
- package/docs/ShippingAddressListForCustomer.md +13 -13
- package/docs/ShippingAddressListForCustomerEmbedded.md +8 -8
- package/docs/ShippingAddressListForCustomerLinks.md +12 -12
- package/docs/ShippingAddressListForCustomerLinksFirst.md +8 -8
- package/docs/ShippingAddressListForCustomerLinksLast.md +8 -8
- package/docs/ShippingAddressListForCustomerLinksNext.md +8 -8
- package/docs/ShippingAddressListForCustomerLinksPrev.md +8 -8
- package/docs/ShippingAddressListForCustomerLinksSelf.md +8 -8
- package/docs/SymmetricKeyManagementApi.md +199 -149
- package/docs/TaxRequest.md +12 -12
- package/docs/TaxesApi.md +105 -105
- package/docs/TmsV2CustomersResponse.md +17 -17
- package/docs/Tmsv2customersBuyerInformation.md +9 -9
- package/docs/Tmsv2customersClientReferenceInformation.md +8 -8
- package/docs/Tmsv2customersDefaultPaymentInstrument.md +8 -8
- package/docs/Tmsv2customersDefaultShippingAddress.md +8 -8
- package/docs/Tmsv2customersEmbedded.md +9 -9
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md +21 -21
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md +18 -18
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md +11 -11
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md +10 -10
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md +15 -15
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md +9 -9
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier.md +19 -19
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBankAccount.md +9 -9
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBillTo.md +13 -13
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard.md +11 -11
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierIssuer.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinks.md +9 -9
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinksPaymentInstruments.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinksSelf.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierMetadata.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformation.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptions.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiator.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCard.md +14 -14
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCardCard.md +10 -10
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md +9 -9
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentProcessingInformation.md +9 -9
- package/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentProcessingInformationBankTransferOptions.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md +12 -12
- package/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md +9 -9
- package/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md +8 -8
- package/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md +18 -18
- package/docs/Tmsv2customersLinks.md +10 -10
- package/docs/Tmsv2customersLinksPaymentInstruments.md +8 -8
- package/docs/Tmsv2customersLinksSelf.md +8 -8
- package/docs/Tmsv2customersLinksShippingAddress.md +8 -8
- package/docs/Tmsv2customersMerchantDefinedInformation.md +9 -9
- package/docs/Tmsv2customersMetadata.md +8 -8
- package/docs/Tmsv2customersObjectInformation.md +9 -9
- package/docs/TokenizationApi.md +55 -55
- package/docs/TokenizeRequest.md +9 -9
- package/docs/TransactionBatchesApi.md +158 -158
- package/docs/TransactionDetailsApi.md +55 -55
- package/docs/TssV2TransactionsGet200Response.md +33 -32
- package/docs/TssV2TransactionsGet200ResponseApplicationInformation.md +12 -12
- package/docs/TssV2TransactionsGet200ResponseApplicationInformationApplications.md +15 -15
- package/docs/TssV2TransactionsGet200ResponseBuyerInformation.md +9 -9
- package/docs/TssV2TransactionsGet200ResponseClientReferenceInformation.md +13 -13
- package/docs/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseConsumerAuthenticationInformation.md +12 -12
- package/docs/TssV2TransactionsGet200ResponseConsumerAuthenticationInformationStrongAuthentication.md +12 -12
- package/docs/TssV2TransactionsGet200ResponseDeviceInformation.md +10 -10
- package/docs/TssV2TransactionsGet200ResponseErrorInformation.md +10 -10
- package/docs/TssV2TransactionsGet200ResponseFraudMarkingInformation.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseInstallmentInformation.md +9 -9
- package/docs/TssV2TransactionsGet200ResponseLinks.md +9 -9
- package/docs/TssV2TransactionsGet200ResponseMerchantInformation.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseMerchantInformationMerchantDescriptor.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseOrderInformation.md +13 -13
- package/docs/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.md +14 -14
- package/docs/TssV2TransactionsGet200ResponseOrderInformationBillTo.md +21 -21
- package/docs/TssV2TransactionsGet200ResponseOrderInformationInvoiceDetails.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseOrderInformationLineItems.md +14 -14
- package/docs/TssV2TransactionsGet200ResponseOrderInformationShipTo.md +17 -17
- package/docs/TssV2TransactionsGet200ResponseOrderInformationShippingDetails.md +9 -9
- package/docs/TssV2TransactionsGet200ResponsePaymentInformation.md +16 -16
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures.md +10 -10
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationBank.md +14 -14
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationBankAccount.md +14 -14
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationBankMandate.md +10 -10
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationCard.md +17 -17
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationCustomer.md +9 -9
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.md +8 -8
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationInvoice.md +10 -10
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationPaymentType.md +10 -10
- package/docs/TssV2TransactionsGet200ResponsePointOfSaleInformation.md +11 -11
- package/docs/TssV2TransactionsGet200ResponseProcessingInformation.md +14 -14
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.md +9 -9
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.md +11 -0
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationJapanPaymentOptions.md +11 -11
- package/docs/TssV2TransactionsGet200ResponseProcessorInformation.md +22 -22
- package/docs/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.md +17 -17
- package/docs/TssV2TransactionsGet200ResponseProcessorInformationMultiProcessorRouting.md +11 -11
- package/docs/TssV2TransactionsGet200ResponseProcessorInformationProcessor.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseRiskInformation.md +13 -13
- package/docs/TssV2TransactionsGet200ResponseRiskInformationProfile.md +9 -9
- package/docs/TssV2TransactionsGet200ResponseRiskInformationRules.md +9 -9
- package/docs/TssV2TransactionsGet200ResponseRiskInformationScore.md +9 -9
- package/docs/TssV2TransactionsGet200ResponseSenderInformation.md +8 -8
- package/docs/TssV2TransactionsGet200ResponseTokenInformation.md +11 -11
- package/docs/TssV2TransactionsPost201Response.md +21 -21
- package/docs/TssV2TransactionsPost201ResponseEmbedded.md +8 -8
- package/docs/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.md +12 -12
- package/docs/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.md +14 -14
- package/docs/TssV2TransactionsPost201ResponseEmbeddedBuyerInformation.md +8 -8
- package/docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.md +11 -11
- package/docs/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.md +10 -10
- package/docs/TssV2TransactionsPost201ResponseEmbeddedLinks.md +8 -8
- package/docs/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.md +8 -8
- package/docs/TssV2TransactionsPost201ResponseEmbeddedOrderInformation.md +10 -10
- package/docs/TssV2TransactionsPost201ResponseEmbeddedOrderInformationBillTo.md +13 -13
- package/docs/TssV2TransactionsPost201ResponseEmbeddedOrderInformationShipTo.md +12 -12
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.md +11 -10
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.md +8 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.md +9 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard.md +10 -10
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer.md +8 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType.md +9 -9
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation.md +11 -11
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner.md +8 -8
- package/docs/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation.md +10 -10
- package/docs/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation.md +9 -9
- package/docs/TssV2TransactionsPost201ResponseEmbeddedRiskInformation.md +8 -8
- package/docs/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProviders.md +8 -8
- package/docs/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint.md +10 -10
- package/docs/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.md +25 -25
- package/docs/TssV2TransactionsPost400Response.md +11 -11
- package/docs/UmsV1UsersGet200Response.md +8 -8
- package/docs/UmsV1UsersGet200ResponseAccountInformation.md +15 -15
- package/docs/UmsV1UsersGet200ResponseContactInformation.md +11 -11
- package/docs/UmsV1UsersGet200ResponseOrganizationInformation.md +8 -8
- package/docs/UmsV1UsersGet200ResponseUsers.md +10 -10
- package/docs/UnauthorizedClientError.md +9 -9
- package/docs/UpdateInvoiceRequest.md +10 -10
- package/docs/UserManagementApi.md +62 -62
- package/docs/UserManagementSearchApi.md +55 -55
- package/docs/V1FileDetailsGet200Response.md +9 -9
- package/docs/V1FileDetailsGet200ResponseFileDetails.md +14 -14
- package/docs/V1FileDetailsGet200ResponseLinks.md +9 -9
- package/docs/V1FileDetailsGet200ResponseLinksFiles.md +10 -10
- package/docs/V1FileDetailsGet200ResponseLinksSelf.md +9 -9
- package/docs/ValidateExportComplianceRequest.md +12 -12
- package/docs/ValidateRequest.md +13 -12
- package/docs/VasV2PaymentsPost201Response.md +14 -14
- package/docs/VasV2PaymentsPost201ResponseLinks.md +8 -8
- package/docs/VasV2PaymentsPost201ResponseOrderInformation.md +13 -13
- package/docs/VasV2PaymentsPost201ResponseOrderInformationJurisdiction.md +16 -16
- package/docs/VasV2PaymentsPost201ResponseOrderInformationLineItems.md +12 -12
- package/docs/VasV2PaymentsPost201ResponseOrderInformationTaxDetails.md +9 -9
- package/docs/VasV2PaymentsPost201ResponseTaxInformation.md +9 -9
- package/docs/VasV2PaymentsPost400Response.md +12 -12
- package/docs/VasV2TaxVoid200Response.md +12 -12
- package/docs/VasV2TaxVoid200ResponseVoidAmountDetails.md +9 -9
- package/docs/VasV2TaxVoidsPost400Response.md +12 -12
- package/docs/Vasv2taxBuyerInformation.md +8 -8
- package/docs/Vasv2taxClientReferenceInformation.md +10 -10
- package/docs/Vasv2taxMerchantInformation.md +8 -8
- package/docs/Vasv2taxOrderInformation.md +15 -15
- package/docs/Vasv2taxOrderInformationBillTo.md +13 -13
- package/docs/Vasv2taxOrderInformationInvoiceDetails.md +8 -8
- package/docs/Vasv2taxOrderInformationLineItems.md +21 -21
- package/docs/Vasv2taxOrderInformationOrderAcceptance.md +11 -11
- package/docs/Vasv2taxOrderInformationOrderOrigin.md +11 -11
- package/docs/Vasv2taxOrderInformationShipTo.md +14 -14
- package/docs/Vasv2taxOrderInformationShippingDetails.md +11 -11
- package/docs/Vasv2taxTaxInformation.md +14 -14
- package/docs/Vasv2taxidClientReferenceInformation.md +10 -10
- package/docs/Vasv2taxidClientReferenceInformationPartner.md +9 -9
- package/docs/VerificationApi.md +102 -102
- package/docs/VerifyCustomerAddressRequest.md +10 -10
- package/docs/VoidApi.md +255 -255
- package/docs/VoidCaptureRequest.md +10 -9
- package/docs/VoidCreditRequest.md +10 -9
- package/docs/VoidPaymentRequest.md +10 -9
- package/docs/VoidRefundRequest.md +10 -9
- package/docs/VoidTaxRequest.md +8 -8
- package/license.txt +57 -57
- package/package.json +40 -39
- package/src/ApiClient.js +769 -769
- package/src/api/AsymmetricKeyManagementApi.js +193 -190
- package/src/api/CaptureApi.js +106 -106
- package/src/api/ChargebackDetailsApi.js +114 -111
- package/src/api/ChargebackSummariesApi.js +114 -111
- package/src/api/ConversionDetailsApi.js +114 -111
- package/src/api/CreditApi.js +99 -99
- package/src/api/CustomerApi.js +262 -256
- package/src/api/CustomerPaymentInstrumentApi.js +347 -338
- package/src/api/CustomerShippingAddressApi.js +347 -338
- package/src/api/DecisionManagerApi.js +203 -203
- package/src/api/DownloadDTDApi.js +102 -99
- package/src/api/DownloadXSDApi.js +102 -99
- package/src/api/InstrumentIdentifierApi.js +372 -363
- package/src/api/InterchangeClearingLevelDetailsApi.js +114 -111
- package/src/api/InvoiceSettingsApi.js +141 -138
- package/src/api/InvoicesApi.js +358 -346
- package/src/api/KeyGenerationApi.js +106 -106
- package/src/api/NetFundingsApi.js +116 -113
- package/src/api/NotificationOfChangesApi.js +110 -107
- package/src/api/OAuthApi.js +103 -103
- package/src/api/PayerAuthenticationApi.js +189 -189
- package/src/api/PaymentBatchSummariesApi.js +120 -117
- package/src/api/PaymentInstrumentApi.js +263 -257
- package/src/api/PaymentsApi.js +151 -151
- package/src/api/PayoutsApi.js +99 -99
- package/src/api/PurchaseAndRefundDetailsApi.js +124 -121
- package/src/api/RefundApi.js +158 -158
- package/src/api/ReportDefinitionsApi.js +159 -153
- package/src/api/ReportDownloadsApi.js +113 -110
- package/src/api/ReportSubscriptionsApi.js +301 -292
- package/src/api/ReportsApi.js +232 -226
- package/src/api/RetrievalDetailsApi.js +114 -111
- package/src/api/RetrievalSummariesApi.js +114 -111
- package/src/api/ReversalApi.js +151 -151
- package/src/api/SearchTransactionsApi.js +148 -145
- package/src/api/SecureFileShareApi.js +8 -2
- package/src/api/SymmetricKeyManagementApi.js +245 -190
- package/src/api/TaxesApi.js +151 -151
- package/src/api/TokenizationApi.js +99 -99
- package/src/api/TransactionBatchesApi.js +213 -204
- package/src/api/TransactionDetailsApi.js +103 -100
- package/src/api/UserManagementApi.js +106 -103
- package/src/api/UserManagementSearchApi.js +99 -99
- package/src/api/VerificationApi.js +144 -144
- package/src/api/VoidApi.js +307 -307
- package/src/authentication/core/Authorization.js +34 -34
- package/src/authentication/core/MerchantConfig.js +532 -532
- package/src/authentication/http/HTTPSigToken.js +55 -55
- package/src/authentication/http/SignatureParameterGenerator.js +81 -81
- package/src/authentication/jwt/JWTSigToken.js +54 -54
- package/src/authentication/jwt/KeyCertificateGenerator.js +50 -50
- package/src/authentication/logging/LogConfiguration.js +155 -155
- package/src/authentication/logging/Logger.js +71 -71
- package/src/authentication/logging/SensitiveDataMasker.js +25 -25
- package/src/authentication/logging/SensitiveDataTags.js +38 -36
- package/src/authentication/oauth/OAuthToken.js +16 -16
- package/src/authentication/payloadDigest/DigestGenerator.js +20 -20
- package/src/authentication/util/ApiException.js +14 -14
- package/src/authentication/util/Cache.js +58 -58
- package/src/authentication/util/Constants.js +102 -102
- package/src/authentication/util/PropertiesUtil.js +47 -47
- package/src/authentication/util/Utility.js +44 -44
- package/src/index.js +3977 -3917
- package/src/model/AccessTokenResponse.js +136 -136
- package/src/model/AddNegativeListRequest.js +121 -121
- package/src/model/AuthReversalRequest.js +113 -113
- package/src/model/BadRequestError.js +89 -89
- package/src/model/CapturePaymentRequest.js +178 -178
- package/src/model/CheckPayerAuthEnrollmentRequest.js +185 -185
- package/src/model/CreateAccessTokenRequest.js +120 -120
- package/src/model/CreateAdhocReportRequest.js +169 -169
- package/src/model/CreateBundledDecisionManagerCaseRequest.js +186 -186
- package/src/model/CreateCreditRequest.js +178 -178
- package/src/model/CreateInvoiceRequest.js +97 -97
- package/src/model/CreateP12KeysRequest.js +89 -89
- package/src/model/CreatePaymentRequest.js +258 -258
- package/src/model/CreateReportSubscriptionRequest.js +193 -193
- package/src/model/CreateSearchRequest.js +136 -136
- package/src/model/CreateSharedSecretKeysRequest.js +89 -89
- package/src/model/CreateSharedSecretKeysVerifiRequest.js +89 -0
- package/src/model/DeleteBulkP12KeysRequest.js +89 -89
- package/src/model/DeleteBulkSymmetricKeysRequest.js +89 -89
- package/src/model/FlexV1KeysPost200Response.js +98 -98
- package/src/model/FlexV1KeysPost200ResponseDer.js +101 -101
- package/src/model/FlexV1KeysPost200ResponseJwk.js +119 -119
- package/src/model/FlexV1TokensPost200Response.js +144 -144
- package/src/model/Flexv1tokensCardInfo.js +111 -111
- package/src/model/FraudMarkingActionRequest.js +90 -90
- package/src/model/GeneratePublicKeyRequest.js +92 -92
- package/src/model/IncrementAuthRequest.js +113 -113
- package/src/model/InlineResponse400.js +81 -81
- package/src/model/InlineResponse4001.js +130 -130
- package/src/model/InlineResponse4001Fields.js +101 -101
- package/src/model/InlineResponse4002.js +109 -109
- package/src/model/InlineResponse400Details.js +91 -91
- package/src/model/InlineResponse400Errors.js +99 -99
- package/src/model/InlineResponseDefault.js +89 -89
- package/src/model/InlineResponseDefaultLinks.js +97 -97
- package/src/model/InlineResponseDefaultLinksNext.js +100 -100
- package/src/model/InlineResponseDefaultResponseStatus.js +117 -117
- package/src/model/InlineResponseDefaultResponseStatusDetails.js +91 -91
- package/src/model/InvoiceSettingsRequest.js +81 -81
- package/src/model/InvoicingV2InvoiceSettingsGet200Response.js +90 -90
- package/src/model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.js +144 -144
- package/src/model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.js +91 -91
- package/src/model/InvoicingV2InvoicesAllGet200Response.js +106 -106
- package/src/model/InvoicingV2InvoicesAllGet200ResponseCustomerInformation.js +91 -91
- package/src/model/InvoicingV2InvoicesAllGet200ResponseInvoiceInformation.js +82 -82
- package/src/model/InvoicingV2InvoicesAllGet200ResponseInvoices.js +124 -124
- package/src/model/InvoicingV2InvoicesAllGet200ResponseLinks.js +97 -97
- package/src/model/InvoicingV2InvoicesAllGet200ResponseLinks1.js +105 -105
- package/src/model/InvoicingV2InvoicesAllGet200ResponseOrderInformation.js +81 -81
- package/src/model/InvoicingV2InvoicesAllGet200ResponseOrderInformationAmountDetails.js +92 -92
- package/src/model/InvoicingV2InvoicesAllGet400Response.js +117 -117
- package/src/model/InvoicingV2InvoicesAllGet404Response.js +117 -117
- package/src/model/InvoicingV2InvoicesAllGet502Response.js +109 -109
- package/src/model/InvoicingV2InvoicesGet200Response.js +140 -140
- package/src/model/InvoicingV2InvoicesGet200ResponseInvoiceHistory.js +99 -99
- package/src/model/InvoicingV2InvoicesGet200ResponseTransactionDetails.js +92 -92
- package/src/model/InvoicingV2InvoicesPost201Response.js +132 -132
- package/src/model/InvoicingV2InvoicesPost201ResponseInvoiceInformation.js +128 -128
- package/src/model/InvoicingV2InvoicesPost201ResponseOrderInformation.js +90 -90
- package/src/model/InvoicingV2InvoicesPost201ResponseOrderInformationAmountDetails.js +153 -153
- package/src/model/InvoicingV2InvoicesPost202Response.js +117 -117
- package/src/model/Invoicingv2invoiceSettingsInvoiceSettingsInformation.js +144 -144
- package/src/model/Invoicingv2invoicesCustomerInformation.js +101 -101
- package/src/model/Invoicingv2invoicesInvoiceInformation.js +128 -128
- package/src/model/Invoicingv2invoicesOrderInformation.js +90 -90
- package/src/model/Invoicingv2invoicesOrderInformationAmountDetails.js +144 -144
- package/src/model/Invoicingv2invoicesOrderInformationAmountDetailsFreight.js +92 -92
- package/src/model/Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails.js +101 -101
- package/src/model/Invoicingv2invoicesOrderInformationLineItems.js +110 -110
- package/src/model/Invoicingv2invoicesidInvoiceInformation.js +110 -110
- package/src/model/KmsV2KeysAsymDeletesPost200Response.js +98 -98
- package/src/model/KmsV2KeysAsymDeletesPost200ResponseKeyInformation.js +127 -127
- package/src/model/KmsV2KeysAsymGet200Response.js +90 -90
- package/src/model/KmsV2KeysAsymGet200ResponseKeyInformation.js +145 -145
- package/src/model/KmsV2KeysAsymPost201Response.js +115 -115
- package/src/model/KmsV2KeysAsymPost201ResponseCertificateInformation.js +109 -109
- package/src/model/KmsV2KeysAsymPost201ResponseKeyInformation.js +154 -154
- package/src/model/KmsV2KeysSymDeletesPost200Response.js +107 -107
- package/src/model/KmsV2KeysSymDeletesPost200ResponseKeyInformation.js +118 -118
- package/src/model/KmsV2KeysSymGet200Response.js +99 -99
- package/src/model/KmsV2KeysSymGet200ResponseKeyInformation.js +127 -127
- package/src/model/KmsV2KeysSymPost201Response.js +107 -107
- package/src/model/KmsV2KeysSymPost201ResponseErrorInformation.js +90 -90
- package/src/model/KmsV2KeysSymPost201ResponseKeyInformation.js +145 -145
- package/src/model/Kmsv2keysasymKeyInformation.js +103 -103
- package/src/model/Kmsv2keyssymClientReferenceInformation.js +99 -99
- package/src/model/Kmsv2keyssymKeyInformation.js +93 -93
- package/src/model/Kmsv2keyssymdeletesKeyInformation.js +103 -103
- package/src/model/Kmsv2keyssymverifiKeyInformation.js +120 -0
- package/src/model/MitReversalRequest.js +113 -113
- package/src/model/MitVoidRequest.js +89 -89
- package/src/model/OctCreatePaymentRequest.js +129 -129
- package/src/model/PatchCustomerPaymentInstrumentRequest.js +189 -189
- package/src/model/PatchCustomerRequest.js +155 -155
- package/src/model/PatchCustomerShippingAddressRequest.js +115 -115
- package/src/model/PatchInstrumentIdentifierRequest.js +173 -173
- package/src/model/PatchPaymentInstrumentRequest.js +189 -189
- package/src/model/PayerAuthSetupRequest.js +105 -105
- package/src/model/PaymentInstrumentList.js +125 -125
- package/src/model/PaymentInstrumentListEmbedded.js +82 -82
- package/src/model/PaymentInstrumentListLinks.js +113 -113
- package/src/model/PaymentInstrumentListLinksFirst.js +82 -82
- package/src/model/PaymentInstrumentListLinksLast.js +82 -82
- package/src/model/PaymentInstrumentListLinksNext.js +82 -82
- package/src/model/PaymentInstrumentListLinksPrev.js +82 -82
- package/src/model/PaymentInstrumentListLinksSelf.js +82 -82
- package/src/model/PostCustomerPaymentInstrumentRequest.js +189 -189
- package/src/model/PostCustomerRequest.js +155 -155
- package/src/model/PostCustomerShippingAddressRequest.js +115 -115
- package/src/model/PostInstrumentIdentifierEnrollmentRequest.js +173 -173
- package/src/model/PostInstrumentIdentifierRequest.js +173 -173
- package/src/model/PostPaymentInstrumentRequest.js +189 -189
- package/src/model/PredefinedSubscriptionRequestBean.js +164 -164
- package/src/model/PtsV1TransactionBatchesGet200Response.js +98 -98
- package/src/model/PtsV1TransactionBatchesGet200ResponseLinks.js +81 -81
- package/src/model/PtsV1TransactionBatchesGet200ResponseLinksSelf.js +89 -89
- package/src/model/PtsV1TransactionBatchesGet200ResponseTransactionBatches.js +136 -136
- package/src/model/PtsV1TransactionBatchesGet400Response.js +90 -90
- package/src/model/PtsV1TransactionBatchesGet400ResponseErrorInformation.js +97 -97
- package/src/model/PtsV1TransactionBatchesGet400ResponseErrorInformationDetails.js +91 -91
- package/src/model/PtsV1TransactionBatchesGet500Response.js +90 -90
- package/src/model/PtsV1TransactionBatchesGet500ResponseErrorInformation.js +91 -91
- package/src/model/PtsV1TransactionBatchesIdGet200Response.js +144 -144
- package/src/model/PtsV1TransactionBatchesIdGet200ResponseLinks.js +81 -81
- package/src/model/PtsV1TransactionBatchesIdGet200ResponseLinksTransactions.js +90 -90
- package/src/model/PtsV2CreditsPost201Response.js +173 -173
- package/src/model/PtsV2CreditsPost201ResponseCreditAmountDetails.js +91 -91
- package/src/model/PtsV2CreditsPost201ResponsePaymentInformation.js +113 -113
- package/src/model/PtsV2CreditsPost201ResponseProcessingInformation.js +90 -90
- package/src/model/PtsV2CreditsPost201ResponseProcessingInformationBankTransferOptions.js +82 -82
- package/src/model/PtsV2IncrementalAuthorizationPatch201Response.js +157 -157
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponseClientReferenceInformation.js +82 -82
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.js +99 -99
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponseLinks.js +81 -81
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponseOrderInformation.js +81 -81
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformation.js +81 -81
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponsePaymentInformationAccountFeatures.js +82 -82
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.js +126 -126
- package/src/model/PtsV2IncrementalAuthorizationPatch400Response.js +117 -117
- package/src/model/PtsV2PaymentsCapturesPost201Response.js +157 -157
- package/src/model/PtsV2PaymentsCapturesPost201ResponseLinks.js +97 -97
- package/src/model/PtsV2PaymentsCapturesPost201ResponseOrderInformation.js +89 -89
- package/src/model/PtsV2PaymentsCapturesPost201ResponseOrderInformationAmountDetails.js +100 -100
- package/src/model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.js +82 -82
- package/src/model/PtsV2PaymentsCapturesPost201ResponsePointOfSaleInformation.js +82 -82
- package/src/model/PtsV2PaymentsCapturesPost201ResponseProcessingInformation.js +82 -82
- package/src/model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.js +82 -82
- package/src/model/PtsV2PaymentsCapturesPost400Response.js +117 -117
- package/src/model/PtsV2PaymentsPost201Response.js +237 -229
- package/src/model/PtsV2PaymentsPost201ResponseBuyerInformation.js +117 -117
- package/src/model/PtsV2PaymentsPost201ResponseClientReferenceInformation.js +100 -100
- package/src/model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.js +449 -449
- package/src/model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr.js +136 -136
- package/src/model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication.js +81 -81
- package/src/model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseErrorInformation.js +99 -99
- package/src/model/PtsV2PaymentsPost201ResponseErrorInformationDetails.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseInstallmentInformation.js +307 -307
- package/src/model/PtsV2PaymentsPost201ResponseIssuerInformation.js +118 -109
- package/src/model/PtsV2PaymentsPost201ResponseLinks.js +129 -129
- package/src/model/PtsV2PaymentsPost201ResponseLinksSelf.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseOrderInformation.js +97 -97
- package/src/model/PtsV2PaymentsPost201ResponseOrderInformationAmountDetails.js +100 -100
- package/src/model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails.js +127 -127
- package/src/model/PtsV2PaymentsPost201ResponsePaymentAccountInformation.js +81 -81
- package/src/model/PtsV2PaymentsPost201ResponsePaymentAccountInformationCard.js +127 -118
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInformation.js +182 -182
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeatures.js +235 -235
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInformationAccountFeaturesBalances.js +109 -109
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInformationBank.js +90 -90
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInformationBankAccount.js +82 -82
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.js +136 -136
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.js +81 -0
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.js +91 -0
- package/src/model/PtsV2PaymentsPost201ResponsePointOfSaleInformation.js +99 -99
- package/src/model/PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv.js +100 -100
- package/src/model/PtsV2PaymentsPost201ResponseProcessingInformation.js +99 -99
- package/src/model/PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformation.js +335 -335
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationAchVerification.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationAvs.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationCardVerification.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationConsumerAuthenticationResponse.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationCustomer.js +82 -82
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.js +181 -181
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.js +100 -91
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformationRouting.js +100 -100
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformation.js +156 -156
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationInfoCodes.js +154 -154
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationIpAddress.js +137 -137
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationProfile.js +100 -100
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationProviders.js +81 -81
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationProvidersProviderName.js +90 -90
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationRules.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationScore.js +99 -99
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationTravel.js +105 -105
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationTravelActualFinalDestination.js +109 -109
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDeparture.js +109 -109
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationTravelFirstDestination.js +109 -109
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationTravelLastDestination.js +109 -109
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationVelocity.js +90 -90
- package/src/model/PtsV2PaymentsPost201ResponseRiskInformationVelocityMorphing.js +100 -100
- package/src/model/PtsV2PaymentsPost201ResponseTokenInformation.js +114 -114
- package/src/model/PtsV2PaymentsPost201ResponseTokenInformationCustomer.js +82 -82
- package/src/model/PtsV2PaymentsPost201ResponseTokenInformationInstrumentIdentifier.js +91 -91
- package/src/model/PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.js +82 -82
- package/src/model/PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.js +82 -82
- package/src/model/PtsV2PaymentsPost400Response.js +117 -117
- package/src/model/PtsV2PaymentsPost502Response.js +109 -109
- package/src/model/PtsV2PaymentsRefundPost201Response.js +157 -157
- package/src/model/PtsV2PaymentsRefundPost201ResponseLinks.js +89 -89
- package/src/model/PtsV2PaymentsRefundPost201ResponseOrderInformation.js +81 -81
- package/src/model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.js +126 -126
- package/src/model/PtsV2PaymentsRefundPost201ResponseRefundAmountDetails.js +91 -91
- package/src/model/PtsV2PaymentsRefundPost400Response.js +117 -117
- package/src/model/PtsV2PaymentsReversalsPost201Response.js +165 -165
- package/src/model/PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation.js +100 -100
- package/src/model/PtsV2PaymentsReversalsPost201ResponseIssuerInformation.js +82 -82
- package/src/model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.js +127 -127
- package/src/model/PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.js +100 -100
- package/src/model/PtsV2PaymentsReversalsPost400Response.js +117 -117
- package/src/model/PtsV2PaymentsVoidsPost201Response.js +132 -132
- package/src/model/PtsV2PaymentsVoidsPost201ResponseProcessorInformation.js +82 -82
- package/src/model/PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails.js +100 -100
- package/src/model/PtsV2PaymentsVoidsPost400Response.js +117 -117
- package/src/model/PtsV2PayoutsPost201Response.js +165 -165
- package/src/model/PtsV2PayoutsPost201ResponseErrorInformation.js +99 -99
- package/src/model/PtsV2PayoutsPost201ResponseMerchantInformation.js +81 -81
- package/src/model/PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor.js +100 -100
- package/src/model/PtsV2PayoutsPost201ResponseOrderInformation.js +81 -81
- package/src/model/PtsV2PayoutsPost201ResponseOrderInformationAmountDetails.js +109 -109
- package/src/model/PtsV2PayoutsPost201ResponseProcessorInformation.js +118 -118
- package/src/model/PtsV2PayoutsPost201ResponseRecipientInformation.js +81 -81
- package/src/model/PtsV2PayoutsPost201ResponseRecipientInformationCard.js +91 -91
- package/src/model/PtsV2PayoutsPost400Response.js +117 -117
- package/src/model/Ptsv2creditsInstallmentInformation.js +82 -82
- package/src/model/Ptsv2creditsProcessingInformation.js +229 -229
- package/src/model/Ptsv2creditsProcessingInformationBankTransferOptions.js +136 -136
- package/src/model/Ptsv2creditsProcessingInformationElectronicBenefitsTransfer.js +82 -82
- package/src/model/Ptsv2creditsProcessingInformationJapanPaymentOptions.js +91 -91
- package/src/model/Ptsv2creditsProcessingInformationPurchaseOptions.js +82 -82
- package/src/model/Ptsv2paymentsAcquirerInformation.js +109 -109
- package/src/model/Ptsv2paymentsAggregatorInformation.js +99 -99
- package/src/model/Ptsv2paymentsAggregatorInformationSubMerchant.js +172 -172
- package/src/model/Ptsv2paymentsBuyerInformation.js +153 -153
- package/src/model/Ptsv2paymentsBuyerInformationPersonalIdentification.js +109 -109
- package/src/model/Ptsv2paymentsClientReferenceInformation.js +153 -153
- package/src/model/Ptsv2paymentsClientReferenceInformationPartner.js +109 -109
- package/src/model/Ptsv2paymentsConsumerAuthenticationInformation.js +576 -576
- package/src/model/Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.js +136 -136
- package/src/model/Ptsv2paymentsDeviceInformation.js +234 -234
- package/src/model/Ptsv2paymentsDeviceInformationRawData.js +91 -91
- package/src/model/Ptsv2paymentsHealthCareInformation.js +82 -82
- package/src/model/Ptsv2paymentsHealthCareInformationAmountDetails.js +91 -91
- package/src/model/Ptsv2paymentsInstallmentInformation.js +208 -208
- package/src/model/Ptsv2paymentsInvoiceDetails.js +83 -83
- package/src/model/Ptsv2paymentsIssuerInformation.js +82 -82
- package/src/model/Ptsv2paymentsMerchantDefinedInformation.js +91 -91
- package/src/model/Ptsv2paymentsMerchantInformation.js +197 -197
- package/src/model/Ptsv2paymentsMerchantInformationMerchantDescriptor.js +172 -163
- package/src/model/Ptsv2paymentsMerchantInformationServiceFeeDescriptor.js +100 -100
- package/src/model/Ptsv2paymentsOrderInformation.js +175 -166
- package/src/model/Ptsv2paymentsOrderInformationAmountDetails.js +303 -303
- package/src/model/Ptsv2paymentsOrderInformationAmountDetailsAmexAdditionalAmounts.js +91 -91
- package/src/model/Ptsv2paymentsOrderInformationAmountDetailsCurrencyConversion.js +100 -100
- package/src/model/Ptsv2paymentsOrderInformationAmountDetailsSurcharge.js +91 -91
- package/src/model/Ptsv2paymentsOrderInformationAmountDetailsTaxDetails.js +136 -136
- package/src/model/Ptsv2paymentsOrderInformationBillTo.js +252 -252
- package/src/model/Ptsv2paymentsOrderInformationBillToCompany.js +136 -136
- package/src/model/Ptsv2paymentsOrderInformationInvoiceDetails.js +225 -216
- package/src/model/Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum.js +82 -82
- package/src/model/Ptsv2paymentsOrderInformationLineItems.js +350 -350
- package/src/model/Ptsv2paymentsOrderInformationPassenger.js +146 -146
- package/src/model/Ptsv2paymentsOrderInformationShipTo.js +226 -226
- package/src/model/Ptsv2paymentsOrderInformationShippingDetails.js +101 -101
- package/src/model/Ptsv2paymentsPaymentInformation.js +170 -170
- package/src/model/Ptsv2paymentsPaymentInformationBank.js +108 -108
- package/src/model/Ptsv2paymentsPaymentInformationBankAccount.js +118 -118
- package/src/model/Ptsv2paymentsPaymentInformationCard.js +208 -199
- package/src/model/Ptsv2paymentsPaymentInformationCustomer.js +91 -91
- package/src/model/Ptsv2paymentsPaymentInformationEWallet.js +82 -82
- package/src/model/Ptsv2paymentsPaymentInformationFluidData.js +109 -109
- package/src/model/Ptsv2paymentsPaymentInformationInstrumentIdentifier.js +82 -82
- package/src/model/Ptsv2paymentsPaymentInformationLegacyToken.js +82 -82
- package/src/model/Ptsv2paymentsPaymentInformationPaymentInstrument.js +82 -82
- package/src/model/Ptsv2paymentsPaymentInformationPaymentType.js +99 -99
- package/src/model/Ptsv2paymentsPaymentInformationPaymentTypeMethod.js +82 -82
- package/src/model/Ptsv2paymentsPaymentInformationShippingAddress.js +82 -82
- package/src/model/Ptsv2paymentsPaymentInformationTokenizedCard.js +172 -163
- package/src/model/Ptsv2paymentsPointOfSaleInformation.js +315 -306
- package/src/model/Ptsv2paymentsPointOfSaleInformationEmv.js +127 -119
- package/src/model/Ptsv2paymentsProcessingInformation.js +318 -309
- package/src/model/Ptsv2paymentsProcessingInformationAuthorizationOptions.js +236 -227
- package/src/model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.js +108 -108
- package/src/model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.js +100 -100
- package/src/model/Ptsv2paymentsProcessingInformationBankTransferOptions.js +172 -172
- package/src/model/Ptsv2paymentsProcessingInformationCaptureOptions.js +100 -100
- package/src/model/Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer.js +91 -91
- package/src/model/Ptsv2paymentsProcessingInformationJapanPaymentOptions.js +145 -145
- package/src/model/Ptsv2paymentsProcessingInformationLoanOptions.js +91 -91
- package/src/model/Ptsv2paymentsProcessingInformationPurchaseOptions.js +91 -91
- package/src/model/Ptsv2paymentsProcessingInformationRecurringOptions.js +93 -93
- package/src/model/Ptsv2paymentsProcessorInformation.js +91 -83
- package/src/model/Ptsv2paymentsProcessorInformationAuthorizationOptions.js +82 -0
- package/src/model/Ptsv2paymentsPromotionInformation.js +91 -91
- package/src/model/Ptsv2paymentsRecipientInformation.js +109 -109
- package/src/model/Ptsv2paymentsRecurringPaymentInformation.js +119 -119
- package/src/model/Ptsv2paymentsRiskInformation.js +107 -107
- package/src/model/Ptsv2paymentsRiskInformationAuxiliaryData.js +92 -92
- package/src/model/Ptsv2paymentsRiskInformationBuyerHistory.js +152 -152
- package/src/model/Ptsv2paymentsRiskInformationBuyerHistoryAccountHistory.js +91 -91
- package/src/model/Ptsv2paymentsRiskInformationBuyerHistoryCustomerAccount.js +127 -127
- package/src/model/Ptsv2paymentsRiskInformationProfile.js +83 -83
- package/src/model/Ptsv2paymentsTokenInformation.js +116 -116
- package/src/model/Ptsv2paymentsTokenInformationPaymentInstrument.js +83 -83
- package/src/model/Ptsv2paymentsTokenInformationShippingAddress.js +83 -83
- package/src/model/Ptsv2paymentsTravelInformation.js +114 -114
- package/src/model/Ptsv2paymentsTravelInformationAgency.js +91 -91
- package/src/model/Ptsv2paymentsTravelInformationAutoRental.js +448 -448
- package/src/model/Ptsv2paymentsTravelInformationAutoRentalRentalAddress.js +136 -136
- package/src/model/Ptsv2paymentsTravelInformationAutoRentalReturnAddress.js +118 -118
- package/src/model/Ptsv2paymentsTravelInformationAutoRentalTaxDetails.js +127 -127
- package/src/model/Ptsv2paymentsTravelInformationLodging.js +451 -451
- package/src/model/Ptsv2paymentsTravelInformationLodgingRoom.js +91 -91
- package/src/model/Ptsv2paymentsTravelInformationTransit.js +81 -81
- package/src/model/Ptsv2paymentsTravelInformationTransitAirline.js +412 -412
- package/src/model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformation.js +117 -117
- package/src/model/Ptsv2paymentsTravelInformationTransitAirlineAncillaryInformationService.js +91 -91
- package/src/model/Ptsv2paymentsTravelInformationTransitAirlineLegs.js +253 -253
- package/src/model/Ptsv2paymentsTravelInformationTransitAirlineTicketIssuer.js +136 -136
- package/src/model/Ptsv2paymentsidClientReferenceInformation.js +117 -117
- package/src/model/Ptsv2paymentsidClientReferenceInformationPartner.js +100 -100
- package/src/model/Ptsv2paymentsidMerchantInformation.js +82 -82
- package/src/model/Ptsv2paymentsidOrderInformation.js +81 -81
- package/src/model/Ptsv2paymentsidOrderInformationAmountDetails.js +91 -91
- package/src/model/Ptsv2paymentsidProcessingInformation.js +81 -81
- package/src/model/Ptsv2paymentsidProcessingInformationAuthorizationOptions.js +81 -81
- package/src/model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.js +82 -82
- package/src/model/Ptsv2paymentsidTravelInformation.js +82 -82
- package/src/model/Ptsv2paymentsidcapturesAggregatorInformation.js +99 -99
- package/src/model/Ptsv2paymentsidcapturesAggregatorInformationSubMerchant.js +154 -154
- package/src/model/Ptsv2paymentsidcapturesBuyerInformation.js +91 -91
- package/src/model/Ptsv2paymentsidcapturesDeviceInformation.js +100 -100
- package/src/model/Ptsv2paymentsidcapturesInstallmentInformation.js +298 -298
- package/src/model/Ptsv2paymentsidcapturesMerchantInformation.js +125 -125
- package/src/model/Ptsv2paymentsidcapturesOrderInformation.js +121 -121
- package/src/model/Ptsv2paymentsidcapturesOrderInformationAmountDetails.js +251 -251
- package/src/model/Ptsv2paymentsidcapturesOrderInformationBillTo.js +171 -171
- package/src/model/Ptsv2paymentsidcapturesOrderInformationInvoiceDetails.js +135 -135
- package/src/model/Ptsv2paymentsidcapturesOrderInformationShipTo.js +100 -100
- package/src/model/Ptsv2paymentsidcapturesOrderInformationShippingDetails.js +82 -82
- package/src/model/Ptsv2paymentsidcapturesPaymentInformation.js +89 -89
- package/src/model/Ptsv2paymentsidcapturesPaymentInformationCard.js +91 -91
- package/src/model/Ptsv2paymentsidcapturesPointOfSaleInformation.js +90 -90
- package/src/model/Ptsv2paymentsidcapturesPointOfSaleInformationEmv.js +91 -92
- package/src/model/Ptsv2paymentsidcapturesProcessingInformation.js +177 -177
- package/src/model/Ptsv2paymentsidcapturesProcessingInformationAuthorizationOptions.js +100 -100
- package/src/model/Ptsv2paymentsidcapturesProcessingInformationCaptureOptions.js +91 -91
- package/src/model/Ptsv2paymentsidrefundsMerchantInformation.js +117 -117
- package/src/model/Ptsv2paymentsidrefundsOrderInformation.js +121 -121
- package/src/model/Ptsv2paymentsidrefundsOrderInformationLineItems.js +252 -252
- package/src/model/Ptsv2paymentsidrefundsPaymentInformation.js +161 -161
- package/src/model/Ptsv2paymentsidrefundsPaymentInformationBank.js +99 -99
- package/src/model/Ptsv2paymentsidrefundsPaymentInformationCard.js +163 -163
- package/src/model/Ptsv2paymentsidrefundsPointOfSaleInformation.js +81 -81
- package/src/model/Ptsv2paymentsidrefundsProcessingInformation.js +144 -144
- package/src/model/Ptsv2paymentsidrefundsProcessingInformationRecurringOptions.js +83 -83
- package/src/model/Ptsv2paymentsidreversalsClientReferenceInformation.js +135 -135
- package/src/model/Ptsv2paymentsidreversalsClientReferenceInformationPartner.js +100 -100
- package/src/model/Ptsv2paymentsidreversalsOrderInformation.js +89 -89
- package/src/model/Ptsv2paymentsidreversalsOrderInformationAmountDetails.js +82 -82
- package/src/model/Ptsv2paymentsidreversalsOrderInformationLineItems.js +91 -91
- package/src/model/Ptsv2paymentsidreversalsPointOfSaleInformation.js +81 -81
- package/src/model/Ptsv2paymentsidreversalsPointOfSaleInformationEmv.js +82 -82
- package/src/model/Ptsv2paymentsidreversalsProcessingInformation.js +126 -126
- package/src/model/Ptsv2paymentsidreversalsReversalInformation.js +90 -90
- package/src/model/Ptsv2paymentsidreversalsReversalInformationAmountDetails.js +91 -91
- package/src/model/Ptsv2paymentsidvoidsOrderInformation.js +81 -0
- package/src/model/Ptsv2paymentsidvoidsPaymentInformation.js +81 -81
- package/src/model/Ptsv2payoutsClientReferenceInformation.js +109 -109
- package/src/model/Ptsv2payoutsMerchantInformation.js +108 -108
- package/src/model/Ptsv2payoutsMerchantInformationMerchantDescriptor.js +127 -127
- package/src/model/Ptsv2payoutsOrderInformation.js +98 -89
- package/src/model/Ptsv2payoutsOrderInformationAmountDetails.js +99 -99
- package/src/model/Ptsv2payoutsOrderInformationAmountDetailsSurcharge.js +82 -82
- package/src/model/Ptsv2payoutsOrderInformationBillTo.js +163 -163
- package/src/model/Ptsv2payoutsPaymentInformation.js +89 -89
- package/src/model/Ptsv2payoutsPaymentInformationCard.js +118 -118
- package/src/model/Ptsv2payoutsProcessingInformation.js +143 -135
- package/src/model/Ptsv2payoutsProcessingInformationFundingOptions.js +81 -0
- package/src/model/Ptsv2payoutsProcessingInformationFundingOptionsInitiator.js +82 -0
- package/src/model/Ptsv2payoutsProcessingInformationPayoutsOptions.js +109 -109
- package/src/model/Ptsv2payoutsRecipientInformation.js +172 -172
- package/src/model/Ptsv2payoutsSenderInformation.js +234 -207
- package/src/model/Ptsv2payoutsSenderInformationAccount.js +91 -91
- package/src/model/RefundCaptureRequest.js +170 -170
- package/src/model/RefundPaymentRequest.js +170 -170
- package/src/model/ReportingV3ChargebackDetailsGet200Response.js +109 -109
- package/src/model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.js +280 -271
- package/src/model/ReportingV3ChargebackSummariesGet200Response.js +109 -109
- package/src/model/ReportingV3ChargebackSummariesGet200ResponseChargebackSummaries.js +100 -100
- package/src/model/ReportingV3ConversionDetailsGet200Response.js +106 -106
- package/src/model/ReportingV3ConversionDetailsGet200ResponseConversionDetails.js +162 -162
- package/src/model/ReportingV3ConversionDetailsGet200ResponseNotes.js +100 -100
- package/src/model/ReportingV3InterchangeClearingLevelDetailsGet200Response.js +100 -100
- package/src/model/ReportingV3InterchangeClearingLevelDetailsGet200ResponseInterchangeClearingLevelDetails.js +485 -485
- package/src/model/ReportingV3NetFundingsGet200Response.js +145 -145
- package/src/model/ReportingV3NetFundingsGet200ResponseNetFundingSummaries.js +139 -139
- package/src/model/ReportingV3NetFundingsGet200ResponseTotalPurchases.js +92 -92
- package/src/model/ReportingV3NotificationofChangesGet200Response.js +82 -82
- package/src/model/ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges.js +146 -146
- package/src/model/ReportingV3PaymentBatchSummariesGet200Response.js +97 -97
- package/src/model/ReportingV3PaymentBatchSummariesGet200ResponsePaymentBatchSummaries.js +169 -169
- package/src/model/ReportingV3PurchaseRefundDetailsGet200Response.js +151 -151
- package/src/model/ReportingV3PurchaseRefundDetailsGet200ResponseAuthorizations.js +146 -146
- package/src/model/ReportingV3PurchaseRefundDetailsGet200ResponseFeeAndFundingDetails.js +191 -191
- package/src/model/ReportingV3PurchaseRefundDetailsGet200ResponseOthers.js +137 -137
- package/src/model/ReportingV3PurchaseRefundDetailsGet200ResponseRequestDetails.js +128 -128
- package/src/model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlementStatuses.js +119 -119
- package/src/model/ReportingV3PurchaseRefundDetailsGet200ResponseSettlements.js +190 -190
- package/src/model/ReportingV3ReportDefinitionsGet200Response.js +81 -81
- package/src/model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.js +131 -131
- package/src/model/ReportingV3ReportDefinitionsNameGet200Response.js +138 -138
- package/src/model/ReportingV3ReportDefinitionsNameGet200ResponseAttributes.js +131 -131
- package/src/model/ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.js +144 -144
- package/src/model/ReportingV3ReportSubscriptionsGet200Response.js +81 -81
- package/src/model/ReportingV3ReportSubscriptionsGet200ResponseSubscriptions.js +199 -199
- package/src/model/ReportingV3ReportsGet200Response.js +81 -81
- package/src/model/ReportingV3ReportsGet200ResponseLink.js +81 -81
- package/src/model/ReportingV3ReportsGet200ResponseLinkReportDownload.js +89 -89
- package/src/model/ReportingV3ReportsGet200ResponseReportSearchResults.js +217 -217
- package/src/model/ReportingV3ReportsIdGet200Response.js +199 -199
- package/src/model/ReportingV3RetrievalDetailsGet200Response.js +109 -109
- package/src/model/ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.js +271 -271
- package/src/model/ReportingV3RetrievalSummariesGet200Response.js +109 -109
- package/src/model/Reportingv3ReportDownloadsGet400Response.js +114 -114
- package/src/model/Reportingv3ReportDownloadsGet400ResponseDetails.js +92 -92
- package/src/model/Reportingv3reportsReportFilters.js +105 -105
- package/src/model/Reportingv3reportsReportPreferences.js +92 -92
- package/src/model/ResourceNotFoundError.js +89 -89
- package/src/model/RiskV1AddressVerificationsPost201Response.js +150 -150
- package/src/model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.js +143 -143
- package/src/model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.js +91 -91
- package/src/model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.js +171 -171
- package/src/model/RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.js +91 -91
- package/src/model/RiskV1AddressVerificationsPost201ResponseErrorInformation.js +99 -99
- package/src/model/RiskV1AuthenticationResultsPost201Response.js +150 -150
- package/src/model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.js +307 -280
- package/src/model/RiskV1AuthenticationSetupsPost201Response.js +132 -132
- package/src/model/RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation.js +100 -100
- package/src/model/RiskV1AuthenticationSetupsPost201ResponseErrorInformation.js +99 -99
- package/src/model/RiskV1AuthenticationsPost201Response.js +158 -158
- package/src/model/RiskV1AuthenticationsPost201ResponseErrorInformation.js +99 -99
- package/src/model/RiskV1AuthenticationsPost400Response.js +117 -117
- package/src/model/RiskV1AuthenticationsPost400Response1.js +117 -117
- package/src/model/RiskV1DecisionsPost201Response.js +165 -165
- package/src/model/RiskV1DecisionsPost201ResponseClientReferenceInformation.js +99 -99
- package/src/model/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.js +423 -396
- package/src/model/RiskV1DecisionsPost201ResponseErrorInformation.js +99 -99
- package/src/model/RiskV1DecisionsPost201ResponseOrderInformation.js +81 -81
- package/src/model/RiskV1DecisionsPost201ResponseOrderInformationAmountDetails.js +82 -82
- package/src/model/RiskV1DecisionsPost201ResponsePaymentInformation.js +119 -119
- package/src/model/RiskV1DecisionsPost400Response.js +117 -117
- package/src/model/RiskV1DecisionsPost400Response1.js +117 -117
- package/src/model/RiskV1ExportComplianceInquiriesPost201Response.js +150 -150
- package/src/model/RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation.js +99 -99
- package/src/model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.js +99 -99
- package/src/model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.js +81 -81
- package/src/model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.js +109 -109
- package/src/model/RiskV1UpdatePost201Response.js +116 -116
- package/src/model/Riskv1addressverificationsBuyerInformation.js +82 -82
- package/src/model/Riskv1addressverificationsOrderInformation.js +97 -97
- package/src/model/Riskv1addressverificationsOrderInformationBillTo.js +149 -149
- package/src/model/Riskv1addressverificationsOrderInformationLineItems.js +128 -128
- package/src/model/Riskv1addressverificationsOrderInformationShipTo.js +147 -147
- package/src/model/Riskv1authenticationresultsConsumerAuthenticationInformation.js +154 -136
- package/src/model/{TssV2TransactionsPost201ResponseEmbeddedDeviceInformation.js → Riskv1authenticationresultsDeviceInformation.js} +82 -82
- package/src/model/Riskv1authenticationresultsOrderInformation.js +89 -89
- package/src/model/Riskv1authenticationresultsOrderInformationAmountDetails.js +92 -92
- package/src/model/Riskv1authenticationresultsOrderInformationLineItems.js +101 -101
- package/src/model/Riskv1authenticationresultsPaymentInformation.js +105 -105
- package/src/model/Riskv1authenticationresultsPaymentInformationCard.js +118 -118
- package/src/model/Riskv1authenticationresultsPaymentInformationFluidData.js +109 -109
- package/src/model/Riskv1authenticationresultsPaymentInformationTokenizedCard.js +118 -118
- package/src/model/Riskv1authenticationsBuyerInformation.js +101 -101
- package/src/model/Riskv1authenticationsDeviceInformation.js +180 -180
- package/src/model/Riskv1authenticationsOrderInformation.js +142 -142
- package/src/model/Riskv1authenticationsOrderInformationAmountDetails.js +94 -94
- package/src/model/Riskv1authenticationsOrderInformationBillTo.js +170 -170
- package/src/model/Riskv1authenticationsOrderInformationLineItems.js +163 -163
- package/src/model/Riskv1authenticationsPaymentInformation.js +105 -105
- package/src/model/Riskv1authenticationsPaymentInformationCard.js +122 -122
- package/src/model/Riskv1authenticationsPaymentInformationTokenizedCard.js +143 -122
- package/src/model/Riskv1authenticationsRiskInformation.js +81 -81
- package/src/model/Riskv1authenticationsTravelInformation.js +98 -98
- package/src/model/Riskv1authenticationsetupsPaymentInformation.js +105 -105
- package/src/model/Riskv1authenticationsetupsPaymentInformationCard.js +112 -112
- package/src/model/Riskv1authenticationsetupsPaymentInformationCustomer.js +82 -82
- package/src/model/Riskv1authenticationsetupsPaymentInformationFluidData.js +110 -110
- package/src/model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.js +123 -123
- package/src/model/Riskv1authenticationsetupsProcessingInformation.js +91 -91
- package/src/model/Riskv1authenticationsetupsTokenInformation.js +82 -82
- package/src/model/Riskv1decisionsBuyerInformation.js +118 -118
- package/src/model/Riskv1decisionsClientReferenceInformation.js +109 -109
- package/src/model/Riskv1decisionsClientReferenceInformationPartner.js +91 -91
- package/src/model/Riskv1decisionsConsumerAuthenticationInformation.js +441 -432
- package/src/model/Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication.js +82 -82
- package/src/model/Riskv1decisionsDeviceInformation.js +225 -225
- package/src/model/Riskv1decisionsMerchantDefinedInformation.js +92 -92
- package/src/model/Riskv1decisionsMerchantInformation.js +90 -90
- package/src/model/Riskv1decisionsMerchantInformationMerchantDescriptor.js +91 -91
- package/src/model/Riskv1decisionsOrderInformation.js +160 -160
- package/src/model/Riskv1decisionsOrderInformationAmountDetails.js +93 -93
- package/src/model/Riskv1decisionsOrderInformationBillTo.js +163 -163
- package/src/model/Riskv1decisionsOrderInformationLineItems.js +198 -198
- package/src/model/Riskv1decisionsOrderInformationShipTo.js +181 -181
- package/src/model/Riskv1decisionsOrderInformationShippingDetails.js +92 -92
- package/src/model/Riskv1decisionsPaymentInformation.js +115 -115
- package/src/model/Riskv1decisionsPaymentInformationCard.js +119 -119
- package/src/model/Riskv1decisionsPaymentInformationTokenizedCard.js +119 -119
- package/src/model/Riskv1decisionsProcessingInformation.js +83 -83
- package/src/model/Riskv1decisionsProcessorInformation.js +90 -90
- package/src/model/Riskv1decisionsProcessorInformationAvs.js +83 -83
- package/src/model/Riskv1decisionsProcessorInformationCardVerification.js +82 -82
- package/src/model/Riskv1decisionsRiskInformation.js +106 -106
- package/src/model/Riskv1decisionsTravelInformation.js +134 -134
- package/src/model/Riskv1decisionsTravelInformationLegs.js +109 -109
- package/src/model/Riskv1decisionsTravelInformationPassengers.js +91 -91
- package/src/model/Riskv1decisionsidmarkingRiskInformation.js +81 -81
- package/src/model/Riskv1decisionsidmarkingRiskInformationMarkingDetails.js +110 -110
- package/src/model/Riskv1exportcomplianceinquiriesDeviceInformation.js +91 -91
- package/src/model/Riskv1exportcomplianceinquiriesExportComplianceInformation.js +99 -99
- package/src/model/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.js +100 -100
- package/src/model/Riskv1exportcomplianceinquiriesOrderInformation.js +97 -97
- package/src/model/Riskv1exportcomplianceinquiriesOrderInformationBillTo.js +185 -185
- package/src/model/Riskv1exportcomplianceinquiriesOrderInformationBillToCompany.js +82 -82
- package/src/model/Riskv1exportcomplianceinquiriesOrderInformationLineItems.js +144 -144
- package/src/model/Riskv1exportcomplianceinquiriesOrderInformationShipTo.js +100 -100
- package/src/model/Riskv1liststypeentriesBuyerInformation.js +82 -82
- package/src/model/Riskv1liststypeentriesClientReferenceInformation.js +100 -100
- package/src/model/Riskv1liststypeentriesDeviceInformation.js +91 -91
- package/src/model/Riskv1liststypeentriesOrderInformation.js +106 -106
- package/src/model/Riskv1liststypeentriesOrderInformationAddress.js +128 -128
- package/src/model/Riskv1liststypeentriesOrderInformationBillTo.js +172 -172
- package/src/model/Riskv1liststypeentriesOrderInformationLineItems.js +82 -82
- package/src/model/Riskv1liststypeentriesOrderInformationShipTo.js +128 -128
- package/src/model/Riskv1liststypeentriesPaymentInformation.js +90 -90
- package/src/model/Riskv1liststypeentriesPaymentInformationBank.js +110 -110
- package/src/model/Riskv1liststypeentriesPaymentInformationCard.js +100 -100
- package/src/model/Riskv1liststypeentriesRiskInformation.js +81 -81
- package/src/model/Riskv1liststypeentriesRiskInformationMarkingDetails.js +110 -110
- package/src/model/SearchRequest.js +109 -109
- package/src/model/ShippingAddressListForCustomer.js +126 -126
- package/src/model/ShippingAddressListForCustomerEmbedded.js +82 -82
- package/src/model/ShippingAddressListForCustomerLinks.js +113 -113
- package/src/model/ShippingAddressListForCustomerLinksFirst.js +82 -82
- package/src/model/ShippingAddressListForCustomerLinksLast.js +82 -82
- package/src/model/ShippingAddressListForCustomerLinksNext.js +82 -82
- package/src/model/ShippingAddressListForCustomerLinksPrev.js +82 -82
- package/src/model/ShippingAddressListForCustomerLinksSelf.js +82 -82
- package/src/model/TaxRequest.js +113 -113
- package/src/model/TmsV2CustomersResponse.js +155 -155
- package/src/model/Tmsv2customersBuyerInformation.js +91 -91
- package/src/model/Tmsv2customersClientReferenceInformation.js +82 -82
- package/src/model/Tmsv2customersDefaultPaymentInstrument.js +82 -82
- package/src/model/Tmsv2customersDefaultShippingAddress.js +82 -82
- package/src/model/Tmsv2customersEmbedded.js +90 -90
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrument.js +189 -189
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.js +172 -172
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.js +108 -108
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.js +99 -99
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.js +144 -144
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.js +91 -91
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier.js +173 -173
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBankAccount.js +91 -91
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBillTo.js +128 -128
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard.js +110 -110
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierIssuer.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinks.js +89 -89
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinksPaymentInstruments.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinksSelf.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierMetadata.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformation.js +81 -81
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptions.js +81 -81
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiator.js +81 -81
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCard.js +135 -135
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCardCard.js +101 -101
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.js +89 -89
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.js +81 -81
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentProcessingInformation.js +90 -90
- package/src/model/Tmsv2customersEmbeddedDefaultPaymentInstrumentProcessingInformationBankTransferOptions.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultShippingAddress.js +115 -115
- package/src/model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.js +89 -89
- package/src/model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.js +82 -82
- package/src/model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.js +172 -172
- package/src/model/Tmsv2customersLinks.js +97 -97
- package/src/model/Tmsv2customersLinksPaymentInstruments.js +82 -82
- package/src/model/Tmsv2customersLinksSelf.js +82 -82
- package/src/model/Tmsv2customersLinksShippingAddress.js +82 -82
- package/src/model/Tmsv2customersMerchantDefinedInformation.js +91 -91
- package/src/model/Tmsv2customersMetadata.js +82 -82
- package/src/model/Tmsv2customersObjectInformation.js +91 -91
- package/src/model/TokenizeRequest.js +91 -91
- package/src/model/TssV2TransactionsGet200Response.js +287 -279
- package/src/model/TssV2TransactionsGet200ResponseApplicationInformation.js +117 -117
- package/src/model/TssV2TransactionsGet200ResponseApplicationInformationApplications.js +145 -145
- package/src/model/TssV2TransactionsGet200ResponseBuyerInformation.js +91 -91
- package/src/model/TssV2TransactionsGet200ResponseClientReferenceInformation.js +126 -126
- package/src/model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformation.js +117 -117
- package/src/model/TssV2TransactionsGet200ResponseConsumerAuthenticationInformationStrongAuthentication.js +118 -118
- package/src/model/TssV2TransactionsGet200ResponseDeviceInformation.js +100 -100
- package/src/model/TssV2TransactionsGet200ResponseErrorInformation.js +99 -99
- package/src/model/TssV2TransactionsGet200ResponseFraudMarkingInformation.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponseInstallmentInformation.js +91 -91
- package/src/model/TssV2TransactionsGet200ResponseLinks.js +89 -89
- package/src/model/TssV2TransactionsGet200ResponseMerchantInformation.js +81 -81
- package/src/model/TssV2TransactionsGet200ResponseMerchantInformationMerchantDescriptor.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponseOrderInformation.js +122 -122
- package/src/model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.js +135 -135
- package/src/model/TssV2TransactionsGet200ResponseOrderInformationBillTo.js +199 -199
- package/src/model/TssV2TransactionsGet200ResponseOrderInformationInvoiceDetails.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponseOrderInformationLineItems.js +136 -136
- package/src/model/TssV2TransactionsGet200ResponseOrderInformationShipTo.js +163 -163
- package/src/model/TssV2TransactionsGet200ResponseOrderInformationShippingDetails.js +91 -91
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformation.js +145 -145
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures.js +100 -100
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationBank.js +134 -134
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationBankAccount.js +136 -136
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationBankMandate.js +100 -100
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationCard.js +163 -163
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.js +91 -91
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationInvoice.js +100 -100
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationPaymentType.js +100 -100
- package/src/model/TssV2TransactionsGet200ResponsePointOfSaleInformation.js +108 -108
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformation.js +133 -133
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.js +90 -90
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.js +108 -0
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationBankTransferOptions.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationJapanPaymentOptions.js +109 -109
- package/src/model/TssV2TransactionsGet200ResponseProcessorInformation.js +203 -203
- package/src/model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.js +163 -163
- package/src/model/TssV2TransactionsGet200ResponseProcessorInformationMultiProcessorRouting.js +109 -109
- package/src/model/TssV2TransactionsGet200ResponseProcessorInformationProcessor.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponseRiskInformation.js +122 -122
- package/src/model/TssV2TransactionsGet200ResponseRiskInformationProfile.js +91 -91
- package/src/model/TssV2TransactionsGet200ResponseRiskInformationRules.js +92 -92
- package/src/model/TssV2TransactionsGet200ResponseRiskInformationScore.js +91 -91
- package/src/model/TssV2TransactionsGet200ResponseSenderInformation.js +82 -82
- package/src/model/TssV2TransactionsGet200ResponseTokenInformation.js +105 -105
- package/src/model/TssV2TransactionsPost201Response.js +197 -197
- package/src/model/TssV2TransactionsPost201ResponseEmbedded.js +82 -82
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.js +117 -117
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.js +136 -136
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedBuyerInformation.js +82 -82
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.js +108 -108
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.js +100 -100
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedLinks.js +81 -81
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.js +82 -82
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation.js +97 -97
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationBillTo.js +127 -127
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedOrderInformationShipTo.js +118 -118
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.js +105 -97
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.js +81 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.js +91 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard.js +100 -100
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer.js +82 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType.js +91 -91
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation.js +108 -108
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner.js +82 -82
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation.js +100 -100
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation.js +90 -90
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation.js +81 -81
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProviders.js +81 -81
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint.js +100 -100
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.js +221 -221
- package/src/model/TssV2TransactionsPost400Response.js +108 -108
- package/src/model/UmsV1UsersGet200Response.js +81 -81
- package/src/model/UmsV1UsersGet200ResponseAccountInformation.js +138 -138
- package/src/model/UmsV1UsersGet200ResponseContactInformation.js +105 -105
- package/src/model/UmsV1UsersGet200ResponseOrganizationInformation.js +81 -81
- package/src/model/UmsV1UsersGet200ResponseUsers.js +97 -97
- package/src/model/UnauthorizedClientError.js +89 -89
- package/src/model/UpdateInvoiceRequest.js +97 -97
- package/src/model/V1FileDetailsGet200Response.js +89 -89
- package/src/model/V1FileDetailsGet200ResponseFileDetails.js +136 -136
- package/src/model/V1FileDetailsGet200ResponseLinks.js +89 -89
- package/src/model/V1FileDetailsGet200ResponseLinksFiles.js +98 -98
- package/src/model/V1FileDetailsGet200ResponseLinksSelf.js +89 -89
- package/src/model/ValidateExportComplianceRequest.js +113 -113
- package/src/model/ValidateRequest.js +121 -113
- package/src/model/VasV2PaymentsPost201Response.js +132 -132
- package/src/model/VasV2PaymentsPost201ResponseLinks.js +81 -81
- package/src/model/VasV2PaymentsPost201ResponseOrderInformation.js +124 -124
- package/src/model/VasV2PaymentsPost201ResponseOrderInformationJurisdiction.js +154 -154
- package/src/model/VasV2PaymentsPost201ResponseOrderInformationLineItems.js +116 -116
- package/src/model/VasV2PaymentsPost201ResponseOrderInformationTaxDetails.js +91 -91
- package/src/model/VasV2PaymentsPost201ResponseTaxInformation.js +91 -91
- package/src/model/VasV2PaymentsPost400Response.js +117 -117
- package/src/model/VasV2TaxVoid200Response.js +116 -116
- package/src/model/VasV2TaxVoid200ResponseVoidAmountDetails.js +91 -91
- package/src/model/VasV2TaxVoidsPost400Response.js +117 -117
- package/src/model/Vasv2taxBuyerInformation.js +82 -82
- package/src/model/Vasv2taxClientReferenceInformation.js +99 -99
- package/src/model/Vasv2taxMerchantInformation.js +82 -82
- package/src/model/Vasv2taxOrderInformation.js +137 -137
- package/src/model/Vasv2taxOrderInformationBillTo.js +127 -127
- package/src/model/Vasv2taxOrderInformationInvoiceDetails.js +82 -82
- package/src/model/Vasv2taxOrderInformationLineItems.js +197 -197
- package/src/model/Vasv2taxOrderInformationOrderAcceptance.js +110 -110
- package/src/model/Vasv2taxOrderInformationOrderOrigin.js +110 -110
- package/src/model/Vasv2taxOrderInformationShipTo.js +136 -136
- package/src/model/Vasv2taxOrderInformationShippingDetails.js +109 -109
- package/src/model/Vasv2taxTaxInformation.js +136 -136
- package/src/model/Vasv2taxidClientReferenceInformation.js +99 -99
- package/src/model/Vasv2taxidClientReferenceInformationPartner.js +91 -91
- package/src/model/VerifyCustomerAddressRequest.js +97 -97
- package/src/model/VoidCaptureRequest.js +97 -89
- package/src/model/VoidCreditRequest.js +97 -89
- package/src/model/VoidPaymentRequest.js +97 -89
- package/src/model/VoidRefundRequest.js +97 -89
- package/src/model/VoidTaxRequest.js +81 -81
- package/src/utilities/flex/TokenVerification.js +50 -50
|
@@ -1,532 +1,532 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var Constants = require('../util/Constants');
|
|
4
|
-
var Logger = require('../logging/Logger');
|
|
5
|
-
var Map = require('collections/map');
|
|
6
|
-
var ApiException = require('../util/ApiException');
|
|
7
|
-
var LogConfiguration = require('../logging/LogConfiguration');
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* This function has all the merchentConfig properties getters and setters methods
|
|
11
|
-
*
|
|
12
|
-
* @param result
|
|
13
|
-
*/
|
|
14
|
-
function MerchantConfig(result) {
|
|
15
|
-
|
|
16
|
-
/*Common Parameters*/
|
|
17
|
-
this.authenticationType = result.authenticationType;
|
|
18
|
-
this.url;
|
|
19
|
-
this.requestHost;
|
|
20
|
-
this.requestJsonPath = result.requestJsonPath;
|
|
21
|
-
this.merchantID = result.merchantID;
|
|
22
|
-
this.requestType;
|
|
23
|
-
this.requestTarget;
|
|
24
|
-
this.requestJsonData;
|
|
25
|
-
|
|
26
|
-
/* JWT Parameters*/
|
|
27
|
-
this.keysDirectory = result.keysDirectory;
|
|
28
|
-
this.keyAlias = result.keyAlias;
|
|
29
|
-
this.keyPass = result.keyPass;
|
|
30
|
-
this.keyType;
|
|
31
|
-
this.keyFilename = result.keyFileName;
|
|
32
|
-
this.useHttpClient;
|
|
33
|
-
|
|
34
|
-
/* proxy Parameters*/
|
|
35
|
-
this.useProxy = result.useProxy;
|
|
36
|
-
this.proxyAddress = result.proxyAddress;
|
|
37
|
-
this.proxyPort = result.proxyPort;
|
|
38
|
-
this.proxyUser = result.proxyUser;
|
|
39
|
-
this.proxyPassword = result.proxyPassword;
|
|
40
|
-
|
|
41
|
-
/*HTTP Parameters*/
|
|
42
|
-
this.merchantKeyId = result.merchantKeyId;
|
|
43
|
-
this.merchantsecretKey = result.merchantsecretKey;
|
|
44
|
-
|
|
45
|
-
/* MetaKey Parameters */
|
|
46
|
-
this.useMetaKey = result.useMetaKey;
|
|
47
|
-
this.portfolioID = result.portfolioID;
|
|
48
|
-
|
|
49
|
-
/* MutualAuth Parameters */
|
|
50
|
-
this.enableClientCert = result.enableClientCert;
|
|
51
|
-
this.clientCertDir = result.clientCertDir;
|
|
52
|
-
this.sslClientCert = result.sslClientCert;
|
|
53
|
-
this.privateKey = result.privateKey;
|
|
54
|
-
|
|
55
|
-
/* OAuth Parameters */
|
|
56
|
-
this.clientId = result.clientId;
|
|
57
|
-
this.clientSecret = result.clientSecret;
|
|
58
|
-
this.accessToken = result.accessToken;
|
|
59
|
-
this.refreshToken = result.refreshToken;
|
|
60
|
-
|
|
61
|
-
this.runEnvironment = result.runEnvironment;
|
|
62
|
-
|
|
63
|
-
this.solutionId = result.solutionId;
|
|
64
|
-
|
|
65
|
-
this.logConfiguration = new LogConfiguration(result.logConfiguration);
|
|
66
|
-
|
|
67
|
-
/* Fallback logic*/
|
|
68
|
-
this.defaultPropValues();
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
MerchantConfig.prototype.getAuthenticationType = function getAuthenticationType() {
|
|
73
|
-
return this.authenticationType;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
MerchantConfig.prototype.setAuthenticationType = function setAuthenticationType(authType) {
|
|
77
|
-
this.authenticationType = authType;
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
MerchantConfig.prototype.setMerchantID = function setMerchantID(merchantID) {
|
|
81
|
-
this.merchantID = merchantID;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
MerchantConfig.prototype.setRequestHost = function setRequestHost(requestHost) {
|
|
85
|
-
this.requestHost = requestHost;
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
MerchantConfig.prototype.setKeyAlias = function setKeyAlias(keyAlias) {
|
|
89
|
-
this.keyAlias = keyAlias;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
MerchantConfig.prototype.setKeyPass = function setKeyPass(keyPass) {
|
|
93
|
-
this.keyPass = keyPass;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
MerchantConfig.prototype.setKeysDirectory = function setKeysDirectory(keysDirectory) {
|
|
97
|
-
this.keysDirectory = keysDirectory;
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
MerchantConfig.prototype.setMerchantKeyID = function setMerchantKeyID(merchantKeyId) {
|
|
101
|
-
this.merchantKeyId = merchantKeyId;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
MerchantConfig.prototype.setMerchantsecretKey = function setMerchantsecretKey(merchantsecretKey) {
|
|
105
|
-
this.merchantsecretKey = merchantsecretKey;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
MerchantConfig.prototype.setUseMetaKey = function setUseMetaKey(useMetaKey) {
|
|
109
|
-
this.useMetaKey = useMetaKey;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
MerchantConfig.prototype.setPortfolioID = function setPortfolioID(portfolioID) {
|
|
113
|
-
this.portfolioID = portfolioID;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
MerchantConfig.prototype.setEnableClientCert = function setEnableClientCert(enableClientCert) {
|
|
117
|
-
this.enableClientCert = enableClientCert;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
MerchantConfig.prototype.setClientCertDir = function setClientCertDir(clientCertDir) {
|
|
121
|
-
this.clientCertDir = clientCertDir;
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
MerchantConfig.prototype.setSSLClientCert = function setSSLClientCert(sslClientCert) {
|
|
125
|
-
this.sslClientCert = sslClientCert;
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
MerchantConfig.prototype.setPrivateKey = function setPrivateKey(privateKey) {
|
|
129
|
-
this.privateKey = privateKey;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
MerchantConfig.prototype.setClientId = function setClientId(clientId) {
|
|
133
|
-
this.clientId = clientId;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
MerchantConfig.prototype.setClientSecret = function setClientSecret(clientSecret) {
|
|
137
|
-
this.clientSecret = clientSecret;
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
MerchantConfig.prototype.setAccessToken = function setAccessToken(accessToken) {
|
|
141
|
-
this.accessToken = accessToken;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
MerchantConfig.prototype.setRefreshToken = function setRefreshToken(refreshToken) {
|
|
145
|
-
this.refreshToken = refreshToken;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
MerchantConfig.prototype.setSolutionId = function setSolutionId(solutionId) {
|
|
149
|
-
this.solutionId = solutionId;
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
MerchantConfig.prototype.setURL = function setURL(url) {
|
|
153
|
-
this.url = url;
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
MerchantConfig.prototype.getMerchantID = function getMerchantID() {
|
|
157
|
-
return this.merchantID;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
MerchantConfig.prototype.getRequestHost = function getRequestHost() {
|
|
161
|
-
return this.requestHost;
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
MerchantConfig.prototype.getKeyAlias = function getKeyAlias() {
|
|
165
|
-
return this.keyAlias;
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
MerchantConfig.prototype.getKeyPass = function getKeyPass() {
|
|
169
|
-
return this.keyPass;
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
MerchantConfig.prototype.getUseMetaKey = function getUseMetaKey() {
|
|
173
|
-
return this.useMetaKey;
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
MerchantConfig.prototype.getPortfolioID = function getPortfolioID() {
|
|
177
|
-
return this.portfolioID;
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
MerchantConfig.prototype.getEnableClientCert = function getEnableClientCert() {
|
|
181
|
-
return this.enableClientCert;
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
MerchantConfig.prototype.getClientCertDir = function getClientCertDir() {
|
|
185
|
-
return this.clientCertDir;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
MerchantConfig.prototype.getSSLClientCert = function getSSLClientCert() {
|
|
189
|
-
return this.sslClientCert;
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
MerchantConfig.prototype.getPrivateKey = function getPrivateKey() {
|
|
193
|
-
return this.privateKey;
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
MerchantConfig.prototype.getClientId = function getClientId() {
|
|
197
|
-
return this.clientId;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
MerchantConfig.prototype.getClientSecret = function getClientSecret() {
|
|
201
|
-
return this.clientSecret;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
MerchantConfig.prototype.getAccessToken = function getAccessToken() {
|
|
205
|
-
return this.accessToken;
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
MerchantConfig.prototype.getRefreshToken = function getRefreshToken() {
|
|
209
|
-
return this.refreshToken;
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
MerchantConfig.prototype.getKeysDirectory = function getKeysDirectory() {
|
|
213
|
-
return this.keysDirectory;
|
|
214
|
-
};
|
|
215
|
-
|
|
216
|
-
MerchantConfig.prototype.getMerchantKeyID = function getMerchantKeyID() {
|
|
217
|
-
return this.merchantKeyId;
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
MerchantConfig.prototype.getMerchantsecretKey = function getMerchantsecretKey() {
|
|
221
|
-
return this.merchantsecretKey;
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
MerchantConfig.prototype.getSolutionId = function getSolutionId() {
|
|
225
|
-
return this.solutionId;
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
MerchantConfig.prototype.getURL = function getURL() {
|
|
229
|
-
return this.url;
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
MerchantConfig.prototype.getRequestTarget = function getRequestTarget() {
|
|
233
|
-
return this.requestTarget;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
MerchantConfig.prototype.setRequestJsonData = function setRequestJsonData(requestJsonData) {
|
|
237
|
-
this.requestJsonData = requestJsonData;
|
|
238
|
-
};
|
|
239
|
-
|
|
240
|
-
MerchantConfig.prototype.getRequestJsonData = function getRequestJsonData() {
|
|
241
|
-
return this.requestJsonData;
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
MerchantConfig.prototype.setRequestTarget = function setRequestTarget(requestTarget) {
|
|
245
|
-
this.requestTarget = requestTarget;
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
MerchantConfig.prototype.getRequestJsonPath = function getRequestJsonPath() {
|
|
249
|
-
return this.requestJsonPath;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
MerchantConfig.prototype.setRequestJsonPath = function setRequestJsonPath(requestJsonPath) {
|
|
253
|
-
this.requestJsonPath = requestJsonPath;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
MerchantConfig.prototype.getRequestType = function getRequestType() {
|
|
257
|
-
return this.requestType;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
MerchantConfig.prototype.setRequestType = function setRequestType(requestType) {
|
|
261
|
-
this.requestType = requestType;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
MerchantConfig.prototype.getRunEnvironment = function getRunEnvironment() {
|
|
265
|
-
return this.runEnvironment;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
MerchantConfig.prototype.setRunEnvironment = function setRunEnvironment(runEnvironment) {
|
|
269
|
-
this.runEnvironment = runEnvironment;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
MerchantConfig.prototype.getProxyAddress = function getProxyAddress() {
|
|
273
|
-
return this.proxyAddress;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
MerchantConfig.prototype.setProxyAddress = function setProxyAddress(proxyAddress) {
|
|
277
|
-
this.proxyAddress = proxyAddress;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
MerchantConfig.prototype.getProxyPort = function getProxyPort() {
|
|
281
|
-
return this.proxyPort;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
MerchantConfig.prototype.setProxyPort = function setProxyPort(proxyPort) {
|
|
285
|
-
this.proxyPort = proxyPort;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
MerchantConfig.prototype.getUseProxy = function getUseProxy() {
|
|
289
|
-
return this.useProxy;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
MerchantConfig.prototype.setUseProxy = function setUseProxy(useProxy) {
|
|
293
|
-
this.useProxy = useProxy;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
MerchantConfig.prototype.getProxyUser = function getProxyUser() {
|
|
297
|
-
return this.proxyUser;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
MerchantConfig.prototype.setProxyUser = function setProxyUser(proxyUser) {
|
|
301
|
-
this.proxyUser = proxyUser;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
MerchantConfig.prototype.getProxyPassword = function getProxyPassword() {
|
|
306
|
-
return this.proxyPassword;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
MerchantConfig.prototype.setProxyPassword = function setProxyPassword(proxyPassword) {
|
|
310
|
-
this.proxyPassword = proxyPassword;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
MerchantConfig.prototype.getKeyFileName = function getKeyFileName() {
|
|
314
|
-
return this.keyFilename;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
MerchantConfig.prototype.setKeyFileName = function setKeyFileName(keyFilename) {
|
|
318
|
-
this.keyFilename = keyFilename;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
MerchantConfig.prototype.getLogConfiguration = function getLogConfiguration() {
|
|
322
|
-
return this.logConfiguration;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
MerchantConfig.prototype.setLogConfiguration = function setLogConfiguration(logConfig) {
|
|
326
|
-
this.logConfiguration = new LogConfiguration(logConfig);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
MerchantConfig.prototype.runEnvironmentCheck = function runEnvironmentCheck(logger) {
|
|
330
|
-
|
|
331
|
-
/*url*/
|
|
332
|
-
if (this.runEnvironment === null || this.runEnvironment === "" || this.runEnvironment === undefined) {
|
|
333
|
-
ApiException.ApiException(Constants.RUN_ENVIRONMENT_REQ, logger);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
if (typeof (this.runEnvironment) !== "string") {
|
|
337
|
-
this.runEnvironment = this.runEnvironment.toString();
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
if (Constants.OLD_RUN_ENVIRONMENT_CONSTANTS.includes(this.runEnvironment.toUpperCase())) {
|
|
341
|
-
ApiException.ApiException(Constants.DEPRECATED_RUN_ENVIRONMENT, logger);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
this.setRequestHost(this.runEnvironment);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
}
|
|
348
|
-
//This method is for fallback
|
|
349
|
-
MerchantConfig.prototype.defaultPropValues = function defaultPropValues() {
|
|
350
|
-
|
|
351
|
-
var warningMessage = "";
|
|
352
|
-
//fallback for missing values
|
|
353
|
-
this.logConfiguration.getDefaultLoggingProperties(warningMessage);
|
|
354
|
-
|
|
355
|
-
var logger = Logger.getLogger(this, 'MerchantConfig');
|
|
356
|
-
logger.info(Constants.BEGIN_TRANSACTION);
|
|
357
|
-
|
|
358
|
-
if (warningMessage.length > 0)
|
|
359
|
-
logger.warn(warningMessage);
|
|
360
|
-
|
|
361
|
-
this.runEnvironmentCheck(logger);
|
|
362
|
-
|
|
363
|
-
if (this.authenticationType === null || this.authenticationType === "" || this.authenticationType === undefined) {
|
|
364
|
-
ApiException.ApiException(Constants.AUTHENTICATION_REQ, logger);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
if (typeof (this.useMetaKey) !== "boolean") {
|
|
368
|
-
this.useMetaKey = false;
|
|
369
|
-
}
|
|
370
|
-
else if(this.useMetaKey && (this.portfolioID === null || this.portfolioID === "" || this.portfolioID === undefined))
|
|
371
|
-
{
|
|
372
|
-
ApiException.ApiException(Constants.PORTFOLIO_ID_REQ, logger);
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
if (typeof (this.enableClientCert) !== "boolean") {
|
|
376
|
-
this.enableClientCert = false;
|
|
377
|
-
}
|
|
378
|
-
else if(this.enableClientCert)
|
|
379
|
-
{
|
|
380
|
-
if (this.clientCertDir === null || this.clientCertDir === "" || this.clientCertDir === undefined) {
|
|
381
|
-
ApiException.ApiException(Constants.CLIENT_CERT_DIR_EMPTY, logger);
|
|
382
|
-
}
|
|
383
|
-
else if (typeof (this.clientCertDir) !== "string") {
|
|
384
|
-
this.clientCertDir = this.clientCertDir.toString();
|
|
385
|
-
}
|
|
386
|
-
if (this.sslClientCert === null || this.sslClientCert === "" || this.sslClientCert === undefined) {
|
|
387
|
-
ApiException.ApiException(Constants.SSL_CLIENT_CERT_EMPTY, logger);
|
|
388
|
-
}
|
|
389
|
-
else if (typeof (this.sslClientCert) !== "string") {
|
|
390
|
-
this.sslClientCert = this.sslClientCert.toString();
|
|
391
|
-
}
|
|
392
|
-
if (this.privateKey === null || this.privateKey === "" || this.privateKey === undefined) {
|
|
393
|
-
ApiException.ApiException(Constants.PRIVATE_KEY_EMPTY, logger);
|
|
394
|
-
}
|
|
395
|
-
else if (typeof (this.privateKey) !== "string") {
|
|
396
|
-
this.privateKey = this.privateKey.toString();
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
var certFile = path.resolve(path.join(this.clientCertDir, this.sslClientCert));
|
|
400
|
-
var keyFile = path.resolve(path.join(this.clientCertDir, this.privateKey));
|
|
401
|
-
|
|
402
|
-
if(!(fs.existsSync(keyFile) && fs.existsSync(certFile)))
|
|
403
|
-
{
|
|
404
|
-
ApiException.ApiException(Constants.FILE_NOT_FOUND, logger);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
//authentication mechanism specific checks
|
|
410
|
-
if (typeof (this.authenticationType) === "string") {
|
|
411
|
-
if (this.authenticationType.toLowerCase() === Constants.HTTP) {
|
|
412
|
-
// verifying mandatory properties
|
|
413
|
-
if (this.merchantID === null || this.merchantID === "" || this.merchantID === undefined) {
|
|
414
|
-
ApiException.ApiException(Constants.MERCHANTID_REQ, logger);
|
|
415
|
-
}
|
|
416
|
-
else if (typeof (this.merchantID) !== "string") {
|
|
417
|
-
this.merchantID = this.merchantID.toString();
|
|
418
|
-
}
|
|
419
|
-
if (this.merchantKeyId === null || this.merchantKeyId === "" || this.merchantKeyId === undefined) {
|
|
420
|
-
ApiException.ApiException(Constants.MERCHANT_KEY_ID_REQ, logger);
|
|
421
|
-
}
|
|
422
|
-
else if (typeof (this.merchantKeyId) !== "string") {
|
|
423
|
-
this.merchantKeyId = this.merchantKeyId.toString();
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
if (this.merchantsecretKey === null || this.merchantsecretKey === "" || this.merchantsecretKey === undefined) {
|
|
427
|
-
ApiException.ApiException(Constants.MERCHANT_SECRET_KEY_REQ, logger);
|
|
428
|
-
}
|
|
429
|
-
else if (typeof (this.merchantsecretKey) !== "string") {
|
|
430
|
-
this.merchantsecretKey = this.merchantsecretKey.toString();
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
else if (this.authenticationType.toLowerCase() === Constants.JWT) {
|
|
435
|
-
if (this.merchantID === null || this.merchantID === "" || this.merchantID === undefined) {
|
|
436
|
-
ApiException.ApiException(Constants.MERCHANTID_REQ, logger);
|
|
437
|
-
}
|
|
438
|
-
else if (typeof (this.merchantID) !== "string") {
|
|
439
|
-
this.merchantID = this.merchantID.toString();
|
|
440
|
-
}
|
|
441
|
-
if (this.keyAlias === null || this.keyAlias === "" || this.keyAlias === undefined) {
|
|
442
|
-
this.keyAlias = this.merchantID;
|
|
443
|
-
logger.warn(Constants.KEY_ALIAS_NULL_EMPTY);
|
|
444
|
-
}
|
|
445
|
-
else if (this.keyAlias !== this.merchantID) {
|
|
446
|
-
this.keyAlias = this.merchantID;
|
|
447
|
-
logger.warn(Constants.INCORRECT_KEY_ALIAS);
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
if (this.keyPass === null || this.keyPass === "" || this.keyPass === undefined) {
|
|
451
|
-
this.keyPass = this.merchantID;
|
|
452
|
-
logger.warn(Constants.KEY_PASS_EMPTY);
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
if (this.keysDirectory === null || this.keysDirectory === "" || this.keysDirectory === undefined) {
|
|
456
|
-
this.keysDirectory = Constants.DEFAULT_KEYS_DIRECTORY;
|
|
457
|
-
logger.warn(Constants.KEY_DIRECTORY_EMPTY);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
if (this.keyFilename === null || this.keyFilename === "" || this.keyFilename === undefined) {
|
|
461
|
-
this.keyFilename = this.merchantID;
|
|
462
|
-
logger.warn(Constants.KEY_FILE_EMPTY);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
else if (this.authenticationType.toLowerCase() === Constants.OAUTH)
|
|
466
|
-
{
|
|
467
|
-
if (this.accessToken === null || this.accessToken === "" || this.accessToken === undefined) {
|
|
468
|
-
ApiException.ApiException(Constants.ACCESS_TOKEN_EMPTY, logger);
|
|
469
|
-
}
|
|
470
|
-
else if (typeof (this.accessToken) !== "string") {
|
|
471
|
-
this.accessToken = this.accessToken.toString();
|
|
472
|
-
}
|
|
473
|
-
if (this.refreshToken === null || this.refreshToken === "" || this.refreshToken === undefined) {
|
|
474
|
-
ApiException.ApiException(Constants.REFRESH_TOKEN_EMPTY, logger);
|
|
475
|
-
}
|
|
476
|
-
else if (typeof (this.refreshToken) !== "string") {
|
|
477
|
-
this.refreshToken = this.refreshToken.toString();
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
else if (this.authenticationType.toLowerCase() === Constants.MUTUAL_AUTH && this.enableClientCert)
|
|
481
|
-
{
|
|
482
|
-
if (this.clientId === null || this.clientId === "" || this.clientId === undefined) {
|
|
483
|
-
ApiException.ApiException(Constants.CLIENT_ID_EMPTY, logger);
|
|
484
|
-
}
|
|
485
|
-
else if (typeof (this.clientId) !== "string") {
|
|
486
|
-
this.clientId = this.clientId.toString();
|
|
487
|
-
}
|
|
488
|
-
if (this.clientSecret === null || this.clientSecret === "" || this.clientSecret === undefined) {
|
|
489
|
-
ApiException.ApiException(Constants.CLIENT_SECRET_EMPTY, logger);
|
|
490
|
-
}
|
|
491
|
-
else if (typeof (this.clientSecret) !== "string") {
|
|
492
|
-
this.clientSecret = this.clientSecret.toString();
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
else {
|
|
496
|
-
ApiException.ApiException(Constants.AUTH_ERROR, logger);
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
else {
|
|
500
|
-
ApiException.ApiException(Constants.AUTH_ERROR, logger);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* This method is to log all merchantConfic properties
|
|
505
|
-
* excluding HideMerchantConfigProperies defined in Constants
|
|
506
|
-
*
|
|
507
|
-
* @param {*} merchantConfig
|
|
508
|
-
*/
|
|
509
|
-
MerchantConfig.prototype.getAllProperties = function getAllProperties(merchantConfig) {
|
|
510
|
-
|
|
511
|
-
var hiddenProperties = Constants.HideMerchantConfigProps;
|
|
512
|
-
var hiddenPropertiesArray = [];
|
|
513
|
-
hiddenProperties.toString().split(',').forEach(function (each) {
|
|
514
|
-
hiddenPropertiesArray.push(each.trim());
|
|
515
|
-
});
|
|
516
|
-
|
|
517
|
-
var merchantMap = new Map(Object.entries(merchantConfig));
|
|
518
|
-
//iterating the merchantConfig Object
|
|
519
|
-
merchantMap.forEach(function (value, key) {
|
|
520
|
-
hiddenPropertiesArray.forEach(function (hide) {
|
|
521
|
-
if (key === hide) {
|
|
522
|
-
merchantMap.delete(key);
|
|
523
|
-
}
|
|
524
|
-
})
|
|
525
|
-
});
|
|
526
|
-
|
|
527
|
-
return merchantMap.toObject();
|
|
528
|
-
}
|
|
529
|
-
logger.clear();
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
module.exports = MerchantConfig;
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Constants = require('../util/Constants');
|
|
4
|
+
var Logger = require('../logging/Logger');
|
|
5
|
+
var Map = require('collections/map');
|
|
6
|
+
var ApiException = require('../util/ApiException');
|
|
7
|
+
var LogConfiguration = require('../logging/LogConfiguration');
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* This function has all the merchentConfig properties getters and setters methods
|
|
11
|
+
*
|
|
12
|
+
* @param result
|
|
13
|
+
*/
|
|
14
|
+
function MerchantConfig(result) {
|
|
15
|
+
|
|
16
|
+
/*Common Parameters*/
|
|
17
|
+
this.authenticationType = result.authenticationType;
|
|
18
|
+
this.url;
|
|
19
|
+
this.requestHost;
|
|
20
|
+
this.requestJsonPath = result.requestJsonPath;
|
|
21
|
+
this.merchantID = result.merchantID;
|
|
22
|
+
this.requestType;
|
|
23
|
+
this.requestTarget;
|
|
24
|
+
this.requestJsonData;
|
|
25
|
+
|
|
26
|
+
/* JWT Parameters*/
|
|
27
|
+
this.keysDirectory = result.keysDirectory;
|
|
28
|
+
this.keyAlias = result.keyAlias;
|
|
29
|
+
this.keyPass = result.keyPass;
|
|
30
|
+
this.keyType;
|
|
31
|
+
this.keyFilename = result.keyFileName;
|
|
32
|
+
this.useHttpClient;
|
|
33
|
+
|
|
34
|
+
/* proxy Parameters*/
|
|
35
|
+
this.useProxy = result.useProxy;
|
|
36
|
+
this.proxyAddress = result.proxyAddress;
|
|
37
|
+
this.proxyPort = result.proxyPort;
|
|
38
|
+
this.proxyUser = result.proxyUser;
|
|
39
|
+
this.proxyPassword = result.proxyPassword;
|
|
40
|
+
|
|
41
|
+
/*HTTP Parameters*/
|
|
42
|
+
this.merchantKeyId = result.merchantKeyId;
|
|
43
|
+
this.merchantsecretKey = result.merchantsecretKey;
|
|
44
|
+
|
|
45
|
+
/* MetaKey Parameters */
|
|
46
|
+
this.useMetaKey = result.useMetaKey;
|
|
47
|
+
this.portfolioID = result.portfolioID;
|
|
48
|
+
|
|
49
|
+
/* MutualAuth Parameters */
|
|
50
|
+
this.enableClientCert = result.enableClientCert;
|
|
51
|
+
this.clientCertDir = result.clientCertDir;
|
|
52
|
+
this.sslClientCert = result.sslClientCert;
|
|
53
|
+
this.privateKey = result.privateKey;
|
|
54
|
+
|
|
55
|
+
/* OAuth Parameters */
|
|
56
|
+
this.clientId = result.clientId;
|
|
57
|
+
this.clientSecret = result.clientSecret;
|
|
58
|
+
this.accessToken = result.accessToken;
|
|
59
|
+
this.refreshToken = result.refreshToken;
|
|
60
|
+
|
|
61
|
+
this.runEnvironment = result.runEnvironment;
|
|
62
|
+
|
|
63
|
+
this.solutionId = result.solutionId;
|
|
64
|
+
|
|
65
|
+
this.logConfiguration = new LogConfiguration(result.logConfiguration);
|
|
66
|
+
|
|
67
|
+
/* Fallback logic*/
|
|
68
|
+
this.defaultPropValues();
|
|
69
|
+
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
MerchantConfig.prototype.getAuthenticationType = function getAuthenticationType() {
|
|
73
|
+
return this.authenticationType;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
MerchantConfig.prototype.setAuthenticationType = function setAuthenticationType(authType) {
|
|
77
|
+
this.authenticationType = authType;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
MerchantConfig.prototype.setMerchantID = function setMerchantID(merchantID) {
|
|
81
|
+
this.merchantID = merchantID;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
MerchantConfig.prototype.setRequestHost = function setRequestHost(requestHost) {
|
|
85
|
+
this.requestHost = requestHost;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
MerchantConfig.prototype.setKeyAlias = function setKeyAlias(keyAlias) {
|
|
89
|
+
this.keyAlias = keyAlias;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
MerchantConfig.prototype.setKeyPass = function setKeyPass(keyPass) {
|
|
93
|
+
this.keyPass = keyPass;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
MerchantConfig.prototype.setKeysDirectory = function setKeysDirectory(keysDirectory) {
|
|
97
|
+
this.keysDirectory = keysDirectory;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
MerchantConfig.prototype.setMerchantKeyID = function setMerchantKeyID(merchantKeyId) {
|
|
101
|
+
this.merchantKeyId = merchantKeyId;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
MerchantConfig.prototype.setMerchantsecretKey = function setMerchantsecretKey(merchantsecretKey) {
|
|
105
|
+
this.merchantsecretKey = merchantsecretKey;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
MerchantConfig.prototype.setUseMetaKey = function setUseMetaKey(useMetaKey) {
|
|
109
|
+
this.useMetaKey = useMetaKey;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
MerchantConfig.prototype.setPortfolioID = function setPortfolioID(portfolioID) {
|
|
113
|
+
this.portfolioID = portfolioID;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
MerchantConfig.prototype.setEnableClientCert = function setEnableClientCert(enableClientCert) {
|
|
117
|
+
this.enableClientCert = enableClientCert;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
MerchantConfig.prototype.setClientCertDir = function setClientCertDir(clientCertDir) {
|
|
121
|
+
this.clientCertDir = clientCertDir;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
MerchantConfig.prototype.setSSLClientCert = function setSSLClientCert(sslClientCert) {
|
|
125
|
+
this.sslClientCert = sslClientCert;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
MerchantConfig.prototype.setPrivateKey = function setPrivateKey(privateKey) {
|
|
129
|
+
this.privateKey = privateKey;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
MerchantConfig.prototype.setClientId = function setClientId(clientId) {
|
|
133
|
+
this.clientId = clientId;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
MerchantConfig.prototype.setClientSecret = function setClientSecret(clientSecret) {
|
|
137
|
+
this.clientSecret = clientSecret;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
MerchantConfig.prototype.setAccessToken = function setAccessToken(accessToken) {
|
|
141
|
+
this.accessToken = accessToken;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
MerchantConfig.prototype.setRefreshToken = function setRefreshToken(refreshToken) {
|
|
145
|
+
this.refreshToken = refreshToken;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
MerchantConfig.prototype.setSolutionId = function setSolutionId(solutionId) {
|
|
149
|
+
this.solutionId = solutionId;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
MerchantConfig.prototype.setURL = function setURL(url) {
|
|
153
|
+
this.url = url;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
MerchantConfig.prototype.getMerchantID = function getMerchantID() {
|
|
157
|
+
return this.merchantID;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
MerchantConfig.prototype.getRequestHost = function getRequestHost() {
|
|
161
|
+
return this.requestHost;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
MerchantConfig.prototype.getKeyAlias = function getKeyAlias() {
|
|
165
|
+
return this.keyAlias;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
MerchantConfig.prototype.getKeyPass = function getKeyPass() {
|
|
169
|
+
return this.keyPass;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
MerchantConfig.prototype.getUseMetaKey = function getUseMetaKey() {
|
|
173
|
+
return this.useMetaKey;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
MerchantConfig.prototype.getPortfolioID = function getPortfolioID() {
|
|
177
|
+
return this.portfolioID;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
MerchantConfig.prototype.getEnableClientCert = function getEnableClientCert() {
|
|
181
|
+
return this.enableClientCert;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
MerchantConfig.prototype.getClientCertDir = function getClientCertDir() {
|
|
185
|
+
return this.clientCertDir;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
MerchantConfig.prototype.getSSLClientCert = function getSSLClientCert() {
|
|
189
|
+
return this.sslClientCert;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
MerchantConfig.prototype.getPrivateKey = function getPrivateKey() {
|
|
193
|
+
return this.privateKey;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
MerchantConfig.prototype.getClientId = function getClientId() {
|
|
197
|
+
return this.clientId;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
MerchantConfig.prototype.getClientSecret = function getClientSecret() {
|
|
201
|
+
return this.clientSecret;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
MerchantConfig.prototype.getAccessToken = function getAccessToken() {
|
|
205
|
+
return this.accessToken;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
MerchantConfig.prototype.getRefreshToken = function getRefreshToken() {
|
|
209
|
+
return this.refreshToken;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
MerchantConfig.prototype.getKeysDirectory = function getKeysDirectory() {
|
|
213
|
+
return this.keysDirectory;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
MerchantConfig.prototype.getMerchantKeyID = function getMerchantKeyID() {
|
|
217
|
+
return this.merchantKeyId;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
MerchantConfig.prototype.getMerchantsecretKey = function getMerchantsecretKey() {
|
|
221
|
+
return this.merchantsecretKey;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
MerchantConfig.prototype.getSolutionId = function getSolutionId() {
|
|
225
|
+
return this.solutionId;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
MerchantConfig.prototype.getURL = function getURL() {
|
|
229
|
+
return this.url;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
MerchantConfig.prototype.getRequestTarget = function getRequestTarget() {
|
|
233
|
+
return this.requestTarget;
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
MerchantConfig.prototype.setRequestJsonData = function setRequestJsonData(requestJsonData) {
|
|
237
|
+
this.requestJsonData = requestJsonData;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
MerchantConfig.prototype.getRequestJsonData = function getRequestJsonData() {
|
|
241
|
+
return this.requestJsonData;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
MerchantConfig.prototype.setRequestTarget = function setRequestTarget(requestTarget) {
|
|
245
|
+
this.requestTarget = requestTarget;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
MerchantConfig.prototype.getRequestJsonPath = function getRequestJsonPath() {
|
|
249
|
+
return this.requestJsonPath;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
MerchantConfig.prototype.setRequestJsonPath = function setRequestJsonPath(requestJsonPath) {
|
|
253
|
+
this.requestJsonPath = requestJsonPath;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
MerchantConfig.prototype.getRequestType = function getRequestType() {
|
|
257
|
+
return this.requestType;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
MerchantConfig.prototype.setRequestType = function setRequestType(requestType) {
|
|
261
|
+
this.requestType = requestType;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
MerchantConfig.prototype.getRunEnvironment = function getRunEnvironment() {
|
|
265
|
+
return this.runEnvironment;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
MerchantConfig.prototype.setRunEnvironment = function setRunEnvironment(runEnvironment) {
|
|
269
|
+
this.runEnvironment = runEnvironment;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
MerchantConfig.prototype.getProxyAddress = function getProxyAddress() {
|
|
273
|
+
return this.proxyAddress;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
MerchantConfig.prototype.setProxyAddress = function setProxyAddress(proxyAddress) {
|
|
277
|
+
this.proxyAddress = proxyAddress;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
MerchantConfig.prototype.getProxyPort = function getProxyPort() {
|
|
281
|
+
return this.proxyPort;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
MerchantConfig.prototype.setProxyPort = function setProxyPort(proxyPort) {
|
|
285
|
+
this.proxyPort = proxyPort;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
MerchantConfig.prototype.getUseProxy = function getUseProxy() {
|
|
289
|
+
return this.useProxy;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
MerchantConfig.prototype.setUseProxy = function setUseProxy(useProxy) {
|
|
293
|
+
this.useProxy = useProxy;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
MerchantConfig.prototype.getProxyUser = function getProxyUser() {
|
|
297
|
+
return this.proxyUser;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
MerchantConfig.prototype.setProxyUser = function setProxyUser(proxyUser) {
|
|
301
|
+
this.proxyUser = proxyUser;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
MerchantConfig.prototype.getProxyPassword = function getProxyPassword() {
|
|
306
|
+
return this.proxyPassword;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
MerchantConfig.prototype.setProxyPassword = function setProxyPassword(proxyPassword) {
|
|
310
|
+
this.proxyPassword = proxyPassword;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
MerchantConfig.prototype.getKeyFileName = function getKeyFileName() {
|
|
314
|
+
return this.keyFilename;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
MerchantConfig.prototype.setKeyFileName = function setKeyFileName(keyFilename) {
|
|
318
|
+
this.keyFilename = keyFilename;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
MerchantConfig.prototype.getLogConfiguration = function getLogConfiguration() {
|
|
322
|
+
return this.logConfiguration;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
MerchantConfig.prototype.setLogConfiguration = function setLogConfiguration(logConfig) {
|
|
326
|
+
this.logConfiguration = new LogConfiguration(logConfig);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
MerchantConfig.prototype.runEnvironmentCheck = function runEnvironmentCheck(logger) {
|
|
330
|
+
|
|
331
|
+
/*url*/
|
|
332
|
+
if (this.runEnvironment === null || this.runEnvironment === "" || this.runEnvironment === undefined) {
|
|
333
|
+
ApiException.ApiException(Constants.RUN_ENVIRONMENT_REQ, logger);
|
|
334
|
+
}
|
|
335
|
+
else {
|
|
336
|
+
if (typeof (this.runEnvironment) !== "string") {
|
|
337
|
+
this.runEnvironment = this.runEnvironment.toString();
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
if (Constants.OLD_RUN_ENVIRONMENT_CONSTANTS.includes(this.runEnvironment.toUpperCase())) {
|
|
341
|
+
ApiException.ApiException(Constants.DEPRECATED_RUN_ENVIRONMENT, logger);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
this.setRequestHost(this.runEnvironment);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
}
|
|
348
|
+
//This method is for fallback
|
|
349
|
+
MerchantConfig.prototype.defaultPropValues = function defaultPropValues() {
|
|
350
|
+
|
|
351
|
+
var warningMessage = "";
|
|
352
|
+
//fallback for missing values
|
|
353
|
+
this.logConfiguration.getDefaultLoggingProperties(warningMessage);
|
|
354
|
+
|
|
355
|
+
var logger = Logger.getLogger(this, 'MerchantConfig');
|
|
356
|
+
logger.info(Constants.BEGIN_TRANSACTION);
|
|
357
|
+
|
|
358
|
+
if (warningMessage.length > 0)
|
|
359
|
+
logger.warn(warningMessage);
|
|
360
|
+
|
|
361
|
+
this.runEnvironmentCheck(logger);
|
|
362
|
+
|
|
363
|
+
if (this.authenticationType === null || this.authenticationType === "" || this.authenticationType === undefined) {
|
|
364
|
+
ApiException.ApiException(Constants.AUTHENTICATION_REQ, logger);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (typeof (this.useMetaKey) !== "boolean") {
|
|
368
|
+
this.useMetaKey = false;
|
|
369
|
+
}
|
|
370
|
+
else if(this.useMetaKey && (this.portfolioID === null || this.portfolioID === "" || this.portfolioID === undefined))
|
|
371
|
+
{
|
|
372
|
+
ApiException.ApiException(Constants.PORTFOLIO_ID_REQ, logger);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
if (typeof (this.enableClientCert) !== "boolean") {
|
|
376
|
+
this.enableClientCert = false;
|
|
377
|
+
}
|
|
378
|
+
else if(this.enableClientCert)
|
|
379
|
+
{
|
|
380
|
+
if (this.clientCertDir === null || this.clientCertDir === "" || this.clientCertDir === undefined) {
|
|
381
|
+
ApiException.ApiException(Constants.CLIENT_CERT_DIR_EMPTY, logger);
|
|
382
|
+
}
|
|
383
|
+
else if (typeof (this.clientCertDir) !== "string") {
|
|
384
|
+
this.clientCertDir = this.clientCertDir.toString();
|
|
385
|
+
}
|
|
386
|
+
if (this.sslClientCert === null || this.sslClientCert === "" || this.sslClientCert === undefined) {
|
|
387
|
+
ApiException.ApiException(Constants.SSL_CLIENT_CERT_EMPTY, logger);
|
|
388
|
+
}
|
|
389
|
+
else if (typeof (this.sslClientCert) !== "string") {
|
|
390
|
+
this.sslClientCert = this.sslClientCert.toString();
|
|
391
|
+
}
|
|
392
|
+
if (this.privateKey === null || this.privateKey === "" || this.privateKey === undefined) {
|
|
393
|
+
ApiException.ApiException(Constants.PRIVATE_KEY_EMPTY, logger);
|
|
394
|
+
}
|
|
395
|
+
else if (typeof (this.privateKey) !== "string") {
|
|
396
|
+
this.privateKey = this.privateKey.toString();
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
var certFile = path.resolve(path.join(this.clientCertDir, this.sslClientCert));
|
|
400
|
+
var keyFile = path.resolve(path.join(this.clientCertDir, this.privateKey));
|
|
401
|
+
|
|
402
|
+
if(!(fs.existsSync(keyFile) && fs.existsSync(certFile)))
|
|
403
|
+
{
|
|
404
|
+
ApiException.ApiException(Constants.FILE_NOT_FOUND, logger);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
//authentication mechanism specific checks
|
|
410
|
+
if (typeof (this.authenticationType) === "string") {
|
|
411
|
+
if (this.authenticationType.toLowerCase() === Constants.HTTP) {
|
|
412
|
+
// verifying mandatory properties
|
|
413
|
+
if (this.merchantID === null || this.merchantID === "" || this.merchantID === undefined) {
|
|
414
|
+
ApiException.ApiException(Constants.MERCHANTID_REQ, logger);
|
|
415
|
+
}
|
|
416
|
+
else if (typeof (this.merchantID) !== "string") {
|
|
417
|
+
this.merchantID = this.merchantID.toString();
|
|
418
|
+
}
|
|
419
|
+
if (this.merchantKeyId === null || this.merchantKeyId === "" || this.merchantKeyId === undefined) {
|
|
420
|
+
ApiException.ApiException(Constants.MERCHANT_KEY_ID_REQ, logger);
|
|
421
|
+
}
|
|
422
|
+
else if (typeof (this.merchantKeyId) !== "string") {
|
|
423
|
+
this.merchantKeyId = this.merchantKeyId.toString();
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
if (this.merchantsecretKey === null || this.merchantsecretKey === "" || this.merchantsecretKey === undefined) {
|
|
427
|
+
ApiException.ApiException(Constants.MERCHANT_SECRET_KEY_REQ, logger);
|
|
428
|
+
}
|
|
429
|
+
else if (typeof (this.merchantsecretKey) !== "string") {
|
|
430
|
+
this.merchantsecretKey = this.merchantsecretKey.toString();
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
else if (this.authenticationType.toLowerCase() === Constants.JWT) {
|
|
435
|
+
if (this.merchantID === null || this.merchantID === "" || this.merchantID === undefined) {
|
|
436
|
+
ApiException.ApiException(Constants.MERCHANTID_REQ, logger);
|
|
437
|
+
}
|
|
438
|
+
else if (typeof (this.merchantID) !== "string") {
|
|
439
|
+
this.merchantID = this.merchantID.toString();
|
|
440
|
+
}
|
|
441
|
+
if (this.keyAlias === null || this.keyAlias === "" || this.keyAlias === undefined) {
|
|
442
|
+
this.keyAlias = this.merchantID;
|
|
443
|
+
logger.warn(Constants.KEY_ALIAS_NULL_EMPTY);
|
|
444
|
+
}
|
|
445
|
+
else if (this.keyAlias !== this.merchantID) {
|
|
446
|
+
this.keyAlias = this.merchantID;
|
|
447
|
+
logger.warn(Constants.INCORRECT_KEY_ALIAS);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (this.keyPass === null || this.keyPass === "" || this.keyPass === undefined) {
|
|
451
|
+
this.keyPass = this.merchantID;
|
|
452
|
+
logger.warn(Constants.KEY_PASS_EMPTY);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
if (this.keysDirectory === null || this.keysDirectory === "" || this.keysDirectory === undefined) {
|
|
456
|
+
this.keysDirectory = Constants.DEFAULT_KEYS_DIRECTORY;
|
|
457
|
+
logger.warn(Constants.KEY_DIRECTORY_EMPTY);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
if (this.keyFilename === null || this.keyFilename === "" || this.keyFilename === undefined) {
|
|
461
|
+
this.keyFilename = this.merchantID;
|
|
462
|
+
logger.warn(Constants.KEY_FILE_EMPTY);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
else if (this.authenticationType.toLowerCase() === Constants.OAUTH)
|
|
466
|
+
{
|
|
467
|
+
if (this.accessToken === null || this.accessToken === "" || this.accessToken === undefined) {
|
|
468
|
+
ApiException.ApiException(Constants.ACCESS_TOKEN_EMPTY, logger);
|
|
469
|
+
}
|
|
470
|
+
else if (typeof (this.accessToken) !== "string") {
|
|
471
|
+
this.accessToken = this.accessToken.toString();
|
|
472
|
+
}
|
|
473
|
+
if (this.refreshToken === null || this.refreshToken === "" || this.refreshToken === undefined) {
|
|
474
|
+
ApiException.ApiException(Constants.REFRESH_TOKEN_EMPTY, logger);
|
|
475
|
+
}
|
|
476
|
+
else if (typeof (this.refreshToken) !== "string") {
|
|
477
|
+
this.refreshToken = this.refreshToken.toString();
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
else if (this.authenticationType.toLowerCase() === Constants.MUTUAL_AUTH && this.enableClientCert)
|
|
481
|
+
{
|
|
482
|
+
if (this.clientId === null || this.clientId === "" || this.clientId === undefined) {
|
|
483
|
+
ApiException.ApiException(Constants.CLIENT_ID_EMPTY, logger);
|
|
484
|
+
}
|
|
485
|
+
else if (typeof (this.clientId) !== "string") {
|
|
486
|
+
this.clientId = this.clientId.toString();
|
|
487
|
+
}
|
|
488
|
+
if (this.clientSecret === null || this.clientSecret === "" || this.clientSecret === undefined) {
|
|
489
|
+
ApiException.ApiException(Constants.CLIENT_SECRET_EMPTY, logger);
|
|
490
|
+
}
|
|
491
|
+
else if (typeof (this.clientSecret) !== "string") {
|
|
492
|
+
this.clientSecret = this.clientSecret.toString();
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
else {
|
|
496
|
+
ApiException.ApiException(Constants.AUTH_ERROR, logger);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
else {
|
|
500
|
+
ApiException.ApiException(Constants.AUTH_ERROR, logger);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* This method is to log all merchantConfic properties
|
|
505
|
+
* excluding HideMerchantConfigProperies defined in Constants
|
|
506
|
+
*
|
|
507
|
+
* @param {*} merchantConfig
|
|
508
|
+
*/
|
|
509
|
+
MerchantConfig.prototype.getAllProperties = function getAllProperties(merchantConfig) {
|
|
510
|
+
|
|
511
|
+
var hiddenProperties = Constants.HideMerchantConfigProps;
|
|
512
|
+
var hiddenPropertiesArray = [];
|
|
513
|
+
hiddenProperties.toString().split(',').forEach(function (each) {
|
|
514
|
+
hiddenPropertiesArray.push(each.trim());
|
|
515
|
+
});
|
|
516
|
+
|
|
517
|
+
var merchantMap = new Map(Object.entries(merchantConfig));
|
|
518
|
+
//iterating the merchantConfig Object
|
|
519
|
+
merchantMap.forEach(function (value, key) {
|
|
520
|
+
hiddenPropertiesArray.forEach(function (hide) {
|
|
521
|
+
if (key === hide) {
|
|
522
|
+
merchantMap.delete(key);
|
|
523
|
+
}
|
|
524
|
+
})
|
|
525
|
+
});
|
|
526
|
+
|
|
527
|
+
return merchantMap.toObject();
|
|
528
|
+
}
|
|
529
|
+
logger.clear();
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
module.exports = MerchantConfig;
|