cybersource-rest-client 0.0.76 → 0.0.77
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/docs/AddNegativeListRequest.md +1 -1
- package/docs/Boardingv1registrationsIntegrationInformation.md +1 -0
- package/docs/Boardingv1registrationsIntegrationInformationMsd.md +8 -0
- package/docs/CheckPayerAuthEnrollmentRequest.md +1 -1
- package/docs/CreateSubscriptionRequest.md +1 -1
- package/docs/CreateSubscriptionRequest1.md +1 -1
- package/docs/FraudMarkingActionRequest.md +1 -1
- package/docs/GenerateUnifiedCheckoutV1CaptureContextRequest.md +20 -0
- package/docs/GetAllSubscriptionsResponseOrderInformation.md +1 -1
- package/docs/GetAllSubscriptionsResponseOrderInformationAmountDetails.md +11 -0
- package/docs/GetAllSubscriptionsResponseOrderInformationAmountDetailsSurcharge.md +8 -0
- package/docs/InlineResponse20016.md +2 -2
- package/docs/InlineResponse2005IntegrationInformation.md +1 -0
- package/docs/InlineResponse2011TokenizedCard.md +1 -1
- package/docs/InlineResponse2019.md +14 -0
- package/docs/InlineResponse2019ClientReferenceInformation.md +8 -0
- package/docs/{InlineResponse20016ErrorInformation.md → InlineResponse2019ErrorInformation.md} +1 -1
- package/docs/InlineResponse2019OrderInformation.md +8 -0
- package/docs/{InlineResponse20016OrderInformationCurrencyConversion.md → InlineResponse2019OrderInformationCurrencyConversion.md} +2 -2
- package/docs/{InlineResponse20016OrderInformationCurrencyConversionOffer.md → InlineResponse2019OrderInformationCurrencyConversionOffer.md} +1 -1
- package/docs/InlineResponse2019ProcessorInformation.md +8 -0
- package/docs/InlineResponse40010.md +13 -0
- package/docs/InlineResponse404.md +1 -2
- package/docs/InlineResponse4041.md +2 -5
- package/docs/InlineResponse4042.md +5 -5
- package/docs/{InlineResponse4041Details.md → InlineResponse4042Details.md} +1 -1
- package/docs/InlineResponse4043.md +5 -3
- package/docs/InlineResponse4044.md +3 -4
- package/docs/{InlineResponse4043Details.md → InlineResponse4044Details.md} +1 -1
- package/docs/InlineResponse4045.md +3 -3
- package/docs/InlineResponse4046.md +11 -0
- package/docs/InlineResponse404Errors.md +9 -0
- package/docs/{InlineResponse5004.md → InlineResponse5022.md} +1 -1
- package/docs/OfferRequest.md +11 -0
- package/docs/OffersApi.md +62 -0
- package/docs/PayerAuthSetupRequest.md +1 -1
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeatures.md +20 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesAfterPay.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesApplePay.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesBancontact.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesClickToPay.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDecisionManager.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDragonPay.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesECheck.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesGooglePay.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesIdeal.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesKonbini.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMultibanco.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMyBank.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesP24.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayPal.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayerAuthentication.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPortfolioAccessofSensitiveData.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTinkPayByBank.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTokenManagement.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesUnifiedClickToPaySDK.md +8 -0
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesVenmo.md +8 -0
- package/docs/PtsV2CreditsPost201Response.md +1 -0
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.md +1 -1
- package/docs/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.md +1 -1
- package/docs/PtsV2PaymentsPost201ResponseErrorInformation.md +1 -1
- package/docs/PtsV2PaymentsRefundPost201Response.md +1 -0
- package/docs/PtsV2PaymentsRefundPost201ResponseErrorInformation.md +10 -0
- package/docs/Ptsv1pullfundstransferAggregatorInformation.md +15 -0
- package/docs/Ptsv1pullfundstransferAggregatorInformationSubMerchant.md +8 -0
- package/docs/Ptsv1pullfundstransferClientReferenceInformation.md +11 -0
- package/docs/Ptsv1pullfundstransferMerchantInformation.md +8 -0
- package/docs/Ptsv1pullfundstransferMerchantInformationMerchantDescriptor.md +17 -0
- package/docs/Ptsv1pullfundstransferOrderInformation.md +9 -0
- package/docs/Ptsv1pullfundstransferOrderInformationAmountDetails.md +12 -0
- package/docs/Ptsv1pullfundstransferProcessingInformation.md +14 -0
- package/docs/Ptsv1pullfundstransferProcessingInformationFundingOptions.md +8 -0
- package/docs/Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiator.md +11 -0
- package/docs/Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiatorOriginatorInitiatedTransaction.md +9 -0
- package/docs/Ptsv1pullfundstransferProcessingInformationPayoutsOptions.md +8 -0
- package/docs/Ptsv1pullfundstransferProcessingInformationRecurringOptions.md +8 -0
- package/docs/Ptsv1pullfundstransferRecipientInformation.md +31 -0
- package/docs/Ptsv1pullfundstransferRecipientInformationPersonalIdentification.md +11 -0
- package/docs/Ptsv1pullfundstransferSenderInformation.md +31 -0
- package/docs/Ptsv1pullfundstransferSenderInformationAccount.md +9 -0
- package/docs/Ptsv1pullfundstransferSenderInformationConsumerAuthentication.md +9 -0
- package/docs/Ptsv1pullfundstransferSenderInformationConsumerAuthenticationStrongAuthentication.md +12 -0
- package/docs/Ptsv1pullfundstransferSenderInformationPaymentInformation.md +13 -0
- package/docs/Ptsv1pullfundstransferSenderInformationPaymentInformationCard.md +12 -0
- package/docs/Ptsv1pullfundstransferSenderInformationPaymentInformationCustomer.md +8 -0
- package/docs/Ptsv1pullfundstransferSenderInformationPaymentInformationInstrumentIdentifier.md +8 -0
- package/docs/Ptsv1pullfundstransferSenderInformationPaymentInformationPaymentInstrument.md +8 -0
- package/docs/Ptsv1pullfundstransferSenderInformationPaymentInformationTokenizedCard.md +13 -0
- package/docs/Ptsv1pullfundstransferSenderInformationPersonalIdentification.md +11 -0
- package/docs/Ptsv1pullfundstransferidrefundOrderInformation.md +8 -0
- package/docs/Ptsv1pullfundstransferidrefundOrderInformationAmountDetails.md +8 -0
- package/docs/Ptsv1pullfundstransferidreversalReversalInformation.md +8 -0
- package/docs/Ptsv1pullfundstransferidreversalReversalInformationAmountDetails.md +8 -0
- package/docs/Ptsv1pushfundstransferMerchantInformation.md +2 -1
- package/docs/Ptsv1pushfundstransferMerchantInformationMerchantDescriptor.md +14 -0
- package/docs/Ptsv1pushfundstransferPaymentInformation.md +11 -0
- package/docs/Ptsv1pushfundstransferPaymentInformationCard.md +12 -0
- package/docs/Ptsv1pushfundstransferPaymentInformationCustomer.md +8 -0
- package/docs/Ptsv1pushfundstransferPaymentInformationInstrumentIdentifier.md +8 -0
- package/docs/Ptsv1pushfundstransferPaymentInformationPaymentInstrument.md +8 -0
- package/docs/Ptsv1pushfundstransferProcessingInformation.md +1 -0
- package/docs/Ptsv1pushfundstransferProcessingInformationPayoutsOptions.md +1 -1
- package/docs/Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.md +1 -1
- package/docs/Ptsv2creditsProcessingInformation.md +1 -0
- package/docs/Ptsv2creditsSenderInformation.md +1 -0
- package/docs/Ptsv2paymentsProcessingInformation.md +1 -0
- package/docs/Ptsv2paymentsidrefundsProcessingInformation.md +1 -0
- package/docs/Ptsv2payoutsProcessingInformationPayoutsOptions.md +1 -1
- package/docs/PullFunds201Response.md +14 -0
- package/docs/PullFunds201ResponseErrorInformation.md +10 -0
- package/docs/PullFunds201ResponseErrorInformationDetails.md +9 -0
- package/docs/PullFunds201ResponseLinks.md +13 -0
- package/docs/PullFunds201ResponseLinksCustomer.md +9 -0
- package/docs/PullFunds201ResponseLinksInstrumentIdentifier.md +9 -0
- package/docs/PullFunds201ResponseLinksPaymentInstrument.md +9 -0
- package/docs/PullFunds201ResponseLinksRefund.md +9 -0
- package/docs/PullFunds201ResponseLinksReversal.md +9 -0
- package/docs/PullFunds201ResponseLinksSelf.md +9 -0
- package/docs/PullFunds201ResponseOrderInformation.md +8 -0
- package/docs/PullFunds201ResponseOrderInformationAmountDetails.md +9 -0
- package/docs/PullFunds201ResponseProcessorInformation.md +15 -0
- package/docs/PullFunds201ResponseProcessorInformationAvs.md +8 -0
- package/docs/PullFunds201ResponseProcessorInformationConsumerAuthenticationResponse.md +8 -0
- package/docs/PullFundsApi.md +209 -0
- package/docs/PullFundsRefund201Response.md +13 -0
- package/docs/PullFundsRefund201ResponseLinks.md +8 -0
- package/docs/PullFundsRefund201ResponseLinksSelf.md +9 -0
- package/docs/PullFundsRefund201ResponseProcessorInformation.md +9 -0
- package/docs/PullFundsRefundRequest.md +9 -0
- package/docs/PullFundsRequest.md +14 -0
- package/docs/PullFundsReversal201Response.md +13 -0
- package/docs/PullFundsReversal201ResponseErrorInformation.md +10 -0
- package/docs/PullFundsReversal201ResponseErrorInformationDetails.md +9 -0
- package/docs/PullFundsReversal201ResponseLinks.md +8 -0
- package/docs/PullFundsReversal201ResponseLinksSelf.md +9 -0
- package/docs/PullFundsReversal201ResponseProcessorInformation.md +11 -0
- package/docs/PullFundsReversal400Response.md +13 -0
- package/docs/PullFundsReversalRequest.md +9 -0
- package/docs/PushFunds201ResponseErrorInformation.md +1 -1
- package/docs/PushFunds201ResponseProcessorInformation.md +1 -0
- package/docs/PushFunds201ResponseProcessorInformationMerchantAdvice.md +9 -0
- package/docs/PushFundsRequest.md +1 -0
- package/docs/Rbsv1subscriptionsOrderInformation.md +8 -0
- package/docs/Rbsv1subscriptionsidOrderInformationAmountDetails.md +1 -0
- package/docs/Riskv1addressverificationsOrderInformationLineItems.md +1 -1
- package/docs/Riskv1decisionsClientReferenceInformation.md +1 -1
- package/docs/Riskv1decisionsOrderInformationLineItems.md +1 -1
- package/docs/Riskv1liststypeentriesOrderInformationLineItems.md +1 -1
- package/docs/SaveAsymEgressKey.md +1 -1
- package/docs/TmsBinLookupPaymentAccountInformationFeatures.md +4 -1
- package/docs/Tmsv2TokenizedCard.md +1 -1
- package/docs/Tmsv2tokenizeProcessingInformation.md +1 -1
- package/docs/{TransientTokenDataApi.md → TransientTokenDataV2Api.md} +54 -7
- package/docs/Ucv1sessionsAppearance.md +9 -0
- package/docs/Ucv1sessionsAppearanceVariables.md +72 -0
- package/docs/Ucv1sessionsCaptureMandate.md +17 -0
- package/docs/Ucv1sessionsCaptureMandateCPF.md +8 -0
- package/docs/Ucv1sessionsCompleteMandate.md +11 -0
- package/docs/Ucv1sessionsCompleteMandateTms.md +9 -0
- package/docs/Ucv1sessionsData.md +17 -0
- package/docs/Ucv1sessionsDataBuyerInformation.md +12 -0
- package/docs/Ucv1sessionsDataBuyerInformationPersonalIdentification.md +10 -0
- package/docs/Ucv1sessionsDataConsumerAuthenticationInformation.md +10 -0
- package/docs/Ucv1sessionsDataDeviceInformation.md +8 -0
- package/docs/Ucv1sessionsDataMerchantDefinedInformation.md +9 -0
- package/docs/Ucv1sessionsDataMerchantInformation.md +8 -0
- package/docs/Ucv1sessionsDataMerchantInformationMerchantDescriptor.md +15 -0
- package/docs/Ucv1sessionsDataOrderInformation.md +12 -0
- package/docs/Ucv1sessionsDataOrderInformationAmountDetails.md +15 -0
- package/docs/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails.md +9 -0
- package/docs/Ucv1sessionsDataOrderInformationBillTo.md +26 -0
- package/docs/Ucv1sessionsDataOrderInformationBillToCompany.md +14 -0
- package/docs/Ucv1sessionsDataPaymentInformation.md +8 -0
- package/docs/Ucv1sessionsDataPaymentInformationCard.md +8 -0
- package/docs/Ucv1sessionsDataProcessingInformation.md +12 -0
- package/docs/Ucv1sessionsDataProcessingInformationAuthorizationOptions.md +12 -0
- package/docs/Ucv1sessionsDataProcessingInformationAuthorizationOptionsInitiator.md +9 -0
- package/docs/Ucv1sessionsDataRecipientInformation.md +16 -0
- package/docs/Ucv1sessionsPaymentConfigurations.md +10 -0
- package/docs/Ucv1sessionsPaymentConfigurationsCLICKTOPAY.md +8 -0
- package/docs/Ucv1sessionsPaymentConfigurationsGOOGLEPAY.md +8 -0
- package/docs/Ucv1sessionsPaymentConfigurationsTMSTOKEN.md +10 -0
- package/docs/Ucv1sessionsPaymentConfigurationsTMSTOKENCustomer.md +8 -0
- package/docs/Ucv1sessionsPaymentConfigurationsTMSTOKENInstrumentIdentifiers.md +8 -0
- package/docs/Ucv1sessionsPaymentConfigurationsTMSTOKENPaymentInstruments.md +8 -0
- package/docs/Ucv1sessionsTransientTokenResponseOptions.md +8 -0
- package/docs/UnifiedCheckoutV1CaptureContextApi.md +55 -0
- package/docs/Upv1capturecontextsDataOrderInformationBillToCompany.md +3 -3
- package/docs/Upv1capturecontextsOrderInformation.md +1 -1
- package/docs/Upv1capturecontextsOrderInformationBillTo.md +26 -0
- package/docs/Upv1capturecontextsOrderInformationBillToCompany.md +18 -0
- package/docs/ValidateExportComplianceRequest.md +1 -1
- package/docs/ValidateRequest.md +1 -1
- package/docs/Vasv1currencyconversionClientReferenceInformation.md +12 -0
- package/docs/Vasv1currencyconversionClientReferenceInformationPartner.md +9 -0
- package/docs/Vasv1currencyconversionOrderInformation.md +9 -0
- package/docs/Vasv1currencyconversionOrderInformationAmountDetails.md +9 -0
- package/docs/Vasv1currencyconversionOrderInformationCurrencyConversion.md +8 -0
- package/docs/Vasv1currencyconversionPaymentInformation.md +8 -0
- package/docs/Vasv1currencyconversionPaymentInformationCard.md +8 -0
- package/docs/Vasv1currencyconversionPointOfSaleInformation.md +9 -0
- package/docs/VerifyCustomerAddressRequest.md +1 -1
- package/package.json +5 -2
- package/src/api/BankAccountValidationApi.js +4 -4
- package/src/api/CustomerApi.js +4 -4
- package/src/api/CustomerPaymentInstrumentApi.js +4 -4
- package/src/api/CustomerShippingAddressApi.js +4 -4
- package/src/api/DeviceDeAssociationApi.js +4 -4
- package/src/api/DeviceSearchApi.js +4 -4
- package/src/api/InstrumentIdentifierApi.js +4 -4
- package/src/api/ManageWebhooksApi.js +4 -4
- package/src/api/MerchantBoardingApi.js +4 -4
- package/src/api/MerchantDefinedFieldsApi.js +4 -4
- package/src/api/OffersApi.js +107 -4
- package/src/api/PaymentInstrumentApi.js +4 -4
- package/src/api/PlansApi.js +4 -4
- package/src/api/PullFundsApi.js +392 -0
- package/src/api/SubscriptionsApi.js +4 -4
- package/src/api/SubscriptionsFollowOnsApi.js +4 -4
- package/src/api/TokenApi.js +4 -4
- package/src/api/TokenizedCardApi.js +4 -4
- package/src/api/{TransientTokenDataApi.js → TransientTokenDataV2Api.js} +75 -10
- package/src/api/UnifiedCheckoutV1CaptureContextApi.js +120 -0
- package/src/authentication/core/MerchantConfig.js +7 -1
- package/src/authentication/jwt/JWTSigToken.js +104 -32
- package/src/authentication/util/Constants.js +1 -0
- package/src/index.js +761 -56
- package/src/model/AddNegativeListRequest.js +6 -6
- package/src/model/Boardingv1registrationsIntegrationInformation.js +12 -4
- package/src/model/Boardingv1registrationsIntegrationInformationMsd.js +82 -0
- package/src/model/CheckPayerAuthEnrollmentRequest.js +6 -6
- package/src/model/CreateSubscriptionRequest.js +6 -6
- package/src/model/CreateSubscriptionRequest1.js +6 -6
- package/src/model/FraudMarkingActionRequest.js +6 -6
- package/src/model/GenerateUnifiedCheckoutV1CaptureContextRequest.js +184 -0
- package/src/model/GetAllSubscriptionsResponseOrderInformation.js +6 -6
- package/src/model/GetAllSubscriptionsResponseOrderInformationAmountDetails.js +108 -0
- package/src/model/GetAllSubscriptionsResponseOrderInformationAmountDetailsSurcharge.js +82 -0
- package/src/model/InlineResponse20016.js +8 -8
- package/src/model/InlineResponse2005IntegrationInformation.js +12 -4
- package/src/model/InlineResponse2011TokenizedCard.js +1 -1
- package/src/model/InlineResponse2019.js +135 -0
- package/src/model/{Kmsegressv2keysasymClientReferenceInformation.js → InlineResponse2019ClientReferenceInformation.js} +9 -10
- package/src/model/{InlineResponse20016ErrorInformation.js → InlineResponse2019ErrorInformation.js} +8 -8
- package/src/model/InlineResponse2019OrderInformation.js +81 -0
- package/src/model/{InlineResponse20016OrderInformationCurrencyConversion.js → InlineResponse2019OrderInformationCurrencyConversion.js} +13 -13
- package/src/model/{InlineResponse20016OrderInformationCurrencyConversionOffer.js → InlineResponse2019OrderInformationCurrencyConversionOffer.js} +8 -8
- package/src/model/InlineResponse2019ProcessorInformation.js +82 -0
- package/src/model/InlineResponse40010.js +129 -0
- package/src/model/InlineResponse404.js +8 -18
- package/src/model/InlineResponse4041.js +8 -35
- package/src/model/InlineResponse4042.js +15 -14
- package/src/model/{InlineResponse4041Details.js → InlineResponse4042Details.js} +8 -8
- package/src/model/InlineResponse4043.js +26 -6
- package/src/model/InlineResponse4044.js +12 -24
- package/src/model/{InlineResponse4043Details.js → InlineResponse4044Details.js} +8 -8
- package/src/model/InlineResponse4045.js +17 -17
- package/src/model/InlineResponse4046.js +109 -0
- package/src/model/InlineResponse404Errors.js +91 -0
- package/src/model/{InlineResponse5004.js → InlineResponse5022.js} +8 -8
- package/src/model/OfferRequest.js +105 -0
- package/src/model/PayerAuthSetupRequest.js +6 -6
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeatures.js +164 -4
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesAfterPay.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesApplePay.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesBancontact.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesClickToPay.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDecisionManager.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDragonPay.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesECheck.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesGooglePay.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesIdeal.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesKonbini.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMultibanco.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMyBank.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesP24.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayPal.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayerAuthentication.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPortfolioAccessofSensitiveData.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTinkPayByBank.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTokenManagement.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesUnifiedClickToPaySDK.js +82 -0
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesVenmo.js +82 -0
- package/src/model/PtsV2CreditsPost201Response.js +12 -4
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.js +1 -1
- package/src/model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.js +1 -1
- package/src/model/PtsV2PaymentsPost201ResponseErrorInformation.js +1 -1
- package/src/model/PtsV2PaymentsRefundPost201Response.js +12 -4
- package/src/model/PtsV2PaymentsRefundPost201ResponseErrorInformation.js +99 -0
- package/src/model/Ptsv1pullfundstransferAggregatorInformation.js +144 -0
- package/src/model/Ptsv1pullfundstransferAggregatorInformationSubMerchant.js +82 -0
- package/src/model/Ptsv1pullfundstransferClientReferenceInformation.js +109 -0
- package/src/model/Ptsv1pullfundstransferMerchantInformation.js +81 -0
- package/src/model/Ptsv1pullfundstransferMerchantInformationMerchantDescriptor.js +163 -0
- package/src/model/Ptsv1pullfundstransferOrderInformation.js +90 -0
- package/src/model/Ptsv1pullfundstransferOrderInformationAmountDetails.js +119 -0
- package/src/model/Ptsv1pullfundstransferProcessingInformation.js +134 -0
- package/src/model/Ptsv1pullfundstransferProcessingInformationFundingOptions.js +81 -0
- package/src/model/Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiator.js +108 -0
- package/src/model/Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiatorOriginatorInitiatedTransaction.js +91 -0
- package/src/model/Ptsv1pullfundstransferProcessingInformationPayoutsOptions.js +82 -0
- package/src/model/Ptsv1pullfundstransferProcessingInformationRecurringOptions.js +82 -0
- package/src/model/Ptsv1pullfundstransferRecipientInformation.js +288 -0
- package/src/model/Ptsv1pullfundstransferRecipientInformationPersonalIdentification.js +109 -0
- package/src/model/Ptsv1pullfundstransferSenderInformation.js +285 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationAccount.js +91 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationConsumerAuthentication.js +90 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationConsumerAuthenticationStrongAuthentication.js +118 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationPaymentInformation.js +122 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationPaymentInformationCard.js +118 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationPaymentInformationCustomer.js +82 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationPaymentInformationInstrumentIdentifier.js +82 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationPaymentInformationPaymentInstrument.js +82 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationPaymentInformationTokenizedCard.js +127 -0
- package/src/model/Ptsv1pullfundstransferSenderInformationPersonalIdentification.js +109 -0
- package/src/model/Ptsv1pullfundstransferidrefundOrderInformation.js +82 -0
- package/src/model/Ptsv1pullfundstransferidrefundOrderInformationAmountDetails.js +83 -0
- package/src/model/Ptsv1pullfundstransferidreversalReversalInformation.js +82 -0
- package/src/model/Ptsv1pullfundstransferidreversalReversalInformationAmountDetails.js +83 -0
- package/src/model/Ptsv1pushfundstransferMerchantInformation.js +14 -6
- package/src/model/Ptsv1pushfundstransferMerchantInformationMerchantDescriptor.js +136 -0
- package/src/model/Ptsv1pushfundstransferPaymentInformation.js +105 -0
- package/src/model/Ptsv1pushfundstransferPaymentInformationCard.js +118 -0
- package/src/model/Ptsv1pushfundstransferPaymentInformationCustomer.js +82 -0
- package/src/model/Ptsv1pushfundstransferPaymentInformationInstrumentIdentifier.js +82 -0
- package/src/model/Ptsv1pushfundstransferPaymentInformationPaymentInstrument.js +82 -0
- package/src/model/Ptsv1pushfundstransferProcessingInformation.js +9 -0
- package/src/model/Ptsv1pushfundstransferProcessingInformationPayoutsOptions.js +1 -1
- package/src/model/Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.js +1 -1
- package/src/model/Ptsv2creditsProcessingInformation.js +9 -0
- package/src/model/Ptsv2creditsSenderInformation.js +9 -0
- package/src/model/Ptsv2paymentsProcessingInformation.js +9 -0
- package/src/model/Ptsv2paymentsidrefundsProcessingInformation.js +9 -0
- package/src/model/Ptsv2payoutsProcessingInformationPayoutsOptions.js +1 -1
- package/src/model/PullFunds201Response.js +132 -0
- package/src/model/PullFunds201ResponseErrorInformation.js +99 -0
- package/src/model/PullFunds201ResponseErrorInformationDetails.js +91 -0
- package/src/model/PullFunds201ResponseLinks.js +121 -0
- package/src/model/PullFunds201ResponseLinksCustomer.js +92 -0
- package/src/model/PullFunds201ResponseLinksInstrumentIdentifier.js +92 -0
- package/src/model/PullFunds201ResponseLinksPaymentInstrument.js +92 -0
- package/src/model/PullFunds201ResponseLinksRefund.js +92 -0
- package/src/model/PullFunds201ResponseLinksReversal.js +92 -0
- package/src/model/PullFunds201ResponseLinksSelf.js +92 -0
- package/src/model/PullFunds201ResponseOrderInformation.js +81 -0
- package/src/model/PullFunds201ResponseOrderInformationAmountDetails.js +91 -0
- package/src/model/PullFunds201ResponseProcessorInformation.js +143 -0
- package/src/model/PullFunds201ResponseProcessorInformationAvs.js +82 -0
- package/src/model/PullFunds201ResponseProcessorInformationConsumerAuthenticationResponse.js +82 -0
- package/src/model/PullFundsRefund201Response.js +124 -0
- package/src/model/PullFundsRefund201ResponseLinks.js +81 -0
- package/src/model/PullFundsRefund201ResponseLinksSelf.js +92 -0
- package/src/model/PullFundsRefund201ResponseProcessorInformation.js +91 -0
- package/src/model/PullFundsRefundRequest.js +90 -0
- package/src/model/PullFundsRequest.js +129 -0
- package/src/model/PullFundsReversal201Response.js +124 -0
- package/src/model/PullFundsReversal201ResponseErrorInformation.js +99 -0
- package/src/model/PullFundsReversal201ResponseErrorInformationDetails.js +91 -0
- package/src/model/PullFundsReversal201ResponseLinks.js +81 -0
- package/src/model/PullFundsReversal201ResponseLinksSelf.js +92 -0
- package/src/model/PullFundsReversal201ResponseProcessorInformation.js +109 -0
- package/src/model/PullFundsReversal400Response.js +126 -0
- package/src/model/PullFundsReversalRequest.js +90 -0
- package/src/model/PushFunds201ResponseErrorInformation.js +1 -1
- package/src/model/PushFunds201ResponseProcessorInformation.js +12 -4
- package/src/model/PushFunds201ResponseProcessorInformationMerchantAdvice.js +91 -0
- package/src/model/PushFundsRequest.js +12 -4
- package/src/model/Rbsv1subscriptionsOrderInformation.js +81 -0
- package/src/model/Rbsv1subscriptionsidOrderInformationAmountDetails.js +12 -4
- package/src/model/Riskv1addressverificationsOrderInformationLineItems.js +3 -4
- package/src/model/Riskv1decisionsClientReferenceInformation.js +2 -3
- package/src/model/Riskv1decisionsOrderInformationLineItems.js +1 -1
- package/src/model/Riskv1liststypeentriesOrderInformationLineItems.js +1 -1
- package/src/model/SaveAsymEgressKey.js +6 -6
- package/src/model/TmsBinLookupPaymentAccountInformationFeatures.js +28 -1
- package/src/model/Tmsv2TokenizedCard.js +1 -1
- package/src/model/Tmsv2tokenizeProcessingInformation.js +1 -1
- package/src/model/Ucv1sessionsAppearance.js +91 -0
- package/src/model/Ucv1sessionsAppearanceVariables.js +659 -0
- package/src/model/Ucv1sessionsCaptureMandate.js +162 -0
- package/src/model/Ucv1sessionsCaptureMandateCPF.js +82 -0
- package/src/model/Ucv1sessionsCompleteMandate.js +109 -0
- package/src/model/Ucv1sessionsCompleteMandateTms.js +92 -0
- package/src/model/Ucv1sessionsData.js +153 -0
- package/src/model/Ucv1sessionsDataBuyerInformation.js +117 -0
- package/src/model/Ucv1sessionsDataBuyerInformationPersonalIdentification.js +100 -0
- package/src/model/Ucv1sessionsDataConsumerAuthenticationInformation.js +100 -0
- package/src/model/Ucv1sessionsDataDeviceInformation.js +82 -0
- package/src/model/Ucv1sessionsDataMerchantDefinedInformation.js +92 -0
- package/src/model/{InlineResponse20016OrderInformation.js → Ucv1sessionsDataMerchantInformation.js} +15 -15
- package/src/model/Ucv1sessionsDataMerchantInformationMerchantDescriptor.js +145 -0
- package/src/model/Ucv1sessionsDataOrderInformation.js +113 -0
- package/src/model/Ucv1sessionsDataOrderInformationAmountDetails.js +143 -0
- package/src/model/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails.js +91 -0
- package/src/model/Ucv1sessionsDataOrderInformationBillTo.js +243 -0
- package/src/model/Ucv1sessionsDataOrderInformationBillToCompany.js +136 -0
- package/src/model/Ucv1sessionsDataPaymentInformation.js +81 -0
- package/src/model/Ucv1sessionsDataPaymentInformationCard.js +82 -0
- package/src/model/Ucv1sessionsDataProcessingInformation.js +117 -0
- package/src/model/Ucv1sessionsDataProcessingInformationAuthorizationOptions.js +117 -0
- package/src/model/Ucv1sessionsDataProcessingInformationAuthorizationOptionsInitiator.js +90 -0
- package/src/model/Ucv1sessionsDataRecipientInformation.js +151 -0
- package/src/model/Ucv1sessionsPaymentConfigurations.js +98 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsCLICKTOPAY.js +82 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsGOOGLEPAY.js +82 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsTMSTOKEN.js +100 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsTMSTOKENCustomer.js +82 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsTMSTOKENInstrumentIdentifiers.js +81 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsTMSTOKENPaymentInstruments.js +81 -0
- package/src/model/Ucv1sessionsTransientTokenResponseOptions.js +82 -0
- package/src/model/Upv1capturecontextsDataOrderInformationBillToCompany.js +10 -10
- package/src/model/Upv1capturecontextsOrderInformation.js +6 -6
- package/src/model/Upv1capturecontextsOrderInformationBillTo.js +243 -0
- package/src/model/Upv1capturecontextsOrderInformationBillToCompany.js +172 -0
- package/src/model/ValidateExportComplianceRequest.js +6 -6
- package/src/model/ValidateRequest.js +6 -6
- package/src/model/Vasv1currencyconversionClientReferenceInformation.js +117 -0
- package/src/model/Vasv1currencyconversionClientReferenceInformationPartner.js +91 -0
- package/src/model/Vasv1currencyconversionOrderInformation.js +89 -0
- package/src/model/Vasv1currencyconversionOrderInformationAmountDetails.js +91 -0
- package/src/model/Vasv1currencyconversionOrderInformationCurrencyConversion.js +83 -0
- package/src/model/Vasv1currencyconversionPaymentInformation.js +81 -0
- package/src/model/Vasv1currencyconversionPaymentInformationCard.js +82 -0
- package/src/model/Vasv1currencyconversionPointOfSaleInformation.js +91 -0
- package/src/model/VerifyCustomerAddressRequest.js +6 -6
- package/docs/InlineResponse20016OrderInformation.md +0 -8
- package/docs/Kmsegressv2keysasymClientReferenceInformation.md +0 -8
- package/docs/Riskv1authenticationsetupsClientReferenceInformation.md +0 -11
- package/docs/Riskv1liststypeentriesClientReferenceInformation.md +0 -10
- package/src/model/Riskv1authenticationsetupsClientReferenceInformation.js +0 -108
- package/src/model/Riskv1liststypeentriesClientReferenceInformation.js +0 -100
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.4.38
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.Ucv1sessionsDataMerchantInformationMerchantDescriptor = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsDataMerchantInformationMerchantDescriptor model module.
|
|
38
|
+
* @module model/Ucv1sessionsDataMerchantInformationMerchantDescriptor
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsDataMerchantInformationMerchantDescriptor</code>.
|
|
44
|
+
* @alias module:model/Ucv1sessionsDataMerchantInformationMerchantDescriptor
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Constructs a <code>Ucv1sessionsDataMerchantInformationMerchantDescriptor</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
+
* @param {module:model/Ucv1sessionsDataMerchantInformationMerchantDescriptor} obj Optional instance to populate.
|
|
65
|
+
* @return {module:model/Ucv1sessionsDataMerchantInformationMerchantDescriptor} The populated <code>Ucv1sessionsDataMerchantInformationMerchantDescriptor</code> instance.
|
|
66
|
+
*/
|
|
67
|
+
exports.constructFromObject = function(data, obj) {
|
|
68
|
+
if (data) {
|
|
69
|
+
obj = obj || new exports();
|
|
70
|
+
|
|
71
|
+
if (data.hasOwnProperty('name')) {
|
|
72
|
+
obj['name'] = ApiClient.convertToType(data['name'], 'String');
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('alternateName')) {
|
|
75
|
+
obj['alternateName'] = ApiClient.convertToType(data['alternateName'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('locality')) {
|
|
78
|
+
obj['locality'] = ApiClient.convertToType(data['locality'], 'String');
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('phone')) {
|
|
81
|
+
obj['phone'] = ApiClient.convertToType(data['phone'], 'String');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('country')) {
|
|
84
|
+
obj['country'] = ApiClient.convertToType(data['country'], 'String');
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('postalCode')) {
|
|
87
|
+
obj['postalCode'] = ApiClient.convertToType(data['postalCode'], 'String');
|
|
88
|
+
}
|
|
89
|
+
if (data.hasOwnProperty('administrativeArea')) {
|
|
90
|
+
obj['administrativeArea'] = ApiClient.convertToType(data['administrativeArea'], 'String');
|
|
91
|
+
}
|
|
92
|
+
if (data.hasOwnProperty('address1')) {
|
|
93
|
+
obj['address1'] = ApiClient.convertToType(data['address1'], 'String');
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return obj;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The name of the merchant<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
101
|
+
* @member {String} name
|
|
102
|
+
*/
|
|
103
|
+
exports.prototype['name'] = undefined;
|
|
104
|
+
/**
|
|
105
|
+
* The alternate name of the merchant<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
106
|
+
* @member {String} alternateName
|
|
107
|
+
*/
|
|
108
|
+
exports.prototype['alternateName'] = undefined;
|
|
109
|
+
/**
|
|
110
|
+
* The locality of the merchant<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
111
|
+
* @member {String} locality
|
|
112
|
+
*/
|
|
113
|
+
exports.prototype['locality'] = undefined;
|
|
114
|
+
/**
|
|
115
|
+
* The phone number of the merchant<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
116
|
+
* @member {String} phone
|
|
117
|
+
*/
|
|
118
|
+
exports.prototype['phone'] = undefined;
|
|
119
|
+
/**
|
|
120
|
+
* The country code of the merchant<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
121
|
+
* @member {String} country
|
|
122
|
+
*/
|
|
123
|
+
exports.prototype['country'] = undefined;
|
|
124
|
+
/**
|
|
125
|
+
* The postal code of the merchant<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
126
|
+
* @member {String} postalCode
|
|
127
|
+
*/
|
|
128
|
+
exports.prototype['postalCode'] = undefined;
|
|
129
|
+
/**
|
|
130
|
+
* The administrative area of the merchant<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
131
|
+
* @member {String} administrativeArea
|
|
132
|
+
*/
|
|
133
|
+
exports.prototype['administrativeArea'] = undefined;
|
|
134
|
+
/**
|
|
135
|
+
* The first line of the merchant's address<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center, but if required should be provided on a per‑transaction basis in the uc/v1/sessions API request.
|
|
136
|
+
* @member {String} address1
|
|
137
|
+
*/
|
|
138
|
+
exports.prototype['address1'] = undefined;
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
return exports;
|
|
143
|
+
}));
|
|
144
|
+
|
|
145
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.4.38
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient', 'model/Ucv1sessionsDataOrderInformationAmountDetails', 'model/Ucv1sessionsDataOrderInformationBillTo', 'model/Upv1capturecontextsDataOrderInformationInvoiceDetails', 'model/Upv1capturecontextsDataOrderInformationLineItems', 'model/Upv1capturecontextsDataOrderInformationShipTo'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./Ucv1sessionsDataOrderInformationAmountDetails'), require('./Ucv1sessionsDataOrderInformationBillTo'), require('./Upv1capturecontextsDataOrderInformationInvoiceDetails'), require('./Upv1capturecontextsDataOrderInformationLineItems'), require('./Upv1capturecontextsDataOrderInformationShipTo'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.Ucv1sessionsDataOrderInformation = factory(root.CyberSource.ApiClient, root.CyberSource.Ucv1sessionsDataOrderInformationAmountDetails, root.CyberSource.Ucv1sessionsDataOrderInformationBillTo, root.CyberSource.Upv1capturecontextsDataOrderInformationInvoiceDetails, root.CyberSource.Upv1capturecontextsDataOrderInformationLineItems, root.CyberSource.Upv1capturecontextsDataOrderInformationShipTo);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, Ucv1sessionsDataOrderInformationAmountDetails, Ucv1sessionsDataOrderInformationBillTo, Upv1capturecontextsDataOrderInformationInvoiceDetails, Upv1capturecontextsDataOrderInformationLineItems, Upv1capturecontextsDataOrderInformationShipTo) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsDataOrderInformation model module.
|
|
38
|
+
* @module model/Ucv1sessionsDataOrderInformation
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsDataOrderInformation</code>.
|
|
44
|
+
* @alias module:model/Ucv1sessionsDataOrderInformation
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Constructs a <code>Ucv1sessionsDataOrderInformation</code> from a plain JavaScript object, optionally creating a new instance.
|
|
59
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
60
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
61
|
+
* @param {module:model/Ucv1sessionsDataOrderInformation} obj Optional instance to populate.
|
|
62
|
+
* @return {module:model/Ucv1sessionsDataOrderInformation} The populated <code>Ucv1sessionsDataOrderInformation</code> instance.
|
|
63
|
+
*/
|
|
64
|
+
exports.constructFromObject = function(data, obj) {
|
|
65
|
+
if (data) {
|
|
66
|
+
obj = obj || new exports();
|
|
67
|
+
|
|
68
|
+
if (data.hasOwnProperty('amountDetails')) {
|
|
69
|
+
obj['amountDetails'] = Ucv1sessionsDataOrderInformationAmountDetails.constructFromObject(data['amountDetails']);
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('billTo')) {
|
|
72
|
+
obj['billTo'] = Ucv1sessionsDataOrderInformationBillTo.constructFromObject(data['billTo']);
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('shipTo')) {
|
|
75
|
+
obj['shipTo'] = Upv1capturecontextsDataOrderInformationShipTo.constructFromObject(data['shipTo']);
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('lineItems')) {
|
|
78
|
+
obj['lineItems'] = ApiClient.convertToType(data['lineItems'], [Upv1capturecontextsDataOrderInformationLineItems]);
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('invoiceDetails')) {
|
|
81
|
+
obj['invoiceDetails'] = Upv1capturecontextsDataOrderInformationInvoiceDetails.constructFromObject(data['invoiceDetails']);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return obj;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @member {module:model/Ucv1sessionsDataOrderInformationAmountDetails} amountDetails
|
|
89
|
+
*/
|
|
90
|
+
exports.prototype['amountDetails'] = undefined;
|
|
91
|
+
/**
|
|
92
|
+
* @member {module:model/Ucv1sessionsDataOrderInformationBillTo} billTo
|
|
93
|
+
*/
|
|
94
|
+
exports.prototype['billTo'] = undefined;
|
|
95
|
+
/**
|
|
96
|
+
* @member {module:model/Upv1capturecontextsDataOrderInformationShipTo} shipTo
|
|
97
|
+
*/
|
|
98
|
+
exports.prototype['shipTo'] = undefined;
|
|
99
|
+
/**
|
|
100
|
+
* @member {Array.<module:model/Upv1capturecontextsDataOrderInformationLineItems>} lineItems
|
|
101
|
+
*/
|
|
102
|
+
exports.prototype['lineItems'] = undefined;
|
|
103
|
+
/**
|
|
104
|
+
* @member {module:model/Upv1capturecontextsDataOrderInformationInvoiceDetails} invoiceDetails
|
|
105
|
+
*/
|
|
106
|
+
exports.prototype['invoiceDetails'] = undefined;
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
return exports;
|
|
111
|
+
}));
|
|
112
|
+
|
|
113
|
+
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.4.38
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient', 'model/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails', 'model/Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails'), require('./Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.Ucv1sessionsDataOrderInformationAmountDetails = factory(root.CyberSource.ApiClient, root.CyberSource.Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails, root.CyberSource.Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails, Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsDataOrderInformationAmountDetails model module.
|
|
38
|
+
* @module model/Ucv1sessionsDataOrderInformationAmountDetails
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsDataOrderInformationAmountDetails</code>.
|
|
44
|
+
* @alias module:model/Ucv1sessionsDataOrderInformationAmountDetails
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Constructs a <code>Ucv1sessionsDataOrderInformationAmountDetails</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
+
* @param {module:model/Ucv1sessionsDataOrderInformationAmountDetails} obj Optional instance to populate.
|
|
65
|
+
* @return {module:model/Ucv1sessionsDataOrderInformationAmountDetails} The populated <code>Ucv1sessionsDataOrderInformationAmountDetails</code> instance.
|
|
66
|
+
*/
|
|
67
|
+
exports.constructFromObject = function(data, obj) {
|
|
68
|
+
if (data) {
|
|
69
|
+
obj = obj || new exports();
|
|
70
|
+
|
|
71
|
+
if (data.hasOwnProperty('totalAmount')) {
|
|
72
|
+
obj['totalAmount'] = ApiClient.convertToType(data['totalAmount'], 'String');
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('currency')) {
|
|
75
|
+
obj['currency'] = ApiClient.convertToType(data['currency'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('surcharge')) {
|
|
78
|
+
obj['surcharge'] = Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge.constructFromObject(data['surcharge']);
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('discountAmount')) {
|
|
81
|
+
obj['discountAmount'] = ApiClient.convertToType(data['discountAmount'], 'String');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('subTotalAmount')) {
|
|
84
|
+
obj['subTotalAmount'] = ApiClient.convertToType(data['subTotalAmount'], 'String');
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('serviceFeeAmount')) {
|
|
87
|
+
obj['serviceFeeAmount'] = ApiClient.convertToType(data['serviceFeeAmount'], 'String');
|
|
88
|
+
}
|
|
89
|
+
if (data.hasOwnProperty('taxAmount')) {
|
|
90
|
+
obj['taxAmount'] = ApiClient.convertToType(data['taxAmount'], 'String');
|
|
91
|
+
}
|
|
92
|
+
if (data.hasOwnProperty('taxDetails')) {
|
|
93
|
+
obj['taxDetails'] = ApiClient.convertToType(data['taxDetails'], [Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails]);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return obj;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* This field defines the total order amount.
|
|
101
|
+
* @member {String} totalAmount
|
|
102
|
+
*/
|
|
103
|
+
exports.prototype['totalAmount'] = undefined;
|
|
104
|
+
/**
|
|
105
|
+
* This field defines the currency applicable to the order.
|
|
106
|
+
* @member {String} currency
|
|
107
|
+
*/
|
|
108
|
+
exports.prototype['currency'] = undefined;
|
|
109
|
+
/**
|
|
110
|
+
* @member {module:model/Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge} surcharge
|
|
111
|
+
*/
|
|
112
|
+
exports.prototype['surcharge'] = undefined;
|
|
113
|
+
/**
|
|
114
|
+
* This field defines the discount amount applicable to the order.
|
|
115
|
+
* @member {String} discountAmount
|
|
116
|
+
*/
|
|
117
|
+
exports.prototype['discountAmount'] = undefined;
|
|
118
|
+
/**
|
|
119
|
+
* This field defines the sub total amount applicable to the order.
|
|
120
|
+
* @member {String} subTotalAmount
|
|
121
|
+
*/
|
|
122
|
+
exports.prototype['subTotalAmount'] = undefined;
|
|
123
|
+
/**
|
|
124
|
+
* This field defines the service fee amount applicable to the order.
|
|
125
|
+
* @member {String} serviceFeeAmount
|
|
126
|
+
*/
|
|
127
|
+
exports.prototype['serviceFeeAmount'] = undefined;
|
|
128
|
+
/**
|
|
129
|
+
* This field defines the tax amount applicable to the order.
|
|
130
|
+
* @member {String} taxAmount
|
|
131
|
+
*/
|
|
132
|
+
exports.prototype['taxAmount'] = undefined;
|
|
133
|
+
/**
|
|
134
|
+
* @member {Array.<module:model/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails>} taxDetails
|
|
135
|
+
*/
|
|
136
|
+
exports.prototype['taxDetails'] = undefined;
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
return exports;
|
|
141
|
+
}));
|
|
142
|
+
|
|
143
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.4.38
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails model module.
|
|
38
|
+
* @module model/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails</code>.
|
|
44
|
+
* @alias module:model/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
+
* @param {module:model/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails} The populated <code>Ucv1sessionsDataOrderInformationAmountDetailsTaxDetails</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
exports.constructFromObject = function(data, obj) {
|
|
62
|
+
if (data) {
|
|
63
|
+
obj = obj || new exports();
|
|
64
|
+
|
|
65
|
+
if (data.hasOwnProperty('taxId')) {
|
|
66
|
+
obj['taxId'] = ApiClient.convertToType(data['taxId'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('type')) {
|
|
69
|
+
obj['type'] = ApiClient.convertToType(data['type'], 'String');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Your tax ID number to use for the alternate tax amount. Required if you set alternate tax amount to any value (including zero). You may send this field without sending alternate tax amount.
|
|
77
|
+
* @member {String} taxId
|
|
78
|
+
*/
|
|
79
|
+
exports.prototype['taxId'] = undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Indicates the type of tax data for the taxDetails object.<br><br> Possible values: - alternate - local - national - vat - other - green
|
|
82
|
+
* @member {String} type
|
|
83
|
+
*/
|
|
84
|
+
exports.prototype['type'] = undefined;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
return exports;
|
|
89
|
+
}));
|
|
90
|
+
|
|
91
|
+
|