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,162 @@
|
|
|
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/Ucv1sessionsCaptureMandateCPF'], 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('./Ucv1sessionsCaptureMandateCPF'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.Ucv1sessionsCaptureMandate = factory(root.CyberSource.ApiClient, root.CyberSource.Ucv1sessionsCaptureMandateCPF);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, Ucv1sessionsCaptureMandateCPF) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsCaptureMandate model module.
|
|
38
|
+
* @module model/Ucv1sessionsCaptureMandate
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsCaptureMandate</code>.
|
|
44
|
+
* @alias module:model/Ucv1sessionsCaptureMandate
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Constructs a <code>Ucv1sessionsCaptureMandate</code> from a plain JavaScript object, optionally creating a new instance.
|
|
64
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
65
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
66
|
+
* @param {module:model/Ucv1sessionsCaptureMandate} obj Optional instance to populate.
|
|
67
|
+
* @return {module:model/Ucv1sessionsCaptureMandate} The populated <code>Ucv1sessionsCaptureMandate</code> instance.
|
|
68
|
+
*/
|
|
69
|
+
exports.constructFromObject = function(data, obj) {
|
|
70
|
+
if (data) {
|
|
71
|
+
obj = obj || new exports();
|
|
72
|
+
|
|
73
|
+
if (data.hasOwnProperty('billingType')) {
|
|
74
|
+
obj['billingType'] = ApiClient.convertToType(data['billingType'], 'String');
|
|
75
|
+
}
|
|
76
|
+
if (data.hasOwnProperty('requestEmail')) {
|
|
77
|
+
obj['requestEmail'] = ApiClient.convertToType(data['requestEmail'], 'Boolean');
|
|
78
|
+
}
|
|
79
|
+
if (data.hasOwnProperty('requestPhone')) {
|
|
80
|
+
obj['requestPhone'] = ApiClient.convertToType(data['requestPhone'], 'Boolean');
|
|
81
|
+
}
|
|
82
|
+
if (data.hasOwnProperty('requestShipping')) {
|
|
83
|
+
obj['requestShipping'] = ApiClient.convertToType(data['requestShipping'], 'Boolean');
|
|
84
|
+
}
|
|
85
|
+
if (data.hasOwnProperty('shipToCountries')) {
|
|
86
|
+
obj['shipToCountries'] = ApiClient.convertToType(data['shipToCountries'], ['String']);
|
|
87
|
+
}
|
|
88
|
+
if (data.hasOwnProperty('showAcceptedNetworkIcons')) {
|
|
89
|
+
obj['showAcceptedNetworkIcons'] = ApiClient.convertToType(data['showAcceptedNetworkIcons'], 'Boolean');
|
|
90
|
+
}
|
|
91
|
+
if (data.hasOwnProperty('showConfirmationStep')) {
|
|
92
|
+
obj['showConfirmationStep'] = ApiClient.convertToType(data['showConfirmationStep'], 'Boolean');
|
|
93
|
+
}
|
|
94
|
+
if (data.hasOwnProperty('requestSaveCredentials')) {
|
|
95
|
+
obj['requestSaveCredentials'] = ApiClient.convertToType(data['requestSaveCredentials'], 'Boolean');
|
|
96
|
+
}
|
|
97
|
+
if (data.hasOwnProperty('comboCard')) {
|
|
98
|
+
obj['comboCard'] = ApiClient.convertToType(data['comboCard'], 'Boolean');
|
|
99
|
+
}
|
|
100
|
+
if (data.hasOwnProperty('CPF')) {
|
|
101
|
+
obj['CPF'] = Ucv1sessionsCaptureMandateCPF.constructFromObject(data['CPF']);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Configure Unified Checkout to capture billing address information. Possible values: - FULL: Capture complete billing address information. - PARTIAL: Capture first name, last name, country and postal/zip code only. - NONE: Capture only first name and last name.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
109
|
+
* @member {String} billingType
|
|
110
|
+
*/
|
|
111
|
+
exports.prototype['billingType'] = undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Configure Unified Checkout to capture customer email address. Possible values: - True - False<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
114
|
+
* @member {Boolean} requestEmail
|
|
115
|
+
*/
|
|
116
|
+
exports.prototype['requestEmail'] = undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Configure Unified Checkout to capture customer phone number. Possible values: - True - False<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
119
|
+
* @member {Boolean} requestPhone
|
|
120
|
+
*/
|
|
121
|
+
exports.prototype['requestPhone'] = undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Configure Unified Checkout to capture customer shipping details. Possible values: - True - False<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
124
|
+
* @member {Boolean} requestShipping
|
|
125
|
+
*/
|
|
126
|
+
exports.prototype['requestShipping'] = undefined;
|
|
127
|
+
/**
|
|
128
|
+
* List of countries available to ship to. Use the two-character ISO Standard Country Codes.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
129
|
+
* @member {Array.<String>} shipToCountries
|
|
130
|
+
*/
|
|
131
|
+
exports.prototype['shipToCountries'] = undefined;
|
|
132
|
+
/**
|
|
133
|
+
* Configure Unified Checkout to display the list of accepted card networks beneath the payment button Possible values: - True - False<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
134
|
+
* @member {Boolean} showAcceptedNetworkIcons
|
|
135
|
+
*/
|
|
136
|
+
exports.prototype['showAcceptedNetworkIcons'] = undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Configure Unified Checkout to display the final confirmation screen when using Click to Pay.<br> Where 'BillingType'= NONE and 'requestShipping'= FALSE and the customer is using an existing Click to Pay card as their chosen payment method, a final confirmation screen can be removed allowing the customer to check out as soon as they have selected their payment method from within their Click to Pay card tray. Possible values: - True - False<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
139
|
+
* @member {Boolean} showConfirmationStep
|
|
140
|
+
*/
|
|
141
|
+
exports.prototype['showConfirmationStep'] = undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Configure Unified Checkout to display the \"Save card for future use\" checkbox.<br> Configurable check box that will show in a Manual card entry flow to allow a Cardholder to give consent to store their manually entered credential with the Merchant that they are paying.<br> Applicable when manually entering the details and not enrolling in Click to Pay. Possible values: - True - False<br><br> **Use Cases:** **Offer consumers option to save their card in Unified Checkout:** - Include the captureMandate.requestSaveCard field in the capture context request and set it to true. - When set to true, this will show a checkbox with the message 'Save card for future use' in Unified Checkout. - When selected this provides a response in both the Transient Token and Get Credentials API response.<br><br> **Do not offer consumers the option to save their card in Unified Checkout:** - Include the captureMandate.requestSaveCard field in the capture context request and set it to false OR omit the field from the capture context request. - When set to false, the save card option is not shown to consumers when manually entering card details.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
144
|
+
* @member {Boolean} requestSaveCredentials
|
|
145
|
+
*/
|
|
146
|
+
exports.prototype['requestSaveCredentials'] = undefined;
|
|
147
|
+
/**
|
|
148
|
+
* Configure Unified Checkout to display combo card at checkout.<br> A combo debit/credit card is a single card that functions both as a Debit/Credit card. Unified Checkout / Click to Pay Drop-in UI allows the Cardholder to choose whether they would like the transaction to be paid for using either debit or credit card. **Important:** This is applicable to Visa cards only. Possible values: - True - False<br><br> **Use Cases:** **Offer Combo Card at Checkout:** - Include the captureMandate.comboCard field in the capture context request and set it to true. - When set to true, Combo Card selection is shown at checkout <br><br> **Do not offer Combo Card at Checkout:** - Include the captureMandate.comboCard field in the capture context request and set it to false OR omit the field from the capture context request. - The Combo Card selection is not shown at checkout.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
149
|
+
* @member {Boolean} comboCard
|
|
150
|
+
*/
|
|
151
|
+
exports.prototype['comboCard'] = undefined;
|
|
152
|
+
/**
|
|
153
|
+
* @member {module:model/Ucv1sessionsCaptureMandateCPF} CPF
|
|
154
|
+
*/
|
|
155
|
+
exports.prototype['CPF'] = undefined;
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
return exports;
|
|
160
|
+
}));
|
|
161
|
+
|
|
162
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
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.Ucv1sessionsCaptureMandateCPF = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsCaptureMandateCPF model module.
|
|
38
|
+
* @module model/Ucv1sessionsCaptureMandateCPF
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsCaptureMandateCPF</code>.
|
|
44
|
+
* @alias module:model/Ucv1sessionsCaptureMandateCPF
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Constructs a <code>Ucv1sessionsCaptureMandateCPF</code> from a plain JavaScript object, optionally creating a new instance.
|
|
55
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
56
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
57
|
+
* @param {module:model/Ucv1sessionsCaptureMandateCPF} obj Optional instance to populate.
|
|
58
|
+
* @return {module:model/Ucv1sessionsCaptureMandateCPF} The populated <code>Ucv1sessionsCaptureMandateCPF</code> instance.
|
|
59
|
+
*/
|
|
60
|
+
exports.constructFromObject = function(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new exports();
|
|
63
|
+
|
|
64
|
+
if (data.hasOwnProperty('required')) {
|
|
65
|
+
obj['required'] = ApiClient.convertToType(data['required'], 'Boolean');
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas Físicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes. Possible values: - True - False<br><br> This field is optional. If set to true the field is required. If set to false the field is optional. If the field is not included in the capture context then it is not captured.<br><br> **Important:** - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered. - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
73
|
+
* @member {Boolean} required
|
|
74
|
+
*/
|
|
75
|
+
exports.prototype['required'] = undefined;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
return exports;
|
|
80
|
+
}));
|
|
81
|
+
|
|
82
|
+
|
|
@@ -0,0 +1,109 @@
|
|
|
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/Ucv1sessionsCompleteMandateTms'], 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('./Ucv1sessionsCompleteMandateTms'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.Ucv1sessionsCompleteMandate = factory(root.CyberSource.ApiClient, root.CyberSource.Ucv1sessionsCompleteMandateTms);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, Ucv1sessionsCompleteMandateTms) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsCompleteMandate model module.
|
|
38
|
+
* @module model/Ucv1sessionsCompleteMandate
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsCompleteMandate</code>.
|
|
44
|
+
* The completeMandate object is designed to provide instructions for orchestrating payment services. Unified Checkout is capable of orchestrating a number of services on your behalf.<br><br> By providing this field in the capture context Unified Checkout will initiate services on your behalf from the browser, simplifying your integration.
|
|
45
|
+
* @alias module:model/Ucv1sessionsCompleteMandate
|
|
46
|
+
* @class
|
|
47
|
+
*/
|
|
48
|
+
var exports = function() {
|
|
49
|
+
var _this = this;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Constructs a <code>Ucv1sessionsCompleteMandate</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/Ucv1sessionsCompleteMandate} obj Optional instance to populate.
|
|
62
|
+
* @return {module:model/Ucv1sessionsCompleteMandate} The populated <code>Ucv1sessionsCompleteMandate</code> instance.
|
|
63
|
+
*/
|
|
64
|
+
exports.constructFromObject = function(data, obj) {
|
|
65
|
+
if (data) {
|
|
66
|
+
obj = obj || new exports();
|
|
67
|
+
|
|
68
|
+
if (data.hasOwnProperty('type')) {
|
|
69
|
+
obj['type'] = ApiClient.convertToType(data['type'], 'String');
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('tms')) {
|
|
72
|
+
obj['tms'] = Ucv1sessionsCompleteMandateTms.constructFromObject(data['tms']);
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('decisionManager')) {
|
|
75
|
+
obj['decisionManager'] = ApiClient.convertToType(data['decisionManager'], 'Boolean');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('consumerAuthentication')) {
|
|
78
|
+
obj['consumerAuthentication'] = ApiClient.convertToType(data['consumerAuthentication'], 'String');
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return obj;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* This field is used to indicate how a payment should be processed. Possible values: - AUTH: Use this value when you want to authorize a payment within Unified Checkout without capturing it immediately. Payment types that initiate an immediate transfer of funds are NOT allowed. If a capture context request includes a payment type incompatible with this mode, a 400 error will be returned. A merchant would need to perform their own capture via API where applicable.<br><br> - CAPTURE: Use this value when you want to perform a sale within Unified Checkout and capture the payment immediately during the transaction. Note: Some payment types may return a PENDING status, requiring an additional status check call to determine the final outcome of the payment.<br><br> - PREFER_AUTH: Use this value to offer multiple alternative payment options during the Unified Checkout experience. This option authorizes the payment without immediate capture, where available. It will perform a \"CAPTURE\" where an \"AUTH\" is not allowed by the payment type. Transactions can be AUTHORIZED, CAPTURED, or PENDING. If an \"AUTH\" is performed, a merchant would need to perform their own capture via API where applicable.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
86
|
+
* @member {String} type
|
|
87
|
+
*/
|
|
88
|
+
exports.prototype['type'] = undefined;
|
|
89
|
+
/**
|
|
90
|
+
* @member {module:model/Ucv1sessionsCompleteMandateTms} tms
|
|
91
|
+
*/
|
|
92
|
+
exports.prototype['tms'] = undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Configure Unified Checkout to determine whether Decision Manager is invoked during service orchestration. Possible values: - True - False<br><br> Setting this value to True indicates that device fingerprinting will be executed to add additional information for risk service Setting this value to False (or not provided) indicates that you do not wish to run device fingerprinting and skip decision manager services.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
95
|
+
* @member {Boolean} decisionManager
|
|
96
|
+
*/
|
|
97
|
+
exports.prototype['decisionManager'] = undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Configure Unified Checkout to determine whether Consumer Authentication is invoked during service orchestration. Possible values: - NONE - 3DS<br><br> Setting this value to 3DS will attempt to perform authentication using the Payer Authentication Service. Setting this value to NONE indicates that you do not wish to perform authentication using the Payer Authentication Service.<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
100
|
+
* @member {String} consumerAuthentication
|
|
101
|
+
*/
|
|
102
|
+
exports.prototype['consumerAuthentication'] = undefined;
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
return exports;
|
|
107
|
+
}));
|
|
108
|
+
|
|
109
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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.Ucv1sessionsCompleteMandateTms = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsCompleteMandateTms model module.
|
|
38
|
+
* @module model/Ucv1sessionsCompleteMandateTms
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsCompleteMandateTms</code>.
|
|
44
|
+
* Configure Unified Checkout to create a TMS token at the end of the payment journey
|
|
45
|
+
* @alias module:model/Ucv1sessionsCompleteMandateTms
|
|
46
|
+
* @class
|
|
47
|
+
*/
|
|
48
|
+
var exports = function() {
|
|
49
|
+
var _this = this;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Constructs a <code>Ucv1sessionsCompleteMandateTms</code> from a plain JavaScript object, optionally creating a new instance.
|
|
57
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
58
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
59
|
+
* @param {module:model/Ucv1sessionsCompleteMandateTms} obj Optional instance to populate.
|
|
60
|
+
* @return {module:model/Ucv1sessionsCompleteMandateTms} The populated <code>Ucv1sessionsCompleteMandateTms</code> instance.
|
|
61
|
+
*/
|
|
62
|
+
exports.constructFromObject = function(data, obj) {
|
|
63
|
+
if (data) {
|
|
64
|
+
obj = obj || new exports();
|
|
65
|
+
|
|
66
|
+
if (data.hasOwnProperty('tokenCreate')) {
|
|
67
|
+
obj['tokenCreate'] = ApiClient.convertToType(data['tokenCreate'], 'Boolean');
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('tokenTypes')) {
|
|
70
|
+
obj['tokenTypes'] = ApiClient.convertToType(data['tokenTypes'], ['String']);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return obj;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Use this when you want to create a token from the card/bank data in your payment request. Possible values: - True - False<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
78
|
+
* @member {Boolean} tokenCreate
|
|
79
|
+
*/
|
|
80
|
+
exports.prototype['tokenCreate'] = undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Cybersource tokens types you are performing a create on. If not supplied the default token type for the merchants token vault will be used. Possible values: - Customer - paymentInstrument - instrumentIdentifier - shippingAddress<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
|
|
83
|
+
* @member {Array.<String>} tokenTypes
|
|
84
|
+
*/
|
|
85
|
+
exports.prototype['tokenTypes'] = undefined;
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
return exports;
|
|
90
|
+
}));
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,153 @@
|
|
|
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/Ucv1sessionsDataBuyerInformation', 'model/Ucv1sessionsDataConsumerAuthenticationInformation', 'model/Ucv1sessionsDataDeviceInformation', 'model/Ucv1sessionsDataMerchantDefinedInformation', 'model/Ucv1sessionsDataMerchantInformation', 'model/Ucv1sessionsDataOrderInformation', 'model/Ucv1sessionsDataPaymentInformation', 'model/Ucv1sessionsDataProcessingInformation', 'model/Ucv1sessionsDataRecipientInformation', 'model/Upv1capturecontextsDataClientReferenceInformation'], 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('./Ucv1sessionsDataBuyerInformation'), require('./Ucv1sessionsDataConsumerAuthenticationInformation'), require('./Ucv1sessionsDataDeviceInformation'), require('./Ucv1sessionsDataMerchantDefinedInformation'), require('./Ucv1sessionsDataMerchantInformation'), require('./Ucv1sessionsDataOrderInformation'), require('./Ucv1sessionsDataPaymentInformation'), require('./Ucv1sessionsDataProcessingInformation'), require('./Ucv1sessionsDataRecipientInformation'), require('./Upv1capturecontextsDataClientReferenceInformation'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.Ucv1sessionsData = factory(root.CyberSource.ApiClient, root.CyberSource.Ucv1sessionsDataBuyerInformation, root.CyberSource.Ucv1sessionsDataConsumerAuthenticationInformation, root.CyberSource.Ucv1sessionsDataDeviceInformation, root.CyberSource.Ucv1sessionsDataMerchantDefinedInformation, root.CyberSource.Ucv1sessionsDataMerchantInformation, root.CyberSource.Ucv1sessionsDataOrderInformation, root.CyberSource.Ucv1sessionsDataPaymentInformation, root.CyberSource.Ucv1sessionsDataProcessingInformation, root.CyberSource.Ucv1sessionsDataRecipientInformation, root.CyberSource.Upv1capturecontextsDataClientReferenceInformation);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, Ucv1sessionsDataBuyerInformation, Ucv1sessionsDataConsumerAuthenticationInformation, Ucv1sessionsDataDeviceInformation, Ucv1sessionsDataMerchantDefinedInformation, Ucv1sessionsDataMerchantInformation, Ucv1sessionsDataOrderInformation, Ucv1sessionsDataPaymentInformation, Ucv1sessionsDataProcessingInformation, Ucv1sessionsDataRecipientInformation, Upv1capturecontextsDataClientReferenceInformation) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ucv1sessionsData model module.
|
|
38
|
+
* @module model/Ucv1sessionsData
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ucv1sessionsData</code>.
|
|
44
|
+
* @alias module:model/Ucv1sessionsData
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Constructs a <code>Ucv1sessionsData</code> from a plain JavaScript object, optionally creating a new instance.
|
|
64
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
65
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
66
|
+
* @param {module:model/Ucv1sessionsData} obj Optional instance to populate.
|
|
67
|
+
* @return {module:model/Ucv1sessionsData} The populated <code>Ucv1sessionsData</code> instance.
|
|
68
|
+
*/
|
|
69
|
+
exports.constructFromObject = function(data, obj) {
|
|
70
|
+
if (data) {
|
|
71
|
+
obj = obj || new exports();
|
|
72
|
+
|
|
73
|
+
if (data.hasOwnProperty('orderInformation')) {
|
|
74
|
+
obj['orderInformation'] = Ucv1sessionsDataOrderInformation.constructFromObject(data['orderInformation']);
|
|
75
|
+
}
|
|
76
|
+
if (data.hasOwnProperty('buyerInformation')) {
|
|
77
|
+
obj['buyerInformation'] = Ucv1sessionsDataBuyerInformation.constructFromObject(data['buyerInformation']);
|
|
78
|
+
}
|
|
79
|
+
if (data.hasOwnProperty('clientReferenceInformation')) {
|
|
80
|
+
obj['clientReferenceInformation'] = Upv1capturecontextsDataClientReferenceInformation.constructFromObject(data['clientReferenceInformation']);
|
|
81
|
+
}
|
|
82
|
+
if (data.hasOwnProperty('consumerAuthenticationInformation')) {
|
|
83
|
+
obj['consumerAuthenticationInformation'] = Ucv1sessionsDataConsumerAuthenticationInformation.constructFromObject(data['consumerAuthenticationInformation']);
|
|
84
|
+
}
|
|
85
|
+
if (data.hasOwnProperty('merchantInformation')) {
|
|
86
|
+
obj['merchantInformation'] = Ucv1sessionsDataMerchantInformation.constructFromObject(data['merchantInformation']);
|
|
87
|
+
}
|
|
88
|
+
if (data.hasOwnProperty('processingInformation')) {
|
|
89
|
+
obj['processingInformation'] = Ucv1sessionsDataProcessingInformation.constructFromObject(data['processingInformation']);
|
|
90
|
+
}
|
|
91
|
+
if (data.hasOwnProperty('recipientInformation')) {
|
|
92
|
+
obj['recipientInformation'] = Ucv1sessionsDataRecipientInformation.constructFromObject(data['recipientInformation']);
|
|
93
|
+
}
|
|
94
|
+
if (data.hasOwnProperty('merchantDefinedInformation')) {
|
|
95
|
+
obj['merchantDefinedInformation'] = ApiClient.convertToType(data['merchantDefinedInformation'], [Ucv1sessionsDataMerchantDefinedInformation]);
|
|
96
|
+
}
|
|
97
|
+
if (data.hasOwnProperty('deviceInformation')) {
|
|
98
|
+
obj['deviceInformation'] = Ucv1sessionsDataDeviceInformation.constructFromObject(data['deviceInformation']);
|
|
99
|
+
}
|
|
100
|
+
if (data.hasOwnProperty('paymentInformation')) {
|
|
101
|
+
obj['paymentInformation'] = Ucv1sessionsDataPaymentInformation.constructFromObject(data['paymentInformation']);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @member {module:model/Ucv1sessionsDataOrderInformation} orderInformation
|
|
109
|
+
*/
|
|
110
|
+
exports.prototype['orderInformation'] = undefined;
|
|
111
|
+
/**
|
|
112
|
+
* @member {module:model/Ucv1sessionsDataBuyerInformation} buyerInformation
|
|
113
|
+
*/
|
|
114
|
+
exports.prototype['buyerInformation'] = undefined;
|
|
115
|
+
/**
|
|
116
|
+
* @member {module:model/Upv1capturecontextsDataClientReferenceInformation} clientReferenceInformation
|
|
117
|
+
*/
|
|
118
|
+
exports.prototype['clientReferenceInformation'] = undefined;
|
|
119
|
+
/**
|
|
120
|
+
* @member {module:model/Ucv1sessionsDataConsumerAuthenticationInformation} consumerAuthenticationInformation
|
|
121
|
+
*/
|
|
122
|
+
exports.prototype['consumerAuthenticationInformation'] = undefined;
|
|
123
|
+
/**
|
|
124
|
+
* @member {module:model/Ucv1sessionsDataMerchantInformation} merchantInformation
|
|
125
|
+
*/
|
|
126
|
+
exports.prototype['merchantInformation'] = undefined;
|
|
127
|
+
/**
|
|
128
|
+
* @member {module:model/Ucv1sessionsDataProcessingInformation} processingInformation
|
|
129
|
+
*/
|
|
130
|
+
exports.prototype['processingInformation'] = undefined;
|
|
131
|
+
/**
|
|
132
|
+
* @member {module:model/Ucv1sessionsDataRecipientInformation} recipientInformation
|
|
133
|
+
*/
|
|
134
|
+
exports.prototype['recipientInformation'] = undefined;
|
|
135
|
+
/**
|
|
136
|
+
* @member {Array.<module:model/Ucv1sessionsDataMerchantDefinedInformation>} merchantDefinedInformation
|
|
137
|
+
*/
|
|
138
|
+
exports.prototype['merchantDefinedInformation'] = undefined;
|
|
139
|
+
/**
|
|
140
|
+
* @member {module:model/Ucv1sessionsDataDeviceInformation} deviceInformation
|
|
141
|
+
*/
|
|
142
|
+
exports.prototype['deviceInformation'] = undefined;
|
|
143
|
+
/**
|
|
144
|
+
* @member {module:model/Ucv1sessionsDataPaymentInformation} paymentInformation
|
|
145
|
+
*/
|
|
146
|
+
exports.prototype['paymentInformation'] = undefined;
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
return exports;
|
|
151
|
+
}));
|
|
152
|
+
|
|
153
|
+
|