From 4f7629d834e0e472ae883ac4b5ed10b3c8923f17 Mon Sep 17 00:00:00 2001 From: monu-kumar-visa <138751796+monu-kumar-visa@users.noreply.github.com> Date: Fri, 10 Nov 2023 00:02:10 +0530 Subject: [PATCH] Oct release (#162) * Nlog update * spec changes for oct release * changing the dependency version in mustache file * added disclaimer in beta api methods and README file. * removed validation due to incorrect regex * renaming the long file * Revert "removed validation due to incorrect regex" This reverts commit 31993478c97e71830c6f03af8013c32b555f0582. * Revert "added disclaimer in beta api methods and README file." This reverts commit e2716848bf7a2064155b8f51eae06eeb3dddc4e2. * files renamed through sdk gen * Revert "Revert "added disclaimer in beta api methods and README file."" This reverts commit 56f93322f710320e5c48190bf3d23a6585d2a6e0. * Revert "Revert "removed validation due to incorrect regex"" This reverts commit 61f3e30a18653fa48136634901604e346fa5beda. * nlog version update * version update * version update in mustache file --------- Co-authored-by: Shetty Co-authored-by: Gaurav Bansal --- Api/BatchesApi.cs | 132 +- Api/CreateNewWebhooksApi.cs | 938 + Api/InvoiceSettingsApi.cs | 32 +- Api/InvoicesApi.cs | 96 +- Api/ManageWebhooksApi.cs | 1751 ++ Api/MerchantBoardingApi.cs | 663 + ...rdingv1registrationsDocumentInformation.cs | 128 + ...tionsDocumentInformationSignedDocuments.cs | 128 + ...ngv1registrationsIntegrationInformation.cs | 145 + ...gistrationsIntegrationInformationOauth2.cs | 157 + ...egrationInformationTenantConfigurations.cs | 165 + ...IntegrationInformationTenantInformation.cs | 129 + ...gv1registrationsOrganizationInformation.cs | 336 + ...anizationInformationBusinessInformation.cs | 997 + ...onInformationBusinessInformationAddress.cs | 282 + ...ationBusinessInformationBusinessContact.cs | 264 + ...registrationsOrganizationInformationKYC.cs | 421 + ...izationInformationKYCDepositBankAccount.cs | 266 + ...istrationsOrganizationInformationOwners.cs | 483 + ...ardingv1registrationsProductInformation.cs | 128 + ...tionsProductInformationSelectedProducts.cs | 176 + ...gv1registrationsRegistrationInformation.cs | 304 + Model/CapturePaymentRequest.cs | 18 +- Model/CommerceSolutionsProducts.cs | 160 + ...CommerceSolutionsProductsAccountUpdater.cs | 144 + ...sAccountUpdaterConfigurationInformation.cs | 144 + ...rConfigurationInformationConfigurations.cs | 216 + ...figurationInformationConfigurationsAmex.cs | 177 + ...tionInformationConfigurationsMasterCard.cs | 183 + ...figurationInformationConfigurationsVisa.cs | 183 + Model/CommerceSolutionsProductsBinLookup.cs | 144 + ...oductsBinLookupConfigurationInformation.cs | 128 + ...pConfigurationInformationConfigurations.cs | 146 + ...ommerceSolutionsProductsTokenManagement.cs | 144 + ...TokenManagementConfigurationInformation.cs | 144 + ...tConfigurationInformationConfigurations.cs | 129 + Model/CreateCreditRequest.cs | 18 +- Model/CreatePaymentRequest.cs | 18 +- Model/CreateWebhook.cs | 280 + Model/InlineResponse2002.cs | 156 +- ...nlineResponse2002IntegrationInformation.cs | 145 + ...egrationInformationTenantConfigurations.cs | 235 + Model/InlineResponse2003.cs | 187 +- Model/InlineResponse2004.cs | 309 +- Model/InlineResponse2005.cs | 224 + ...edded.cs => InlineResponse2005Embedded.cs} | 20 +- ...s => InlineResponse2005EmbeddedBatches.cs} | 22 +- ....cs => InlineResponse2005EmbeddedLinks.cs} | 20 +- ...InlineResponse2005EmbeddedLinksReports.cs} | 16 +- ...cs => InlineResponse2005EmbeddedTotals.cs} | 18 +- ...002Links.cs => InlineResponse2005Links.cs} | 18 +- Model/InlineResponse2006.cs | 277 + ...illing.cs => InlineResponse2006Billing.cs} | 18 +- ...003Links.cs => InlineResponse2006Links.cs} | 20 +- ...rt.cs => InlineResponse2006LinksReport.cs} | 18 +- Model/InlineResponse2007.cs | 277 + ...ecords.cs => InlineResponse2007Records.cs} | 22 +- ...cs => InlineResponse2007ResponseRecord.cs} | 20 +- ...nse2007ResponseRecordAdditionalUpdates.cs} | 18 +- ...d.cs => InlineResponse2007SourceRecord.cs} | 18 +- Model/InlineResponse2011.cs | 302 + ...nlineResponse2011IntegrationInformation.cs | 129 + ...egrationInformationTenantConfigurations.cs | 219 + ...lineResponse2011OrganizationInformation.cs | 160 + ...ineResponse2011ProductInformationSetups.cs | 151 + ...lineResponse2011RegistrationInformation.cs | 180 + Model/InlineResponse2011Setups.cs | 176 + ...lineResponse2011SetupsCommerceSolutions.cs | 160 + Model/InlineResponse2011SetupsPayments.cs | 368 + ...esponse2011SetupsPaymentsCardProcessing.cs | 144 + ...ymentsCardProcessingConfigurationStatus.cs | 296 + ...aymentsCardProcessingSubscriptionStatus.cs | 263 + ...sponse2011SetupsPaymentsDigitalPayments.cs | 128 + Model/InlineResponse2011SetupsRisk.cs | 144 + ...ineResponse2011SetupsValueAddedServices.cs | 144 + Model/InlineResponse2012.cs | 178 + Model/InlineResponse2012KeyInformation.cs | 298 + ...ponse2012KeyInformationErrorInformation.cs | 145 + ...12KeyInformationErrorInformationDetails.cs | 146 + Model/InlineResponse2013.cs | 372 + Model/InlineResponse2014.cs | 178 + Model/InlineResponse4007.cs | 211 +- Model/InlineResponse4007Details.cs | 48 +- Model/InlineResponse4008.cs | 311 + Model/InlineResponse4008Details.cs | 144 + Model/InlineResponse4041.cs | 212 + Model/InlineResponse4042.cs | 160 + Model/InlineResponse4042Details.cs | 144 + Model/InlineResponse4221.cs | 212 + Model/InlineResponse5003.cs | 196 + ...essv2keysasymClientReferenceInformation.cs | 129 + Model/Kmsegressv2keysasymKeyInformation.cs | 265 + ...ressv2keyssymClientReferenceInformation.cs | 129 + Model/Kmsegressv2keyssymKeyInformation.cs | 265 + ...tionsv1productsorganizationIdEventTypes.cs | 208 + ...ubscriptionsv1webhooksNotificationScope.cs | 154 + ...ficationsubscriptionsv1webhooksProducts.cs | 145 + ...ationsubscriptionsv1webhooksRetryPolicy.cs | 248 + ...onsubscriptionsv1webhooksSecurityPolicy.cs | 145 + ...nsubscriptionsv1webhooksSecurityPolicy1.cs | 162 + ...riptionsv1webhooksSecurityPolicy1Config.cs | 179 + ...ksSecurityPolicy1ConfigAdditionalConfig.cs | 176 + ...criptionsv1webhooksSecurityPolicyConfig.cs | 163 + ...ebhookswebhookIdreplaysByDeliveryStatus.cs | 212 + Model/PaymentProducts.cs | 384 + Model/PaymentProductsCardPresentConnect.cs | 144 + ...dPresentConnectConfigurationInformation.cs | 144 + ...tConfigurationInformationConfigurations.cs | 129 + ...rdPresentConnectSubscriptionInformation.cs | 168 + Model/PaymentProductsCardProcessing.cs | 144 + ...sCardProcessingConfigurationInformation.cs | 144 + ...gConfigurationInformationConfigurations.cs | 144 + ...gurationInformationConfigurationsCommon.cs | 495 + ...InformationConfigurationsCommonAcquirer.cs | 197 + ...formationConfigurationsCommonCurrencies.cs | 230 + ...ormationConfigurationsCommonCurrencies1.cs | 179 + ...ionsCommonMerchantDescriptorInformation.cs | 248 + ...rmationConfigurationsCommonPaymentTypes.cs | 145 + ...formationConfigurationsCommonProcessors.cs | 954 + ...rationInformationConfigurationsFeatures.cs | 144 + ...ionConfigurationsFeaturesCardNotPresent.cs | 196 + ...ationsFeaturesCardNotPresentInstallment.cs | 146 + ...igurationsFeaturesCardNotPresentPayouts.cs | 265 + ...FeaturesCardNotPresentPayoutsCurrencies.cs | 230 + ...rationsFeaturesCardNotPresentProcessors.cs | 213 + ...mationConfigurationsFeaturesCardPresent.cs | 146 + ...igurationsFeaturesCardPresentProcessors.cs | 231 + ...tsCardProcessingSubscriptionInformation.cs | 197 + ...ocessingSubscriptionInformationFeatures.cs | 128 + Model/PaymentProductsCurrencyConversion.cs | 144 + ...rencyConversionConfigurationInformation.cs | 144 + ...nConfigurationInformationConfigurations.cs | 128 + ...tionInformationConfigurationsProcessors.cs | 145 + Model/PaymentProductsCybsReadyTerminal.cs | 128 + Model/PaymentProductsDifferentialFee.cs | 128 + ...sDifferentialFeeSubscriptionInformation.cs | 196 + ...ntialFeeSubscriptionInformationFeatures.cs | 128 + Model/PaymentProductsDigitalPayments.cs | 128 + ...sDigitalPaymentsSubscriptionInformation.cs | 197 + Model/PaymentProductsECheck.cs | 144 + ...tProductsECheckConfigurationInformation.cs | 144 + ...kConfigurationInformationConfigurations.cs | 160 + ...gurationInformationConfigurationsCommon.cs | 249 + ...rmationConfigurationsCommonInternalOnly.cs | 154 + ...figurationsCommonInternalOnlyProcessors.cs | 221 + ...formationConfigurationsCommonProcessors.cs | 226 + ...rationInformationConfigurationsFeatures.cs | 128 + ...rationsFeaturesAccountValidationService.cs | 145 + ...resAccountValidationServiceInternalOnly.cs | 129 + ...turesAccountValidationServiceProcessors.cs | 247 + ...onInformationConfigurationsUnderwriting.cs | 351 + ...ntProductsECheckSubscriptionInformation.cs | 197 + Model/PaymentProductsPayerAuthentication.cs | 144 + ...rAuthenticationConfigurationInformation.cs | 144 + ...nConfigurationInformationConfigurations.cs | 128 + ...ationInformationConfigurationsCardTypes.cs | 240 + ...ionInformationConfigurationsCardTypesCB.cs | 169 + ...mationConfigurationsCardTypesJCBJSecure.cs | 169 + ...onConfigurationsCardTypesVerifiedByVisa.cs | 152 + ...ationsCardTypesVerifiedByVisaCurrencies.cs | 176 + ...erAuthenticationSubscriptionInformation.cs | 180 + Model/PaymentProductsPayouts.cs | 144 + ...ProductsPayoutsConfigurationInformation.cs | 128 + ...sConfigurationInformationConfigurations.cs | 144 + ...formationConfigurationsProcessorAccount.cs | 184 + ...ationInformationConfigurationsPullfunds.cs | 260 + ...ationInformationConfigurationsPushfunds.cs | 302 + Model/PaymentProductsSecureAcceptance.cs | 144 + ...ecureAcceptanceConfigurationInformation.cs | 144 + ...eConfigurationInformationConfigurations.cs | 225 + ...rationInformationConfigurationsCheckout.cs | 163 + ...rmationConfigurationsContactInformation.cs | 176 + ...nInformationConfigurationsNotifications.cs | 144 + ...tionsNotificationsCustomerNotifications.cs | 231 + ...tionsNotificationsMerchantNotifications.cs | 197 + ...InformationConfigurationsPaymentMethods.cs | 161 + ...onInformationConfigurationsPaymentTypes.cs | 128 + ...tionConfigurationsPaymentTypesCardTypes.cs | 176 + ...igurationsPaymentTypesCardTypesDiscover.cs | 228 + ...urationInformationConfigurationsService.cs | 231 + Model/PaymentProductsTax.cs | 128 + Model/PaymentProductsVirtualTerminal.cs | 144 + ...VirtualTerminalConfigurationInformation.cs | 144 + ...lConfigurationInformationConfigurations.cs | 144 + ...InformationConfigurationsCardNotPresent.cs | 144 + ...sCardNotPresentGlobalPaymentInformation.cs | 160 + ...rationsCardNotPresentReceiptInformation.cs | 160 + ...sCardNotPresentReceiptInformationHeader.cs | 128 + ...irtualTerminalMerchantDefinedDataFields.cs | 512 + ...oductsVirtualTerminalPaymentInformation.cs | 707 + ...minalPaymentInformationBasicInformation.cs | 298 + ...lTerminalReceiptInformationEmailReceipt.cs | 128 + ...minalReceiptInformationOrderInformation.cs | 144 + Model/PostRegistrationBody.cs | 192 + ...aymentsPost201ResponseIssuerInformation.cs | 19 +- .../PtsV2PaymentsReversalsPost201Response.cs | 6 +- ...reementsPaymentInformationTokenizedCard.cs | 6 +- ...ymentsConsumerAuthenticationInformation.cs | 19 +- ...aymentsMerchantDefinedSecureInformation.cs | 180 + ...paymentsPaymentInformationTokenizedCard.cs | 6 +- Model/Ptsv2paymentsProcessingInformation.cs | 19 +- Model/Ptsv2paymentsTravelInformation.cs | 18 +- ...sv2paymentsTravelInformationVehicleData.cs | 146 + ...tsMerchantInformationMerchantDescriptor.cs | 19 +- Model/ReplayWebhooks.cs | 144 + ...ngV3PurchaseRefundDetailsGet200Response.cs | 2 +- Model/RiskProducts.cs | 144 + Model/RiskProductsDecisionManager.cs | 144 + ...DecisionManagerConfigurationInformation.cs | 144 + ...rConfigurationInformationConfigurations.cs | 176 + ...onInformationConfigurationsOrganization.cs | 129 + ...ormationConfigurationsPortfolioControls.cs | 144 + ...ormationConfigurationsProcessingOptions.cs | 128 + ...tionInformationConfigurationsThirdparty.cs | 128 + ...rmationConfigurationsThirdpartyProvider.cs | 224 + ...onfigurationsThirdpartyProviderAccurint.cs | 144 + ...nsThirdpartyProviderAccurintCredentials.cs | 144 + ...nfigurationsThirdpartyProviderCredilink.cs | 176 + ...sThirdpartyProviderCredilinkCredentials.cs | 160 + ...onConfigurationsThirdpartyProviderEkata.cs | 176 + ...tionsThirdpartyProviderEkataCredentials.cs | 128 + ...onfigurationsThirdpartyProviderEmailage.cs | 176 + ...onfigurationsThirdpartyProviderPerseuss.cs | 160 + ...onfigurationsThirdpartyProviderSignifyd.cs | 144 + ...nsThirdpartyProviderSignifydCredentials.cs | 176 + ...nConfigurationsThirdpartyProviderTargus.cs | 160 + ...ionsThirdpartyProviderTargusCredentials.cs | 160 + .../RiskProductsFraudManagementEssentials.cs | 144 + ...ementEssentialsConfigurationInformation.cs | 128 + ...nresultsPaymentInformationTokenizedCard.cs | 6 +- ...icationsPaymentInformationTokenizedCard.cs | 6 +- ...onsetupsPaymentInformationTokenizedCard.cs | 6 +- ...isionsConsumerAuthenticationInformation.cs | 6 +- ...ecisionsPaymentInformationTokenizedCard.cs | 6 +- Model/SaveAsymEgressKey.cs | 174 + Model/SaveSymEgressKey.cs | 174 + Model/UpdateWebhook.cs | 321 + Model/ValueAddedServicesProducts.cs | 144 + Properties/AssemblyInfo.cs | 4 +- README.md | 4 + cybersource-rest-client-dotnet.csproj | 12 +- cybersource-rest-client-dotnet.nuspec | 6 +- cybersource-rest-client-dotnet.sln | 14 +- docs/BatchesApi.md | 18 +- ...rdingv1registrationsDocumentInformation.md | 9 + ...ionsDocumentInformationSignedDocuments.md} | 4 +- ...ngv1registrationsIntegrationInformation.md | 10 + ...gistrationsIntegrationInformationOauth2.md | 10 + ...egrationInformationTenantConfigurations.md | 10 + ...IntegrationInformationTenantInformation.md | 9 + ...gv1registrationsOrganizationInformation.md | 17 + ...anizationInformationBusinessInformation.md | 22 + ...onInformationBusinessInformationAddress.md | 14 + ...ationBusinessInformationBusinessContact.md | 13 + ...registrationsOrganizationInformationKYC.md | 20 + ...izationInformationKYCDepositBankAccount.md | 12 + ...istrationsOrganizationInformationOwners.md | 22 + ...ardingv1registrationsProductInformation.md | 9 + ...tionsProductInformationSelectedProducts.md | 12 + ...gv1registrationsRegistrationInformation.md | 15 + docs/CapturePaymentRequest.md | 1 + docs/CommerceSolutionsProducts.md | 11 + ...CommerceSolutionsProductsAccountUpdater.md | 10 + ...sAccountUpdaterConfigurationInformation.md | 10 + ...rConfigurationInformationConfigurations.md | 13 + ...figurationInformationConfigurationsAmex.md | 12 + ...tionInformationConfigurationsMasterCard.md | 11 + ...figurationInformationConfigurationsVisa.md | 11 + docs/CommerceSolutionsProductsBinLookup.md | 10 + ...oductsBinLookupConfigurationInformation.md | 9 + ...pConfigurationInformationConfigurations.md | 10 + ...ommerceSolutionsProductsTokenManagement.md | 10 + ...TokenManagementConfigurationInformation.md | 10 + ...tConfigurationInformationConfigurations.md | 9 + docs/CreateCreditRequest.md | 1 + docs/CreateNewWebhooksApi.md | 200 + docs/CreatePaymentRequest.md | 1 + docs/CreateWebhook.md | 18 + docs/InlineResponse2002.md | 14 +- ...nlineResponse2002IntegrationInformation.md | 10 + ...egrationInformationTenantConfigurations.md | 13 + docs/InlineResponse2003.md | 13 +- docs/InlineResponse2004.md | 24 +- docs/InlineResponse2005.md | 15 + docs/InlineResponse2005Embedded.md | 9 + ...d => InlineResponse2005EmbeddedBatches.md} | 6 +- ....md => InlineResponse2005EmbeddedLinks.md} | 4 +- ...InlineResponse2005EmbeddedLinksReports.md} | 2 +- ...md => InlineResponse2005EmbeddedTotals.md} | 2 +- ...002Links.md => InlineResponse2005Links.md} | 2 +- docs/InlineResponse2006.md | 18 + ...illing.md => InlineResponse2006Billing.md} | 2 +- ...003Links.md => InlineResponse2006Links.md} | 4 +- ...rt.md => InlineResponse2006LinksReport.md} | 2 +- docs/InlineResponse2007.md | 18 + ...ecords.md => InlineResponse2007Records.md} | 6 +- ...md => InlineResponse2007ResponseRecord.md} | 4 +- ...nse2007ResponseRecordAdditionalUpdates.md} | 2 +- ...d.md => InlineResponse2007SourceRecord.md} | 2 +- docs/InlineResponse2011.md | 17 + ...nlineResponse2011IntegrationInformation.md | 9 + ...egrationInformationTenantConfigurations.md | 12 + ...lineResponse2011OrganizationInformation.md | 11 + ...ineResponse2011ProductInformationSetups.md | 10 + ...lineResponse2011RegistrationInformation.md | 11 + docs/InlineResponse2011Setups.md | 12 + ...lineResponse2011SetupsCommerceSolutions.md | 11 + docs/InlineResponse2011SetupsPayments.md | 24 + ...esponse2011SetupsPaymentsCardProcessing.md | 10 + ...ymentsCardProcessingConfigurationStatus.md | 15 + ...aymentsCardProcessingSubscriptionStatus.md | 13 + ...sponse2011SetupsPaymentsDigitalPayments.md | 9 + docs/InlineResponse2011SetupsRisk.md | 10 + ...ineResponse2011SetupsValueAddedServices.md | 10 + docs/InlineResponse2012.md | 12 + docs/InlineResponse2012KeyInformation.md | 19 + ...ponse2012KeyInformationErrorInformation.md | 10 + ...12KeyInformationErrorInformationDetails.md | 10 + docs/InlineResponse2013.md | 23 + docs/InlineResponse2014.md | 12 + docs/InlineResponse4007.md | 8 +- docs/InlineResponse4007Details.md | 4 +- docs/InlineResponse4008.md | 13 + docs/InlineResponse4008Details.md | 10 + docs/InlineResponse4041.md | 13 + docs/InlineResponse4042.md | 11 + docs/InlineResponse4042Details.md | 10 + docs/InlineResponse4221.md | 13 + docs/InlineResponse5003.md | 12 + docs/InvoiceSettingsApi.md | 4 +- docs/InvoicesApi.md | 12 +- ...essv2keysasymClientReferenceInformation.md | 9 + docs/Kmsegressv2keysasymKeyInformation.md | 17 + ...ressv2keyssymClientReferenceInformation.md | 9 + docs/Kmsegressv2keyssymKeyInformation.md | 17 + docs/ManageWebhooksApi.md | 391 + docs/MerchantBoardingApi.md | 134 + ...tionsv1productsorganizationIdEventTypes.md | 13 + ...ubscriptionsv1webhooksNotificationScope.md | 10 + ...ficationsubscriptionsv1webhooksProducts.md | 10 + ...ationsubscriptionsv1webhooksRetryPolicy.md | 16 + ...onsubscriptionsv1webhooksSecurityPolicy.md | 10 + ...nsubscriptionsv1webhooksSecurityPolicy1.md | 11 + ...riptionsv1webhooksSecurityPolicy1Config.md | 12 + ...ksSecurityPolicy1ConfigAdditionalConfig.md | 12 + ...criptionsv1webhooksSecurityPolicyConfig.md | 11 + ...ebhookswebhookIdreplaysByDeliveryStatus.md | 14 + docs/PaymentProducts.md | 25 + docs/PaymentProductsCardPresentConnect.md | 10 + ...dPresentConnectConfigurationInformation.md | 10 + ...tConfigurationInformationConfigurations.md | 9 + ...rdPresentConnectSubscriptionInformation.md | 10 + docs/PaymentProductsCardProcessing.md | 10 + ...sCardProcessingConfigurationInformation.md | 10 + ...gConfigurationInformationConfigurations.md | 10 + ...gurationInformationConfigurationsCommon.md | 29 + ...InformationConfigurationsCommonAcquirer.md | 13 + ...formationConfigurationsCommonCurrencies.md | 15 + ...ormationConfigurationsCommonCurrencies1.md | 12 + ...ionsCommonMerchantDescriptorInformation.md | 16 + ...rmationConfigurationsCommonPaymentTypes.md | 10 + ...formationConfigurationsCommonProcessors.md | 52 + ...rationInformationConfigurationsFeatures.md | 10 + ...ionConfigurationsFeaturesCardNotPresent.md | 13 + ...ationsFeaturesCardNotPresentInstallment.md | 10 + ...igurationsFeaturesCardNotPresentPayouts.md | 17 + ...FeaturesCardNotPresentPayoutsCurrencies.md | 15 + ...rationsFeaturesCardNotPresentProcessors.md | 14 + ...mationConfigurationsFeaturesCardPresent.md | 10 + ...igurationsFeaturesCardPresentProcessors.md | 15 + ...tsCardProcessingSubscriptionInformation.md | 11 + ...ocessingSubscriptionInformationFeatures.md | 9 + docs/PaymentProductsCurrencyConversion.md | 10 + ...rencyConversionConfigurationInformation.md | 10 + ...nConfigurationInformationConfigurations.md | 9 + ...tionInformationConfigurationsProcessors.md | 10 + docs/PaymentProductsCybsReadyTerminal.md | 9 + docs/PaymentProductsDifferentialFee.md | 9 + ...sDifferentialFeeSubscriptionInformation.md | 11 + ...ntialFeeSubscriptionInformationFeatures.md | 9 + docs/PaymentProductsDigitalPayments.md | 9 + ...sDigitalPaymentsSubscriptionInformation.md | 11 + docs/PaymentProductsECheck.md | 10 + ...tProductsECheckConfigurationInformation.md | 10 + ...kConfigurationInformationConfigurations.md | 11 + ...gurationInformationConfigurationsCommon.md | 14 + ...rmationConfigurationsCommonInternalOnly.md | 10 + ...figurationsCommonInternalOnlyProcessors.md | 13 + ...formationConfigurationsCommonProcessors.md | 13 + ...rationInformationConfigurationsFeatures.md | 9 + ...rationsFeaturesAccountValidationService.md | 10 + ...resAccountValidationServiceInternalOnly.md | 9 + ...turesAccountValidationServiceProcessors.md | 15 + ...onInformationConfigurationsUnderwriting.md | 18 + ...ntProductsECheckSubscriptionInformation.md | 11 + docs/PaymentProductsPayerAuthentication.md | 10 + ...rAuthenticationConfigurationInformation.md | 10 + ...nConfigurationInformationConfigurations.md | 9 + ...ationInformationConfigurationsCardTypes.md | 16 + ...ionInformationConfigurationsCardTypesCB.md | 11 + ...mationConfigurationsCardTypesJCBJSecure.md | 11 + ...onConfigurationsCardTypesVerifiedByVisa.md | 10 + ...ationsCardTypesVerifiedByVisaCurrencies.md | 11 + ...erAuthenticationSubscriptionInformation.md | 10 + docs/PaymentProductsPayouts.md | 10 + ...ProductsPayoutsConfigurationInformation.md | 9 + ...sConfigurationInformationConfigurations.md | 10 + ...formationConfigurationsProcessorAccount.md | 11 + ...ationInformationConfigurationsPullfunds.md | 15 + ...ationInformationConfigurationsPushfunds.md | 17 + docs/PaymentProductsSecureAcceptance.md | 10 + ...ecureAcceptanceConfigurationInformation.md | 10 + ...eConfigurationInformationConfigurations.md | 15 + ...rationInformationConfigurationsCheckout.md | 11 + ...rmationConfigurationsContactInformation.md | 12 + ...nInformationConfigurationsNotifications.md | 10 + ...tionsNotificationsCustomerNotifications.md | 15 + ...tionsNotificationsMerchantNotifications.md | 13 + ...InformationConfigurationsPaymentMethods.md | 9 + ...onInformationConfigurationsPaymentTypes.md | 9 + ...tionConfigurationsPaymentTypesCardTypes.md | 12 + ...igurationsPaymentTypesCardTypesDiscover.md | 15 + ...urationInformationConfigurationsService.md | 15 + docs/PaymentProductsTax.md | 9 + docs/PaymentProductsVirtualTerminal.md | 10 + ...VirtualTerminalConfigurationInformation.md | 10 + ...lConfigurationInformationConfigurations.md | 10 + ...InformationConfigurationsCardNotPresent.md | 10 + ...sCardNotPresentGlobalPaymentInformation.md | 11 + ...rationsCardNotPresentReceiptInformation.md | 11 + ...sCardNotPresentReceiptInformationHeader.md | 9 + ...irtualTerminalMerchantDefinedDataFields.md | 33 + ...oductsVirtualTerminalPaymentInformation.md | 21 + ...minalPaymentInformationBasicInformation.md | 17 + ...lTerminalReceiptInformationEmailReceipt.md | 9 + ...minalReceiptInformationOrderInformation.md | 10 + docs/PostRegistrationBody.md | 13 + ...aymentsPost201ResponseIssuerInformation.md | 1 + docs/PtsV2PaymentsReversalsPost201Response.md | 2 +- ...reementsPaymentInformationTokenizedCard.md | 2 +- ...ymentsConsumerAuthenticationInformation.md | 1 + ...aymentsMerchantDefinedSecureInformation.md | 12 + ...paymentsPaymentInformationTokenizedCard.md | 2 +- docs/Ptsv2paymentsProcessingInformation.md | 1 + docs/Ptsv2paymentsTravelInformation.md | 1 + ...sv2paymentsTravelInformationVehicleData.md | 10 + ...tsMerchantInformationMerchantDescriptor.md | 1 + docs/ReplayWebhooks.md | 10 + docs/RiskProducts.md | 10 + docs/RiskProductsDecisionManager.md | 10 + ...DecisionManagerConfigurationInformation.md | 10 + ...rConfigurationInformationConfigurations.md | 12 + ...onInformationConfigurationsOrganization.md | 9 + ...ormationConfigurationsPortfolioControls.md | 10 + ...ormationConfigurationsProcessingOptions.md | 9 + ...tionInformationConfigurationsThirdparty.md | 9 + ...rmationConfigurationsThirdpartyProvider.md | 15 + ...onfigurationsThirdpartyProviderAccurint.md | 10 + ...nsThirdpartyProviderAccurintCredentials.md | 10 + ...nfigurationsThirdpartyProviderCredilink.md | 12 + ...sThirdpartyProviderCredilinkCredentials.md | 11 + ...onConfigurationsThirdpartyProviderEkata.md | 12 + ...tionsThirdpartyProviderEkataCredentials.md | 9 + ...onfigurationsThirdpartyProviderEmailage.md | 12 + ...onfigurationsThirdpartyProviderPerseuss.md | 11 + ...onfigurationsThirdpartyProviderSignifyd.md | 10 + ...nsThirdpartyProviderSignifydCredentials.md | 12 + ...nConfigurationsThirdpartyProviderTargus.md | 11 + ...ionsThirdpartyProviderTargusCredentials.md | 11 + docs/RiskProductsFraudManagementEssentials.md | 10 + ...ementEssentialsConfigurationInformation.md | 9 + ...nresultsPaymentInformationTokenizedCard.md | 2 +- ...icationsPaymentInformationTokenizedCard.md | 2 +- ...onsetupsPaymentInformationTokenizedCard.md | 2 +- ...isionsConsumerAuthenticationInformation.md | 2 +- ...ecisionsPaymentInformationTokenizedCard.md | 2 +- docs/SaveAsymEgressKey.md | 11 + docs/SaveSymEgressKey.md | 11 + docs/UpdateWebhook.md | 20 + docs/ValueAddedServicesProducts.md | 10 + .../Project.mustache | 10 +- generator/cybersource-rest-spec.json | 19016 +++++++++++++++- generator/cybersource_dotnet_sdk_gen.bat | 56 + packages.config | 4 +- test/Api/BatchesApiTests.cs | 6 +- test/Api/CreateNewWebhooksApiTests.cs | 108 + test/Api/ManageWebhooksApiTests.cs | 148 + test/Api/MerchantBoardingApiTests.cs | 94 + ...DocumentInformationSignedDocumentsTests.cs | 78 + ...v1registrationsDocumentInformationTests.cs | 78 + ...ationsIntegrationInformationOauth2Tests.cs | 86 + ...ionInformationTenantConfigurationsTests.cs | 86 + ...rationInformationTenantInformationTests.cs | 78 + ...egistrationsIntegrationInformationTests.cs | 86 + ...ormationBusinessInformationAddressTests.cs | 118 + ...BusinessInformationBusinessContactTests.cs | 110 + ...tionInformationBusinessInformationTests.cs | 182 + ...onInformationKYCDepositBankAccountTests.cs | 102 + ...trationsOrganizationInformationKYCTests.cs | 166 + ...tionsOrganizationInformationOwnersTests.cs | 182 + ...gistrationsOrganizationInformationTests.cs | 142 + ...ProductInformationSelectedProductsTests.cs | 102 + ...gv1registrationsProductInformationTests.cs | 78 + ...gistrationsRegistrationInformationTests.cs | 126 + test/Model/CapturePaymentRequestTests.cs | 8 + ...ationInformationConfigurationsAmexTests.cs | 102 + ...nformationConfigurationsMasterCardTests.cs | 94 + ...igurationInformationConfigurationsTests.cs | 110 + ...ationInformationConfigurationsVisaTests.cs | 94 + ...untUpdaterConfigurationInformationTests.cs | 86 + ...rceSolutionsProductsAccountUpdaterTests.cs | 86 + ...igurationInformationConfigurationsTests.cs | 86 + ...sBinLookupConfigurationInformationTests.cs | 78 + ...CommerceSolutionsProductsBinLookupTests.cs | 86 + test/Model/CommerceSolutionsProductsTests.cs | 94 + ...igurationInformationConfigurationsTests.cs | 78 + ...ManagementConfigurationInformationTests.cs | 86 + ...ceSolutionsProductsTokenManagementTests.cs | 86 + test/Model/CreateCreditRequestTests.cs | 8 + test/Model/CreatePaymentRequestTests.cs | 8 + test/Model/CreateWebhookTests.cs | 150 + ...ionInformationTenantConfigurationsTests.cs | 110 + ...Response2002IntegrationInformationTests.cs | 86 + test/Model/InlineResponse2002Tests.cs | 42 +- test/Model/InlineResponse2003Tests.cs | 74 +- test/Model/InlineResponse2004Tests.cs | 92 +- ...InlineResponse2005EmbeddedBatchesTests.cs} | 20 +- ...eResponse2005EmbeddedLinksReportsTests.cs} | 20 +- ...> InlineResponse2005EmbeddedLinksTests.cs} | 20 +- ....cs => InlineResponse2005EmbeddedTests.cs} | 20 +- ... InlineResponse2005EmbeddedTotalsTests.cs} | 20 +- ...sts.cs => InlineResponse2005LinksTests.cs} | 20 +- test/Model/InlineResponse2005Tests.cs | 126 + ...s.cs => InlineResponse2006BillingTests.cs} | 20 +- ... => InlineResponse2006LinksReportTests.cs} | 20 +- ...sts.cs => InlineResponse2006LinksTests.cs} | 20 +- test/Model/InlineResponse2006Tests.cs | 150 + ...s.cs => InlineResponse2007RecordsTests.cs} | 20 +- ...07ResponseRecordAdditionalUpdatesTests.cs} | 20 +- ... InlineResponse2007ResponseRecordTests.cs} | 20 +- ...=> InlineResponse2007SourceRecordTests.cs} | 20 +- test/Model/InlineResponse2007Tests.cs | 150 + ...ionInformationTenantConfigurationsTests.cs | 102 + ...Response2011IntegrationInformationTests.cs | 78 + ...esponse2011OrganizationInformationTests.cs | 94 + ...sponse2011ProductInformationSetupsTests.cs | 86 + ...esponse2011RegistrationInformationTests.cs | 94 + ...esponse2011SetupsCommerceSolutionsTests.cs | 94 + ...sCardProcessingConfigurationStatusTests.cs | 126 + ...tsCardProcessingSubscriptionStatusTests.cs | 110 + ...se2011SetupsPaymentsCardProcessingTests.cs | 86 + ...e2011SetupsPaymentsDigitalPaymentsTests.cs | 78 + .../InlineResponse2011SetupsPaymentsTests.cs | 198 + .../InlineResponse2011SetupsRiskTests.cs | 86 + test/Model/InlineResponse2011SetupsTests.cs | 102 + ...sponse2011SetupsValueAddedServicesTests.cs | 86 + test/Model/InlineResponse2011Tests.cs | 142 + ...InformationErrorInformationDetailsTests.cs | 86 + ...2012KeyInformationErrorInformationTests.cs | 86 + .../InlineResponse2012KeyInformationTests.cs | 158 + test/Model/InlineResponse2012Tests.cs | 102 + test/Model/InlineResponse2013Tests.cs | 190 + test/Model/InlineResponse2014Tests.cs | 102 + test/Model/InlineResponse4007DetailsTests.cs | 12 +- test/Model/InlineResponse4007Tests.cs | 24 +- test/Model/InlineResponse4008DetailsTests.cs | 86 + test/Model/InlineResponse4008Tests.cs | 110 + test/Model/InlineResponse4041Tests.cs | 110 + test/Model/InlineResponse4042DetailsTests.cs | 86 + test/Model/InlineResponse4042Tests.cs | 94 + test/Model/InlineResponse4221Tests.cs | 110 + test/Model/InlineResponse5003Tests.cs | 102 + ...keysasymClientReferenceInformationTests.cs | 78 + .../Kmsegressv2keysasymKeyInformationTests.cs | 142 + ...2keyssymClientReferenceInformationTests.cs | 78 + .../Kmsegressv2keyssymKeyInformationTests.cs | 142 + ...v1productsorganizationIdEventTypesTests.cs | 110 + ...iptionsv1webhooksNotificationScopeTests.cs | 86 + ...ionsubscriptionsv1webhooksProductsTests.cs | 86 + ...subscriptionsv1webhooksRetryPolicyTests.cs | 134 + ...urityPolicy1ConfigAdditionalConfigTests.cs | 102 + ...onsv1webhooksSecurityPolicy1ConfigTests.cs | 102 + ...criptionsv1webhooksSecurityPolicy1Tests.cs | 94 + ...ionsv1webhooksSecurityPolicyConfigTests.cs | 94 + ...scriptionsv1webhooksSecurityPolicyTests.cs | 86 + ...kswebhookIdreplaysByDeliveryStatusTests.cs | 118 + ...igurationInformationConfigurationsTests.cs | 78 + ...entConnectConfigurationInformationTests.cs | 86 + ...sentConnectSubscriptionInformationTests.cs | 86 + .../PaymentProductsCardPresentConnectTests.cs | 86 + ...mationConfigurationsCommonAcquirerTests.cs | 110 + ...ionConfigurationsCommonCurrencies1Tests.cs | 102 + ...tionConfigurationsCommonCurrenciesTests.cs | 126 + ...onConfigurationsCommonPaymentTypesTests.cs | 86 + ...tionConfigurationsCommonProcessorsTests.cs | 422 + ...ionInformationConfigurationsCommonTests.cs | 238 + ...sFeaturesCardNotPresentInstallmentTests.cs | 86 + ...tionsFeaturesCardNotPresentPayoutsTests.cs | 142 + ...nsFeaturesCardNotPresentProcessorsTests.cs | 118 + ...nfigurationsFeaturesCardNotPresentTests.cs | 110 + ...tionsFeaturesCardPresentProcessorsTests.cs | 126 + ...nConfigurationsFeaturesCardPresentTests.cs | 86 + ...nInformationConfigurationsFeaturesTests.cs | 86 + ...igurationInformationConfigurationsTests.cs | 86 + ...ProcessingConfigurationInformationTests.cs | 86 + ...ssingMerchantDescriptorInformationTests.cs | 134 + ...ctsCardProcessingPayoutsCurrenciesTests.cs | 126 + ...ingSubscriptionInformationFeaturesTests.cs | 78 + ...dProcessingSubscriptionInformationTests.cs | 94 + .../PaymentProductsCardProcessingTests.cs | 86 + ...nformationConfigurationsProcessorsTests.cs | 86 + ...igurationInformationConfigurationsTests.cs | 78 + ...ConversionConfigurationInformationTests.cs | 86 + .../PaymentProductsCurrencyConversionTests.cs | 86 + .../PaymentProductsCybsReadyTerminalTests.cs | 78 + ...FeeSubscriptionInformationFeaturesTests.cs | 78 + ...erentialFeeSubscriptionInformationTests.cs | 94 + .../PaymentProductsDifferentialFeeTests.cs | 78 + ...talPaymentsSubscriptionInformationTests.cs | 94 + .../PaymentProductsDigitalPaymentsTests.cs | 78 + ...ationsCommonInternalOnlyProcessorsTests.cs | 110 + ...onConfigurationsCommonInternalOnlyTests.cs | 86 + ...tionConfigurationsCommonProcessorsTests.cs | 110 + ...ionInformationConfigurationsCommonTests.cs | 118 + ...nsFeaturesAccountValidationServiceTests.cs | 86 + ...nInformationConfigurationsFeaturesTests.cs | 78 + ...igurationInformationConfigurationsTests.cs | 94 + ...ormationConfigurationsUnderwritingTests.cs | 150 + ...uctsECheckConfigurationInformationTests.cs | 86 + .../PaymentProductsECheckProcessorsTests.cs | 126 + ...tProductsECheckServiceInternalOnlyTests.cs | 78 + ...ductsECheckSubscriptionInformationTests.cs | 94 + test/Model/PaymentProductsECheckTests.cs | 86 + ...sPayerAuthVerifiedByVisaCurrenciesTests.cs | 94 + ...formationConfigurationsCardTypesCBTests.cs | 94 + ...nConfigurationsCardTypesJCBJSecureTests.cs | 94 + ...InformationConfigurationsCardTypesTests.cs | 134 + ...figurationsCardTypesVerifiedByVisaTests.cs | 86 + ...igurationInformationConfigurationsTests.cs | 78 + ...enticationConfigurationInformationTests.cs | 86 + ...henticationSubscriptionInformationTests.cs | 86 + ...PaymentProductsPayerAuthenticationTests.cs | 86 + ...tionConfigurationsProcessorAccountTests.cs | 94 + ...InformationConfigurationsPullfundsTests.cs | 126 + ...InformationConfigurationsPushfundsTests.cs | 142 + ...igurationInformationConfigurationsTests.cs | 86 + ...ctsPayoutsConfigurationInformationTests.cs | 78 + test/Model/PaymentProductsPayoutsTests.cs | 86 + ...nInformationConfigurationsCheckoutTests.cs | 94 + ...onConfigurationsContactInformationTests.cs | 102 + ...rmationConfigurationsNotificationsTests.cs | 86 + ...mationConfigurationsPaymentMethodsTests.cs | 78 + ...tionsPaymentTypesCardTypesDiscoverTests.cs | 126 + ...onfigurationsPaymentTypesCardTypesTests.cs | 102 + ...ormationConfigurationsPaymentTypesTests.cs | 78 + ...onInformationConfigurationsServiceTests.cs | 126 + ...igurationInformationConfigurationsTests.cs | 126 + ...AcceptanceConfigurationInformationTests.cs | 86 + ...ureAcceptanceCustomerNotificationsTests.cs | 126 + ...ureAcceptanceMerchantNotificationsTests.cs | 110 + .../PaymentProductsSecureAcceptanceTests.cs | 86 + test/Model/PaymentProductsTaxTests.cs | 78 + test/Model/PaymentProductsTests.cs | 206 + ...NotPresentGlobalPaymentInformationTests.cs | 94 + ...nsCardNotPresentReceiptInformationTests.cs | 94 + ...mationConfigurationsCardNotPresentTests.cs | 86 + ...igurationInformationConfigurationsTests.cs | 86 + ...alTerminalConfigurationInformationTests.cs | 86 + ...lTerminalMerchantDefinedDataFieldsTests.cs | 270 + ...PaymentInformationBasicInformationTests.cs | 142 + ...sVirtualTerminalPaymentInformationTests.cs | 174 + ...inalReceiptInformationEmailReceiptTests.cs | 78 + ...alTerminalReceiptInformationHeaderTests.cs | 78 + ...ReceiptInformationOrderInformationTests.cs | 86 + .../PaymentProductsVirtualTerminalTests.cs | 86 + test/Model/PostRegistrationBodyTests.cs | 110 + ...tsPost201ResponseIssuerInformationTests.cs | 8 + ...sConsumerAuthenticationInformationTests.cs | 8 + ...tsMerchantDefinedSecureInformationTests.cs | 102 + ...Ptsv2paymentsProcessingInformationTests.cs | 8 + .../Ptsv2paymentsTravelInformationTests.cs | 8 + ...ymentsTravelInformationVehicleDataTests.cs | 86 + ...chantInformationMerchantDescriptorTests.cs | 8 + test/Model/ReplayWebhooksTests.cs | 86 + ...ormationConfigurationsOrganizationTests.cs | 78 + ...ionConfigurationsPortfolioControlsTests.cs | 86 + ...ionConfigurationsProcessingOptionsTests.cs | 78 + ...igurationInformationConfigurationsTests.cs | 102 + ...urationsThirdpartyProviderAccurintTests.cs | 86 + ...rationsThirdpartyProviderCredilinkTests.cs | 102 + ...ThirdpartyProviderEkataCredentialsTests.cs | 78 + ...figurationsThirdpartyProviderEkataTests.cs | 102 + ...urationsThirdpartyProviderEmailageTests.cs | 102 + ...urationsThirdpartyProviderPerseussTests.cs | 94 + ...urationsThirdpartyProviderSignifydTests.cs | 86 + ...hirdpartyProviderTargusCredentialsTests.cs | 94 + ...igurationsThirdpartyProviderTargusTests.cs | 94 + ...onConfigurationsThirdpartyProviderTests.cs | 126 + ...nformationConfigurationsThirdpartyTests.cs | 78 + ...ionManagerConfigurationInformationTests.cs | 86 + .../Model/RiskProductsDecisionManagerTests.cs | 86 + ...nagerThirdpartyAccurintCredentialsTests.cs | 86 + ...agerThirdpartyCredilinkCredentialsTests.cs | 94 + ...nagerThirdpartySignifydCredentialsTests.cs | 102 + ...EssentialsConfigurationInformationTests.cs | 78 + ...kProductsFraudManagementEssentialsTests.cs | 86 + test/Model/RiskProductsTests.cs | 86 + test/Model/SaveAsymEgressKeyTests.cs | 94 + test/Model/SaveSymEgressKeyTests.cs | 94 + test/Model/UpdateWebhookTests.cs | 166 + test/Model/ValueAddedServicesProductsTests.cs | 86 + ...cybersource-rest-client-dotnet.Test.csproj | 2 +- test/packages.config | 1 + 713 files changed, 86296 insertions(+), 1440 deletions(-) create mode 100644 Api/CreateNewWebhooksApi.cs create mode 100644 Api/ManageWebhooksApi.cs create mode 100644 Api/MerchantBoardingApi.cs create mode 100644 Model/Boardingv1registrationsDocumentInformation.cs create mode 100644 Model/Boardingv1registrationsDocumentInformationSignedDocuments.cs create mode 100644 Model/Boardingv1registrationsIntegrationInformation.cs create mode 100644 Model/Boardingv1registrationsIntegrationInformationOauth2.cs create mode 100644 Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.cs create mode 100644 Model/Boardingv1registrationsIntegrationInformationTenantInformation.cs create mode 100644 Model/Boardingv1registrationsOrganizationInformation.cs create mode 100644 Model/Boardingv1registrationsOrganizationInformationBusinessInformation.cs create mode 100644 Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.cs create mode 100644 Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.cs create mode 100644 Model/Boardingv1registrationsOrganizationInformationKYC.cs create mode 100644 Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.cs create mode 100644 Model/Boardingv1registrationsOrganizationInformationOwners.cs create mode 100644 Model/Boardingv1registrationsProductInformation.cs create mode 100644 Model/Boardingv1registrationsProductInformationSelectedProducts.cs create mode 100644 Model/Boardingv1registrationsRegistrationInformation.cs create mode 100644 Model/CommerceSolutionsProducts.cs create mode 100644 Model/CommerceSolutionsProductsAccountUpdater.cs create mode 100644 Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.cs create mode 100644 Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.cs create mode 100644 Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.cs create mode 100644 Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.cs create mode 100644 Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.cs create mode 100644 Model/CommerceSolutionsProductsBinLookup.cs create mode 100644 Model/CommerceSolutionsProductsBinLookupConfigurationInformation.cs create mode 100644 Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.cs create mode 100644 Model/CommerceSolutionsProductsTokenManagement.cs create mode 100644 Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.cs create mode 100644 Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.cs create mode 100644 Model/CreateWebhook.cs create mode 100644 Model/InlineResponse2002IntegrationInformation.cs create mode 100644 Model/InlineResponse2002IntegrationInformationTenantConfigurations.cs create mode 100644 Model/InlineResponse2005.cs rename Model/{InlineResponse2002Embedded.cs => InlineResponse2005Embedded.cs} (84%) rename Model/{InlineResponse2002EmbeddedBatches.cs => InlineResponse2005EmbeddedBatches.cs} (93%) rename Model/{InlineResponse2002EmbeddedLinks.cs => InlineResponse2005EmbeddedLinks.cs} (83%) rename Model/{InlineResponse2002EmbeddedLinksReports.cs => InlineResponse2005EmbeddedLinksReports.cs} (87%) rename Model/{InlineResponse2002EmbeddedTotals.cs => InlineResponse2005EmbeddedTotals.cs} (92%) rename Model/{InlineResponse2002Links.cs => InlineResponse2005Links.cs} (89%) create mode 100644 Model/InlineResponse2006.cs rename Model/{InlineResponse2003Billing.cs => InlineResponse2006Billing.cs} (90%) rename Model/{InlineResponse2003Links.cs => InlineResponse2006Links.cs} (86%) rename Model/{InlineResponse2003LinksReport.cs => InlineResponse2006LinksReport.cs} (86%) create mode 100644 Model/InlineResponse2007.cs rename Model/{InlineResponse2004Records.cs => InlineResponse2007Records.cs} (85%) rename Model/{InlineResponse2004ResponseRecord.cs => InlineResponse2007ResponseRecord.cs} (93%) rename Model/{InlineResponse2004ResponseRecordAdditionalUpdates.cs => InlineResponse2007ResponseRecordAdditionalUpdates.cs} (91%) rename Model/{InlineResponse2004SourceRecord.cs => InlineResponse2007SourceRecord.cs} (94%) create mode 100644 Model/InlineResponse2011.cs create mode 100644 Model/InlineResponse2011IntegrationInformation.cs create mode 100644 Model/InlineResponse2011IntegrationInformationTenantConfigurations.cs create mode 100644 Model/InlineResponse2011OrganizationInformation.cs create mode 100644 Model/InlineResponse2011ProductInformationSetups.cs create mode 100644 Model/InlineResponse2011RegistrationInformation.cs create mode 100644 Model/InlineResponse2011Setups.cs create mode 100644 Model/InlineResponse2011SetupsCommerceSolutions.cs create mode 100644 Model/InlineResponse2011SetupsPayments.cs create mode 100644 Model/InlineResponse2011SetupsPaymentsCardProcessing.cs create mode 100644 Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.cs create mode 100644 Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.cs create mode 100644 Model/InlineResponse2011SetupsPaymentsDigitalPayments.cs create mode 100644 Model/InlineResponse2011SetupsRisk.cs create mode 100644 Model/InlineResponse2011SetupsValueAddedServices.cs create mode 100644 Model/InlineResponse2012.cs create mode 100644 Model/InlineResponse2012KeyInformation.cs create mode 100644 Model/InlineResponse2012KeyInformationErrorInformation.cs create mode 100644 Model/InlineResponse2012KeyInformationErrorInformationDetails.cs create mode 100644 Model/InlineResponse2013.cs create mode 100644 Model/InlineResponse2014.cs create mode 100644 Model/InlineResponse4008.cs create mode 100644 Model/InlineResponse4008Details.cs create mode 100644 Model/InlineResponse4041.cs create mode 100644 Model/InlineResponse4042.cs create mode 100644 Model/InlineResponse4042Details.cs create mode 100644 Model/InlineResponse4221.cs create mode 100644 Model/InlineResponse5003.cs create mode 100644 Model/Kmsegressv2keysasymClientReferenceInformation.cs create mode 100644 Model/Kmsegressv2keysasymKeyInformation.cs create mode 100644 Model/Kmsegressv2keyssymClientReferenceInformation.cs create mode 100644 Model/Kmsegressv2keyssymKeyInformation.cs create mode 100644 Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksNotificationScope.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksProducts.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksRetryPolicy.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksSecurityPolicy.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.cs create mode 100644 Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.cs create mode 100644 Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.cs create mode 100644 Model/PaymentProducts.cs create mode 100644 Model/PaymentProductsCardPresentConnect.cs create mode 100644 Model/PaymentProductsCardPresentConnectConfigurationInformation.cs create mode 100644 Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsCardPresentConnectSubscriptionInformation.cs create mode 100644 Model/PaymentProductsCardProcessing.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformation.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.cs create mode 100644 Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.cs create mode 100644 Model/PaymentProductsCardProcessingSubscriptionInformation.cs create mode 100644 Model/PaymentProductsCardProcessingSubscriptionInformationFeatures.cs create mode 100644 Model/PaymentProductsCurrencyConversion.cs create mode 100644 Model/PaymentProductsCurrencyConversionConfigurationInformation.cs create mode 100644 Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.cs create mode 100644 Model/PaymentProductsCybsReadyTerminal.cs create mode 100644 Model/PaymentProductsDifferentialFee.cs create mode 100644 Model/PaymentProductsDifferentialFeeSubscriptionInformation.cs create mode 100644 Model/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.cs create mode 100644 Model/PaymentProductsDigitalPayments.cs create mode 100644 Model/PaymentProductsDigitalPaymentsSubscriptionInformation.cs create mode 100644 Model/PaymentProductsECheck.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformation.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsCommon.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.cs create mode 100644 Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.cs create mode 100644 Model/PaymentProductsECheckSubscriptionInformation.cs create mode 100644 Model/PaymentProductsPayerAuthentication.cs create mode 100644 Model/PaymentProductsPayerAuthenticationConfigurationInformation.cs create mode 100644 Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.cs create mode 100644 Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.cs create mode 100644 Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.cs create mode 100644 Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.cs create mode 100644 Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.cs create mode 100644 Model/PaymentProductsPayerAuthenticationSubscriptionInformation.cs create mode 100644 Model/PaymentProductsPayouts.cs create mode 100644 Model/PaymentProductsPayoutsConfigurationInformation.cs create mode 100644 Model/PaymentProductsPayoutsConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.cs create mode 100644 Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.cs create mode 100644 Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.cs create mode 100644 Model/PaymentProductsSecureAcceptance.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformation.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.cs create mode 100644 Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.cs create mode 100644 Model/PaymentProductsTax.cs create mode 100644 Model/PaymentProductsVirtualTerminal.cs create mode 100644 Model/PaymentProductsVirtualTerminalConfigurationInformation.cs create mode 100644 Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.cs create mode 100644 Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.cs create mode 100644 Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.cs create mode 100644 Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.cs create mode 100644 Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.cs create mode 100644 Model/PaymentProductsVirtualTerminalMerchantDefinedDataFields.cs create mode 100644 Model/PaymentProductsVirtualTerminalPaymentInformation.cs create mode 100644 Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.cs create mode 100644 Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.cs create mode 100644 Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.cs create mode 100644 Model/PostRegistrationBody.cs create mode 100644 Model/Ptsv2paymentsMerchantDefinedSecureInformation.cs create mode 100644 Model/Ptsv2paymentsTravelInformationVehicleData.cs create mode 100644 Model/ReplayWebhooks.cs create mode 100644 Model/RiskProducts.cs create mode 100644 Model/RiskProductsDecisionManager.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformation.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurations.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.cs create mode 100644 Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.cs create mode 100644 Model/RiskProductsFraudManagementEssentials.cs create mode 100644 Model/RiskProductsFraudManagementEssentialsConfigurationInformation.cs create mode 100644 Model/SaveAsymEgressKey.cs create mode 100644 Model/SaveSymEgressKey.cs create mode 100644 Model/UpdateWebhook.cs create mode 100644 Model/ValueAddedServicesProducts.cs create mode 100644 docs/Boardingv1registrationsDocumentInformation.md rename docs/{InlineResponse2002Embedded.md => Boardingv1registrationsDocumentInformationSignedDocuments.md} (61%) create mode 100644 docs/Boardingv1registrationsIntegrationInformation.md create mode 100644 docs/Boardingv1registrationsIntegrationInformationOauth2.md create mode 100644 docs/Boardingv1registrationsIntegrationInformationTenantConfigurations.md create mode 100644 docs/Boardingv1registrationsIntegrationInformationTenantInformation.md create mode 100644 docs/Boardingv1registrationsOrganizationInformation.md create mode 100644 docs/Boardingv1registrationsOrganizationInformationBusinessInformation.md create mode 100644 docs/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.md create mode 100644 docs/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md create mode 100644 docs/Boardingv1registrationsOrganizationInformationKYC.md create mode 100644 docs/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.md create mode 100644 docs/Boardingv1registrationsOrganizationInformationOwners.md create mode 100644 docs/Boardingv1registrationsProductInformation.md create mode 100644 docs/Boardingv1registrationsProductInformationSelectedProducts.md create mode 100644 docs/Boardingv1registrationsRegistrationInformation.md create mode 100644 docs/CommerceSolutionsProducts.md create mode 100644 docs/CommerceSolutionsProductsAccountUpdater.md create mode 100644 docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.md create mode 100644 docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.md create mode 100644 docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.md create mode 100644 docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.md create mode 100644 docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.md create mode 100644 docs/CommerceSolutionsProductsBinLookup.md create mode 100644 docs/CommerceSolutionsProductsBinLookupConfigurationInformation.md create mode 100644 docs/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.md create mode 100644 docs/CommerceSolutionsProductsTokenManagement.md create mode 100644 docs/CommerceSolutionsProductsTokenManagementConfigurationInformation.md create mode 100644 docs/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.md create mode 100644 docs/CreateNewWebhooksApi.md create mode 100644 docs/CreateWebhook.md create mode 100644 docs/InlineResponse2002IntegrationInformation.md create mode 100644 docs/InlineResponse2002IntegrationInformationTenantConfigurations.md create mode 100644 docs/InlineResponse2005.md create mode 100644 docs/InlineResponse2005Embedded.md rename docs/{InlineResponse2002EmbeddedBatches.md => InlineResponse2005EmbeddedBatches.md} (82%) rename docs/{InlineResponse2002EmbeddedLinks.md => InlineResponse2005EmbeddedLinks.md} (60%) rename docs/{InlineResponse2002EmbeddedLinksReports.md => InlineResponse2005EmbeddedLinksReports.md} (84%) rename docs/{InlineResponse2002EmbeddedTotals.md => InlineResponse2005EmbeddedTotals.md} (90%) rename docs/{InlineResponse2002Links.md => InlineResponse2005Links.md} (90%) create mode 100644 docs/InlineResponse2006.md rename docs/{InlineResponse2003Billing.md => InlineResponse2006Billing.md} (90%) rename docs/{InlineResponse2003Links.md => InlineResponse2006Links.md} (70%) rename docs/{InlineResponse2003LinksReport.md => InlineResponse2006LinksReport.md} (86%) create mode 100644 docs/InlineResponse2007.md rename docs/{InlineResponse2004Records.md => InlineResponse2007Records.md} (53%) rename docs/{InlineResponse2004ResponseRecord.md => InlineResponse2007ResponseRecord.md} (82%) rename docs/{InlineResponse2004ResponseRecordAdditionalUpdates.md => InlineResponse2007ResponseRecordAdditionalUpdates.md} (89%) rename docs/{InlineResponse2004SourceRecord.md => InlineResponse2007SourceRecord.md} (92%) create mode 100644 docs/InlineResponse2011.md create mode 100644 docs/InlineResponse2011IntegrationInformation.md create mode 100644 docs/InlineResponse2011IntegrationInformationTenantConfigurations.md create mode 100644 docs/InlineResponse2011OrganizationInformation.md create mode 100644 docs/InlineResponse2011ProductInformationSetups.md create mode 100644 docs/InlineResponse2011RegistrationInformation.md create mode 100644 docs/InlineResponse2011Setups.md create mode 100644 docs/InlineResponse2011SetupsCommerceSolutions.md create mode 100644 docs/InlineResponse2011SetupsPayments.md create mode 100644 docs/InlineResponse2011SetupsPaymentsCardProcessing.md create mode 100644 docs/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.md create mode 100644 docs/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.md create mode 100644 docs/InlineResponse2011SetupsPaymentsDigitalPayments.md create mode 100644 docs/InlineResponse2011SetupsRisk.md create mode 100644 docs/InlineResponse2011SetupsValueAddedServices.md create mode 100644 docs/InlineResponse2012.md create mode 100644 docs/InlineResponse2012KeyInformation.md create mode 100644 docs/InlineResponse2012KeyInformationErrorInformation.md create mode 100644 docs/InlineResponse2012KeyInformationErrorInformationDetails.md create mode 100644 docs/InlineResponse2013.md create mode 100644 docs/InlineResponse2014.md create mode 100644 docs/InlineResponse4008.md create mode 100644 docs/InlineResponse4008Details.md create mode 100644 docs/InlineResponse4041.md create mode 100644 docs/InlineResponse4042.md create mode 100644 docs/InlineResponse4042Details.md create mode 100644 docs/InlineResponse4221.md create mode 100644 docs/InlineResponse5003.md create mode 100644 docs/Kmsegressv2keysasymClientReferenceInformation.md create mode 100644 docs/Kmsegressv2keysasymKeyInformation.md create mode 100644 docs/Kmsegressv2keyssymClientReferenceInformation.md create mode 100644 docs/Kmsegressv2keyssymKeyInformation.md create mode 100644 docs/ManageWebhooksApi.md create mode 100644 docs/MerchantBoardingApi.md create mode 100644 docs/Notificationsubscriptionsv1productsorganizationIdEventTypes.md create mode 100644 docs/Notificationsubscriptionsv1webhooksNotificationScope.md create mode 100644 docs/Notificationsubscriptionsv1webhooksProducts.md create mode 100644 docs/Notificationsubscriptionsv1webhooksRetryPolicy.md create mode 100644 docs/Notificationsubscriptionsv1webhooksSecurityPolicy.md create mode 100644 docs/Notificationsubscriptionsv1webhooksSecurityPolicy1.md create mode 100644 docs/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.md create mode 100644 docs/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.md create mode 100644 docs/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.md create mode 100644 docs/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.md create mode 100644 docs/PaymentProducts.md create mode 100644 docs/PaymentProductsCardPresentConnect.md create mode 100644 docs/PaymentProductsCardPresentConnectConfigurationInformation.md create mode 100644 docs/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsCardPresentConnectSubscriptionInformation.md create mode 100644 docs/PaymentProductsCardProcessing.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformation.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.md create mode 100644 docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.md create mode 100644 docs/PaymentProductsCardProcessingSubscriptionInformation.md create mode 100644 docs/PaymentProductsCardProcessingSubscriptionInformationFeatures.md create mode 100644 docs/PaymentProductsCurrencyConversion.md create mode 100644 docs/PaymentProductsCurrencyConversionConfigurationInformation.md create mode 100644 docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.md create mode 100644 docs/PaymentProductsCybsReadyTerminal.md create mode 100644 docs/PaymentProductsDifferentialFee.md create mode 100644 docs/PaymentProductsDifferentialFeeSubscriptionInformation.md create mode 100644 docs/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.md create mode 100644 docs/PaymentProductsDigitalPayments.md create mode 100644 docs/PaymentProductsDigitalPaymentsSubscriptionInformation.md create mode 100644 docs/PaymentProductsECheck.md create mode 100644 docs/PaymentProductsECheckConfigurationInformation.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsCommon.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.md create mode 100644 docs/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.md create mode 100644 docs/PaymentProductsECheckSubscriptionInformation.md create mode 100644 docs/PaymentProductsPayerAuthentication.md create mode 100644 docs/PaymentProductsPayerAuthenticationConfigurationInformation.md create mode 100644 docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.md create mode 100644 docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.md create mode 100644 docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.md create mode 100644 docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md create mode 100644 docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.md create mode 100644 docs/PaymentProductsPayerAuthenticationSubscriptionInformation.md create mode 100644 docs/PaymentProductsPayouts.md create mode 100644 docs/PaymentProductsPayoutsConfigurationInformation.md create mode 100644 docs/PaymentProductsPayoutsConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md create mode 100644 docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.md create mode 100644 docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.md create mode 100644 docs/PaymentProductsSecureAcceptance.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformation.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md create mode 100644 docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.md create mode 100644 docs/PaymentProductsTax.md create mode 100644 docs/PaymentProductsVirtualTerminal.md create mode 100644 docs/PaymentProductsVirtualTerminalConfigurationInformation.md create mode 100644 docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.md create mode 100644 docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.md create mode 100644 docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.md create mode 100644 docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.md create mode 100644 docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.md create mode 100644 docs/PaymentProductsVirtualTerminalMerchantDefinedDataFields.md create mode 100644 docs/PaymentProductsVirtualTerminalPaymentInformation.md create mode 100644 docs/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.md create mode 100644 docs/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.md create mode 100644 docs/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.md create mode 100644 docs/PostRegistrationBody.md create mode 100644 docs/Ptsv2paymentsMerchantDefinedSecureInformation.md create mode 100644 docs/Ptsv2paymentsTravelInformationVehicleData.md create mode 100644 docs/ReplayWebhooks.md create mode 100644 docs/RiskProducts.md create mode 100644 docs/RiskProductsDecisionManager.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformation.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurations.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.md create mode 100644 docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.md create mode 100644 docs/RiskProductsFraudManagementEssentials.md create mode 100644 docs/RiskProductsFraudManagementEssentialsConfigurationInformation.md create mode 100644 docs/SaveAsymEgressKey.md create mode 100644 docs/SaveSymEgressKey.md create mode 100644 docs/UpdateWebhook.md create mode 100644 docs/ValueAddedServicesProducts.md create mode 100644 test/Api/CreateNewWebhooksApiTests.cs create mode 100644 test/Api/ManageWebhooksApiTests.cs create mode 100644 test/Api/MerchantBoardingApiTests.cs create mode 100644 test/Model/Boardingv1registrationsDocumentInformationSignedDocumentsTests.cs create mode 100644 test/Model/Boardingv1registrationsDocumentInformationTests.cs create mode 100644 test/Model/Boardingv1registrationsIntegrationInformationOauth2Tests.cs create mode 100644 test/Model/Boardingv1registrationsIntegrationInformationTenantConfigurationsTests.cs create mode 100644 test/Model/Boardingv1registrationsIntegrationInformationTenantInformationTests.cs create mode 100644 test/Model/Boardingv1registrationsIntegrationInformationTests.cs create mode 100644 test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddressTests.cs create mode 100644 test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContactTests.cs create mode 100644 test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationTests.cs create mode 100644 test/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccountTests.cs create mode 100644 test/Model/Boardingv1registrationsOrganizationInformationKYCTests.cs create mode 100644 test/Model/Boardingv1registrationsOrganizationInformationOwnersTests.cs create mode 100644 test/Model/Boardingv1registrationsOrganizationInformationTests.cs create mode 100644 test/Model/Boardingv1registrationsProductInformationSelectedProductsTests.cs create mode 100644 test/Model/Boardingv1registrationsProductInformationTests.cs create mode 100644 test/Model/Boardingv1registrationsRegistrationInformationTests.cs create mode 100644 test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmexTests.cs create mode 100644 test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCardTests.cs create mode 100644 test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisaTests.cs create mode 100644 test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationTests.cs create mode 100644 test/Model/CommerceSolutionsProductsAccountUpdaterTests.cs create mode 100644 test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationTests.cs create mode 100644 test/Model/CommerceSolutionsProductsBinLookupTests.cs create mode 100644 test/Model/CommerceSolutionsProductsTests.cs create mode 100644 test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationTests.cs create mode 100644 test/Model/CommerceSolutionsProductsTokenManagementTests.cs create mode 100644 test/Model/CreateWebhookTests.cs create mode 100644 test/Model/InlineResponse2002IntegrationInformationTenantConfigurationsTests.cs create mode 100644 test/Model/InlineResponse2002IntegrationInformationTests.cs rename test/Model/{InlineResponse2002EmbeddedBatchesTests.cs => InlineResponse2005EmbeddedBatchesTests.cs} (85%) rename test/Model/{InlineResponse2002EmbeddedLinksReportsTests.cs => InlineResponse2005EmbeddedLinksReportsTests.cs} (73%) rename test/Model/{InlineResponse2002EmbeddedLinksTests.cs => InlineResponse2005EmbeddedLinksTests.cs} (72%) rename test/Model/{InlineResponse2002EmbeddedTests.cs => InlineResponse2005EmbeddedTests.cs} (73%) rename test/Model/{InlineResponse2002EmbeddedTotalsTests.cs => InlineResponse2005EmbeddedTotalsTests.cs} (80%) rename test/Model/{InlineResponse2002LinksTests.cs => InlineResponse2005LinksTests.cs} (76%) create mode 100644 test/Model/InlineResponse2005Tests.cs rename test/Model/{InlineResponse2003BillingTests.cs => InlineResponse2006BillingTests.cs} (79%) rename test/Model/{InlineResponse2003LinksReportTests.cs => InlineResponse2006LinksReportTests.cs} (72%) rename test/Model/{InlineResponse2003LinksTests.cs => InlineResponse2006LinksTests.cs} (76%) create mode 100644 test/Model/InlineResponse2006Tests.cs rename test/Model/{InlineResponse2004RecordsTests.cs => InlineResponse2007RecordsTests.cs} (78%) rename test/Model/{InlineResponse2004ResponseRecordAdditionalUpdatesTests.cs => InlineResponse2007ResponseRecordAdditionalUpdatesTests.cs} (79%) rename test/Model/{InlineResponse2004ResponseRecordTests.cs => InlineResponse2007ResponseRecordTests.cs} (85%) rename test/Model/{InlineResponse2004SourceRecordTests.cs => InlineResponse2007SourceRecordTests.cs} (84%) create mode 100644 test/Model/InlineResponse2007Tests.cs create mode 100644 test/Model/InlineResponse2011IntegrationInformationTenantConfigurationsTests.cs create mode 100644 test/Model/InlineResponse2011IntegrationInformationTests.cs create mode 100644 test/Model/InlineResponse2011OrganizationInformationTests.cs create mode 100644 test/Model/InlineResponse2011ProductInformationSetupsTests.cs create mode 100644 test/Model/InlineResponse2011RegistrationInformationTests.cs create mode 100644 test/Model/InlineResponse2011SetupsCommerceSolutionsTests.cs create mode 100644 test/Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatusTests.cs create mode 100644 test/Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatusTests.cs create mode 100644 test/Model/InlineResponse2011SetupsPaymentsCardProcessingTests.cs create mode 100644 test/Model/InlineResponse2011SetupsPaymentsDigitalPaymentsTests.cs create mode 100644 test/Model/InlineResponse2011SetupsPaymentsTests.cs create mode 100644 test/Model/InlineResponse2011SetupsRiskTests.cs create mode 100644 test/Model/InlineResponse2011SetupsTests.cs create mode 100644 test/Model/InlineResponse2011SetupsValueAddedServicesTests.cs create mode 100644 test/Model/InlineResponse2011Tests.cs create mode 100644 test/Model/InlineResponse2012KeyInformationErrorInformationDetailsTests.cs create mode 100644 test/Model/InlineResponse2012KeyInformationErrorInformationTests.cs create mode 100644 test/Model/InlineResponse2012KeyInformationTests.cs create mode 100644 test/Model/InlineResponse2012Tests.cs create mode 100644 test/Model/InlineResponse2013Tests.cs create mode 100644 test/Model/InlineResponse2014Tests.cs create mode 100644 test/Model/InlineResponse4008DetailsTests.cs create mode 100644 test/Model/InlineResponse4008Tests.cs create mode 100644 test/Model/InlineResponse4041Tests.cs create mode 100644 test/Model/InlineResponse4042DetailsTests.cs create mode 100644 test/Model/InlineResponse4042Tests.cs create mode 100644 test/Model/InlineResponse4221Tests.cs create mode 100644 test/Model/InlineResponse5003Tests.cs create mode 100644 test/Model/Kmsegressv2keysasymClientReferenceInformationTests.cs create mode 100644 test/Model/Kmsegressv2keysasymKeyInformationTests.cs create mode 100644 test/Model/Kmsegressv2keyssymClientReferenceInformationTests.cs create mode 100644 test/Model/Kmsegressv2keyssymKeyInformationTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1productsorganizationIdEventTypesTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksNotificationScopeTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksProductsTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksRetryPolicyTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfigTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Tests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfigTests.cs create mode 100644 test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyTests.cs create mode 100644 test/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatusTests.cs create mode 100644 test/Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsCardPresentConnectConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsCardPresentConnectSubscriptionInformationTests.cs create mode 100644 test/Model/PaymentProductsCardPresentConnectTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirerTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1Tests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrenciesTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypesTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessorsTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallmentTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessorsTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessorsTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingMerchantDescriptorInformationTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingPayoutsCurrenciesTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingSubscriptionInformationFeaturesTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingSubscriptionInformationTests.cs create mode 100644 test/Model/PaymentProductsCardProcessingTests.cs create mode 100644 test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessorsTests.cs create mode 100644 test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsCurrencyConversionConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsCurrencyConversionTests.cs create mode 100644 test/Model/PaymentProductsCybsReadyTerminalTests.cs create mode 100644 test/Model/PaymentProductsDifferentialFeeSubscriptionInformationFeaturesTests.cs create mode 100644 test/Model/PaymentProductsDifferentialFeeSubscriptionInformationTests.cs create mode 100644 test/Model/PaymentProductsDifferentialFeeTests.cs create mode 100644 test/Model/PaymentProductsDigitalPaymentsSubscriptionInformationTests.cs create mode 100644 test/Model/PaymentProductsDigitalPaymentsTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessorsTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessorsTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwritingTests.cs create mode 100644 test/Model/PaymentProductsECheckConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsECheckProcessorsTests.cs create mode 100644 test/Model/PaymentProductsECheckServiceInternalOnlyTests.cs create mode 100644 test/Model/PaymentProductsECheckSubscriptionInformationTests.cs create mode 100644 test/Model/PaymentProductsECheckTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthVerifiedByVisaCurrenciesTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCBTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecureTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationSubscriptionInformationTests.cs create mode 100644 test/Model/PaymentProductsPayerAuthenticationTests.cs create mode 100644 test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccountTests.cs create mode 100644 test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfundsTests.cs create mode 100644 test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfundsTests.cs create mode 100644 test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsPayoutsConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsPayoutsTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckoutTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformationTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethodsTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscoverTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsServiceTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceCustomerNotificationsTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceMerchantNotificationsTests.cs create mode 100644 test/Model/PaymentProductsSecureAcceptanceTests.cs create mode 100644 test/Model/PaymentProductsTaxTests.cs create mode 100644 test/Model/PaymentProductsTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalCardNotPresentGlobalPaymentInformationTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalConfigurationInformationTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalMerchantDefinedDataFieldsTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformationTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalPaymentInformationTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceiptTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalReceiptInformationHeaderTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformationTests.cs create mode 100644 test/Model/PaymentProductsVirtualTerminalTests.cs create mode 100644 test/Model/PostRegistrationBodyTests.cs create mode 100644 test/Model/Ptsv2paymentsMerchantDefinedSecureInformationTests.cs create mode 100644 test/Model/Ptsv2paymentsTravelInformationVehicleDataTests.cs create mode 100644 test/Model/ReplayWebhooksTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganizationTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControlsTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptionsTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentialsTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailageTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseussTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentialsTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerConfigurationInformationTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerThirdpartyAccurintCredentialsTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerThirdpartyCredilinkCredentialsTests.cs create mode 100644 test/Model/RiskProductsDecisionManagerThirdpartySignifydCredentialsTests.cs create mode 100644 test/Model/RiskProductsFraudManagementEssentialsConfigurationInformationTests.cs create mode 100644 test/Model/RiskProductsFraudManagementEssentialsTests.cs create mode 100644 test/Model/RiskProductsTests.cs create mode 100644 test/Model/SaveAsymEgressKeyTests.cs create mode 100644 test/Model/SaveSymEgressKeyTests.cs create mode 100644 test/Model/UpdateWebhookTests.cs create mode 100644 test/Model/ValueAddedServicesProductsTests.cs diff --git a/Api/BatchesApi.cs b/Api/BatchesApi.cs index c010b052..4d190e39 100644 --- a/Api/BatchesApi.cs +++ b/Api/BatchesApi.cs @@ -35,8 +35,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse2004 - InlineResponse2004 GetBatchReport (string batchId); + /// InlineResponse2007 + InlineResponse2007 GetBatchReport (string batchId); /// /// Retrieve a Batch Report @@ -46,8 +46,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse2004 - ApiResponse GetBatchReportWithHttpInfo (string batchId); + /// ApiResponse of InlineResponse2007 + ApiResponse GetBatchReportWithHttpInfo (string batchId); /// /// Retrieve a Batch Status /// @@ -56,8 +56,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse2003 - InlineResponse2003 GetBatchStatus (string batchId); + /// InlineResponse2006 + InlineResponse2006 GetBatchStatus (string batchId); /// /// Retrieve a Batch Status @@ -67,8 +67,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse2003 - ApiResponse GetBatchStatusWithHttpInfo (string batchId); + /// ApiResponse of InlineResponse2006 + ApiResponse GetBatchStatusWithHttpInfo (string batchId); /// /// List Batches /// @@ -80,8 +80,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// InlineResponse2002 - InlineResponse2002 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// InlineResponse2005 + InlineResponse2005 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// List Batches @@ -94,8 +94,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// ApiResponse of InlineResponse2002 - ApiResponse GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// ApiResponse of InlineResponse2005 + ApiResponse GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// Create a Batch /// @@ -127,8 +127,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse2004 - System.Threading.Tasks.Task GetBatchReportAsync (string batchId); + /// Task of InlineResponse2007 + System.Threading.Tasks.Task GetBatchReportAsync (string batchId); /// /// Retrieve a Batch Report @@ -138,8 +138,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse2004) - System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId); + /// Task of ApiResponse (InlineResponse2007) + System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId); /// /// Retrieve a Batch Status /// @@ -148,8 +148,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse2003 - System.Threading.Tasks.Task GetBatchStatusAsync (string batchId); + /// Task of InlineResponse2006 + System.Threading.Tasks.Task GetBatchStatusAsync (string batchId); /// /// Retrieve a Batch Status @@ -159,8 +159,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse2003) - System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId); + /// Task of ApiResponse (InlineResponse2006) + System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId); /// /// List Batches /// @@ -172,8 +172,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of InlineResponse2002 - System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// Task of InlineResponse2005 + System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// List Batches @@ -186,8 +186,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of ApiResponse (InlineResponse2002) - System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// Task of ApiResponse (InlineResponse2005) + System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// Create a Batch /// @@ -354,12 +354,12 @@ public void SetStatusCode(int? statusCode) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse2004 - public InlineResponse2004 GetBatchReport (string batchId) + /// InlineResponse2007 + public InlineResponse2007 GetBatchReport (string batchId) { logger.Debug("CALLING API \"GetBatchReport\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetBatchReportWithHttpInfo(batchId); + ApiResponse localVarResponse = GetBatchReportWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchReport\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -370,8 +370,8 @@ public InlineResponse2004 GetBatchReport (string batchId) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse2004 - public ApiResponse< InlineResponse2004 > GetBatchReportWithHttpInfo (string batchId) + /// ApiResponse of InlineResponse2007 + public ApiResponse< InlineResponse2007 > GetBatchReportWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -438,9 +438,9 @@ public ApiResponse< InlineResponse2004 > GetBatchReportWithHttpInfo (string batc } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (InlineResponse2004) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2004))); // Return statement + (InlineResponse2007) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2007))); // Return statement } /// @@ -448,12 +448,12 @@ public ApiResponse< InlineResponse2004 > GetBatchReportWithHttpInfo (string batc /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse2004 - public async System.Threading.Tasks.Task GetBatchReportAsync (string batchId) + /// Task of InlineResponse2007 + public async System.Threading.Tasks.Task GetBatchReportAsync (string batchId) { logger.Debug("CALLING API \"GetBatchReportAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetBatchReportAsyncWithHttpInfo(batchId); + ApiResponse localVarResponse = await GetBatchReportAsyncWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchReportAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -465,8 +465,8 @@ public async System.Threading.Tasks.Task GetBatchReportAsync /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse2004) - public async System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId) + /// Task of ApiResponse (InlineResponse2007) + public async System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -533,21 +533,21 @@ public async System.Threading.Tasks.Task> GetBat } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (InlineResponse2004) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2004))); // Return statement + (InlineResponse2007) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2007))); // Return statement } /// /// Retrieve a Batch Status **Get Batch Status**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse2003 - public InlineResponse2003 GetBatchStatus (string batchId) + /// InlineResponse2006 + public InlineResponse2006 GetBatchStatus (string batchId) { logger.Debug("CALLING API \"GetBatchStatus\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetBatchStatusWithHttpInfo(batchId); + ApiResponse localVarResponse = GetBatchStatusWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchStatus\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -558,8 +558,8 @@ public InlineResponse2003 GetBatchStatus (string batchId) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse2003 - public ApiResponse< InlineResponse2003 > GetBatchStatusWithHttpInfo (string batchId) + /// ApiResponse of InlineResponse2006 + public ApiResponse< InlineResponse2006 > GetBatchStatusWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -626,9 +626,9 @@ public ApiResponse< InlineResponse2003 > GetBatchStatusWithHttpInfo (string batc } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (InlineResponse2003) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2003))); // Return statement + (InlineResponse2006) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2006))); // Return statement } /// @@ -636,12 +636,12 @@ public ApiResponse< InlineResponse2003 > GetBatchStatusWithHttpInfo (string batc /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse2003 - public async System.Threading.Tasks.Task GetBatchStatusAsync (string batchId) + /// Task of InlineResponse2006 + public async System.Threading.Tasks.Task GetBatchStatusAsync (string batchId) { logger.Debug("CALLING API \"GetBatchStatusAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetBatchStatusAsyncWithHttpInfo(batchId); + ApiResponse localVarResponse = await GetBatchStatusAsyncWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchStatusAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -653,8 +653,8 @@ public async System.Threading.Tasks.Task GetBatchStatusAsync /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse2003) - public async System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId) + /// Task of ApiResponse (InlineResponse2006) + public async System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -721,9 +721,9 @@ public async System.Threading.Tasks.Task> GetBat } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (InlineResponse2003) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2003))); // Return statement + (InlineResponse2006) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2006))); // Return statement } /// /// List Batches **List Batches**<br>This resource accepts a optional date range, record offset and limit, returning a paginated response of batches containing: - The batch id. - The batch status. - The batch created / modified dates. - The total number of accepted, rejected, updated records. - The total number of card association responses. @@ -733,12 +733,12 @@ public async System.Threading.Tasks.Task> GetBat /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// InlineResponse2002 - public InlineResponse2002 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// InlineResponse2005 + public InlineResponse2005 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { logger.Debug("CALLING API \"GetBatchesList\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetBatchesListWithHttpInfo(offset, limit, fromDate, toDate); + ApiResponse localVarResponse = GetBatchesListWithHttpInfo(offset, limit, fromDate, toDate); logger.Debug("CALLING API \"GetBatchesList\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -752,8 +752,8 @@ public InlineResponse2002 GetBatchesList (long? offset = null, long? limit = nul /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// ApiResponse of InlineResponse2002 - public ApiResponse< InlineResponse2002 > GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// ApiResponse of InlineResponse2005 + public ApiResponse< InlineResponse2005 > GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { LogUtility logUtility = new LogUtility(); @@ -829,9 +829,9 @@ public ApiResponse< InlineResponse2002 > GetBatchesListWithHttpInfo (long? offse } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (InlineResponse2002) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2002))); // Return statement + (InlineResponse2005) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2005))); // Return statement } /// @@ -842,12 +842,12 @@ public ApiResponse< InlineResponse2002 > GetBatchesListWithHttpInfo (long? offse /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of InlineResponse2002 - public async System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// Task of InlineResponse2005 + public async System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { logger.Debug("CALLING API \"GetBatchesListAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetBatchesListAsyncWithHttpInfo(offset, limit, fromDate, toDate); + ApiResponse localVarResponse = await GetBatchesListAsyncWithHttpInfo(offset, limit, fromDate, toDate); logger.Debug("CALLING API \"GetBatchesListAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -862,8 +862,8 @@ public async System.Threading.Tasks.Task GetBatchesListAsync /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of ApiResponse (InlineResponse2002) - public async System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// Task of ApiResponse (InlineResponse2005) + public async System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { LogUtility logUtility = new LogUtility(); @@ -939,9 +939,9 @@ public async System.Threading.Tasks.Task> GetBat } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), - (InlineResponse2002) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2002))); // Return statement + (InlineResponse2005) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2005))); // Return statement } /// /// Create a Batch **Create a Batch**<br>This resource accepts TMS tokens ids of a Customer, Payment Instrument or Instrument Identifier. <br> The card numbers for the supplied tokens ids are then sent to the relevant card associations to check for updates.<br>The following type of batches can be submitted: - **oneOff** batch containing tokens id for Visa or MasterCard card numbers. - **amexRegistration** batch containing tokens id for Amex card numbers. A batch id will be returned on a successful response which can be used to get the batch status and the batch report. diff --git a/Api/CreateNewWebhooksApi.cs b/Api/CreateNewWebhooksApi.cs new file mode 100644 index 00000000..5b12cea4 --- /dev/null +++ b/Api/CreateNewWebhooksApi.cs @@ -0,0 +1,938 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using RestSharp; +using CyberSource.Client; +using CyberSource.Model; +using NLog; +using AuthenticationSdk.util; +using CyberSource.Utilities.Tracking; + +namespace CyberSource.Api +{ + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface ICreateNewWebhooksApi : IApiAccessor + { + #region Synchronous Operations + /// + /// Create a Webhook + /// + /// + /// Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// InlineResponse2013 + InlineResponse2013 CreateWebhook (CreateWebhook createWebhook = null); + + /// + /// Create a Webhook + /// + /// + /// Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// ApiResponse of InlineResponse2013 + ApiResponse CreateWebhookWithHttpInfo (CreateWebhook createWebhook = null); + /// + /// Find Products You Can Subscribe To + /// + /// + /// Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// List<InlineResponse2003> + List FindProductToSubscribe (string organizationId); + + /// + /// Find Products You Can Subscribe To + /// + /// + /// Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// ApiResponse of List<InlineResponse2003> + ApiResponse> FindProductToSubscribeWithHttpInfo (string organizationId); + /// + /// Create Webhook Security Keys + /// + /// + /// Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// InlineResponse2012 + InlineResponse2012 SaveSymEgressKey (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null); + + /// + /// Create Webhook Security Keys + /// + /// + /// Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// ApiResponse of InlineResponse2012 + ApiResponse SaveSymEgressKeyWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null); + #endregion Synchronous Operations + #region Asynchronous Operations + /// + /// Create a Webhook + /// + /// + /// Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// Task of InlineResponse2013 + System.Threading.Tasks.Task CreateWebhookAsync (CreateWebhook createWebhook = null); + + /// + /// Create a Webhook + /// + /// + /// Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// Task of ApiResponse (InlineResponse2013) + System.Threading.Tasks.Task> CreateWebhookAsyncWithHttpInfo (CreateWebhook createWebhook = null); + /// + /// Find Products You Can Subscribe To + /// + /// + /// Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// Task of List<InlineResponse2003> + System.Threading.Tasks.Task> FindProductToSubscribeAsync (string organizationId); + + /// + /// Find Products You Can Subscribe To + /// + /// + /// Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// Task of ApiResponse (List<InlineResponse2003>) + System.Threading.Tasks.Task>> FindProductToSubscribeAsyncWithHttpInfo (string organizationId); + /// + /// Create Webhook Security Keys + /// + /// + /// Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// Task of InlineResponse2012 + System.Threading.Tasks.Task SaveSymEgressKeyAsync (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null); + + /// + /// Create Webhook Security Keys + /// + /// + /// Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// Task of ApiResponse (InlineResponse2012) + System.Threading.Tasks.Task> SaveSymEgressKeyAsyncWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null); + #endregion Asynchronous Operations + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class CreateNewWebhooksApi : ICreateNewWebhooksApi + { + private static Logger logger; + private ExceptionFactory _exceptionFactory = (name, response) => null; + private int? _statusCode; + + /// + /// Initializes a new instance of the class. + /// + /// + public CreateNewWebhooksApi(string basePath) + { + Configuration = new Configuration(new ApiClient(basePath)); + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + // ensure API client has configuration ready + if (Configuration.ApiClient.Configuration == null) + { + Configuration.ApiClient.Configuration = Configuration; + } + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Initializes a new instance of the class + /// using Configuration object + /// + /// An instance of Configuration + /// + public CreateNewWebhooksApi(Configuration configuration = null) + { + if (configuration == null) // use the default one in Configuration + Configuration = Configuration.Default; + else + Configuration = configuration; + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + Configuration.ApiClient.Configuration = Configuration; + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Gets the base path of the API client. + /// + /// The base path + public string GetBasePath() + { + return Configuration.ApiClient.RestClient.Options.BaseUrl.ToString(); + } + + /// + /// Sets the base path of the API client. + /// + /// The base path + [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")] + public void SetBasePath(string basePath) + { + // do nothing + } + + /// + /// Gets or sets the configuration object + /// + /// An instance of the Configuration + public Configuration Configuration { get; set; } + + /// + /// Provides a factory method hook for the creation of exceptions. + /// + public ExceptionFactory ExceptionFactory + { + get + { + if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1) + { + logger.Error("InvalidOperationException : Multicast delegate for ExceptionFactory is unsupported."); + throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported."); + } + return _exceptionFactory; + } + set { _exceptionFactory = value; } + } + + /// + /// Gets the default header. + /// + /// Dictionary of HTTP header + [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")] + public Dictionary DefaultHeader() + { + return Configuration.DefaultHeader; + } + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")] + public void AddDefaultHeader(string key, string value) + { + Configuration.AddDefaultHeader(key, value); + } + + /// + /// Retrieves the status code being set for the most recently executed API request. + /// + /// Status Code of previous request + public int GetStatusCode() + { + return this._statusCode == null ? 0 : (int) this._statusCode; + } + + /// + /// Sets the value of status code for the most recently executed API request, in order to be retrieved later. + /// + /// Status Code to be set + /// + public void SetStatusCode(int? statusCode) + { + this._statusCode = statusCode; + } + + /// + /// Create a Webhook Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// InlineResponse2013 + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public InlineResponse2013 CreateWebhook (CreateWebhook createWebhook = null) + { + logger.Debug("CALLING API \"CreateWebhook\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = CreateWebhookWithHttpInfo(createWebhook); + logger.Debug("CALLING API \"CreateWebhook\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Create a Webhook Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// ApiResponse of InlineResponse2013 + public ApiResponse< InlineResponse2013 > CreateWebhookWithHttpInfo (CreateWebhook createWebhook = null) + { + LogUtility logUtility = new LogUtility(); + + + var localVarPath = $"/notification-subscriptions/v1/webhooks"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (createWebhook != null && createWebhook.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + createWebhook = (CreateWebhook)sdkTracker.InsertDeveloperIdTracker(createWebhook, createWebhook.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(createWebhook); // http body (model) parameter + } + else + { + localVarPostBody = createWebhook; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("CreateWebhook", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2013) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2013))); // Return statement + } + + /// + /// Create a Webhook Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// Task of InlineResponse2013 + public async System.Threading.Tasks.Task CreateWebhookAsync (CreateWebhook createWebhook = null) + { + logger.Debug("CALLING API \"CreateWebhookAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await CreateWebhookAsyncWithHttpInfo(createWebhook); + logger.Debug("CALLING API \"CreateWebhookAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Create a Webhook Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + /// + /// Thrown when fails to make API call + /// The webhook payload (optional) + /// Task of ApiResponse (InlineResponse2013) + public async System.Threading.Tasks.Task> CreateWebhookAsyncWithHttpInfo (CreateWebhook createWebhook = null) + { + LogUtility logUtility = new LogUtility(); + + + var localVarPath = $"/notification-subscriptions/v1/webhooks"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (createWebhook != null && createWebhook.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + createWebhook = (CreateWebhook)sdkTracker.InsertDeveloperIdTracker(createWebhook, createWebhook.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(createWebhook); // http body (model) parameter + } + else + { + localVarPostBody = createWebhook; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("CreateWebhook", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2013) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2013))); // Return statement + } + /// + /// Find Products You Can Subscribe To Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// List<InlineResponse2003> + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public List FindProductToSubscribe (string organizationId) + { + logger.Debug("CALLING API \"FindProductToSubscribe\" STARTED"); + this.SetStatusCode(null); + ApiResponse> localVarResponse = FindProductToSubscribeWithHttpInfo(organizationId); + logger.Debug("CALLING API \"FindProductToSubscribe\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Find Products You Can Subscribe To Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// ApiResponse of List<InlineResponse2003> + public ApiResponse< List > FindProductToSubscribeWithHttpInfo (string organizationId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'organizationId' is set + if (organizationId == null) + { + logger.Error("ApiException : Missing required parameter 'organizationId' when calling CreateNewWebhooksApi->FindProductToSubscribe"); + throw new ApiException(400, "Missing required parameter 'organizationId' when calling CreateNewWebhooksApi->FindProductToSubscribe"); + } + + var localVarPath = $"/notification-subscriptions/v1/products/{organizationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (organizationId != null) + { + localVarPathParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("FindProductToSubscribe", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse>(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + } + + /// + /// Find Products You Can Subscribe To Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// Task of List<InlineResponse2003> + public async System.Threading.Tasks.Task> FindProductToSubscribeAsync (string organizationId) + { + logger.Debug("CALLING API \"FindProductToSubscribeAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse> localVarResponse = await FindProductToSubscribeAsyncWithHttpInfo(organizationId); + logger.Debug("CALLING API \"FindProductToSubscribeAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Find Products You Can Subscribe To Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// Task of ApiResponse (List<InlineResponse2003>) + public async System.Threading.Tasks.Task>> FindProductToSubscribeAsyncWithHttpInfo (string organizationId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'organizationId' is set + if (organizationId == null) + { + logger.Error("ApiException : Missing required parameter 'organizationId' when calling CreateNewWebhooksApi->FindProductToSubscribe"); + throw new ApiException(400, "Missing required parameter 'organizationId' when calling CreateNewWebhooksApi->FindProductToSubscribe"); + } + + var localVarPath = $"/notification-subscriptions/v1/products/{organizationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (organizationId != null) + { + localVarPathParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("FindProductToSubscribe", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse>(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + } + /// + /// Create Webhook Security Keys Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// InlineResponse2012 + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public InlineResponse2012 SaveSymEgressKey (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null) + { + logger.Debug("CALLING API \"SaveSymEgressKey\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = SaveSymEgressKeyWithHttpInfo(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey); + logger.Debug("CALLING API \"SaveSymEgressKey\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Create Webhook Security Keys Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// ApiResponse of InlineResponse2012 + public ApiResponse< InlineResponse2012 > SaveSymEgressKeyWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'vCSenderOrganizationId' is set + if (vCSenderOrganizationId == null) + { + logger.Error("ApiException : Missing required parameter 'vCSenderOrganizationId' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCSenderOrganizationId' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + } + // verify the required parameter 'vCPermissions' is set + if (vCPermissions == null) + { + logger.Error("ApiException : Missing required parameter 'vCPermissions' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCPermissions' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + } + + var localVarPath = $"/kms/egress/v2/keys-sym"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (vCCorrelationId != null) + { + localVarHeaderParams.Add("v-c-correlation-id", Configuration.ApiClient.ParameterToString(vCCorrelationId)); // header parameter + } + if (vCSenderOrganizationId != null) + { + localVarHeaderParams.Add("v-c-sender-organization-id", Configuration.ApiClient.ParameterToString(vCSenderOrganizationId)); // header parameter + } + if (vCPermissions != null) + { + localVarHeaderParams.Add("v-c-permissions", Configuration.ApiClient.ParameterToString(vCPermissions)); // header parameter + } + if (saveSymEgressKey != null && saveSymEgressKey.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + saveSymEgressKey = (SaveSymEgressKey)sdkTracker.InsertDeveloperIdTracker(saveSymEgressKey, saveSymEgressKey.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(saveSymEgressKey); // http body (model) parameter + } + else + { + localVarPostBody = saveSymEgressKey; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("SaveSymEgressKey", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2012) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2012))); // Return statement + } + + /// + /// Create Webhook Security Keys Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// Task of InlineResponse2012 + public async System.Threading.Tasks.Task SaveSymEgressKeyAsync (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null) + { + logger.Debug("CALLING API \"SaveSymEgressKeyAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await SaveSymEgressKeyAsyncWithHttpInfo(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey); + logger.Debug("CALLING API \"SaveSymEgressKeyAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Create Webhook Security Keys Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// A globally unique id associated with your request (optional) + /// Provide egress Symmetric key information to save (create or store or refresh) (optional) + /// Task of ApiResponse (InlineResponse2012) + public async System.Threading.Tasks.Task> SaveSymEgressKeyAsyncWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'vCSenderOrganizationId' is set + if (vCSenderOrganizationId == null) + { + logger.Error("ApiException : Missing required parameter 'vCSenderOrganizationId' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCSenderOrganizationId' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + } + // verify the required parameter 'vCPermissions' is set + if (vCPermissions == null) + { + logger.Error("ApiException : Missing required parameter 'vCPermissions' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCPermissions' when calling CreateNewWebhooksApi->SaveSymEgressKey"); + } + + var localVarPath = $"/kms/egress/v2/keys-sym"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (vCCorrelationId != null) + { + localVarHeaderParams.Add("v-c-correlation-id", Configuration.ApiClient.ParameterToString(vCCorrelationId)); // header parameter + } + if (vCSenderOrganizationId != null) + { + localVarHeaderParams.Add("v-c-sender-organization-id", Configuration.ApiClient.ParameterToString(vCSenderOrganizationId)); // header parameter + } + if (vCPermissions != null) + { + localVarHeaderParams.Add("v-c-permissions", Configuration.ApiClient.ParameterToString(vCPermissions)); // header parameter + } + if (saveSymEgressKey != null && saveSymEgressKey.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + saveSymEgressKey = (SaveSymEgressKey)sdkTracker.InsertDeveloperIdTracker(saveSymEgressKey, saveSymEgressKey.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(saveSymEgressKey); // http body (model) parameter + } + else + { + localVarPostBody = saveSymEgressKey; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("SaveSymEgressKey", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2012) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2012))); // Return statement + } + } +} diff --git a/Api/InvoiceSettingsApi.cs b/Api/InvoiceSettingsApi.cs index b47889f7..4a32c442 100644 --- a/Api/InvoiceSettingsApi.cs +++ b/Api/InvoiceSettingsApi.cs @@ -31,7 +31,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Get Invoice Settings /// /// - /// Get the invoice settings for the invoice payment page. + /// Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// InvoicingV2InvoiceSettingsGet200Response @@ -41,7 +41,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Get Invoice Settings /// /// - /// Get the invoice settings for the invoice payment page. + /// Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// ApiResponse of InvoicingV2InvoiceSettingsGet200Response @@ -50,7 +50,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Update Invoice Settings /// /// - /// Update invoice settings for the invoice payment page. + /// Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// @@ -61,7 +61,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Update Invoice Settings /// /// - /// Update invoice settings for the invoice payment page. + /// Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// @@ -73,7 +73,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Get Invoice Settings /// /// - /// Get the invoice settings for the invoice payment page. + /// Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// Task of InvoicingV2InvoiceSettingsGet200Response @@ -83,7 +83,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Get Invoice Settings /// /// - /// Get the invoice settings for the invoice payment page. + /// Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// Task of ApiResponse (InvoicingV2InvoiceSettingsGet200Response) @@ -92,7 +92,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Update Invoice Settings /// /// - /// Update invoice settings for the invoice payment page. + /// Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// @@ -103,7 +103,7 @@ public interface IInvoiceSettingsApi : IApiAccessor /// Update Invoice Settings /// /// - /// Update invoice settings for the invoice payment page. + /// Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// @@ -250,7 +250,7 @@ public void SetStatusCode(int? statusCode) } /// - /// Get Invoice Settings Get the invoice settings for the invoice payment page. + /// Get Invoice Settings Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// InvoicingV2InvoiceSettingsGet200Response @@ -265,7 +265,7 @@ public InvoicingV2InvoiceSettingsGet200Response GetInvoiceSettings () } /// - /// Get Invoice Settings Get the invoice settings for the invoice payment page. + /// Get Invoice Settings Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// ApiResponse of InvoicingV2InvoiceSettingsGet200Response @@ -334,7 +334,7 @@ public ApiResponse< InvoicingV2InvoiceSettingsGet200Response > GetInvoiceSetting } /// - /// Get Invoice Settings Get the invoice settings for the invoice payment page. + /// Get Invoice Settings Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// Task of InvoicingV2InvoiceSettingsGet200Response @@ -350,7 +350,7 @@ public async System.Threading.Tasks.Task - /// Get Invoice Settings Get the invoice settings for the invoice payment page. + /// Get Invoice Settings Allows you to retrieve the invoice settings for the payment page. /// /// Thrown when fails to make API call /// Task of ApiResponse (InvoicingV2InvoiceSettingsGet200Response) @@ -418,7 +418,7 @@ public async System.Threading.Tasks.Task - /// Update Invoice Settings Update invoice settings for the invoice payment page. + /// Update Invoice Settings Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// @@ -434,7 +434,7 @@ public InvoicingV2InvoiceSettingsGet200Response UpdateInvoiceSettings (InvoiceSe } /// - /// Update Invoice Settings Update invoice settings for the invoice payment page. + /// Update Invoice Settings Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// @@ -521,7 +521,7 @@ public ApiResponse< InvoicingV2InvoiceSettingsGet200Response > UpdateInvoiceSett } /// - /// Update Invoice Settings Update invoice settings for the invoice payment page. + /// Update Invoice Settings Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// @@ -538,7 +538,7 @@ public async System.Threading.Tasks.Task - /// Update Invoice Settings Update invoice settings for the invoice payment page. + /// Update Invoice Settings Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. /// /// Thrown when fails to make API call /// diff --git a/Api/InvoicesApi.cs b/Api/InvoicesApi.cs index ecfa6ffa..b1b7f29e 100644 --- a/Api/InvoicesApi.cs +++ b/Api/InvoicesApi.cs @@ -31,7 +31,7 @@ public interface IInvoicesApi : IApiAccessor /// Create a New Invoice /// /// - /// Create a new invoice. + /// The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -42,7 +42,7 @@ public interface IInvoicesApi : IApiAccessor /// Create a New Invoice /// /// - /// Create a new invoice. + /// The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -52,7 +52,7 @@ public interface IInvoicesApi : IApiAccessor /// Get a List of Invoices /// /// - /// Get a list of invoices. + /// Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -65,7 +65,7 @@ public interface IInvoicesApi : IApiAccessor /// Get a List of Invoices /// /// - /// Get a list of invoices. + /// Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -77,7 +77,7 @@ public interface IInvoicesApi : IApiAccessor /// Get Invoice Details /// /// - /// Get the details of a specific invoice. + /// You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -88,7 +88,7 @@ public interface IInvoicesApi : IApiAccessor /// Get Invoice Details /// /// - /// Get the details of a specific invoice. + /// You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -98,7 +98,7 @@ public interface IInvoicesApi : IApiAccessor /// Cancel an Invoice /// /// - /// Cancel an invoice. + /// You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -109,7 +109,7 @@ public interface IInvoicesApi : IApiAccessor /// Cancel an Invoice /// /// - /// Cancel an invoice. + /// You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -119,7 +119,7 @@ public interface IInvoicesApi : IApiAccessor /// Send an Invoice /// /// - /// Send an invoice. + /// You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -130,7 +130,7 @@ public interface IInvoicesApi : IApiAccessor /// Send an Invoice /// /// - /// Send an invoice. + /// You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -140,7 +140,7 @@ public interface IInvoicesApi : IApiAccessor /// Update an Invoice /// /// - /// Update an invoice. + /// You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. @@ -152,7 +152,7 @@ public interface IInvoicesApi : IApiAccessor /// Update an Invoice /// /// - /// Update an invoice. + /// You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. @@ -165,7 +165,7 @@ public interface IInvoicesApi : IApiAccessor /// Create a New Invoice /// /// - /// Create a new invoice. + /// The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -176,7 +176,7 @@ public interface IInvoicesApi : IApiAccessor /// Create a New Invoice /// /// - /// Create a new invoice. + /// The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -186,7 +186,7 @@ public interface IInvoicesApi : IApiAccessor /// Get a List of Invoices /// /// - /// Get a list of invoices. + /// Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -199,7 +199,7 @@ public interface IInvoicesApi : IApiAccessor /// Get a List of Invoices /// /// - /// Get a list of invoices. + /// Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -211,7 +211,7 @@ public interface IInvoicesApi : IApiAccessor /// Get Invoice Details /// /// - /// Get the details of a specific invoice. + /// You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -222,7 +222,7 @@ public interface IInvoicesApi : IApiAccessor /// Get Invoice Details /// /// - /// Get the details of a specific invoice. + /// You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -232,7 +232,7 @@ public interface IInvoicesApi : IApiAccessor /// Cancel an Invoice /// /// - /// Cancel an invoice. + /// You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -243,7 +243,7 @@ public interface IInvoicesApi : IApiAccessor /// Cancel an Invoice /// /// - /// Cancel an invoice. + /// You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -253,7 +253,7 @@ public interface IInvoicesApi : IApiAccessor /// Send an Invoice /// /// - /// Send an invoice. + /// You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -264,7 +264,7 @@ public interface IInvoicesApi : IApiAccessor /// Send an Invoice /// /// - /// Send an invoice. + /// You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -274,7 +274,7 @@ public interface IInvoicesApi : IApiAccessor /// Update an Invoice /// /// - /// Update an invoice. + /// You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. @@ -286,7 +286,7 @@ public interface IInvoicesApi : IApiAccessor /// Update an Invoice /// /// - /// Update an invoice. + /// You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. @@ -434,7 +434,7 @@ public void SetStatusCode(int? statusCode) } /// - /// Create a New Invoice Create a new invoice. + /// Create a New Invoice The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -450,7 +450,7 @@ public InvoicingV2InvoicesPost201Response CreateInvoice (CreateInvoiceRequest cr } /// - /// Create a New Invoice Create a new invoice. + /// Create a New Invoice The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -537,7 +537,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > CreateInvoiceWithHttpIn } /// - /// Create a New Invoice Create a new invoice. + /// Create a New Invoice The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -554,7 +554,7 @@ public async System.Threading.Tasks.Task Cre } /// - /// Create a New Invoice Create a new invoice. + /// Create a New Invoice The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. /// /// Thrown when fails to make API call /// @@ -640,7 +640,7 @@ public async System.Threading.Tasks.Task - /// Get a List of Invoices Get a list of invoices. + /// Get a List of Invoices Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -658,7 +658,7 @@ public InvoicingV2InvoicesAllGet200Response GetAllInvoices (int? offset, int? li } /// - /// Get a List of Invoices Get a list of invoices. + /// Get a List of Invoices Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -757,7 +757,7 @@ public ApiResponse< InvoicingV2InvoicesAllGet200Response > GetAllInvoicesWithHtt } /// - /// Get a List of Invoices Get a list of invoices. + /// Get a List of Invoices Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -776,7 +776,7 @@ public async System.Threading.Tasks.Task G } /// - /// Get a List of Invoices Get a list of invoices. + /// Get a List of Invoices Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. /// /// Thrown when fails to make API call /// Page offset number. @@ -874,7 +874,7 @@ public async System.Threading.Tasks.Task - /// Get Invoice Details Get the details of a specific invoice. + /// Get Invoice Details You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -890,7 +890,7 @@ public InvoicingV2InvoicesGet200Response GetInvoice (string id) } /// - /// Get Invoice Details Get the details of a specific invoice. + /// Get Invoice Details You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -971,7 +971,7 @@ public ApiResponse< InvoicingV2InvoicesGet200Response > GetInvoiceWithHttpInfo ( } /// - /// Get Invoice Details Get the details of a specific invoice. + /// Get Invoice Details You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -988,7 +988,7 @@ public async System.Threading.Tasks.Task GetI } /// - /// Get Invoice Details Get the details of a specific invoice. + /// Get Invoice Details You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. /// /// Thrown when fails to make API call /// The invoice number. @@ -1068,7 +1068,7 @@ public async System.Threading.Tasks.Task - /// Cancel an Invoice Cancel an invoice. + /// Cancel an Invoice You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -1084,7 +1084,7 @@ public InvoicingV2InvoicesPost201Response PerformCancelAction (string id) } /// - /// Cancel an Invoice Cancel an invoice. + /// Cancel an Invoice You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -1165,7 +1165,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > PerformCancelActionWith } /// - /// Cancel an Invoice Cancel an invoice. + /// Cancel an Invoice You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -1182,7 +1182,7 @@ public async System.Threading.Tasks.Task Per } /// - /// Cancel an Invoice Cancel an invoice. + /// Cancel an Invoice You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. /// /// Thrown when fails to make API call /// The invoice number. @@ -1262,7 +1262,7 @@ public async System.Threading.Tasks.Task - /// Send an Invoice Send an invoice. + /// Send an Invoice You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -1278,7 +1278,7 @@ public InvoicingV2InvoicesPost201Response PerformSendAction (string id) } /// - /// Send an Invoice Send an invoice. + /// Send an Invoice You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -1359,7 +1359,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > PerformSendActionWithHt } /// - /// Send an Invoice Send an invoice. + /// Send an Invoice You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -1376,7 +1376,7 @@ public async System.Threading.Tasks.Task Per } /// - /// Send an Invoice Send an invoice. + /// Send an Invoice You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. /// /// Thrown when fails to make API call /// The invoice number. @@ -1456,7 +1456,7 @@ public async System.Threading.Tasks.Task - /// Update an Invoice Update an invoice. + /// Update an Invoice You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. @@ -1473,7 +1473,7 @@ public InvoicingV2InvoicesPost201Response UpdateInvoice (string id, UpdateInvoic } /// - /// Update an Invoice Update an invoice. + /// Update an Invoice You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. @@ -1572,7 +1572,7 @@ public ApiResponse< InvoicingV2InvoicesPost201Response > UpdateInvoiceWithHttpIn } /// - /// Update an Invoice Update an invoice. + /// Update an Invoice You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. @@ -1590,7 +1590,7 @@ public async System.Threading.Tasks.Task Upd } /// - /// Update an Invoice Update an invoice. + /// Update an Invoice You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. /// /// Thrown when fails to make API call /// The invoice number. diff --git a/Api/ManageWebhooksApi.cs b/Api/ManageWebhooksApi.cs new file mode 100644 index 00000000..097d84d0 --- /dev/null +++ b/Api/ManageWebhooksApi.cs @@ -0,0 +1,1751 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using RestSharp; +using CyberSource.Client; +using CyberSource.Model; +using NLog; +using AuthenticationSdk.util; +using CyberSource.Utilities.Tracking; + +namespace CyberSource.Api +{ + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface IManageWebhooksApi : IApiAccessor + { + #region Synchronous Operations + /// + /// Delete a Webhook Subscription + /// + /// + /// Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// + void DeleteWebhookSubscription (string webhookId); + + /// + /// Delete a Webhook Subscription + /// + /// + /// Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// ApiResponse of Object(void) + ApiResponse DeleteWebhookSubscriptionWithHttpInfo (string webhookId); + /// + /// Get Details On All Created Webhooks + /// + /// + /// Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// List<InlineResponse2004> + List GetAllWebhooks (string organizationId, string productId, string eventType); + + /// + /// Get Details On All Created Webhooks + /// + /// + /// Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// ApiResponse of List<InlineResponse2004> + ApiResponse> GetAllWebhooksWithHttpInfo (string organizationId, string productId, string eventType); + /// + /// Get Details On a Single Webhook + /// + /// + /// Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// InlineResponse2004 + InlineResponse2004 GetWebhookDetails (string webhookId); + + /// + /// Get Details On a Single Webhook + /// + /// + /// Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// ApiResponse of InlineResponse2004 + ApiResponse GetWebhookDetailsWithHttpInfo (string webhookId); + /// + /// Replay Previous Webhooks + /// + /// + /// Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// + void ReplayPreviousWebhook (string webhookId, ReplayWebhooks replayWebhooks = null); + + /// + /// Replay Previous Webhooks + /// + /// + /// Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// ApiResponse of Object(void) + ApiResponse ReplayPreviousWebhookWithHttpInfo (string webhookId, ReplayWebhooks replayWebhooks = null); + /// + /// Message Level Encryption + /// + /// + /// Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// InlineResponse2014 + InlineResponse2014 SaveAsymEgressKey (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null); + + /// + /// Message Level Encryption + /// + /// + /// Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// ApiResponse of InlineResponse2014 + ApiResponse SaveAsymEgressKeyWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null); + /// + /// Update a Webhook Subscription + /// + /// + /// Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// + void UpdateWebhookSubscription (string webhookId, UpdateWebhook updateWebhook = null); + + /// + /// Update a Webhook Subscription + /// + /// + /// Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// ApiResponse of Object(void) + ApiResponse UpdateWebhookSubscriptionWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null); + #endregion Synchronous Operations + #region Asynchronous Operations + /// + /// Delete a Webhook Subscription + /// + /// + /// Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// Task of void + System.Threading.Tasks.Task DeleteWebhookSubscriptionAsync (string webhookId); + + /// + /// Delete a Webhook Subscription + /// + /// + /// Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// Task of ApiResponse + System.Threading.Tasks.Task> DeleteWebhookSubscriptionAsyncWithHttpInfo (string webhookId); + /// + /// Get Details On All Created Webhooks + /// + /// + /// Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// Task of List<InlineResponse2004> + System.Threading.Tasks.Task> GetAllWebhooksAsync (string organizationId, string productId, string eventType); + + /// + /// Get Details On All Created Webhooks + /// + /// + /// Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// Task of ApiResponse (List<InlineResponse2004>) + System.Threading.Tasks.Task>> GetAllWebhooksAsyncWithHttpInfo (string organizationId, string productId, string eventType); + /// + /// Get Details On a Single Webhook + /// + /// + /// Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// Task of InlineResponse2004 + System.Threading.Tasks.Task GetWebhookDetailsAsync (string webhookId); + + /// + /// Get Details On a Single Webhook + /// + /// + /// Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// Task of ApiResponse (InlineResponse2004) + System.Threading.Tasks.Task> GetWebhookDetailsAsyncWithHttpInfo (string webhookId); + /// + /// Replay Previous Webhooks + /// + /// + /// Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// Task of void + System.Threading.Tasks.Task ReplayPreviousWebhookAsync (string webhookId, ReplayWebhooks replayWebhooks = null); + + /// + /// Replay Previous Webhooks + /// + /// + /// Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// Task of ApiResponse + System.Threading.Tasks.Task> ReplayPreviousWebhookAsyncWithHttpInfo (string webhookId, ReplayWebhooks replayWebhooks = null); + /// + /// Message Level Encryption + /// + /// + /// Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// Task of InlineResponse2014 + System.Threading.Tasks.Task SaveAsymEgressKeyAsync (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null); + + /// + /// Message Level Encryption + /// + /// + /// Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// Task of ApiResponse (InlineResponse2014) + System.Threading.Tasks.Task> SaveAsymEgressKeyAsyncWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null); + /// + /// Update a Webhook Subscription + /// + /// + /// Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// Task of void + System.Threading.Tasks.Task UpdateWebhookSubscriptionAsync (string webhookId, UpdateWebhook updateWebhook = null); + + /// + /// Update a Webhook Subscription + /// + /// + /// Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// Task of ApiResponse + System.Threading.Tasks.Task> UpdateWebhookSubscriptionAsyncWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null); + #endregion Asynchronous Operations + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class ManageWebhooksApi : IManageWebhooksApi + { + private static Logger logger; + private ExceptionFactory _exceptionFactory = (name, response) => null; + private int? _statusCode; + + /// + /// Initializes a new instance of the class. + /// + /// + public ManageWebhooksApi(string basePath) + { + Configuration = new Configuration(new ApiClient(basePath)); + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + // ensure API client has configuration ready + if (Configuration.ApiClient.Configuration == null) + { + Configuration.ApiClient.Configuration = Configuration; + } + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Initializes a new instance of the class + /// using Configuration object + /// + /// An instance of Configuration + /// + public ManageWebhooksApi(Configuration configuration = null) + { + if (configuration == null) // use the default one in Configuration + Configuration = Configuration.Default; + else + Configuration = configuration; + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + Configuration.ApiClient.Configuration = Configuration; + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Gets the base path of the API client. + /// + /// The base path + public string GetBasePath() + { + return Configuration.ApiClient.RestClient.Options.BaseUrl.ToString(); + } + + /// + /// Sets the base path of the API client. + /// + /// The base path + [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")] + public void SetBasePath(string basePath) + { + // do nothing + } + + /// + /// Gets or sets the configuration object + /// + /// An instance of the Configuration + public Configuration Configuration { get; set; } + + /// + /// Provides a factory method hook for the creation of exceptions. + /// + public ExceptionFactory ExceptionFactory + { + get + { + if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1) + { + logger.Error("InvalidOperationException : Multicast delegate for ExceptionFactory is unsupported."); + throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported."); + } + return _exceptionFactory; + } + set { _exceptionFactory = value; } + } + + /// + /// Gets the default header. + /// + /// Dictionary of HTTP header + [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")] + public Dictionary DefaultHeader() + { + return Configuration.DefaultHeader; + } + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")] + public void AddDefaultHeader(string key, string value) + { + Configuration.AddDefaultHeader(key, value); + } + + /// + /// Retrieves the status code being set for the most recently executed API request. + /// + /// Status Code of previous request + public int GetStatusCode() + { + return this._statusCode == null ? 0 : (int) this._statusCode; + } + + /// + /// Sets the value of status code for the most recently executed API request, in order to be retrieved later. + /// + /// Status Code to be set + /// + public void SetStatusCode(int? statusCode) + { + this._statusCode = statusCode; + } + + /// + /// Delete a Webhook Subscription Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public void DeleteWebhookSubscription (string webhookId) + { + logger.Debug("CALLING API \"DeleteWebhookSubscription\" STARTED"); + this.SetStatusCode(null); + DeleteWebhookSubscriptionWithHttpInfo(webhookId); + } + + /// + /// Delete a Webhook Subscription Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// ApiResponse of Object(void) + public ApiResponse DeleteWebhookSubscriptionWithHttpInfo (string webhookId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->DeleteWebhookSubscription"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->DeleteWebhookSubscription"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks/{webhookId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Delete == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("DeleteWebhookSubscription", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + localVarResponse.Content); // Return statement + } + + /// + /// Delete a Webhook Subscription Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// Task of void + public async System.Threading.Tasks.Task DeleteWebhookSubscriptionAsync (string webhookId) + { + logger.Debug("CALLING API \"DeleteWebhookSubscriptionAsync\" STARTED"); + this.SetStatusCode(null); + await DeleteWebhookSubscriptionAsyncWithHttpInfo(webhookId); + + } + + /// + /// Delete a Webhook Subscription Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + /// + /// Thrown when fails to make API call + /// The webhook identifier. + /// Task of ApiResponse + public async System.Threading.Tasks.Task> DeleteWebhookSubscriptionAsyncWithHttpInfo (string webhookId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->DeleteWebhookSubscription"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->DeleteWebhookSubscription"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks/{webhookId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Delete == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("DeleteWebhookSubscription", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + localVarResponse.Content); // Return statement + } + /// + /// Get Details On All Created Webhooks Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// List<InlineResponse2004> + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public List GetAllWebhooks (string organizationId, string productId, string eventType) + { + logger.Debug("CALLING API \"GetAllWebhooks\" STARTED"); + this.SetStatusCode(null); + ApiResponse> localVarResponse = GetAllWebhooksWithHttpInfo(organizationId, productId, eventType); + logger.Debug("CALLING API \"GetAllWebhooks\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Get Details On All Created Webhooks Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// ApiResponse of List<InlineResponse2004> + public ApiResponse< List > GetAllWebhooksWithHttpInfo (string organizationId, string productId, string eventType) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'organizationId' is set + if (organizationId == null) + { + logger.Error("ApiException : Missing required parameter 'organizationId' when calling ManageWebhooksApi->GetAllWebhooks"); + throw new ApiException(400, "Missing required parameter 'organizationId' when calling ManageWebhooksApi->GetAllWebhooks"); + } + // verify the required parameter 'productId' is set + if (productId == null) + { + logger.Error("ApiException : Missing required parameter 'productId' when calling ManageWebhooksApi->GetAllWebhooks"); + throw new ApiException(400, "Missing required parameter 'productId' when calling ManageWebhooksApi->GetAllWebhooks"); + } + // verify the required parameter 'eventType' is set + if (eventType == null) + { + logger.Error("ApiException : Missing required parameter 'eventType' when calling ManageWebhooksApi->GetAllWebhooks"); + throw new ApiException(400, "Missing required parameter 'eventType' when calling ManageWebhooksApi->GetAllWebhooks"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (organizationId != null) + { + localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter + } + if (productId != null) + { + localVarQueryParams.Add("productId", Configuration.ApiClient.ParameterToString(productId)); // query parameter + } + if (eventType != null) + { + localVarQueryParams.Add("eventType", Configuration.ApiClient.ParameterToString(eventType)); // query parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarQueryParams)}"); + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarQueryParams)}"); + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarQueryParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetAllWebhooks", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse>(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + } + + /// + /// Get Details On All Created Webhooks Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// Task of List<InlineResponse2004> + public async System.Threading.Tasks.Task> GetAllWebhooksAsync (string organizationId, string productId, string eventType) + { + logger.Debug("CALLING API \"GetAllWebhooksAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse> localVarResponse = await GetAllWebhooksAsyncWithHttpInfo(organizationId, productId, eventType); + logger.Debug("CALLING API \"GetAllWebhooksAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Get Details On All Created Webhooks Retrieve a list of all previously created webhooks. + /// + /// Thrown when fails to make API call + /// The Organization Identifier. + /// The Product Identifier. + /// The Event Type. + /// Task of ApiResponse (List<InlineResponse2004>) + public async System.Threading.Tasks.Task>> GetAllWebhooksAsyncWithHttpInfo (string organizationId, string productId, string eventType) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'organizationId' is set + if (organizationId == null) + { + logger.Error("ApiException : Missing required parameter 'organizationId' when calling ManageWebhooksApi->GetAllWebhooks"); + throw new ApiException(400, "Missing required parameter 'organizationId' when calling ManageWebhooksApi->GetAllWebhooks"); + } + // verify the required parameter 'productId' is set + if (productId == null) + { + logger.Error("ApiException : Missing required parameter 'productId' when calling ManageWebhooksApi->GetAllWebhooks"); + throw new ApiException(400, "Missing required parameter 'productId' when calling ManageWebhooksApi->GetAllWebhooks"); + } + // verify the required parameter 'eventType' is set + if (eventType == null) + { + logger.Error("ApiException : Missing required parameter 'eventType' when calling ManageWebhooksApi->GetAllWebhooks"); + throw new ApiException(400, "Missing required parameter 'eventType' when calling ManageWebhooksApi->GetAllWebhooks"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (organizationId != null) + { + localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter + } + if (productId != null) + { + localVarQueryParams.Add("productId", Configuration.ApiClient.ParameterToString(productId)); // query parameter + } + if (eventType != null) + { + localVarQueryParams.Add("eventType", Configuration.ApiClient.ParameterToString(eventType)); // query parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarQueryParams)}"); + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarQueryParams)}"); + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarQueryParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetAllWebhooks", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse>(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + } + /// + /// Get Details On a Single Webhook Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// InlineResponse2004 + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public InlineResponse2004 GetWebhookDetails (string webhookId) + { + logger.Debug("CALLING API \"GetWebhookDetails\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = GetWebhookDetailsWithHttpInfo(webhookId); + logger.Debug("CALLING API \"GetWebhookDetails\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Get Details On a Single Webhook Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// ApiResponse of InlineResponse2004 + public ApiResponse< InlineResponse2004 > GetWebhookDetailsWithHttpInfo (string webhookId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->GetWebhookDetails"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->GetWebhookDetails"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks/{webhookId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetWebhookDetails", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2004) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2004))); // Return statement + } + + /// + /// Get Details On a Single Webhook Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// Task of InlineResponse2004 + public async System.Threading.Tasks.Task GetWebhookDetailsAsync (string webhookId) + { + logger.Debug("CALLING API \"GetWebhookDetailsAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await GetWebhookDetailsAsyncWithHttpInfo(webhookId); + logger.Debug("CALLING API \"GetWebhookDetailsAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Get Details On a Single Webhook Retrieve the details of a specific webhook by supplying the webhook ID in the path. + /// + /// Thrown when fails to make API call + /// The webhook Identifier + /// Task of ApiResponse (InlineResponse2004) + public async System.Threading.Tasks.Task> GetWebhookDetailsAsyncWithHttpInfo (string webhookId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->GetWebhookDetails"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->GetWebhookDetails"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks/{webhookId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetWebhookDetails", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2004) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2004))); // Return statement + } + /// + /// Replay Previous Webhooks Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public void ReplayPreviousWebhook (string webhookId, ReplayWebhooks replayWebhooks = null) + { + logger.Debug("CALLING API \"ReplayPreviousWebhook\" STARTED"); + this.SetStatusCode(null); + ReplayPreviousWebhookWithHttpInfo(webhookId, replayWebhooks); + } + + /// + /// Replay Previous Webhooks Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// ApiResponse of Object(void) + public ApiResponse ReplayPreviousWebhookWithHttpInfo (string webhookId, ReplayWebhooks replayWebhooks = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->ReplayPreviousWebhook"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->ReplayPreviousWebhook"); + } + + var localVarPath = $"/nrtf/v1/webhooks/{webhookId}/replays"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (replayWebhooks != null && replayWebhooks.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + replayWebhooks = (ReplayWebhooks)sdkTracker.InsertDeveloperIdTracker(replayWebhooks, replayWebhooks.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(replayWebhooks); // http body (model) parameter + } + else + { + localVarPostBody = replayWebhooks; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ReplayPreviousWebhook", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + localVarResponse.Content); // Return statement + } + + /// + /// Replay Previous Webhooks Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// Task of void + public async System.Threading.Tasks.Task ReplayPreviousWebhookAsync (string webhookId, ReplayWebhooks replayWebhooks = null) + { + logger.Debug("CALLING API \"ReplayPreviousWebhookAsync\" STARTED"); + this.SetStatusCode(null); + await ReplayPreviousWebhookAsyncWithHttpInfo(webhookId, replayWebhooks); + + } + + /// + /// Replay Previous Webhooks Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + /// + /// Thrown when fails to make API call + /// The webhook uuid identifier. + /// The request query (optional) + /// Task of ApiResponse + public async System.Threading.Tasks.Task> ReplayPreviousWebhookAsyncWithHttpInfo (string webhookId, ReplayWebhooks replayWebhooks = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->ReplayPreviousWebhook"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->ReplayPreviousWebhook"); + } + + var localVarPath = $"/nrtf/v1/webhooks/{webhookId}/replays"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (replayWebhooks != null && replayWebhooks.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + replayWebhooks = (ReplayWebhooks)sdkTracker.InsertDeveloperIdTracker(replayWebhooks, replayWebhooks.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(replayWebhooks); // http body (model) parameter + } + else + { + localVarPostBody = replayWebhooks; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ReplayPreviousWebhook", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + localVarResponse.Content); // Return statement + } + /// + /// Message Level Encryption Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// InlineResponse2014 + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public InlineResponse2014 SaveAsymEgressKey (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null) + { + logger.Debug("CALLING API \"SaveAsymEgressKey\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = SaveAsymEgressKeyWithHttpInfo(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId); + logger.Debug("CALLING API \"SaveAsymEgressKey\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Message Level Encryption Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// ApiResponse of InlineResponse2014 + public ApiResponse< InlineResponse2014 > SaveAsymEgressKeyWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'vCSenderOrganizationId' is set + if (vCSenderOrganizationId == null) + { + logger.Error("ApiException : Missing required parameter 'vCSenderOrganizationId' when calling ManageWebhooksApi->SaveAsymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCSenderOrganizationId' when calling ManageWebhooksApi->SaveAsymEgressKey"); + } + // verify the required parameter 'vCPermissions' is set + if (vCPermissions == null) + { + logger.Error("ApiException : Missing required parameter 'vCPermissions' when calling ManageWebhooksApi->SaveAsymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCPermissions' when calling ManageWebhooksApi->SaveAsymEgressKey"); + } + // verify the required parameter 'saveAsymEgressKey' is set + if (saveAsymEgressKey == null) + { + logger.Error("ApiException : Missing required parameter 'saveAsymEgressKey' when calling ManageWebhooksApi->SaveAsymEgressKey"); + throw new ApiException(400, "Missing required parameter 'saveAsymEgressKey' when calling ManageWebhooksApi->SaveAsymEgressKey"); + } + + var localVarPath = $"/kms/egress/v2/keys-asym"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (vCCorrelationId != null) + { + localVarHeaderParams.Add("v-c-correlation-id", Configuration.ApiClient.ParameterToString(vCCorrelationId)); // header parameter + } + if (vCSenderOrganizationId != null) + { + localVarHeaderParams.Add("v-c-sender-organization-id", Configuration.ApiClient.ParameterToString(vCSenderOrganizationId)); // header parameter + } + if (vCPermissions != null) + { + localVarHeaderParams.Add("v-c-permissions", Configuration.ApiClient.ParameterToString(vCPermissions)); // header parameter + } + if (saveAsymEgressKey != null && saveAsymEgressKey.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + saveAsymEgressKey = (SaveAsymEgressKey)sdkTracker.InsertDeveloperIdTracker(saveAsymEgressKey, saveAsymEgressKey.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(saveAsymEgressKey); // http body (model) parameter + } + else + { + localVarPostBody = saveAsymEgressKey; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("SaveAsymEgressKey", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2014) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2014))); // Return statement + } + + /// + /// Message Level Encryption Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// Task of InlineResponse2014 + public async System.Threading.Tasks.Task SaveAsymEgressKeyAsync (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null) + { + logger.Debug("CALLING API \"SaveAsymEgressKeyAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await SaveAsymEgressKeyAsyncWithHttpInfo(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId); + logger.Debug("CALLING API \"SaveAsymEgressKeyAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Message Level Encryption Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + /// + /// Thrown when fails to make API call + /// Sender organization id + /// Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + /// Provide egress Asymmetric key information to save (create or store) + /// A globally unique id associated with your request (optional) + /// Task of ApiResponse (InlineResponse2014) + public async System.Threading.Tasks.Task> SaveAsymEgressKeyAsyncWithHttpInfo (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'vCSenderOrganizationId' is set + if (vCSenderOrganizationId == null) + { + logger.Error("ApiException : Missing required parameter 'vCSenderOrganizationId' when calling ManageWebhooksApi->SaveAsymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCSenderOrganizationId' when calling ManageWebhooksApi->SaveAsymEgressKey"); + } + // verify the required parameter 'vCPermissions' is set + if (vCPermissions == null) + { + logger.Error("ApiException : Missing required parameter 'vCPermissions' when calling ManageWebhooksApi->SaveAsymEgressKey"); + throw new ApiException(400, "Missing required parameter 'vCPermissions' when calling ManageWebhooksApi->SaveAsymEgressKey"); + } + // verify the required parameter 'saveAsymEgressKey' is set + if (saveAsymEgressKey == null) + { + logger.Error("ApiException : Missing required parameter 'saveAsymEgressKey' when calling ManageWebhooksApi->SaveAsymEgressKey"); + throw new ApiException(400, "Missing required parameter 'saveAsymEgressKey' when calling ManageWebhooksApi->SaveAsymEgressKey"); + } + + var localVarPath = $"/kms/egress/v2/keys-asym"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (vCCorrelationId != null) + { + localVarHeaderParams.Add("v-c-correlation-id", Configuration.ApiClient.ParameterToString(vCCorrelationId)); // header parameter + } + if (vCSenderOrganizationId != null) + { + localVarHeaderParams.Add("v-c-sender-organization-id", Configuration.ApiClient.ParameterToString(vCSenderOrganizationId)); // header parameter + } + if (vCPermissions != null) + { + localVarHeaderParams.Add("v-c-permissions", Configuration.ApiClient.ParameterToString(vCPermissions)); // header parameter + } + if (saveAsymEgressKey != null && saveAsymEgressKey.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + saveAsymEgressKey = (SaveAsymEgressKey)sdkTracker.InsertDeveloperIdTracker(saveAsymEgressKey, saveAsymEgressKey.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(saveAsymEgressKey); // http body (model) parameter + } + else + { + localVarPostBody = saveAsymEgressKey; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("SaveAsymEgressKey", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2014) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2014))); // Return statement + } + /// + /// Update a Webhook Subscription Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public void UpdateWebhookSubscription (string webhookId, UpdateWebhook updateWebhook = null) + { + logger.Debug("CALLING API \"UpdateWebhookSubscription\" STARTED"); + this.SetStatusCode(null); + UpdateWebhookSubscriptionWithHttpInfo(webhookId, updateWebhook); + } + + /// + /// Update a Webhook Subscription Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// ApiResponse of Object(void) + public ApiResponse UpdateWebhookSubscriptionWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->UpdateWebhookSubscription"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->UpdateWebhookSubscription"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks/{webhookId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (updateWebhook != null && updateWebhook.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + updateWebhook = (UpdateWebhook)sdkTracker.InsertDeveloperIdTracker(updateWebhook, updateWebhook.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(updateWebhook); // http body (model) parameter + } + else + { + localVarPostBody = updateWebhook; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("UpdateWebhookSubscription", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + localVarResponse.Content); // Return statement + } + + /// + /// Update a Webhook Subscription Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// Task of void + public async System.Threading.Tasks.Task UpdateWebhookSubscriptionAsync (string webhookId, UpdateWebhook updateWebhook = null) + { + logger.Debug("CALLING API \"UpdateWebhookSubscriptionAsync\" STARTED"); + this.SetStatusCode(null); + await UpdateWebhookSubscriptionAsyncWithHttpInfo(webhookId, updateWebhook); + + } + + /// + /// Update a Webhook Subscription Update the webhook subscription using PATCH. + /// + /// Thrown when fails to make API call + /// The Webhook Identifier. + /// The webhook payload or changes to apply. (optional) + /// Task of ApiResponse + public async System.Threading.Tasks.Task> UpdateWebhookSubscriptionAsyncWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'webhookId' is set + if (webhookId == null) + { + logger.Error("ApiException : Missing required parameter 'webhookId' when calling ManageWebhooksApi->UpdateWebhookSubscription"); + throw new ApiException(400, "Missing required parameter 'webhookId' when calling ManageWebhooksApi->UpdateWebhookSubscription"); + } + + var localVarPath = $"/notification-subscriptions/v1/webhooks/{webhookId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/hal+json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (webhookId != null) + { + localVarPathParams.Add("webhookId", Configuration.ApiClient.ParameterToString(webhookId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (updateWebhook != null && updateWebhook.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + updateWebhook = (UpdateWebhook)sdkTracker.InsertDeveloperIdTracker(updateWebhook, updateWebhook.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(updateWebhook); // http body (model) parameter + } + else + { + localVarPostBody = updateWebhook; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("UpdateWebhookSubscription", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + localVarResponse.Content); // Return statement + } + } +} diff --git a/Api/MerchantBoardingApi.cs b/Api/MerchantBoardingApi.cs new file mode 100644 index 00000000..e35e032a --- /dev/null +++ b/Api/MerchantBoardingApi.cs @@ -0,0 +1,663 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using RestSharp; +using CyberSource.Client; +using CyberSource.Model; +using NLog; +using AuthenticationSdk.util; +using CyberSource.Utilities.Tracking; + +namespace CyberSource.Api +{ + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface IMerchantBoardingApi : IApiAccessor + { + #region Synchronous Operations + /// + /// Gets all the information on a boarding registration + /// + /// + /// This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// InlineResponse2002 + InlineResponse2002 GetRegistration (string registrationId); + + /// + /// Gets all the information on a boarding registration + /// + /// + /// This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// ApiResponse of InlineResponse2002 + ApiResponse GetRegistrationWithHttpInfo (string registrationId); + /// + /// Create a boarding registration + /// + /// + /// Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// InlineResponse2011 + InlineResponse2011 PostRegistration (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null); + + /// + /// Create a boarding registration + /// + /// + /// Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// ApiResponse of InlineResponse2011 + ApiResponse PostRegistrationWithHttpInfo (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null); + #endregion Synchronous Operations + #region Asynchronous Operations + /// + /// Gets all the information on a boarding registration + /// + /// + /// This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// Task of InlineResponse2002 + System.Threading.Tasks.Task GetRegistrationAsync (string registrationId); + + /// + /// Gets all the information on a boarding registration + /// + /// + /// This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// Task of ApiResponse (InlineResponse2002) + System.Threading.Tasks.Task> GetRegistrationAsyncWithHttpInfo (string registrationId); + /// + /// Create a boarding registration + /// + /// + /// Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// Task of InlineResponse2011 + System.Threading.Tasks.Task PostRegistrationAsync (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null); + + /// + /// Create a boarding registration + /// + /// + /// Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// Task of ApiResponse (InlineResponse2011) + System.Threading.Tasks.Task> PostRegistrationAsyncWithHttpInfo (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null); + #endregion Asynchronous Operations + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class MerchantBoardingApi : IMerchantBoardingApi + { + private static Logger logger; + private ExceptionFactory _exceptionFactory = (name, response) => null; + private int? _statusCode; + + /// + /// Initializes a new instance of the class. + /// + /// + public MerchantBoardingApi(string basePath) + { + Configuration = new Configuration(new ApiClient(basePath)); + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + // ensure API client has configuration ready + if (Configuration.ApiClient.Configuration == null) + { + Configuration.ApiClient.Configuration = Configuration; + } + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Initializes a new instance of the class + /// using Configuration object + /// + /// An instance of Configuration + /// + public MerchantBoardingApi(Configuration configuration = null) + { + if (configuration == null) // use the default one in Configuration + Configuration = Configuration.Default; + else + Configuration = configuration; + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + Configuration.ApiClient.Configuration = Configuration; + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Gets the base path of the API client. + /// + /// The base path + public string GetBasePath() + { + return Configuration.ApiClient.RestClient.Options.BaseUrl.ToString(); + } + + /// + /// Sets the base path of the API client. + /// + /// The base path + [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")] + public void SetBasePath(string basePath) + { + // do nothing + } + + /// + /// Gets or sets the configuration object + /// + /// An instance of the Configuration + public Configuration Configuration { get; set; } + + /// + /// Provides a factory method hook for the creation of exceptions. + /// + public ExceptionFactory ExceptionFactory + { + get + { + if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1) + { + logger.Error("InvalidOperationException : Multicast delegate for ExceptionFactory is unsupported."); + throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported."); + } + return _exceptionFactory; + } + set { _exceptionFactory = value; } + } + + /// + /// Gets the default header. + /// + /// Dictionary of HTTP header + [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")] + public Dictionary DefaultHeader() + { + return Configuration.DefaultHeader; + } + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")] + public void AddDefaultHeader(string key, string value) + { + Configuration.AddDefaultHeader(key, value); + } + + /// + /// Retrieves the status code being set for the most recently executed API request. + /// + /// Status Code of previous request + public int GetStatusCode() + { + return this._statusCode == null ? 0 : (int) this._statusCode; + } + + /// + /// Sets the value of status code for the most recently executed API request, in order to be retrieved later. + /// + /// Status Code to be set + /// + public void SetStatusCode(int? statusCode) + { + this._statusCode = statusCode; + } + + /// + /// Gets all the information on a boarding registration This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// InlineResponse2002 + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public InlineResponse2002 GetRegistration (string registrationId) + { + logger.Debug("CALLING API \"GetRegistration\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = GetRegistrationWithHttpInfo(registrationId); + logger.Debug("CALLING API \"GetRegistration\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Gets all the information on a boarding registration This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// ApiResponse of InlineResponse2002 + public ApiResponse< InlineResponse2002 > GetRegistrationWithHttpInfo (string registrationId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'registrationId' is set + if (registrationId == null) + { + logger.Error("ApiException : Missing required parameter 'registrationId' when calling MerchantBoardingApi->GetRegistration"); + throw new ApiException(400, "Missing required parameter 'registrationId' when calling MerchantBoardingApi->GetRegistration"); + } + + var localVarPath = $"/boarding/v1/registrations/{registrationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/json" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (registrationId != null) + { + localVarPathParams.Add("registrationId", Configuration.ApiClient.ParameterToString(registrationId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetRegistration", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2002) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2002))); // Return statement + } + + /// + /// Gets all the information on a boarding registration This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// Task of InlineResponse2002 + public async System.Threading.Tasks.Task GetRegistrationAsync (string registrationId) + { + logger.Debug("CALLING API \"GetRegistrationAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await GetRegistrationAsyncWithHttpInfo(registrationId); + logger.Debug("CALLING API \"GetRegistrationAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Gets all the information on a boarding registration This end point will get all information of a boarding registration + /// + /// Thrown when fails to make API call + /// Identifies the boarding registration to be updated + /// Task of ApiResponse (InlineResponse2002) + public async System.Threading.Tasks.Task> GetRegistrationAsyncWithHttpInfo (string registrationId) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'registrationId' is set + if (registrationId == null) + { + logger.Error("ApiException : Missing required parameter 'registrationId' when calling MerchantBoardingApi->GetRegistration"); + throw new ApiException(400, "Missing required parameter 'registrationId' when calling MerchantBoardingApi->GetRegistration"); + } + + var localVarPath = $"/boarding/v1/registrations/{registrationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/json" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (registrationId != null) + { + localVarPathParams.Add("registrationId", Configuration.ApiClient.ParameterToString(registrationId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (Method.Get == Method.Post) + { + localVarPostBody = "{}"; + } + else + { + localVarPostBody = null; + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetRegistration", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2002) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2002))); // Return statement + } + /// + /// Create a boarding registration Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// InlineResponse2011 + /// DISCLAIMER: Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. + public InlineResponse2011 PostRegistration (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null) + { + logger.Debug("CALLING API \"PostRegistration\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = PostRegistrationWithHttpInfo(postRegistrationBody, vCIdempotencyId); + logger.Debug("CALLING API \"PostRegistration\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Create a boarding registration Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// ApiResponse of InlineResponse2011 + public ApiResponse< InlineResponse2011 > PostRegistrationWithHttpInfo (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'postRegistrationBody' is set + if (postRegistrationBody == null) + { + logger.Error("ApiException : Missing required parameter 'postRegistrationBody' when calling MerchantBoardingApi->PostRegistration"); + throw new ApiException(400, "Missing required parameter 'postRegistrationBody' when calling MerchantBoardingApi->PostRegistration"); + } + + var localVarPath = $"/boarding/v1/registrations"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/json" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (vCIdempotencyId != null) + { + localVarHeaderParams.Add("v-c-idempotency-id", Configuration.ApiClient.ParameterToString(vCIdempotencyId)); // header parameter + } + if (postRegistrationBody != null && postRegistrationBody.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + postRegistrationBody = (PostRegistrationBody)sdkTracker.InsertDeveloperIdTracker(postRegistrationBody, postRegistrationBody.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(postRegistrationBody); // http body (model) parameter + } + else + { + localVarPostBody = postRegistrationBody; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("PostRegistration", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2011) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2011))); // Return statement + } + + /// + /// Create a boarding registration Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// Task of InlineResponse2011 + public async System.Threading.Tasks.Task PostRegistrationAsync (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null) + { + logger.Debug("CALLING API \"PostRegistrationAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await PostRegistrationAsyncWithHttpInfo(postRegistrationBody, vCIdempotencyId); + logger.Debug("CALLING API \"PostRegistrationAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Create a boarding registration Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// Thrown when fails to make API call + /// Boarding registration data + /// defines idempotency of the request (optional) + /// Task of ApiResponse (InlineResponse2011) + public async System.Threading.Tasks.Task> PostRegistrationAsyncWithHttpInfo (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'postRegistrationBody' is set + if (postRegistrationBody == null) + { + logger.Error("ApiException : Missing required parameter 'postRegistrationBody' when calling MerchantBoardingApi->PostRegistration"); + throw new ApiException(400, "Missing required parameter 'postRegistrationBody' when calling MerchantBoardingApi->PostRegistration"); + } + + var localVarPath = $"/boarding/v1/registrations"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/json" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (vCIdempotencyId != null) + { + localVarHeaderParams.Add("v-c-idempotency-id", Configuration.ApiClient.ParameterToString(vCIdempotencyId)); // header parameter + } + if (postRegistrationBody != null && postRegistrationBody.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + postRegistrationBody = (PostRegistrationBody)sdkTracker.InsertDeveloperIdTracker(postRegistrationBody, postRegistrationBody.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(postRegistrationBody); // http body (model) parameter + } + else + { + localVarPostBody = postRegistrationBody; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("PostRegistration", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (InlineResponse2011) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2011))); // Return statement + } + } +} diff --git a/Model/Boardingv1registrationsDocumentInformation.cs b/Model/Boardingv1registrationsDocumentInformation.cs new file mode 100644 index 00000000..439ea862 --- /dev/null +++ b/Model/Boardingv1registrationsDocumentInformation.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsDocumentInformation + /// + [DataContract] + public partial class Boardingv1registrationsDocumentInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SignedDocuments. + public Boardingv1registrationsDocumentInformation(List SignedDocuments = default(List)) + { + this.SignedDocuments = SignedDocuments; + } + + /// + /// Gets or Sets SignedDocuments + /// + [DataMember(Name="signedDocuments", EmitDefaultValue=false)] + public List SignedDocuments { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsDocumentInformation {\n"); + sb.Append(" SignedDocuments: ").Append(SignedDocuments).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsDocumentInformation); + } + + /// + /// Returns true if Boardingv1registrationsDocumentInformation instances are equal + /// + /// Instance of Boardingv1registrationsDocumentInformation to be compared + /// Boolean + public bool Equals(Boardingv1registrationsDocumentInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SignedDocuments == other.SignedDocuments || + this.SignedDocuments != null && + this.SignedDocuments.SequenceEqual(other.SignedDocuments) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SignedDocuments != null) + hash = hash * 59 + this.SignedDocuments.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsDocumentInformationSignedDocuments.cs b/Model/Boardingv1registrationsDocumentInformationSignedDocuments.cs new file mode 100644 index 00000000..0a575df2 --- /dev/null +++ b/Model/Boardingv1registrationsDocumentInformationSignedDocuments.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsDocumentInformationSignedDocuments + /// + [DataContract] + public partial class Boardingv1registrationsDocumentInformationSignedDocuments : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// DocumentId. + public Boardingv1registrationsDocumentInformationSignedDocuments(string DocumentId = default(string)) + { + this.DocumentId = DocumentId; + } + + /// + /// Gets or Sets DocumentId + /// + [DataMember(Name="documentId", EmitDefaultValue=false)] + public string DocumentId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsDocumentInformationSignedDocuments {\n"); + sb.Append(" DocumentId: ").Append(DocumentId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsDocumentInformationSignedDocuments); + } + + /// + /// Returns true if Boardingv1registrationsDocumentInformationSignedDocuments instances are equal + /// + /// Instance of Boardingv1registrationsDocumentInformationSignedDocuments to be compared + /// Boolean + public bool Equals(Boardingv1registrationsDocumentInformationSignedDocuments other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DocumentId == other.DocumentId || + this.DocumentId != null && + this.DocumentId.Equals(other.DocumentId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DocumentId != null) + hash = hash * 59 + this.DocumentId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsIntegrationInformation.cs b/Model/Boardingv1registrationsIntegrationInformation.cs new file mode 100644 index 00000000..7c24e110 --- /dev/null +++ b/Model/Boardingv1registrationsIntegrationInformation.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsIntegrationInformation + /// + [DataContract] + public partial class Boardingv1registrationsIntegrationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Oauth2. + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.. + public Boardingv1registrationsIntegrationInformation(List Oauth2 = default(List), List TenantConfigurations = default(List)) + { + this.Oauth2 = Oauth2; + this.TenantConfigurations = TenantConfigurations; + } + + /// + /// Gets or Sets Oauth2 + /// + [DataMember(Name="oauth2", EmitDefaultValue=false)] + public List Oauth2 { get; set; } + + /// + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. + /// + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. + [DataMember(Name="tenantConfigurations", EmitDefaultValue=false)] + public List TenantConfigurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsIntegrationInformation {\n"); + sb.Append(" Oauth2: ").Append(Oauth2).Append("\n"); + sb.Append(" TenantConfigurations: ").Append(TenantConfigurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsIntegrationInformation); + } + + /// + /// Returns true if Boardingv1registrationsIntegrationInformation instances are equal + /// + /// Instance of Boardingv1registrationsIntegrationInformation to be compared + /// Boolean + public bool Equals(Boardingv1registrationsIntegrationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Oauth2 == other.Oauth2 || + this.Oauth2 != null && + this.Oauth2.SequenceEqual(other.Oauth2) + ) && + ( + this.TenantConfigurations == other.TenantConfigurations || + this.TenantConfigurations != null && + this.TenantConfigurations.SequenceEqual(other.TenantConfigurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Oauth2 != null) + hash = hash * 59 + this.Oauth2.GetHashCode(); + if (this.TenantConfigurations != null) + hash = hash * 59 + this.TenantConfigurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsIntegrationInformationOauth2.cs b/Model/Boardingv1registrationsIntegrationInformationOauth2.cs new file mode 100644 index 00000000..56d3ab7d --- /dev/null +++ b/Model/Boardingv1registrationsIntegrationInformationOauth2.cs @@ -0,0 +1,157 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsIntegrationInformationOauth2 + /// + [DataContract] + public partial class Boardingv1registrationsIntegrationInformationOauth2 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsIntegrationInformationOauth2() { } + /// + /// Initializes a new instance of the class. + /// + /// ClientId (required). + /// State. + public Boardingv1registrationsIntegrationInformationOauth2(string ClientId = default(string), string State = default(string)) + { + // to ensure "ClientId" is required (not null) + if (ClientId == null) + { + throw new InvalidDataException("ClientId is a required property for Boardingv1registrationsIntegrationInformationOauth2 and cannot be null"); + } + else + { + this.ClientId = ClientId; + } + this.State = State; + } + + /// + /// Gets or Sets ClientId + /// + [DataMember(Name="client_id", EmitDefaultValue=false)] + public string ClientId { get; set; } + + /// + /// Gets or Sets State + /// + [DataMember(Name="state", EmitDefaultValue=false)] + public string State { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsIntegrationInformationOauth2 {\n"); + sb.Append(" ClientId: ").Append(ClientId).Append("\n"); + sb.Append(" State: ").Append(State).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsIntegrationInformationOauth2); + } + + /// + /// Returns true if Boardingv1registrationsIntegrationInformationOauth2 instances are equal + /// + /// Instance of Boardingv1registrationsIntegrationInformationOauth2 to be compared + /// Boolean + public bool Equals(Boardingv1registrationsIntegrationInformationOauth2 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ClientId == other.ClientId || + this.ClientId != null && + this.ClientId.Equals(other.ClientId) + ) && + ( + this.State == other.State || + this.State != null && + this.State.Equals(other.State) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ClientId != null) + hash = hash * 59 + this.ClientId.GetHashCode(); + if (this.State != null) + hash = hash * 59 + this.State.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.cs b/Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.cs new file mode 100644 index 00000000..38a1227a --- /dev/null +++ b/Model/Boardingv1registrationsIntegrationInformationTenantConfigurations.cs @@ -0,0 +1,165 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsIntegrationInformationTenantConfigurations + /// + [DataContract] + public partial class Boardingv1registrationsIntegrationInformationTenantConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsIntegrationInformationTenantConfigurations() { } + /// + /// Initializes a new instance of the class. + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. (required). + /// TenantInformation. + public Boardingv1registrationsIntegrationInformationTenantConfigurations(string SolutionId = default(string), Boardingv1registrationsIntegrationInformationTenantInformation TenantInformation = default(Boardingv1registrationsIntegrationInformationTenantInformation)) + { + // to ensure "SolutionId" is required (not null) + if (SolutionId == null) + { + throw new InvalidDataException("SolutionId is a required property for Boardingv1registrationsIntegrationInformationTenantConfigurations and cannot be null"); + } + else + { + this.SolutionId = SolutionId; + } + this.TenantInformation = TenantInformation; + } + + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. + [DataMember(Name="solutionId", EmitDefaultValue=false)] + public string SolutionId { get; set; } + + /// + /// Gets or Sets TenantInformation + /// + [DataMember(Name="tenantInformation", EmitDefaultValue=false)] + public Boardingv1registrationsIntegrationInformationTenantInformation TenantInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsIntegrationInformationTenantConfigurations {\n"); + sb.Append(" SolutionId: ").Append(SolutionId).Append("\n"); + sb.Append(" TenantInformation: ").Append(TenantInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsIntegrationInformationTenantConfigurations); + } + + /// + /// Returns true if Boardingv1registrationsIntegrationInformationTenantConfigurations instances are equal + /// + /// Instance of Boardingv1registrationsIntegrationInformationTenantConfigurations to be compared + /// Boolean + public bool Equals(Boardingv1registrationsIntegrationInformationTenantConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SolutionId == other.SolutionId || + this.SolutionId != null && + this.SolutionId.Equals(other.SolutionId) + ) && + ( + this.TenantInformation == other.TenantInformation || + this.TenantInformation != null && + this.TenantInformation.Equals(other.TenantInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SolutionId != null) + hash = hash * 59 + this.SolutionId.GetHashCode(); + if (this.TenantInformation != null) + hash = hash * 59 + this.TenantInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // SolutionId (string) pattern + Regex regexSolutionId = new Regex(@"^[0-9a-zA-Z_]+$", RegexOptions.CultureInvariant); + if (false == regexSolutionId.Match(this.SolutionId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SolutionId, must match a pattern of " + regexSolutionId, new [] { "SolutionId" }); + } + + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsIntegrationInformationTenantInformation.cs b/Model/Boardingv1registrationsIntegrationInformationTenantInformation.cs new file mode 100644 index 00000000..74b6a9b4 --- /dev/null +++ b/Model/Boardingv1registrationsIntegrationInformationTenantInformation.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsIntegrationInformationTenantInformation + /// + [DataContract] + public partial class Boardingv1registrationsIntegrationInformationTenantInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The TenantId is an external Solution Identifier given by Tech Partners like SAP.. + public Boardingv1registrationsIntegrationInformationTenantInformation(string TenantId = default(string)) + { + this.TenantId = TenantId; + } + + /// + /// The TenantId is an external Solution Identifier given by Tech Partners like SAP. + /// + /// The TenantId is an external Solution Identifier given by Tech Partners like SAP. + [DataMember(Name="tenantId", EmitDefaultValue=false)] + public string TenantId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsIntegrationInformationTenantInformation {\n"); + sb.Append(" TenantId: ").Append(TenantId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsIntegrationInformationTenantInformation); + } + + /// + /// Returns true if Boardingv1registrationsIntegrationInformationTenantInformation instances are equal + /// + /// Instance of Boardingv1registrationsIntegrationInformationTenantInformation to be compared + /// Boolean + public bool Equals(Boardingv1registrationsIntegrationInformationTenantInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TenantId == other.TenantId || + this.TenantId != null && + this.TenantId.Equals(other.TenantId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TenantId != null) + hash = hash * 59 + this.TenantId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsOrganizationInformation.cs b/Model/Boardingv1registrationsOrganizationInformation.cs new file mode 100644 index 00000000..0c6d3cbb --- /dev/null +++ b/Model/Boardingv1registrationsOrganizationInformation.cs @@ -0,0 +1,336 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsOrganizationInformation + /// + [DataContract] + public partial class Boardingv1registrationsOrganizationInformation : IEquatable, IValidatableObject + { + /// + /// Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT' + /// + /// Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT' + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeEnum + { + + /// + /// Enum TRANSACTING for "TRANSACTING" + /// + [EnumMember(Value = "TRANSACTING")] + TRANSACTING, + + /// + /// Enum STRUCTURAL for "STRUCTURAL" + /// + [EnumMember(Value = "STRUCTURAL")] + STRUCTURAL, + + /// + /// Enum MERCHANT for "MERCHANT" + /// + [EnumMember(Value = "MERCHANT")] + MERCHANT + } + + /// + /// Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT' + /// + /// Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT' + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum LIVE for "LIVE" + /// + [EnumMember(Value = "LIVE")] + LIVE, + + /// + /// Enum TEST for "TEST" + /// + [EnumMember(Value = "TEST")] + TEST, + + /// + /// Enum DRAFT for "DRAFT" + /// + [EnumMember(Value = "DRAFT")] + DRAFT + } + + /// + /// Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT' + /// + /// Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT' + [DataMember(Name="type", EmitDefaultValue=false)] + public TypeEnum? Type { get; set; } + /// + /// Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT' + /// + /// Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT' + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// OrganizationId. + /// This field is required for Organization Types: MERCHANT, TRANSACTING . + /// ChildOrganizations. + /// Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT' . + /// Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT' . + /// This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration. (default to false). + /// BusinessInformation. + /// KYC. + /// Owners. + public Boardingv1registrationsOrganizationInformation(string OrganizationId = default(string), string ParentOrganizationId = default(string), List ChildOrganizations = default(List), TypeEnum? Type = default(TypeEnum?), StatusEnum? Status = default(StatusEnum?), bool? Configurable = false, Boardingv1registrationsOrganizationInformationBusinessInformation BusinessInformation = default(Boardingv1registrationsOrganizationInformationBusinessInformation), Boardingv1registrationsOrganizationInformationKYC KYC = default(Boardingv1registrationsOrganizationInformationKYC), List Owners = default(List)) + { + this.OrganizationId = OrganizationId; + this.ParentOrganizationId = ParentOrganizationId; + this.ChildOrganizations = ChildOrganizations; + this.Type = Type; + this.Status = Status; + // use default value if no "Configurable" provided + if (Configurable == null) + { + this.Configurable = false; + } + else + { + this.Configurable = Configurable; + } + this.BusinessInformation = BusinessInformation; + this.KYC = KYC; + this.Owners = Owners; + } + + /// + /// Gets or Sets OrganizationId + /// + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// This field is required for Organization Types: MERCHANT, TRANSACTING + /// + /// This field is required for Organization Types: MERCHANT, TRANSACTING + [DataMember(Name="parentOrganizationId", EmitDefaultValue=false)] + public string ParentOrganizationId { get; set; } + + /// + /// Gets or Sets ChildOrganizations + /// + [DataMember(Name="childOrganizations", EmitDefaultValue=false)] + public List ChildOrganizations { get; set; } + + + + /// + /// This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration. + /// + /// This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration. + [DataMember(Name="configurable", EmitDefaultValue=false)] + public bool? Configurable { get; set; } + + /// + /// Gets or Sets BusinessInformation + /// + [DataMember(Name="businessInformation", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationBusinessInformation BusinessInformation { get; set; } + + /// + /// Gets or Sets KYC + /// + [DataMember(Name="KYC", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationKYC KYC { get; set; } + + /// + /// Gets or Sets Owners + /// + [DataMember(Name="owners", EmitDefaultValue=false)] + public List Owners { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsOrganizationInformation {\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" ParentOrganizationId: ").Append(ParentOrganizationId).Append("\n"); + sb.Append(" ChildOrganizations: ").Append(ChildOrganizations).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Configurable: ").Append(Configurable).Append("\n"); + sb.Append(" BusinessInformation: ").Append(BusinessInformation).Append("\n"); + sb.Append(" KYC: ").Append(KYC).Append("\n"); + sb.Append(" Owners: ").Append(Owners).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsOrganizationInformation); + } + + /// + /// Returns true if Boardingv1registrationsOrganizationInformation instances are equal + /// + /// Instance of Boardingv1registrationsOrganizationInformation to be compared + /// Boolean + public bool Equals(Boardingv1registrationsOrganizationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.ParentOrganizationId == other.ParentOrganizationId || + this.ParentOrganizationId != null && + this.ParentOrganizationId.Equals(other.ParentOrganizationId) + ) && + ( + this.ChildOrganizations == other.ChildOrganizations || + this.ChildOrganizations != null && + this.ChildOrganizations.SequenceEqual(other.ChildOrganizations) + ) && + ( + this.Type == other.Type || + this.Type != null && + this.Type.Equals(other.Type) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Configurable == other.Configurable || + this.Configurable != null && + this.Configurable.Equals(other.Configurable) + ) && + ( + this.BusinessInformation == other.BusinessInformation || + this.BusinessInformation != null && + this.BusinessInformation.Equals(other.BusinessInformation) + ) && + ( + this.KYC == other.KYC || + this.KYC != null && + this.KYC.Equals(other.KYC) + ) && + ( + this.Owners == other.Owners || + this.Owners != null && + this.Owners.SequenceEqual(other.Owners) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.ParentOrganizationId != null) + hash = hash * 59 + this.ParentOrganizationId.GetHashCode(); + if (this.ChildOrganizations != null) + hash = hash * 59 + this.ChildOrganizations.GetHashCode(); + if (this.Type != null) + hash = hash * 59 + this.Type.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Configurable != null) + hash = hash * 59 + this.Configurable.GetHashCode(); + if (this.BusinessInformation != null) + hash = hash * 59 + this.BusinessInformation.GetHashCode(); + if (this.KYC != null) + hash = hash * 59 + this.KYC.GetHashCode(); + if (this.Owners != null) + hash = hash * 59 + this.Owners.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // OrganizationId (string) pattern + Regex regexOrganizationId = new Regex(@"^[0-9a-zA-Z_]+$", RegexOptions.CultureInvariant); + if (false == regexOrganizationId.Match(this.OrganizationId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OrganizationId, must match a pattern of " + regexOrganizationId, new [] { "OrganizationId" }); + } + + // ParentOrganizationId (string) pattern + Regex regexParentOrganizationId = new Regex(@"^[0-9a-zA-Z_]+$", RegexOptions.CultureInvariant); + if (false == regexParentOrganizationId.Match(this.ParentOrganizationId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ParentOrganizationId, must match a pattern of " + regexParentOrganizationId, new [] { "ParentOrganizationId" }); + } + + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.cs b/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.cs new file mode 100644 index 00000000..853fc021 --- /dev/null +++ b/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.cs @@ -0,0 +1,997 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsOrganizationInformationBusinessInformation + /// + [DataContract] + public partial class Boardingv1registrationsOrganizationInformationBusinessInformation : IEquatable, IValidatableObject + { + /// + /// Merchant perferred time zone Possible Values: - 'Pacific/Pago_Pago' - 'Pacific/Honolulu' - 'America/Anchorage' - 'America/Vancouver' - 'America/Los_Angeles' - 'America/Phoenix' - 'America/Edmonton' - 'America/Denver' - 'America/Winnipeg' - 'America/Mexico_City' - 'America/Chicago' - 'America/Bogota' - 'America/Indianapolis' - 'America/New_York' - 'America/La_Paz' - 'America/Halifax' - 'America/St_Johns' - 'America/Buenos_Aires' - 'America/Godthab' - 'America/Sao_Paulo' - 'America/Noronha' - 'Atlantic/Cape_Verde' - 'GMT' - 'Europe/Dublin' - 'Europe/Lisbon' - 'Europe/London' - 'Africa/Tunis' - 'Europe/Vienna' - 'Europe/Brussels' - 'Europe/Zurich' - 'Europe/Prague' - 'Europe/Berlin' - 'Europe/Copenhagen' - 'Europe/Madrid' - 'Europe/Budapest' - 'Europe/Rome' - 'Africa/Tripoli' - 'Europe/Monaco' - 'Europe/Malta' - 'Europe/Amsterdam' - 'Europe/Oslo' - 'Europe/Warsaw' - 'Europe/Stockholm' - 'Europe/Belgrade' - 'Europe/Paris' - 'Africa/Johannesburg' - 'Europe/Minsk' - 'Africa/Cairo' - 'Europe/Helsinki' - 'Europe/Athens' - 'Asia/Jerusalem' - 'Europe/Riga' - 'Europe/Bucharest' - 'Europe/Istanbul' - 'Asia/Riyadh' - 'Europe/Moscow' - 'Asia/Dubai' - 'Asia/Baku' - 'Asia/Tbilisi' - 'Asia/Calcutta' - 'Asia/Katmandu' - 'Asia/Dacca' - 'Asia/Rangoon' - 'Asia/Jakarta' - 'Asia/Saigon' - 'Asia/Bangkok' - 'Australia/Perth' - 'Asia/Hong_Kong' - 'Asia/Macao' - 'Asia/Kuala_Lumpur' - 'Asia/Manila' - 'Asia/Singapore' - 'Asia/Taipei' - 'Asia/Shanghai' - 'Asia/Seoul' - 'Asia/Tokyo' - 'Asia/Yakutsk' - 'Australia/Adelaide' - 'Australia/Brisbane' - 'Australia/Broken_Hill' - 'Australia/Darwin' - 'Australia/Eucla' - 'Australia/Hobart' - 'Australia/Lindeman' - 'Australia/Sydney' - 'Australia/Lord_Howe' - 'Australia/Melbourne' - 'Asia/Magadan' - 'Pacific/Norfolk' - 'Pacific/Auckland' + /// + /// Merchant perferred time zone Possible Values: - 'Pacific/Pago_Pago' - 'Pacific/Honolulu' - 'America/Anchorage' - 'America/Vancouver' - 'America/Los_Angeles' - 'America/Phoenix' - 'America/Edmonton' - 'America/Denver' - 'America/Winnipeg' - 'America/Mexico_City' - 'America/Chicago' - 'America/Bogota' - 'America/Indianapolis' - 'America/New_York' - 'America/La_Paz' - 'America/Halifax' - 'America/St_Johns' - 'America/Buenos_Aires' - 'America/Godthab' - 'America/Sao_Paulo' - 'America/Noronha' - 'Atlantic/Cape_Verde' - 'GMT' - 'Europe/Dublin' - 'Europe/Lisbon' - 'Europe/London' - 'Africa/Tunis' - 'Europe/Vienna' - 'Europe/Brussels' - 'Europe/Zurich' - 'Europe/Prague' - 'Europe/Berlin' - 'Europe/Copenhagen' - 'Europe/Madrid' - 'Europe/Budapest' - 'Europe/Rome' - 'Africa/Tripoli' - 'Europe/Monaco' - 'Europe/Malta' - 'Europe/Amsterdam' - 'Europe/Oslo' - 'Europe/Warsaw' - 'Europe/Stockholm' - 'Europe/Belgrade' - 'Europe/Paris' - 'Africa/Johannesburg' - 'Europe/Minsk' - 'Africa/Cairo' - 'Europe/Helsinki' - 'Europe/Athens' - 'Asia/Jerusalem' - 'Europe/Riga' - 'Europe/Bucharest' - 'Europe/Istanbul' - 'Asia/Riyadh' - 'Europe/Moscow' - 'Asia/Dubai' - 'Asia/Baku' - 'Asia/Tbilisi' - 'Asia/Calcutta' - 'Asia/Katmandu' - 'Asia/Dacca' - 'Asia/Rangoon' - 'Asia/Jakarta' - 'Asia/Saigon' - 'Asia/Bangkok' - 'Australia/Perth' - 'Asia/Hong_Kong' - 'Asia/Macao' - 'Asia/Kuala_Lumpur' - 'Asia/Manila' - 'Asia/Singapore' - 'Asia/Taipei' - 'Asia/Shanghai' - 'Asia/Seoul' - 'Asia/Tokyo' - 'Asia/Yakutsk' - 'Australia/Adelaide' - 'Australia/Brisbane' - 'Australia/Broken_Hill' - 'Australia/Darwin' - 'Australia/Eucla' - 'Australia/Hobart' - 'Australia/Lindeman' - 'Australia/Sydney' - 'Australia/Lord_Howe' - 'Australia/Melbourne' - 'Asia/Magadan' - 'Pacific/Norfolk' - 'Pacific/Auckland' + [JsonConverter(typeof(StringEnumConverter))] + public enum TimeZoneEnum + { + + /// + /// Enum PacificPagoPago for "Pacific/Pago_Pago" + /// + [EnumMember(Value = "Pacific/Pago_Pago")] + PacificPagoPago, + + /// + /// Enum PacificHonolulu for "Pacific/Honolulu" + /// + [EnumMember(Value = "Pacific/Honolulu")] + PacificHonolulu, + + /// + /// Enum AmericaAnchorage for "America/Anchorage" + /// + [EnumMember(Value = "America/Anchorage")] + AmericaAnchorage, + + /// + /// Enum AmericaVancouver for "America/Vancouver" + /// + [EnumMember(Value = "America/Vancouver")] + AmericaVancouver, + + /// + /// Enum AmericaLosAngeles for "America/Los_Angeles" + /// + [EnumMember(Value = "America/Los_Angeles")] + AmericaLosAngeles, + + /// + /// Enum AmericaPhoenix for "America/Phoenix" + /// + [EnumMember(Value = "America/Phoenix")] + AmericaPhoenix, + + /// + /// Enum AmericaEdmonton for "America/Edmonton" + /// + [EnumMember(Value = "America/Edmonton")] + AmericaEdmonton, + + /// + /// Enum AmericaDenver for "America/Denver" + /// + [EnumMember(Value = "America/Denver")] + AmericaDenver, + + /// + /// Enum AmericaWinnipeg for "America/Winnipeg" + /// + [EnumMember(Value = "America/Winnipeg")] + AmericaWinnipeg, + + /// + /// Enum AmericaMexicoCity for "America/Mexico_City" + /// + [EnumMember(Value = "America/Mexico_City")] + AmericaMexicoCity, + + /// + /// Enum AmericaChicago for "America/Chicago" + /// + [EnumMember(Value = "America/Chicago")] + AmericaChicago, + + /// + /// Enum AmericaBogota for "America/Bogota" + /// + [EnumMember(Value = "America/Bogota")] + AmericaBogota, + + /// + /// Enum AmericaIndianapolis for "America/Indianapolis" + /// + [EnumMember(Value = "America/Indianapolis")] + AmericaIndianapolis, + + /// + /// Enum AmericaNewYork for "America/New_York" + /// + [EnumMember(Value = "America/New_York")] + AmericaNewYork, + + /// + /// Enum AmericaLaPaz for "America/La_Paz" + /// + [EnumMember(Value = "America/La_Paz")] + AmericaLaPaz, + + /// + /// Enum AmericaHalifax for "America/Halifax" + /// + [EnumMember(Value = "America/Halifax")] + AmericaHalifax, + + /// + /// Enum AmericaStJohns for "America/St_Johns" + /// + [EnumMember(Value = "America/St_Johns")] + AmericaStJohns, + + /// + /// Enum AmericaBuenosAires for "America/Buenos_Aires" + /// + [EnumMember(Value = "America/Buenos_Aires")] + AmericaBuenosAires, + + /// + /// Enum AmericaGodthab for "America/Godthab" + /// + [EnumMember(Value = "America/Godthab")] + AmericaGodthab, + + /// + /// Enum AmericaSaoPaulo for "America/Sao_Paulo" + /// + [EnumMember(Value = "America/Sao_Paulo")] + AmericaSaoPaulo, + + /// + /// Enum AmericaNoronha for "America/Noronha" + /// + [EnumMember(Value = "America/Noronha")] + AmericaNoronha, + + /// + /// Enum AtlanticCapeVerde for "Atlantic/Cape_Verde" + /// + [EnumMember(Value = "Atlantic/Cape_Verde")] + AtlanticCapeVerde, + + /// + /// Enum GMT for "GMT" + /// + [EnumMember(Value = "GMT")] + GMT, + + /// + /// Enum EuropeDublin for "Europe/Dublin" + /// + [EnumMember(Value = "Europe/Dublin")] + EuropeDublin, + + /// + /// Enum EuropeLisbon for "Europe/Lisbon" + /// + [EnumMember(Value = "Europe/Lisbon")] + EuropeLisbon, + + /// + /// Enum EuropeLondon for "Europe/London" + /// + [EnumMember(Value = "Europe/London")] + EuropeLondon, + + /// + /// Enum AfricaTunis for "Africa/Tunis" + /// + [EnumMember(Value = "Africa/Tunis")] + AfricaTunis, + + /// + /// Enum EuropeVienna for "Europe/Vienna" + /// + [EnumMember(Value = "Europe/Vienna")] + EuropeVienna, + + /// + /// Enum EuropeBrussels for "Europe/Brussels" + /// + [EnumMember(Value = "Europe/Brussels")] + EuropeBrussels, + + /// + /// Enum EuropeZurich for "Europe/Zurich" + /// + [EnumMember(Value = "Europe/Zurich")] + EuropeZurich, + + /// + /// Enum EuropePrague for "Europe/Prague" + /// + [EnumMember(Value = "Europe/Prague")] + EuropePrague, + + /// + /// Enum EuropeBerlin for "Europe/Berlin" + /// + [EnumMember(Value = "Europe/Berlin")] + EuropeBerlin, + + /// + /// Enum EuropeCopenhagen for "Europe/Copenhagen" + /// + [EnumMember(Value = "Europe/Copenhagen")] + EuropeCopenhagen, + + /// + /// Enum EuropeMadrid for "Europe/Madrid" + /// + [EnumMember(Value = "Europe/Madrid")] + EuropeMadrid, + + /// + /// Enum EuropeBudapest for "Europe/Budapest" + /// + [EnumMember(Value = "Europe/Budapest")] + EuropeBudapest, + + /// + /// Enum EuropeRome for "Europe/Rome" + /// + [EnumMember(Value = "Europe/Rome")] + EuropeRome, + + /// + /// Enum AfricaTripoli for "Africa/Tripoli" + /// + [EnumMember(Value = "Africa/Tripoli")] + AfricaTripoli, + + /// + /// Enum EuropeMonaco for "Europe/Monaco" + /// + [EnumMember(Value = "Europe/Monaco")] + EuropeMonaco, + + /// + /// Enum EuropeMalta for "Europe/Malta" + /// + [EnumMember(Value = "Europe/Malta")] + EuropeMalta, + + /// + /// Enum EuropeAmsterdam for "Europe/Amsterdam" + /// + [EnumMember(Value = "Europe/Amsterdam")] + EuropeAmsterdam, + + /// + /// Enum EuropeOslo for "Europe/Oslo" + /// + [EnumMember(Value = "Europe/Oslo")] + EuropeOslo, + + /// + /// Enum EuropeWarsaw for "Europe/Warsaw" + /// + [EnumMember(Value = "Europe/Warsaw")] + EuropeWarsaw, + + /// + /// Enum EuropeStockholm for "Europe/Stockholm" + /// + [EnumMember(Value = "Europe/Stockholm")] + EuropeStockholm, + + /// + /// Enum EuropeBelgrade for "Europe/Belgrade" + /// + [EnumMember(Value = "Europe/Belgrade")] + EuropeBelgrade, + + /// + /// Enum EuropeParis for "Europe/Paris" + /// + [EnumMember(Value = "Europe/Paris")] + EuropeParis, + + /// + /// Enum AfricaJohannesburg for "Africa/Johannesburg" + /// + [EnumMember(Value = "Africa/Johannesburg")] + AfricaJohannesburg, + + /// + /// Enum EuropeMinsk for "Europe/Minsk" + /// + [EnumMember(Value = "Europe/Minsk")] + EuropeMinsk, + + /// + /// Enum AfricaCairo for "Africa/Cairo" + /// + [EnumMember(Value = "Africa/Cairo")] + AfricaCairo, + + /// + /// Enum EuropeHelsinki for "Europe/Helsinki" + /// + [EnumMember(Value = "Europe/Helsinki")] + EuropeHelsinki, + + /// + /// Enum EuropeAthens for "Europe/Athens" + /// + [EnumMember(Value = "Europe/Athens")] + EuropeAthens, + + /// + /// Enum AsiaJerusalem for "Asia/Jerusalem" + /// + [EnumMember(Value = "Asia/Jerusalem")] + AsiaJerusalem, + + /// + /// Enum EuropeRiga for "Europe/Riga" + /// + [EnumMember(Value = "Europe/Riga")] + EuropeRiga, + + /// + /// Enum EuropeBucharest for "Europe/Bucharest" + /// + [EnumMember(Value = "Europe/Bucharest")] + EuropeBucharest, + + /// + /// Enum EuropeIstanbul for "Europe/Istanbul" + /// + [EnumMember(Value = "Europe/Istanbul")] + EuropeIstanbul, + + /// + /// Enum AsiaRiyadh for "Asia/Riyadh" + /// + [EnumMember(Value = "Asia/Riyadh")] + AsiaRiyadh, + + /// + /// Enum EuropeMoscow for "Europe/Moscow" + /// + [EnumMember(Value = "Europe/Moscow")] + EuropeMoscow, + + /// + /// Enum AsiaDubai for "Asia/Dubai" + /// + [EnumMember(Value = "Asia/Dubai")] + AsiaDubai, + + /// + /// Enum AsiaBaku for "Asia/Baku" + /// + [EnumMember(Value = "Asia/Baku")] + AsiaBaku, + + /// + /// Enum AsiaTbilisi for "Asia/Tbilisi" + /// + [EnumMember(Value = "Asia/Tbilisi")] + AsiaTbilisi, + + /// + /// Enum AsiaCalcutta for "Asia/Calcutta" + /// + [EnumMember(Value = "Asia/Calcutta")] + AsiaCalcutta, + + /// + /// Enum AsiaKatmandu for "Asia/Katmandu" + /// + [EnumMember(Value = "Asia/Katmandu")] + AsiaKatmandu, + + /// + /// Enum AsiaDacca for "Asia/Dacca" + /// + [EnumMember(Value = "Asia/Dacca")] + AsiaDacca, + + /// + /// Enum AsiaRangoon for "Asia/Rangoon" + /// + [EnumMember(Value = "Asia/Rangoon")] + AsiaRangoon, + + /// + /// Enum AsiaJakarta for "Asia/Jakarta" + /// + [EnumMember(Value = "Asia/Jakarta")] + AsiaJakarta, + + /// + /// Enum AsiaSaigon for "Asia/Saigon" + /// + [EnumMember(Value = "Asia/Saigon")] + AsiaSaigon, + + /// + /// Enum AsiaBangkok for "Asia/Bangkok" + /// + [EnumMember(Value = "Asia/Bangkok")] + AsiaBangkok, + + /// + /// Enum AustraliaPerth for "Australia/Perth" + /// + [EnumMember(Value = "Australia/Perth")] + AustraliaPerth, + + /// + /// Enum AsiaHongKong for "Asia/Hong_Kong" + /// + [EnumMember(Value = "Asia/Hong_Kong")] + AsiaHongKong, + + /// + /// Enum AsiaMacao for "Asia/Macao" + /// + [EnumMember(Value = "Asia/Macao")] + AsiaMacao, + + /// + /// Enum AsiaKualaLumpur for "Asia/Kuala_Lumpur" + /// + [EnumMember(Value = "Asia/Kuala_Lumpur")] + AsiaKualaLumpur, + + /// + /// Enum AsiaManila for "Asia/Manila" + /// + [EnumMember(Value = "Asia/Manila")] + AsiaManila, + + /// + /// Enum AsiaSingapore for "Asia/Singapore" + /// + [EnumMember(Value = "Asia/Singapore")] + AsiaSingapore, + + /// + /// Enum AsiaTaipei for "Asia/Taipei" + /// + [EnumMember(Value = "Asia/Taipei")] + AsiaTaipei, + + /// + /// Enum AsiaShanghai for "Asia/Shanghai" + /// + [EnumMember(Value = "Asia/Shanghai")] + AsiaShanghai, + + /// + /// Enum AsiaSeoul for "Asia/Seoul" + /// + [EnumMember(Value = "Asia/Seoul")] + AsiaSeoul, + + /// + /// Enum AsiaTokyo for "Asia/Tokyo" + /// + [EnumMember(Value = "Asia/Tokyo")] + AsiaTokyo, + + /// + /// Enum AsiaYakutsk for "Asia/Yakutsk" + /// + [EnumMember(Value = "Asia/Yakutsk")] + AsiaYakutsk, + + /// + /// Enum AustraliaAdelaide for "Australia/Adelaide" + /// + [EnumMember(Value = "Australia/Adelaide")] + AustraliaAdelaide, + + /// + /// Enum AustraliaBrisbane for "Australia/Brisbane" + /// + [EnumMember(Value = "Australia/Brisbane")] + AustraliaBrisbane, + + /// + /// Enum AustraliaBrokenHill for "Australia/Broken_Hill" + /// + [EnumMember(Value = "Australia/Broken_Hill")] + AustraliaBrokenHill, + + /// + /// Enum AustraliaDarwin for "Australia/Darwin" + /// + [EnumMember(Value = "Australia/Darwin")] + AustraliaDarwin, + + /// + /// Enum AustraliaEucla for "Australia/Eucla" + /// + [EnumMember(Value = "Australia/Eucla")] + AustraliaEucla, + + /// + /// Enum AustraliaHobart for "Australia/Hobart" + /// + [EnumMember(Value = "Australia/Hobart")] + AustraliaHobart, + + /// + /// Enum AustraliaLindeman for "Australia/Lindeman" + /// + [EnumMember(Value = "Australia/Lindeman")] + AustraliaLindeman, + + /// + /// Enum AustraliaSydney for "Australia/Sydney" + /// + [EnumMember(Value = "Australia/Sydney")] + AustraliaSydney, + + /// + /// Enum AustraliaLordHowe for "Australia/Lord_Howe" + /// + [EnumMember(Value = "Australia/Lord_Howe")] + AustraliaLordHowe, + + /// + /// Enum AustraliaMelbourne for "Australia/Melbourne" + /// + [EnumMember(Value = "Australia/Melbourne")] + AustraliaMelbourne, + + /// + /// Enum AsiaMagadan for "Asia/Magadan" + /// + [EnumMember(Value = "Asia/Magadan")] + AsiaMagadan, + + /// + /// Enum PacificNorfolk for "Pacific/Norfolk" + /// + [EnumMember(Value = "Pacific/Norfolk")] + PacificNorfolk, + + /// + /// Enum PacificAuckland for "Pacific/Auckland" + /// + [EnumMember(Value = "Pacific/Auckland")] + PacificAuckland + } + + /// + /// Business type Possible Values: - 'PARTNERSHIP' - 'SOLE_PROPRIETORSHIP' - 'CORPORATION' - 'LLC' - 'NON_PROFIT' - 'TRUST' + /// + /// Business type Possible Values: - 'PARTNERSHIP' - 'SOLE_PROPRIETORSHIP' - 'CORPORATION' - 'LLC' - 'NON_PROFIT' - 'TRUST' + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeEnum + { + + /// + /// Enum PARTNERSHIP for "PARTNERSHIP" + /// + [EnumMember(Value = "PARTNERSHIP")] + PARTNERSHIP, + + /// + /// Enum SOLEPROPRIETORSHIP for "SOLE_PROPRIETORSHIP" + /// + [EnumMember(Value = "SOLE_PROPRIETORSHIP")] + SOLEPROPRIETORSHIP, + + /// + /// Enum CORPORATION for "CORPORATION" + /// + [EnumMember(Value = "CORPORATION")] + CORPORATION, + + /// + /// Enum LLC for "LLC" + /// + [EnumMember(Value = "LLC")] + LLC, + + /// + /// Enum NONPROFIT for "NON_PROFIT" + /// + [EnumMember(Value = "NON_PROFIT")] + NONPROFIT, + + /// + /// Enum TRUST for "TRUST" + /// + [EnumMember(Value = "TRUST")] + TRUST + } + + /// + /// Merchant perferred time zone Possible Values: - 'Pacific/Pago_Pago' - 'Pacific/Honolulu' - 'America/Anchorage' - 'America/Vancouver' - 'America/Los_Angeles' - 'America/Phoenix' - 'America/Edmonton' - 'America/Denver' - 'America/Winnipeg' - 'America/Mexico_City' - 'America/Chicago' - 'America/Bogota' - 'America/Indianapolis' - 'America/New_York' - 'America/La_Paz' - 'America/Halifax' - 'America/St_Johns' - 'America/Buenos_Aires' - 'America/Godthab' - 'America/Sao_Paulo' - 'America/Noronha' - 'Atlantic/Cape_Verde' - 'GMT' - 'Europe/Dublin' - 'Europe/Lisbon' - 'Europe/London' - 'Africa/Tunis' - 'Europe/Vienna' - 'Europe/Brussels' - 'Europe/Zurich' - 'Europe/Prague' - 'Europe/Berlin' - 'Europe/Copenhagen' - 'Europe/Madrid' - 'Europe/Budapest' - 'Europe/Rome' - 'Africa/Tripoli' - 'Europe/Monaco' - 'Europe/Malta' - 'Europe/Amsterdam' - 'Europe/Oslo' - 'Europe/Warsaw' - 'Europe/Stockholm' - 'Europe/Belgrade' - 'Europe/Paris' - 'Africa/Johannesburg' - 'Europe/Minsk' - 'Africa/Cairo' - 'Europe/Helsinki' - 'Europe/Athens' - 'Asia/Jerusalem' - 'Europe/Riga' - 'Europe/Bucharest' - 'Europe/Istanbul' - 'Asia/Riyadh' - 'Europe/Moscow' - 'Asia/Dubai' - 'Asia/Baku' - 'Asia/Tbilisi' - 'Asia/Calcutta' - 'Asia/Katmandu' - 'Asia/Dacca' - 'Asia/Rangoon' - 'Asia/Jakarta' - 'Asia/Saigon' - 'Asia/Bangkok' - 'Australia/Perth' - 'Asia/Hong_Kong' - 'Asia/Macao' - 'Asia/Kuala_Lumpur' - 'Asia/Manila' - 'Asia/Singapore' - 'Asia/Taipei' - 'Asia/Shanghai' - 'Asia/Seoul' - 'Asia/Tokyo' - 'Asia/Yakutsk' - 'Australia/Adelaide' - 'Australia/Brisbane' - 'Australia/Broken_Hill' - 'Australia/Darwin' - 'Australia/Eucla' - 'Australia/Hobart' - 'Australia/Lindeman' - 'Australia/Sydney' - 'Australia/Lord_Howe' - 'Australia/Melbourne' - 'Asia/Magadan' - 'Pacific/Norfolk' - 'Pacific/Auckland' + /// + /// Merchant perferred time zone Possible Values: - 'Pacific/Pago_Pago' - 'Pacific/Honolulu' - 'America/Anchorage' - 'America/Vancouver' - 'America/Los_Angeles' - 'America/Phoenix' - 'America/Edmonton' - 'America/Denver' - 'America/Winnipeg' - 'America/Mexico_City' - 'America/Chicago' - 'America/Bogota' - 'America/Indianapolis' - 'America/New_York' - 'America/La_Paz' - 'America/Halifax' - 'America/St_Johns' - 'America/Buenos_Aires' - 'America/Godthab' - 'America/Sao_Paulo' - 'America/Noronha' - 'Atlantic/Cape_Verde' - 'GMT' - 'Europe/Dublin' - 'Europe/Lisbon' - 'Europe/London' - 'Africa/Tunis' - 'Europe/Vienna' - 'Europe/Brussels' - 'Europe/Zurich' - 'Europe/Prague' - 'Europe/Berlin' - 'Europe/Copenhagen' - 'Europe/Madrid' - 'Europe/Budapest' - 'Europe/Rome' - 'Africa/Tripoli' - 'Europe/Monaco' - 'Europe/Malta' - 'Europe/Amsterdam' - 'Europe/Oslo' - 'Europe/Warsaw' - 'Europe/Stockholm' - 'Europe/Belgrade' - 'Europe/Paris' - 'Africa/Johannesburg' - 'Europe/Minsk' - 'Africa/Cairo' - 'Europe/Helsinki' - 'Europe/Athens' - 'Asia/Jerusalem' - 'Europe/Riga' - 'Europe/Bucharest' - 'Europe/Istanbul' - 'Asia/Riyadh' - 'Europe/Moscow' - 'Asia/Dubai' - 'Asia/Baku' - 'Asia/Tbilisi' - 'Asia/Calcutta' - 'Asia/Katmandu' - 'Asia/Dacca' - 'Asia/Rangoon' - 'Asia/Jakarta' - 'Asia/Saigon' - 'Asia/Bangkok' - 'Australia/Perth' - 'Asia/Hong_Kong' - 'Asia/Macao' - 'Asia/Kuala_Lumpur' - 'Asia/Manila' - 'Asia/Singapore' - 'Asia/Taipei' - 'Asia/Shanghai' - 'Asia/Seoul' - 'Asia/Tokyo' - 'Asia/Yakutsk' - 'Australia/Adelaide' - 'Australia/Brisbane' - 'Australia/Broken_Hill' - 'Australia/Darwin' - 'Australia/Eucla' - 'Australia/Hobart' - 'Australia/Lindeman' - 'Australia/Sydney' - 'Australia/Lord_Howe' - 'Australia/Melbourne' - 'Asia/Magadan' - 'Pacific/Norfolk' - 'Pacific/Auckland' + [DataMember(Name="timeZone", EmitDefaultValue=false)] + public TimeZoneEnum? TimeZone { get; set; } + /// + /// Business type Possible Values: - 'PARTNERSHIP' - 'SOLE_PROPRIETORSHIP' - 'CORPORATION' - 'LLC' - 'NON_PROFIT' - 'TRUST' + /// + /// Business type Possible Values: - 'PARTNERSHIP' - 'SOLE_PROPRIETORSHIP' - 'CORPORATION' - 'LLC' - 'NON_PROFIT' - 'TRUST' + [DataMember(Name="type", EmitDefaultValue=false)] + public TypeEnum? Type { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsOrganizationInformationBusinessInformation() { } + /// + /// Initializes a new instance of the class. + /// + /// Name (required). + /// DoingBusinessAs. + /// Description. + /// `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 . + /// Address. + /// Merchant perferred time zone Possible Values: - 'Pacific/Pago_Pago' - 'Pacific/Honolulu' - 'America/Anchorage' - 'America/Vancouver' - 'America/Los_Angeles' - 'America/Phoenix' - 'America/Edmonton' - 'America/Denver' - 'America/Winnipeg' - 'America/Mexico_City' - 'America/Chicago' - 'America/Bogota' - 'America/Indianapolis' - 'America/New_York' - 'America/La_Paz' - 'America/Halifax' - 'America/St_Johns' - 'America/Buenos_Aires' - 'America/Godthab' - 'America/Sao_Paulo' - 'America/Noronha' - 'Atlantic/Cape_Verde' - 'GMT' - 'Europe/Dublin' - 'Europe/Lisbon' - 'Europe/London' - 'Africa/Tunis' - 'Europe/Vienna' - 'Europe/Brussels' - 'Europe/Zurich' - 'Europe/Prague' - 'Europe/Berlin' - 'Europe/Copenhagen' - 'Europe/Madrid' - 'Europe/Budapest' - 'Europe/Rome' - 'Africa/Tripoli' - 'Europe/Monaco' - 'Europe/Malta' - 'Europe/Amsterdam' - 'Europe/Oslo' - 'Europe/Warsaw' - 'Europe/Stockholm' - 'Europe/Belgrade' - 'Europe/Paris' - 'Africa/Johannesburg' - 'Europe/Minsk' - 'Africa/Cairo' - 'Europe/Helsinki' - 'Europe/Athens' - 'Asia/Jerusalem' - 'Europe/Riga' - 'Europe/Bucharest' - 'Europe/Istanbul' - 'Asia/Riyadh' - 'Europe/Moscow' - 'Asia/Dubai' - 'Asia/Baku' - 'Asia/Tbilisi' - 'Asia/Calcutta' - 'Asia/Katmandu' - 'Asia/Dacca' - 'Asia/Rangoon' - 'Asia/Jakarta' - 'Asia/Saigon' - 'Asia/Bangkok' - 'Australia/Perth' - 'Asia/Hong_Kong' - 'Asia/Macao' - 'Asia/Kuala_Lumpur' - 'Asia/Manila' - 'Asia/Singapore' - 'Asia/Taipei' - 'Asia/Shanghai' - 'Asia/Seoul' - 'Asia/Tokyo' - 'Asia/Yakutsk' - 'Australia/Adelaide' - 'Australia/Brisbane' - 'Australia/Broken_Hill' - 'Australia/Darwin' - 'Australia/Eucla' - 'Australia/Hobart' - 'Australia/Lindeman' - 'Australia/Sydney' - 'Australia/Lord_Howe' - 'Australia/Melbourne' - 'Asia/Magadan' - 'Pacific/Norfolk' - 'Pacific/Auckland' . + /// WebsiteUrl. + /// Business type Possible Values: - 'PARTNERSHIP' - 'SOLE_PROPRIETORSHIP' - 'CORPORATION' - 'LLC' - 'NON_PROFIT' - 'TRUST' . + /// TaxId. + /// PhoneNumber. + /// BusinessContact. + /// TechnicalContact. + /// EmergencyContact. + /// Industry standard Merchant Category Code (MCC). + public Boardingv1registrationsOrganizationInformationBusinessInformation(string Name = default(string), string DoingBusinessAs = default(string), string Description = default(string), DateTime? StartDate = default(DateTime?), Boardingv1registrationsOrganizationInformationBusinessInformationAddress Address = default(Boardingv1registrationsOrganizationInformationBusinessInformationAddress), TimeZoneEnum? TimeZone = default(TimeZoneEnum?), string WebsiteUrl = default(string), TypeEnum? Type = default(TypeEnum?), string TaxId = default(string), string PhoneNumber = default(string), Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact BusinessContact = default(Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact), Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact TechnicalContact = default(Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact), Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact EmergencyContact = default(Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact), string MerchantCategoryCode = default(string)) + { + // to ensure "Name" is required (not null) + if (Name == null) + { + throw new InvalidDataException("Name is a required property for Boardingv1registrationsOrganizationInformationBusinessInformation and cannot be null"); + } + else + { + this.Name = Name; + } + this.DoingBusinessAs = DoingBusinessAs; + this.Description = Description; + this.StartDate = StartDate; + this.Address = Address; + this.TimeZone = TimeZone; + this.WebsiteUrl = WebsiteUrl; + this.Type = Type; + this.TaxId = TaxId; + this.PhoneNumber = PhoneNumber; + this.BusinessContact = BusinessContact; + this.TechnicalContact = TechnicalContact; + this.EmergencyContact = EmergencyContact; + this.MerchantCategoryCode = MerchantCategoryCode; + } + + /// + /// Gets or Sets Name + /// + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Gets or Sets DoingBusinessAs + /// + [DataMember(Name="doingBusinessAs", EmitDefaultValue=false)] + public string DoingBusinessAs { get; set; } + + /// + /// Gets or Sets Description + /// + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 + /// + /// `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 + [DataMember(Name="startDate", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? StartDate { get; set; } + + /// + /// Gets or Sets Address + /// + [DataMember(Name="address", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationBusinessInformationAddress Address { get; set; } + + + /// + /// Gets or Sets WebsiteUrl + /// + [DataMember(Name="websiteUrl", EmitDefaultValue=false)] + public string WebsiteUrl { get; set; } + + + /// + /// Gets or Sets TaxId + /// + [DataMember(Name="taxId", EmitDefaultValue=false)] + public string TaxId { get; set; } + + /// + /// Gets or Sets PhoneNumber + /// + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public string PhoneNumber { get; set; } + + /// + /// Gets or Sets BusinessContact + /// + [DataMember(Name="businessContact", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact BusinessContact { get; set; } + + /// + /// Gets or Sets TechnicalContact + /// + [DataMember(Name="technicalContact", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact TechnicalContact { get; set; } + + /// + /// Gets or Sets EmergencyContact + /// + [DataMember(Name="emergencyContact", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact EmergencyContact { get; set; } + + /// + /// Industry standard Merchant Category Code (MCC) + /// + /// Industry standard Merchant Category Code (MCC) + [DataMember(Name="merchantCategoryCode", EmitDefaultValue=false)] + public string MerchantCategoryCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsOrganizationInformationBusinessInformation {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" DoingBusinessAs: ").Append(DoingBusinessAs).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" StartDate: ").Append(StartDate).Append("\n"); + sb.Append(" Address: ").Append(Address).Append("\n"); + sb.Append(" TimeZone: ").Append(TimeZone).Append("\n"); + sb.Append(" WebsiteUrl: ").Append(WebsiteUrl).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" TaxId: ").Append(TaxId).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" BusinessContact: ").Append(BusinessContact).Append("\n"); + sb.Append(" TechnicalContact: ").Append(TechnicalContact).Append("\n"); + sb.Append(" EmergencyContact: ").Append(EmergencyContact).Append("\n"); + sb.Append(" MerchantCategoryCode: ").Append(MerchantCategoryCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsOrganizationInformationBusinessInformation); + } + + /// + /// Returns true if Boardingv1registrationsOrganizationInformationBusinessInformation instances are equal + /// + /// Instance of Boardingv1registrationsOrganizationInformationBusinessInformation to be compared + /// Boolean + public bool Equals(Boardingv1registrationsOrganizationInformationBusinessInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ) && + ( + this.DoingBusinessAs == other.DoingBusinessAs || + this.DoingBusinessAs != null && + this.DoingBusinessAs.Equals(other.DoingBusinessAs) + ) && + ( + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) + ) && + ( + this.StartDate == other.StartDate || + this.StartDate != null && + this.StartDate.Equals(other.StartDate) + ) && + ( + this.Address == other.Address || + this.Address != null && + this.Address.Equals(other.Address) + ) && + ( + this.TimeZone == other.TimeZone || + this.TimeZone != null && + this.TimeZone.Equals(other.TimeZone) + ) && + ( + this.WebsiteUrl == other.WebsiteUrl || + this.WebsiteUrl != null && + this.WebsiteUrl.Equals(other.WebsiteUrl) + ) && + ( + this.Type == other.Type || + this.Type != null && + this.Type.Equals(other.Type) + ) && + ( + this.TaxId == other.TaxId || + this.TaxId != null && + this.TaxId.Equals(other.TaxId) + ) && + ( + this.PhoneNumber == other.PhoneNumber || + this.PhoneNumber != null && + this.PhoneNumber.Equals(other.PhoneNumber) + ) && + ( + this.BusinessContact == other.BusinessContact || + this.BusinessContact != null && + this.BusinessContact.Equals(other.BusinessContact) + ) && + ( + this.TechnicalContact == other.TechnicalContact || + this.TechnicalContact != null && + this.TechnicalContact.Equals(other.TechnicalContact) + ) && + ( + this.EmergencyContact == other.EmergencyContact || + this.EmergencyContact != null && + this.EmergencyContact.Equals(other.EmergencyContact) + ) && + ( + this.MerchantCategoryCode == other.MerchantCategoryCode || + this.MerchantCategoryCode != null && + this.MerchantCategoryCode.Equals(other.MerchantCategoryCode) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.DoingBusinessAs != null) + hash = hash * 59 + this.DoingBusinessAs.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); + if (this.StartDate != null) + hash = hash * 59 + this.StartDate.GetHashCode(); + if (this.Address != null) + hash = hash * 59 + this.Address.GetHashCode(); + if (this.TimeZone != null) + hash = hash * 59 + this.TimeZone.GetHashCode(); + if (this.WebsiteUrl != null) + hash = hash * 59 + this.WebsiteUrl.GetHashCode(); + if (this.Type != null) + hash = hash * 59 + this.Type.GetHashCode(); + if (this.TaxId != null) + hash = hash * 59 + this.TaxId.GetHashCode(); + if (this.PhoneNumber != null) + hash = hash * 59 + this.PhoneNumber.GetHashCode(); + if (this.BusinessContact != null) + hash = hash * 59 + this.BusinessContact.GetHashCode(); + if (this.TechnicalContact != null) + hash = hash * 59 + this.TechnicalContact.GetHashCode(); + if (this.EmergencyContact != null) + hash = hash * 59 + this.EmergencyContact.GetHashCode(); + if (this.MerchantCategoryCode != null) + hash = hash * 59 + this.MerchantCategoryCode.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + //// Name (string) pattern + //Regex regexName = new Regex(@"^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-ï¿¿]+$", RegexOptions.CultureInvariant); + //if (false == regexName.Match(this.Name).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, must match a pattern of " + regexName, new [] { "Name" }); + //} + + //// DoingBusinessAs (string) pattern + //Regex regexDoingBusinessAs = new Regex(@"^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-ï¿¿]+$", RegexOptions.CultureInvariant); + //if (false == regexDoingBusinessAs.Match(this.DoingBusinessAs).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for DoingBusinessAs, must match a pattern of " + regexDoingBusinessAs, new [] { "DoingBusinessAs" }); + //} + + //// Description (string) pattern + //Regex regexDescription = new Regex(@"[À-ÖØ-öø-ǿÀ-ÖØ-öø-Ç¿\\n\\ra-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$", RegexOptions.CultureInvariant); + //if (false == regexDescription.Match(this.Description).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Description, must match a pattern of " + regexDescription, new [] { "Description" }); + //} + + //// WebsiteUrl (string) pattern + //Regex regexWebsiteUrl = new Regex(@"\\b((?:https?:\/\/|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:'\".,<>?«»“â€Â‘’]))", RegexOptions.CultureInvariant); + //if (false == regexWebsiteUrl.Match(this.WebsiteUrl).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for WebsiteUrl, must match a pattern of " + regexWebsiteUrl, new [] { "WebsiteUrl" }); + //} + + //// TaxId (string) pattern + //Regex regexTaxId = new Regex(@"\\d{9}", RegexOptions.CultureInvariant); + //if (false == regexTaxId.Match(this.TaxId).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for TaxId, must match a pattern of " + regexTaxId, new [] { "TaxId" }); + //} + + //// PhoneNumber (string) pattern + //Regex regexPhoneNumber = new Regex(@"^[0-9a-zA-Z\\\\+\\\\-]+$", RegexOptions.CultureInvariant); + //if (false == regexPhoneNumber.Match(this.PhoneNumber).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PhoneNumber, must match a pattern of " + regexPhoneNumber, new [] { "PhoneNumber" }); + //} + + //// MerchantCategoryCode (string) pattern + //Regex regexMerchantCategoryCode = new Regex(@"^\\d{3,4}$", RegexOptions.CultureInvariant); + //if (false == regexMerchantCategoryCode.Match(this.MerchantCategoryCode).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for MerchantCategoryCode, must match a pattern of " + regexMerchantCategoryCode, new [] { "MerchantCategoryCode" }); + //} + + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.cs b/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.cs new file mode 100644 index 00000000..eeac8d18 --- /dev/null +++ b/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.cs @@ -0,0 +1,282 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsOrganizationInformationBusinessInformationAddress + /// + [DataContract] + public partial class Boardingv1registrationsOrganizationInformationBusinessInformationAddress : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsOrganizationInformationBusinessInformationAddress() { } + /// + /// Initializes a new instance of the class. + /// + /// Country (required). + /// Address1 (required). + /// Address2. + /// City of the billing address. (required). + /// State or province of the billing address. Required for United States and Canada.. + /// Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada.. + public Boardingv1registrationsOrganizationInformationBusinessInformationAddress(string Country = default(string), string Address1 = default(string), string Address2 = default(string), string Locality = default(string), string AdministrativeArea = default(string), string PostalCode = default(string)) + { + // to ensure "Country" is required (not null) + if (Country == null) + { + throw new InvalidDataException("Country is a required property for Boardingv1registrationsOrganizationInformationBusinessInformationAddress and cannot be null"); + } + else + { + this.Country = Country; + } + // to ensure "Address1" is required (not null) + if (Address1 == null) + { + throw new InvalidDataException("Address1 is a required property for Boardingv1registrationsOrganizationInformationBusinessInformationAddress and cannot be null"); + } + else + { + this.Address1 = Address1; + } + // to ensure "Locality" is required (not null) + if (Locality == null) + { + throw new InvalidDataException("Locality is a required property for Boardingv1registrationsOrganizationInformationBusinessInformationAddress and cannot be null"); + } + else + { + this.Locality = Locality; + } + this.Address2 = Address2; + this.AdministrativeArea = AdministrativeArea; + this.PostalCode = PostalCode; + } + + /// + /// Gets or Sets Country + /// + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// Gets or Sets Address1 + /// + [DataMember(Name="address1", EmitDefaultValue=false)] + public string Address1 { get; set; } + + /// + /// Gets or Sets Address2 + /// + [DataMember(Name="address2", EmitDefaultValue=false)] + public string Address2 { get; set; } + + /// + /// City of the billing address. + /// + /// City of the billing address. + [DataMember(Name="locality", EmitDefaultValue=false)] + public string Locality { get; set; } + + /// + /// State or province of the billing address. Required for United States and Canada. + /// + /// State or province of the billing address. Required for United States and Canada. + [DataMember(Name="administrativeArea", EmitDefaultValue=false)] + public string AdministrativeArea { get; set; } + + /// + /// Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada. + /// + /// Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada. + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsOrganizationInformationBusinessInformationAddress {\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" Address1: ").Append(Address1).Append("\n"); + sb.Append(" Address2: ").Append(Address2).Append("\n"); + sb.Append(" Locality: ").Append(Locality).Append("\n"); + sb.Append(" AdministrativeArea: ").Append(AdministrativeArea).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsOrganizationInformationBusinessInformationAddress); + } + + /// + /// Returns true if Boardingv1registrationsOrganizationInformationBusinessInformationAddress instances are equal + /// + /// Instance of Boardingv1registrationsOrganizationInformationBusinessInformationAddress to be compared + /// Boolean + public bool Equals(Boardingv1registrationsOrganizationInformationBusinessInformationAddress other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Country == other.Country || + this.Country != null && + this.Country.Equals(other.Country) + ) && + ( + this.Address1 == other.Address1 || + this.Address1 != null && + this.Address1.Equals(other.Address1) + ) && + ( + this.Address2 == other.Address2 || + this.Address2 != null && + this.Address2.Equals(other.Address2) + ) && + ( + this.Locality == other.Locality || + this.Locality != null && + this.Locality.Equals(other.Locality) + ) && + ( + this.AdministrativeArea == other.AdministrativeArea || + this.AdministrativeArea != null && + this.AdministrativeArea.Equals(other.AdministrativeArea) + ) && + ( + this.PostalCode == other.PostalCode || + this.PostalCode != null && + this.PostalCode.Equals(other.PostalCode) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Country != null) + hash = hash * 59 + this.Country.GetHashCode(); + if (this.Address1 != null) + hash = hash * 59 + this.Address1.GetHashCode(); + if (this.Address2 != null) + hash = hash * 59 + this.Address2.GetHashCode(); + if (this.Locality != null) + hash = hash * 59 + this.Locality.GetHashCode(); + if (this.AdministrativeArea != null) + hash = hash * 59 + this.AdministrativeArea.GetHashCode(); + if (this.PostalCode != null) + hash = hash * 59 + this.PostalCode.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // Country (string) pattern + Regex regexCountry = new Regex(@"^[À-ÖØ-öø-Ç¿a-zA-Z0-9().\\-_#,;\/@$:!% ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexCountry.Match(this.Country).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Country, must match a pattern of " + regexCountry, new [] { "Country" }); + } + + // Address1 (string) pattern + Regex regexAddress1 = new Regex(@"^[À-ÖØ-öø-Ç¿a-zA-Z0-9().\\-_#,;\/@$:!% ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexAddress1.Match(this.Address1).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Address1, must match a pattern of " + regexAddress1, new [] { "Address1" }); + } + + // Address2 (string) pattern + Regex regexAddress2 = new Regex(@"^[À-ÖØ-öø-Ç¿a-zA-Z0-9().\\-_#,;\/@$:!% ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexAddress2.Match(this.Address2).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Address2, must match a pattern of " + regexAddress2, new [] { "Address2" }); + } + + // Locality (string) pattern + Regex regexLocality = new Regex(@"^[0-9a-zA-Z _\\-¡-ï¿¿]+$", RegexOptions.CultureInvariant); + if (false == regexLocality.Match(this.Locality).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Locality, must match a pattern of " + regexLocality, new [] { "Locality" }); + } + + // AdministrativeArea (string) pattern + Regex regexAdministrativeArea = new Regex(@"^[0-9a-zA-Z¡-ï¿¿ ]*$", RegexOptions.CultureInvariant); + if (false == regexAdministrativeArea.Match(this.AdministrativeArea).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for AdministrativeArea, must match a pattern of " + regexAdministrativeArea, new [] { "AdministrativeArea" }); + } + + // PostalCode (string) pattern + Regex regexPostalCode = new Regex(@"^[0-9a-zA-Z ]*$", RegexOptions.CultureInvariant); + if (false == regexPostalCode.Match(this.PostalCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PostalCode, must match a pattern of " + regexPostalCode, new [] { "PostalCode" }); + } + + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.cs b/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.cs new file mode 100644 index 00000000..1b767cea --- /dev/null +++ b/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.cs @@ -0,0 +1,264 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact + /// + [DataContract] + public partial class Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact() { } + /// + /// Initializes a new instance of the class. + /// + /// FirstName (required). + /// MiddleName. + /// LastName (required). + /// PhoneNumber (required). + /// Email (required). + public Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact(string FirstName = default(string), string MiddleName = default(string), string LastName = default(string), string PhoneNumber = default(string), string Email = default(string)) + { + // to ensure "FirstName" is required (not null) + if (FirstName == null) + { + throw new InvalidDataException("FirstName is a required property for Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact and cannot be null"); + } + else + { + this.FirstName = FirstName; + } + // to ensure "LastName" is required (not null) + if (LastName == null) + { + throw new InvalidDataException("LastName is a required property for Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact and cannot be null"); + } + else + { + this.LastName = LastName; + } + // to ensure "PhoneNumber" is required (not null) + if (PhoneNumber == null) + { + throw new InvalidDataException("PhoneNumber is a required property for Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact and cannot be null"); + } + else + { + this.PhoneNumber = PhoneNumber; + } + // to ensure "Email" is required (not null) + if (Email == null) + { + throw new InvalidDataException("Email is a required property for Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact and cannot be null"); + } + else + { + this.Email = Email; + } + this.MiddleName = MiddleName; + } + + /// + /// Gets or Sets FirstName + /// + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// Gets or Sets MiddleName + /// + [DataMember(Name="middleName", EmitDefaultValue=false)] + public string MiddleName { get; set; } + + /// + /// Gets or Sets LastName + /// + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// Gets or Sets PhoneNumber + /// + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public string PhoneNumber { get; set; } + + /// + /// Gets or Sets Email + /// + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact {\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" MiddleName: ").Append(MiddleName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact); + } + + /// + /// Returns true if Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact instances are equal + /// + /// Instance of Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact to be compared + /// Boolean + public bool Equals(Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.FirstName == other.FirstName || + this.FirstName != null && + this.FirstName.Equals(other.FirstName) + ) && + ( + this.MiddleName == other.MiddleName || + this.MiddleName != null && + this.MiddleName.Equals(other.MiddleName) + ) && + ( + this.LastName == other.LastName || + this.LastName != null && + this.LastName.Equals(other.LastName) + ) && + ( + this.PhoneNumber == other.PhoneNumber || + this.PhoneNumber != null && + this.PhoneNumber.Equals(other.PhoneNumber) + ) && + ( + this.Email == other.Email || + this.Email != null && + this.Email.Equals(other.Email) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.FirstName != null) + hash = hash * 59 + this.FirstName.GetHashCode(); + if (this.MiddleName != null) + hash = hash * 59 + this.MiddleName.GetHashCode(); + if (this.LastName != null) + hash = hash * 59 + this.LastName.GetHashCode(); + if (this.PhoneNumber != null) + hash = hash * 59 + this.PhoneNumber.GetHashCode(); + if (this.Email != null) + hash = hash * 59 + this.Email.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + //// FirstName (string) pattern + //Regex regexFirstName = new Regex(@"^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-ï¿¿]+$", RegexOptions.CultureInvariant); + //if (false == regexFirstName.Match(this.FirstName).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for FirstName, must match a pattern of " + regexFirstName, new [] { "FirstName" }); + //} + + //// MiddleName (string) pattern + //Regex regexMiddleName = new Regex(@"^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-ï¿¿]+$", RegexOptions.CultureInvariant); + //if (false == regexMiddleName.Match(this.MiddleName).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for MiddleName, must match a pattern of " + regexMiddleName, new [] { "MiddleName" }); + //} + + //// LastName (string) pattern + //Regex regexLastName = new Regex(@"^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-ï¿¿]+$", RegexOptions.CultureInvariant); + //if (false == regexLastName.Match(this.LastName).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for LastName, must match a pattern of " + regexLastName, new [] { "LastName" }); + //} + + //// PhoneNumber (string) pattern + //Regex regexPhoneNumber = new Regex(@"^[0-9a-zA-Z\\\\+\\\\-]+$", RegexOptions.CultureInvariant); + //if (false == regexPhoneNumber.Match(this.PhoneNumber).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PhoneNumber, must match a pattern of " + regexPhoneNumber, new [] { "PhoneNumber" }); + //} + + //// Email (string) pattern + //Regex regexEmail = new Regex(@"^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", RegexOptions.CultureInvariant); + //if (false == regexEmail.Match(this.Email).Success) + //{ + // yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Email, must match a pattern of " + regexEmail, new [] { "Email" }); + //} + + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsOrganizationInformationKYC.cs b/Model/Boardingv1registrationsOrganizationInformationKYC.cs new file mode 100644 index 00000000..fdebb979 --- /dev/null +++ b/Model/Boardingv1registrationsOrganizationInformationKYC.cs @@ -0,0 +1,421 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsOrganizationInformationKYC + /// + [DataContract] + public partial class Boardingv1registrationsOrganizationInformationKYC : IEquatable, IValidatableObject + { + /// + /// Gets or Sets WhenIsCustomerCharged + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum WhenIsCustomerChargedEnum + { + + /// + /// Enum ONETIMEBEFORE for "ONETIMEBEFORE" + /// + [EnumMember(Value = "ONETIMEBEFORE")] + ONETIMEBEFORE, + + /// + /// Enum ONETIMEAFTER for "ONETIMEAFTER" + /// + [EnumMember(Value = "ONETIMEAFTER")] + ONETIMEAFTER, + + /// + /// Enum OTHER for "OTHER" + /// + [EnumMember(Value = "OTHER")] + OTHER + } + + /// + /// Gets or Sets TimeToProductDelivery + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum TimeToProductDeliveryEnum + { + + /// + /// Enum INSTANT for "INSTANT" + /// + [EnumMember(Value = "INSTANT")] + INSTANT, + + /// + /// Enum UPTO2 for "UPTO2" + /// + [EnumMember(Value = "UPTO2")] + UPTO2, + + /// + /// Enum UPTO5 for "UPTO5" + /// + [EnumMember(Value = "UPTO5")] + UPTO5, + + /// + /// Enum UPTO10 for "UPTO10" + /// + [EnumMember(Value = "UPTO10")] + UPTO10, + + /// + /// Enum GREATERTHAN10 for "GREATERTHAN10" + /// + [EnumMember(Value = "GREATERTHAN10")] + GREATERTHAN10 + } + + /// + /// Gets or Sets WhenIsCustomerCharged + /// + [DataMember(Name="whenIsCustomerCharged", EmitDefaultValue=false)] + public WhenIsCustomerChargedEnum? WhenIsCustomerCharged { get; set; } + /// + /// Gets or Sets TimeToProductDelivery + /// + [DataMember(Name="timeToProductDelivery", EmitDefaultValue=false)] + public TimeToProductDeliveryEnum? TimeToProductDelivery { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsOrganizationInformationKYC() { } + /// + /// Initializes a new instance of the class. + /// + /// WhenIsCustomerCharged (required). + /// WhenIsCustomerChargedDescription. + /// OfferSubscriptions (required). + /// MonthlySubscriptionPercent. + /// QuarterlySubscriptionPercent. + /// SemiAnnualSubscriptionPercent. + /// AnnualSubscriptionPercent. + /// TimeToProductDelivery (required). + /// EstimatedMonthlySales (required). + /// AverageOrderAmount (required). + /// LargestExpectedOrderAmount (required). + /// DepositBankAccount. + public Boardingv1registrationsOrganizationInformationKYC(WhenIsCustomerChargedEnum? WhenIsCustomerCharged = default(WhenIsCustomerChargedEnum?), string WhenIsCustomerChargedDescription = default(string), bool? OfferSubscriptions = default(bool?), decimal? MonthlySubscriptionPercent = default(decimal?), decimal? QuarterlySubscriptionPercent = default(decimal?), decimal? SemiAnnualSubscriptionPercent = default(decimal?), decimal? AnnualSubscriptionPercent = default(decimal?), TimeToProductDeliveryEnum? TimeToProductDelivery = default(TimeToProductDeliveryEnum?), decimal? EstimatedMonthlySales = default(decimal?), decimal? AverageOrderAmount = default(decimal?), decimal? LargestExpectedOrderAmount = default(decimal?), Boardingv1registrationsOrganizationInformationKYCDepositBankAccount DepositBankAccount = default(Boardingv1registrationsOrganizationInformationKYCDepositBankAccount)) + { + // to ensure "WhenIsCustomerCharged" is required (not null) + if (WhenIsCustomerCharged == null) + { + throw new InvalidDataException("WhenIsCustomerCharged is a required property for Boardingv1registrationsOrganizationInformationKYC and cannot be null"); + } + else + { + this.WhenIsCustomerCharged = WhenIsCustomerCharged; + } + // to ensure "OfferSubscriptions" is required (not null) + if (OfferSubscriptions == null) + { + throw new InvalidDataException("OfferSubscriptions is a required property for Boardingv1registrationsOrganizationInformationKYC and cannot be null"); + } + else + { + this.OfferSubscriptions = OfferSubscriptions; + } + // to ensure "TimeToProductDelivery" is required (not null) + if (TimeToProductDelivery == null) + { + throw new InvalidDataException("TimeToProductDelivery is a required property for Boardingv1registrationsOrganizationInformationKYC and cannot be null"); + } + else + { + this.TimeToProductDelivery = TimeToProductDelivery; + } + // to ensure "EstimatedMonthlySales" is required (not null) + if (EstimatedMonthlySales == null) + { + throw new InvalidDataException("EstimatedMonthlySales is a required property for Boardingv1registrationsOrganizationInformationKYC and cannot be null"); + } + else + { + this.EstimatedMonthlySales = EstimatedMonthlySales; + } + // to ensure "AverageOrderAmount" is required (not null) + if (AverageOrderAmount == null) + { + throw new InvalidDataException("AverageOrderAmount is a required property for Boardingv1registrationsOrganizationInformationKYC and cannot be null"); + } + else + { + this.AverageOrderAmount = AverageOrderAmount; + } + // to ensure "LargestExpectedOrderAmount" is required (not null) + if (LargestExpectedOrderAmount == null) + { + throw new InvalidDataException("LargestExpectedOrderAmount is a required property for Boardingv1registrationsOrganizationInformationKYC and cannot be null"); + } + else + { + this.LargestExpectedOrderAmount = LargestExpectedOrderAmount; + } + this.WhenIsCustomerChargedDescription = WhenIsCustomerChargedDescription; + this.MonthlySubscriptionPercent = MonthlySubscriptionPercent; + this.QuarterlySubscriptionPercent = QuarterlySubscriptionPercent; + this.SemiAnnualSubscriptionPercent = SemiAnnualSubscriptionPercent; + this.AnnualSubscriptionPercent = AnnualSubscriptionPercent; + this.DepositBankAccount = DepositBankAccount; + } + + + /// + /// Gets or Sets WhenIsCustomerChargedDescription + /// + [DataMember(Name="whenIsCustomerChargedDescription", EmitDefaultValue=false)] + public string WhenIsCustomerChargedDescription { get; set; } + + /// + /// Gets or Sets OfferSubscriptions + /// + [DataMember(Name="offerSubscriptions", EmitDefaultValue=false)] + public bool? OfferSubscriptions { get; set; } + + /// + /// Gets or Sets MonthlySubscriptionPercent + /// + [DataMember(Name="monthlySubscriptionPercent", EmitDefaultValue=false)] + public decimal? MonthlySubscriptionPercent { get; set; } + + /// + /// Gets or Sets QuarterlySubscriptionPercent + /// + [DataMember(Name="quarterlySubscriptionPercent", EmitDefaultValue=false)] + public decimal? QuarterlySubscriptionPercent { get; set; } + + /// + /// Gets or Sets SemiAnnualSubscriptionPercent + /// + [DataMember(Name="semiAnnualSubscriptionPercent", EmitDefaultValue=false)] + public decimal? SemiAnnualSubscriptionPercent { get; set; } + + /// + /// Gets or Sets AnnualSubscriptionPercent + /// + [DataMember(Name="annualSubscriptionPercent", EmitDefaultValue=false)] + public decimal? AnnualSubscriptionPercent { get; set; } + + + /// + /// Gets or Sets EstimatedMonthlySales + /// + [DataMember(Name="estimatedMonthlySales", EmitDefaultValue=false)] + public decimal? EstimatedMonthlySales { get; set; } + + /// + /// Gets or Sets AverageOrderAmount + /// + [DataMember(Name="averageOrderAmount", EmitDefaultValue=false)] + public decimal? AverageOrderAmount { get; set; } + + /// + /// Gets or Sets LargestExpectedOrderAmount + /// + [DataMember(Name="largestExpectedOrderAmount", EmitDefaultValue=false)] + public decimal? LargestExpectedOrderAmount { get; set; } + + /// + /// Gets or Sets DepositBankAccount + /// + [DataMember(Name="depositBankAccount", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationKYCDepositBankAccount DepositBankAccount { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsOrganizationInformationKYC {\n"); + sb.Append(" WhenIsCustomerCharged: ").Append(WhenIsCustomerCharged).Append("\n"); + sb.Append(" WhenIsCustomerChargedDescription: ").Append(WhenIsCustomerChargedDescription).Append("\n"); + sb.Append(" OfferSubscriptions: ").Append(OfferSubscriptions).Append("\n"); + sb.Append(" MonthlySubscriptionPercent: ").Append(MonthlySubscriptionPercent).Append("\n"); + sb.Append(" QuarterlySubscriptionPercent: ").Append(QuarterlySubscriptionPercent).Append("\n"); + sb.Append(" SemiAnnualSubscriptionPercent: ").Append(SemiAnnualSubscriptionPercent).Append("\n"); + sb.Append(" AnnualSubscriptionPercent: ").Append(AnnualSubscriptionPercent).Append("\n"); + sb.Append(" TimeToProductDelivery: ").Append(TimeToProductDelivery).Append("\n"); + sb.Append(" EstimatedMonthlySales: ").Append(EstimatedMonthlySales).Append("\n"); + sb.Append(" AverageOrderAmount: ").Append(AverageOrderAmount).Append("\n"); + sb.Append(" LargestExpectedOrderAmount: ").Append(LargestExpectedOrderAmount).Append("\n"); + sb.Append(" DepositBankAccount: ").Append(DepositBankAccount).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsOrganizationInformationKYC); + } + + /// + /// Returns true if Boardingv1registrationsOrganizationInformationKYC instances are equal + /// + /// Instance of Boardingv1registrationsOrganizationInformationKYC to be compared + /// Boolean + public bool Equals(Boardingv1registrationsOrganizationInformationKYC other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.WhenIsCustomerCharged == other.WhenIsCustomerCharged || + this.WhenIsCustomerCharged != null && + this.WhenIsCustomerCharged.Equals(other.WhenIsCustomerCharged) + ) && + ( + this.WhenIsCustomerChargedDescription == other.WhenIsCustomerChargedDescription || + this.WhenIsCustomerChargedDescription != null && + this.WhenIsCustomerChargedDescription.Equals(other.WhenIsCustomerChargedDescription) + ) && + ( + this.OfferSubscriptions == other.OfferSubscriptions || + this.OfferSubscriptions != null && + this.OfferSubscriptions.Equals(other.OfferSubscriptions) + ) && + ( + this.MonthlySubscriptionPercent == other.MonthlySubscriptionPercent || + this.MonthlySubscriptionPercent != null && + this.MonthlySubscriptionPercent.Equals(other.MonthlySubscriptionPercent) + ) && + ( + this.QuarterlySubscriptionPercent == other.QuarterlySubscriptionPercent || + this.QuarterlySubscriptionPercent != null && + this.QuarterlySubscriptionPercent.Equals(other.QuarterlySubscriptionPercent) + ) && + ( + this.SemiAnnualSubscriptionPercent == other.SemiAnnualSubscriptionPercent || + this.SemiAnnualSubscriptionPercent != null && + this.SemiAnnualSubscriptionPercent.Equals(other.SemiAnnualSubscriptionPercent) + ) && + ( + this.AnnualSubscriptionPercent == other.AnnualSubscriptionPercent || + this.AnnualSubscriptionPercent != null && + this.AnnualSubscriptionPercent.Equals(other.AnnualSubscriptionPercent) + ) && + ( + this.TimeToProductDelivery == other.TimeToProductDelivery || + this.TimeToProductDelivery != null && + this.TimeToProductDelivery.Equals(other.TimeToProductDelivery) + ) && + ( + this.EstimatedMonthlySales == other.EstimatedMonthlySales || + this.EstimatedMonthlySales != null && + this.EstimatedMonthlySales.Equals(other.EstimatedMonthlySales) + ) && + ( + this.AverageOrderAmount == other.AverageOrderAmount || + this.AverageOrderAmount != null && + this.AverageOrderAmount.Equals(other.AverageOrderAmount) + ) && + ( + this.LargestExpectedOrderAmount == other.LargestExpectedOrderAmount || + this.LargestExpectedOrderAmount != null && + this.LargestExpectedOrderAmount.Equals(other.LargestExpectedOrderAmount) + ) && + ( + this.DepositBankAccount == other.DepositBankAccount || + this.DepositBankAccount != null && + this.DepositBankAccount.Equals(other.DepositBankAccount) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.WhenIsCustomerCharged != null) + hash = hash * 59 + this.WhenIsCustomerCharged.GetHashCode(); + if (this.WhenIsCustomerChargedDescription != null) + hash = hash * 59 + this.WhenIsCustomerChargedDescription.GetHashCode(); + if (this.OfferSubscriptions != null) + hash = hash * 59 + this.OfferSubscriptions.GetHashCode(); + if (this.MonthlySubscriptionPercent != null) + hash = hash * 59 + this.MonthlySubscriptionPercent.GetHashCode(); + if (this.QuarterlySubscriptionPercent != null) + hash = hash * 59 + this.QuarterlySubscriptionPercent.GetHashCode(); + if (this.SemiAnnualSubscriptionPercent != null) + hash = hash * 59 + this.SemiAnnualSubscriptionPercent.GetHashCode(); + if (this.AnnualSubscriptionPercent != null) + hash = hash * 59 + this.AnnualSubscriptionPercent.GetHashCode(); + if (this.TimeToProductDelivery != null) + hash = hash * 59 + this.TimeToProductDelivery.GetHashCode(); + if (this.EstimatedMonthlySales != null) + hash = hash * 59 + this.EstimatedMonthlySales.GetHashCode(); + if (this.AverageOrderAmount != null) + hash = hash * 59 + this.AverageOrderAmount.GetHashCode(); + if (this.LargestExpectedOrderAmount != null) + hash = hash * 59 + this.LargestExpectedOrderAmount.GetHashCode(); + if (this.DepositBankAccount != null) + hash = hash * 59 + this.DepositBankAccount.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.cs b/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.cs new file mode 100644 index 00000000..30757756 --- /dev/null +++ b/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.cs @@ -0,0 +1,266 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsOrganizationInformationKYCDepositBankAccount + /// + [DataContract] + public partial class Boardingv1registrationsOrganizationInformationKYCDepositBankAccount : IEquatable, IValidatableObject + { + /// + /// Gets or Sets AccountType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum AccountTypeEnum + { + + /// + /// Enum Checking for "checking" + /// + [EnumMember(Value = "checking")] + Checking, + + /// + /// Enum Savings for "savings" + /// + [EnumMember(Value = "savings")] + Savings, + + /// + /// Enum Corporatechecking for "corporatechecking" + /// + [EnumMember(Value = "corporatechecking")] + Corporatechecking, + + /// + /// Enum Corporatesavings for "corporatesavings" + /// + [EnumMember(Value = "corporatesavings")] + Corporatesavings + } + + /// + /// Gets or Sets AccountType + /// + [DataMember(Name="accountType", EmitDefaultValue=false)] + public AccountTypeEnum? AccountType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsOrganizationInformationKYCDepositBankAccount() { } + /// + /// Initializes a new instance of the class. + /// + /// AccountHolderName (required). + /// AccountType (required). + /// AccountRoutingNumber (required). + /// AccountNumber (required). + public Boardingv1registrationsOrganizationInformationKYCDepositBankAccount(string AccountHolderName = default(string), AccountTypeEnum? AccountType = default(AccountTypeEnum?), string AccountRoutingNumber = default(string), string AccountNumber = default(string)) + { + // to ensure "AccountHolderName" is required (not null) + if (AccountHolderName == null) + { + throw new InvalidDataException("AccountHolderName is a required property for Boardingv1registrationsOrganizationInformationKYCDepositBankAccount and cannot be null"); + } + else + { + this.AccountHolderName = AccountHolderName; + } + // to ensure "AccountType" is required (not null) + if (AccountType == null) + { + throw new InvalidDataException("AccountType is a required property for Boardingv1registrationsOrganizationInformationKYCDepositBankAccount and cannot be null"); + } + else + { + this.AccountType = AccountType; + } + // to ensure "AccountRoutingNumber" is required (not null) + if (AccountRoutingNumber == null) + { + throw new InvalidDataException("AccountRoutingNumber is a required property for Boardingv1registrationsOrganizationInformationKYCDepositBankAccount and cannot be null"); + } + else + { + this.AccountRoutingNumber = AccountRoutingNumber; + } + // to ensure "AccountNumber" is required (not null) + if (AccountNumber == null) + { + throw new InvalidDataException("AccountNumber is a required property for Boardingv1registrationsOrganizationInformationKYCDepositBankAccount and cannot be null"); + } + else + { + this.AccountNumber = AccountNumber; + } + } + + /// + /// Gets or Sets AccountHolderName + /// + [DataMember(Name="accountHolderName", EmitDefaultValue=false)] + public string AccountHolderName { get; set; } + + + /// + /// Gets or Sets AccountRoutingNumber + /// + [DataMember(Name="accountRoutingNumber", EmitDefaultValue=false)] + public string AccountRoutingNumber { get; set; } + + /// + /// Gets or Sets AccountNumber + /// + [DataMember(Name="accountNumber", EmitDefaultValue=false)] + public string AccountNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsOrganizationInformationKYCDepositBankAccount {\n"); + sb.Append(" AccountHolderName: ").Append(AccountHolderName).Append("\n"); + sb.Append(" AccountType: ").Append(AccountType).Append("\n"); + sb.Append(" AccountRoutingNumber: ").Append(AccountRoutingNumber).Append("\n"); + sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsOrganizationInformationKYCDepositBankAccount); + } + + /// + /// Returns true if Boardingv1registrationsOrganizationInformationKYCDepositBankAccount instances are equal + /// + /// Instance of Boardingv1registrationsOrganizationInformationKYCDepositBankAccount to be compared + /// Boolean + public bool Equals(Boardingv1registrationsOrganizationInformationKYCDepositBankAccount other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AccountHolderName == other.AccountHolderName || + this.AccountHolderName != null && + this.AccountHolderName.Equals(other.AccountHolderName) + ) && + ( + this.AccountType == other.AccountType || + this.AccountType != null && + this.AccountType.Equals(other.AccountType) + ) && + ( + this.AccountRoutingNumber == other.AccountRoutingNumber || + this.AccountRoutingNumber != null && + this.AccountRoutingNumber.Equals(other.AccountRoutingNumber) + ) && + ( + this.AccountNumber == other.AccountNumber || + this.AccountNumber != null && + this.AccountNumber.Equals(other.AccountNumber) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.AccountHolderName != null) + hash = hash * 59 + this.AccountHolderName.GetHashCode(); + if (this.AccountType != null) + hash = hash * 59 + this.AccountType.GetHashCode(); + if (this.AccountRoutingNumber != null) + hash = hash * 59 + this.AccountRoutingNumber.GetHashCode(); + if (this.AccountNumber != null) + hash = hash * 59 + this.AccountNumber.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // AccountHolderName (string) pattern + Regex regexAccountHolderName = new Regex(@"^[À-ÖØ-öø-ǿÀ-ÖØ-öø-Ç¿a-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexAccountHolderName.Match(this.AccountHolderName).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for AccountHolderName, must match a pattern of " + regexAccountHolderName, new [] { "AccountHolderName" }); + } + + // AccountRoutingNumber (string) pattern + Regex regexAccountRoutingNumber = new Regex(@"\\d{9}", RegexOptions.CultureInvariant); + if (false == regexAccountRoutingNumber.Match(this.AccountRoutingNumber).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for AccountRoutingNumber, must match a pattern of " + regexAccountRoutingNumber, new [] { "AccountRoutingNumber" }); + } + + // AccountNumber (string) pattern + Regex regexAccountNumber = new Regex(@"^\\d{5,17}$", RegexOptions.CultureInvariant); + if (false == regexAccountNumber.Match(this.AccountNumber).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for AccountNumber, must match a pattern of " + regexAccountNumber, new [] { "AccountNumber" }); + } + + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsOrganizationInformationOwners.cs b/Model/Boardingv1registrationsOrganizationInformationOwners.cs new file mode 100644 index 00000000..b0bcf676 --- /dev/null +++ b/Model/Boardingv1registrationsOrganizationInformationOwners.cs @@ -0,0 +1,483 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsOrganizationInformationOwners + /// + [DataContract] + public partial class Boardingv1registrationsOrganizationInformationOwners : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Boardingv1registrationsOrganizationInformationOwners() { } + /// + /// Initializes a new instance of the class. + /// + /// FirstName (required). + /// MiddleName. + /// LastName (required). + /// `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 (required). + /// Determines whether the owner is the Primary owner of the organization (required). + /// Social Security Number. + /// Passport number. + /// PassportCountry. + /// JobTitle (required). + /// Determines whether owner has significant responsibility to control, manage or direct the company (required). + /// Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100 (required). + /// PhoneNumber (required). + /// Email (required). + /// Address. + public Boardingv1registrationsOrganizationInformationOwners(string FirstName = default(string), string MiddleName = default(string), string LastName = default(string), DateTime? BirthDate = default(DateTime?), bool? IsPrimary = default(bool?), string Ssn = default(string), string PassportNumber = default(string), string PassportCountry = default(string), string JobTitle = default(string), bool? HasSignificantResponsability = default(bool?), decimal? OwnershipPercentage = default(decimal?), string PhoneNumber = default(string), string Email = default(string), Boardingv1registrationsOrganizationInformationBusinessInformationAddress Address = default(Boardingv1registrationsOrganizationInformationBusinessInformationAddress)) + { + // to ensure "FirstName" is required (not null) + if (FirstName == null) + { + throw new InvalidDataException("FirstName is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.FirstName = FirstName; + } + // to ensure "LastName" is required (not null) + if (LastName == null) + { + throw new InvalidDataException("LastName is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.LastName = LastName; + } + // to ensure "BirthDate" is required (not null) + if (BirthDate == null) + { + throw new InvalidDataException("BirthDate is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.BirthDate = BirthDate; + } + // to ensure "IsPrimary" is required (not null) + if (IsPrimary == null) + { + throw new InvalidDataException("IsPrimary is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.IsPrimary = IsPrimary; + } + // to ensure "JobTitle" is required (not null) + if (JobTitle == null) + { + throw new InvalidDataException("JobTitle is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.JobTitle = JobTitle; + } + // to ensure "HasSignificantResponsability" is required (not null) + if (HasSignificantResponsability == null) + { + throw new InvalidDataException("HasSignificantResponsability is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.HasSignificantResponsability = HasSignificantResponsability; + } + // to ensure "OwnershipPercentage" is required (not null) + if (OwnershipPercentage == null) + { + throw new InvalidDataException("OwnershipPercentage is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.OwnershipPercentage = OwnershipPercentage; + } + // to ensure "PhoneNumber" is required (not null) + if (PhoneNumber == null) + { + throw new InvalidDataException("PhoneNumber is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.PhoneNumber = PhoneNumber; + } + // to ensure "Email" is required (not null) + if (Email == null) + { + throw new InvalidDataException("Email is a required property for Boardingv1registrationsOrganizationInformationOwners and cannot be null"); + } + else + { + this.Email = Email; + } + this.MiddleName = MiddleName; + this.Ssn = Ssn; + this.PassportNumber = PassportNumber; + this.PassportCountry = PassportCountry; + this.Address = Address; + } + + /// + /// Gets or Sets FirstName + /// + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// Gets or Sets MiddleName + /// + [DataMember(Name="middleName", EmitDefaultValue=false)] + public string MiddleName { get; set; } + + /// + /// Gets or Sets LastName + /// + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 + /// + /// `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 + [DataMember(Name="birthDate", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? BirthDate { get; set; } + + /// + /// Determines whether the owner is the Primary owner of the organization + /// + /// Determines whether the owner is the Primary owner of the organization + [DataMember(Name="isPrimary", EmitDefaultValue=false)] + public bool? IsPrimary { get; set; } + + /// + /// Social Security Number + /// + /// Social Security Number + [DataMember(Name="ssn", EmitDefaultValue=false)] + public string Ssn { get; set; } + + /// + /// Passport number + /// + /// Passport number + [DataMember(Name="passportNumber", EmitDefaultValue=false)] + public string PassportNumber { get; set; } + + /// + /// Gets or Sets PassportCountry + /// + [DataMember(Name="passportCountry", EmitDefaultValue=false)] + public string PassportCountry { get; set; } + + /// + /// Gets or Sets JobTitle + /// + [DataMember(Name="jobTitle", EmitDefaultValue=false)] + public string JobTitle { get; set; } + + /// + /// Determines whether owner has significant responsibility to control, manage or direct the company + /// + /// Determines whether owner has significant responsibility to control, manage or direct the company + [DataMember(Name="hasSignificantResponsability", EmitDefaultValue=false)] + public bool? HasSignificantResponsability { get; set; } + + /// + /// Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100 + /// + /// Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100 + [DataMember(Name="ownershipPercentage", EmitDefaultValue=false)] + public decimal? OwnershipPercentage { get; set; } + + /// + /// Gets or Sets PhoneNumber + /// + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public string PhoneNumber { get; set; } + + /// + /// Gets or Sets Email + /// + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + + /// + /// Gets or Sets Address + /// + [DataMember(Name="address", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformationBusinessInformationAddress Address { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsOrganizationInformationOwners {\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" MiddleName: ").Append(MiddleName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" BirthDate: ").Append(BirthDate).Append("\n"); + sb.Append(" IsPrimary: ").Append(IsPrimary).Append("\n"); + sb.Append(" Ssn: ").Append(Ssn).Append("\n"); + sb.Append(" PassportNumber: ").Append(PassportNumber).Append("\n"); + sb.Append(" PassportCountry: ").Append(PassportCountry).Append("\n"); + sb.Append(" JobTitle: ").Append(JobTitle).Append("\n"); + sb.Append(" HasSignificantResponsability: ").Append(HasSignificantResponsability).Append("\n"); + sb.Append(" OwnershipPercentage: ").Append(OwnershipPercentage).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" Address: ").Append(Address).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsOrganizationInformationOwners); + } + + /// + /// Returns true if Boardingv1registrationsOrganizationInformationOwners instances are equal + /// + /// Instance of Boardingv1registrationsOrganizationInformationOwners to be compared + /// Boolean + public bool Equals(Boardingv1registrationsOrganizationInformationOwners other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.FirstName == other.FirstName || + this.FirstName != null && + this.FirstName.Equals(other.FirstName) + ) && + ( + this.MiddleName == other.MiddleName || + this.MiddleName != null && + this.MiddleName.Equals(other.MiddleName) + ) && + ( + this.LastName == other.LastName || + this.LastName != null && + this.LastName.Equals(other.LastName) + ) && + ( + this.BirthDate == other.BirthDate || + this.BirthDate != null && + this.BirthDate.Equals(other.BirthDate) + ) && + ( + this.IsPrimary == other.IsPrimary || + this.IsPrimary != null && + this.IsPrimary.Equals(other.IsPrimary) + ) && + ( + this.Ssn == other.Ssn || + this.Ssn != null && + this.Ssn.Equals(other.Ssn) + ) && + ( + this.PassportNumber == other.PassportNumber || + this.PassportNumber != null && + this.PassportNumber.Equals(other.PassportNumber) + ) && + ( + this.PassportCountry == other.PassportCountry || + this.PassportCountry != null && + this.PassportCountry.Equals(other.PassportCountry) + ) && + ( + this.JobTitle == other.JobTitle || + this.JobTitle != null && + this.JobTitle.Equals(other.JobTitle) + ) && + ( + this.HasSignificantResponsability == other.HasSignificantResponsability || + this.HasSignificantResponsability != null && + this.HasSignificantResponsability.Equals(other.HasSignificantResponsability) + ) && + ( + this.OwnershipPercentage == other.OwnershipPercentage || + this.OwnershipPercentage != null && + this.OwnershipPercentage.Equals(other.OwnershipPercentage) + ) && + ( + this.PhoneNumber == other.PhoneNumber || + this.PhoneNumber != null && + this.PhoneNumber.Equals(other.PhoneNumber) + ) && + ( + this.Email == other.Email || + this.Email != null && + this.Email.Equals(other.Email) + ) && + ( + this.Address == other.Address || + this.Address != null && + this.Address.Equals(other.Address) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.FirstName != null) + hash = hash * 59 + this.FirstName.GetHashCode(); + if (this.MiddleName != null) + hash = hash * 59 + this.MiddleName.GetHashCode(); + if (this.LastName != null) + hash = hash * 59 + this.LastName.GetHashCode(); + if (this.BirthDate != null) + hash = hash * 59 + this.BirthDate.GetHashCode(); + if (this.IsPrimary != null) + hash = hash * 59 + this.IsPrimary.GetHashCode(); + if (this.Ssn != null) + hash = hash * 59 + this.Ssn.GetHashCode(); + if (this.PassportNumber != null) + hash = hash * 59 + this.PassportNumber.GetHashCode(); + if (this.PassportCountry != null) + hash = hash * 59 + this.PassportCountry.GetHashCode(); + if (this.JobTitle != null) + hash = hash * 59 + this.JobTitle.GetHashCode(); + if (this.HasSignificantResponsability != null) + hash = hash * 59 + this.HasSignificantResponsability.GetHashCode(); + if (this.OwnershipPercentage != null) + hash = hash * 59 + this.OwnershipPercentage.GetHashCode(); + if (this.PhoneNumber != null) + hash = hash * 59 + this.PhoneNumber.GetHashCode(); + if (this.Email != null) + hash = hash * 59 + this.Email.GetHashCode(); + if (this.Address != null) + hash = hash * 59 + this.Address.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // FirstName (string) pattern + Regex regexFirstName = new Regex(@"[À-ÖØ-öø-ǿÀ-ÖØ-öø-Ç¿a-zA-Z().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexFirstName.Match(this.FirstName).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for FirstName, must match a pattern of " + regexFirstName, new [] { "FirstName" }); + } + + // MiddleName (string) pattern + Regex regexMiddleName = new Regex(@"[À-ÖØ-öø-ǿÀ-ÖØ-öø-Ç¿a-zA-Z().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexMiddleName.Match(this.MiddleName).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for MiddleName, must match a pattern of " + regexMiddleName, new [] { "MiddleName" }); + } + + // LastName (string) pattern + Regex regexLastName = new Regex(@"[À-ÖØ-öø-ǿÀ-ÖØ-öø-Ç¿a-zA-Z().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexLastName.Match(this.LastName).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for LastName, must match a pattern of " + regexLastName, new [] { "LastName" }); + } + + // Ssn (string) pattern + Regex regexSsn = new Regex(@"^\\d{3}-\\d{2}-\\d{4}$|^\\d{9,9}$", RegexOptions.CultureInvariant); + if (false == regexSsn.Match(this.Ssn).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Ssn, must match a pattern of " + regexSsn, new [] { "Ssn" }); + } + + // PassportNumber (string) pattern + Regex regexPassportNumber = new Regex(@"^(?!^0+$)[a-zA-Z0-9]{3,20}$", RegexOptions.CultureInvariant); + if (false == regexPassportNumber.Match(this.PassportNumber).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PassportNumber, must match a pattern of " + regexPassportNumber, new [] { "PassportNumber" }); + } + + // PassportCountry (string) pattern + Regex regexPassportCountry = new Regex(@"^[À-ÖØ-öø-Ç¿a-zA-Z0-9().\\-_#,;\/@$:!% ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexPassportCountry.Match(this.PassportCountry).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PassportCountry, must match a pattern of " + regexPassportCountry, new [] { "PassportCountry" }); + } + + // JobTitle (string) pattern + Regex regexJobTitle = new Regex(@"^[À-ÖØ-öø-Ç¿a-zA-Z0-9().\\-_#,;\/@$:!% ]{1,}$", RegexOptions.CultureInvariant); + if (false == regexJobTitle.Match(this.JobTitle).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for JobTitle, must match a pattern of " + regexJobTitle, new [] { "JobTitle" }); + } + + // PhoneNumber (string) pattern + Regex regexPhoneNumber = new Regex(@"^[0-9a-zA-Z\\\\+\\\\-]+$", RegexOptions.CultureInvariant); + if (false == regexPhoneNumber.Match(this.PhoneNumber).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PhoneNumber, must match a pattern of " + regexPhoneNumber, new [] { "PhoneNumber" }); + } + + // Email (string) pattern + Regex regexEmail = new Regex(@"^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", RegexOptions.CultureInvariant); + if (false == regexEmail.Match(this.Email).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Email, must match a pattern of " + regexEmail, new [] { "Email" }); + } + + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsProductInformation.cs b/Model/Boardingv1registrationsProductInformation.cs new file mode 100644 index 00000000..cd4a571c --- /dev/null +++ b/Model/Boardingv1registrationsProductInformation.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsProductInformation + /// + [DataContract] + public partial class Boardingv1registrationsProductInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SelectedProducts. + public Boardingv1registrationsProductInformation(Boardingv1registrationsProductInformationSelectedProducts SelectedProducts = default(Boardingv1registrationsProductInformationSelectedProducts)) + { + this.SelectedProducts = SelectedProducts; + } + + /// + /// Gets or Sets SelectedProducts + /// + [DataMember(Name="selectedProducts", EmitDefaultValue=false)] + public Boardingv1registrationsProductInformationSelectedProducts SelectedProducts { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsProductInformation {\n"); + sb.Append(" SelectedProducts: ").Append(SelectedProducts).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsProductInformation); + } + + /// + /// Returns true if Boardingv1registrationsProductInformation instances are equal + /// + /// Instance of Boardingv1registrationsProductInformation to be compared + /// Boolean + public bool Equals(Boardingv1registrationsProductInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SelectedProducts == other.SelectedProducts || + this.SelectedProducts != null && + this.SelectedProducts.Equals(other.SelectedProducts) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SelectedProducts != null) + hash = hash * 59 + this.SelectedProducts.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsProductInformationSelectedProducts.cs b/Model/Boardingv1registrationsProductInformationSelectedProducts.cs new file mode 100644 index 00000000..7dd714b0 --- /dev/null +++ b/Model/Boardingv1registrationsProductInformationSelectedProducts.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsProductInformationSelectedProducts + /// + [DataContract] + public partial class Boardingv1registrationsProductInformationSelectedProducts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Payments. + /// Risk. + /// CommerceSolutions. + /// ValueAddedServices. + public Boardingv1registrationsProductInformationSelectedProducts(PaymentProducts Payments = default(PaymentProducts), RiskProducts Risk = default(RiskProducts), CommerceSolutionsProducts CommerceSolutions = default(CommerceSolutionsProducts), ValueAddedServicesProducts ValueAddedServices = default(ValueAddedServicesProducts)) + { + this.Payments = Payments; + this.Risk = Risk; + this.CommerceSolutions = CommerceSolutions; + this.ValueAddedServices = ValueAddedServices; + } + + /// + /// Gets or Sets Payments + /// + [DataMember(Name="payments", EmitDefaultValue=false)] + public PaymentProducts Payments { get; set; } + + /// + /// Gets or Sets Risk + /// + [DataMember(Name="risk", EmitDefaultValue=false)] + public RiskProducts Risk { get; set; } + + /// + /// Gets or Sets CommerceSolutions + /// + [DataMember(Name="commerceSolutions", EmitDefaultValue=false)] + public CommerceSolutionsProducts CommerceSolutions { get; set; } + + /// + /// Gets or Sets ValueAddedServices + /// + [DataMember(Name="valueAddedServices", EmitDefaultValue=false)] + public ValueAddedServicesProducts ValueAddedServices { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsProductInformationSelectedProducts {\n"); + sb.Append(" Payments: ").Append(Payments).Append("\n"); + sb.Append(" Risk: ").Append(Risk).Append("\n"); + sb.Append(" CommerceSolutions: ").Append(CommerceSolutions).Append("\n"); + sb.Append(" ValueAddedServices: ").Append(ValueAddedServices).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsProductInformationSelectedProducts); + } + + /// + /// Returns true if Boardingv1registrationsProductInformationSelectedProducts instances are equal + /// + /// Instance of Boardingv1registrationsProductInformationSelectedProducts to be compared + /// Boolean + public bool Equals(Boardingv1registrationsProductInformationSelectedProducts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Payments == other.Payments || + this.Payments != null && + this.Payments.Equals(other.Payments) + ) && + ( + this.Risk == other.Risk || + this.Risk != null && + this.Risk.Equals(other.Risk) + ) && + ( + this.CommerceSolutions == other.CommerceSolutions || + this.CommerceSolutions != null && + this.CommerceSolutions.Equals(other.CommerceSolutions) + ) && + ( + this.ValueAddedServices == other.ValueAddedServices || + this.ValueAddedServices != null && + this.ValueAddedServices.Equals(other.ValueAddedServices) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Payments != null) + hash = hash * 59 + this.Payments.GetHashCode(); + if (this.Risk != null) + hash = hash * 59 + this.Risk.GetHashCode(); + if (this.CommerceSolutions != null) + hash = hash * 59 + this.CommerceSolutions.GetHashCode(); + if (this.ValueAddedServices != null) + hash = hash * 59 + this.ValueAddedServices.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Boardingv1registrationsRegistrationInformation.cs b/Model/Boardingv1registrationsRegistrationInformation.cs new file mode 100644 index 00000000..b34d53c7 --- /dev/null +++ b/Model/Boardingv1registrationsRegistrationInformation.cs @@ -0,0 +1,304 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Boardingv1registrationsRegistrationInformation + /// + [DataContract] + public partial class Boardingv1registrationsRegistrationInformation : IEquatable, IValidatableObject + { + /// + /// The status of Registration request Possible Values: - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process. - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information. - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information. + /// + /// The status of Registration request Possible Values: - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process. - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information. - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information. + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum PROCESSING for "PROCESSING" + /// + [EnumMember(Value = "PROCESSING")] + PROCESSING, + + /// + /// Enum SUCCESS for "SUCCESS" + /// + [EnumMember(Value = "SUCCESS")] + SUCCESS, + + /// + /// Enum FAILURE for "FAILURE" + /// + [EnumMember(Value = "FAILURE")] + FAILURE, + + /// + /// Enum PARTIAL for "PARTIAL" + /// + [EnumMember(Value = "PARTIAL")] + PARTIAL + } + + /// + /// Determines the boarding flow for this registration. Possible Values: - 'ENTERPRISE' - 'SMB' - 'ADDPRODUCT' + /// + /// Determines the boarding flow for this registration. Possible Values: - 'ENTERPRISE' - 'SMB' - 'ADDPRODUCT' + [JsonConverter(typeof(StringEnumConverter))] + public enum BoardingFlowEnum + { + + /// + /// Enum ENTERPRISE for "ENTERPRISE" + /// + [EnumMember(Value = "ENTERPRISE")] + ENTERPRISE, + + /// + /// Enum SMB for "SMB" + /// + [EnumMember(Value = "SMB")] + SMB, + + /// + /// Enum ADDPRODUCT for "ADDPRODUCT" + /// + [EnumMember(Value = "ADDPRODUCT")] + ADDPRODUCT + } + + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + [JsonConverter(typeof(StringEnumConverter))] + public enum ModeEnum + { + + /// + /// Enum COMPLETE for "COMPLETE" + /// + [EnumMember(Value = "COMPLETE")] + COMPLETE, + + /// + /// Enum PARTIAL for "PARTIAL" + /// + [EnumMember(Value = "PARTIAL")] + PARTIAL + } + + /// + /// The status of Registration request Possible Values: - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process. - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information. - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information. + /// + /// The status of Registration request Possible Values: - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process. - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information. - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information. + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Determines the boarding flow for this registration. Possible Values: - 'ENTERPRISE' - 'SMB' - 'ADDPRODUCT' + /// + /// Determines the boarding flow for this registration. Possible Values: - 'ENTERPRISE' - 'SMB' - 'ADDPRODUCT' + [DataMember(Name="boardingFlow", EmitDefaultValue=false)] + public BoardingFlowEnum? BoardingFlow { get; set; } + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + [DataMember(Name="mode", EmitDefaultValue=false)] + public ModeEnum? Mode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// BoardingPackageId. + /// Determines the boarding flow for this registration. Possible Values: - 'ENTERPRISE' - 'SMB' - 'ADDPRODUCT' . + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' . + /// SalesRepId. + public Boardingv1registrationsRegistrationInformation(string BoardingPackageId = default(string), BoardingFlowEnum? BoardingFlow = default(BoardingFlowEnum?), ModeEnum? Mode = default(ModeEnum?), string SalesRepId = default(string)) + { + this.BoardingPackageId = BoardingPackageId; + this.BoardingFlow = BoardingFlow; + this.Mode = Mode; + this.SalesRepId = SalesRepId; + } + + /// + /// Gets or Sets BoardingRegistrationId + /// + [DataMember(Name="boardingRegistrationId", EmitDefaultValue=false)] + public string BoardingRegistrationId { get; private set; } + + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? SubmitTimeUtc { get; private set; } + + + /// + /// Gets or Sets BoardingPackageId + /// + [DataMember(Name="boardingPackageId", EmitDefaultValue=false)] + public string BoardingPackageId { get; set; } + + + + /// + /// Gets or Sets SalesRepId + /// + [DataMember(Name="salesRepId", EmitDefaultValue=false)] + public string SalesRepId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Boardingv1registrationsRegistrationInformation {\n"); + sb.Append(" BoardingRegistrationId: ").Append(BoardingRegistrationId).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" BoardingPackageId: ").Append(BoardingPackageId).Append("\n"); + sb.Append(" BoardingFlow: ").Append(BoardingFlow).Append("\n"); + sb.Append(" Mode: ").Append(Mode).Append("\n"); + sb.Append(" SalesRepId: ").Append(SalesRepId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Boardingv1registrationsRegistrationInformation); + } + + /// + /// Returns true if Boardingv1registrationsRegistrationInformation instances are equal + /// + /// Instance of Boardingv1registrationsRegistrationInformation to be compared + /// Boolean + public bool Equals(Boardingv1registrationsRegistrationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.BoardingRegistrationId == other.BoardingRegistrationId || + this.BoardingRegistrationId != null && + this.BoardingRegistrationId.Equals(other.BoardingRegistrationId) + ) && + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.BoardingPackageId == other.BoardingPackageId || + this.BoardingPackageId != null && + this.BoardingPackageId.Equals(other.BoardingPackageId) + ) && + ( + this.BoardingFlow == other.BoardingFlow || + this.BoardingFlow != null && + this.BoardingFlow.Equals(other.BoardingFlow) + ) && + ( + this.Mode == other.Mode || + this.Mode != null && + this.Mode.Equals(other.Mode) + ) && + ( + this.SalesRepId == other.SalesRepId || + this.SalesRepId != null && + this.SalesRepId.Equals(other.SalesRepId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.BoardingRegistrationId != null) + hash = hash * 59 + this.BoardingRegistrationId.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.BoardingPackageId != null) + hash = hash * 59 + this.BoardingPackageId.GetHashCode(); + if (this.BoardingFlow != null) + hash = hash * 59 + this.BoardingFlow.GetHashCode(); + if (this.Mode != null) + hash = hash * 59 + this.Mode.GetHashCode(); + if (this.SalesRepId != null) + hash = hash * 59 + this.SalesRepId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CapturePaymentRequest.cs b/Model/CapturePaymentRequest.cs index 8cc21fed..f37bfd7c 100644 --- a/Model/CapturePaymentRequest.cs +++ b/Model/CapturePaymentRequest.cs @@ -43,10 +43,11 @@ public partial class CapturePaymentRequest : IEquatable, /// AggregatorInformation. /// PointOfSaleInformation. /// The object containing the custom data that the merchant defines. . + /// MerchantDefinedSecureInformation. /// InstallmentInformation. /// TravelInformation. /// PromotionInformation. - public CapturePaymentRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2paymentsidcapturesProcessingInformation ProcessingInformation = default(Ptsv2paymentsidcapturesProcessingInformation), Ptsv2paymentsidcapturesPaymentInformation PaymentInformation = default(Ptsv2paymentsidcapturesPaymentInformation), Ptsv2paymentsidcapturesOrderInformation OrderInformation = default(Ptsv2paymentsidcapturesOrderInformation), Ptsv2paymentsidcapturesBuyerInformation BuyerInformation = default(Ptsv2paymentsidcapturesBuyerInformation), Ptsv2paymentsidcapturesDeviceInformation DeviceInformation = default(Ptsv2paymentsidcapturesDeviceInformation), Ptsv2paymentsidcapturesMerchantInformation MerchantInformation = default(Ptsv2paymentsidcapturesMerchantInformation), Ptsv2paymentsidcapturesAggregatorInformation AggregatorInformation = default(Ptsv2paymentsidcapturesAggregatorInformation), Ptsv2paymentsidcapturesPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsidcapturesPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2paymentsidcapturesInstallmentInformation InstallmentInformation = default(Ptsv2paymentsidcapturesInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation)) + public CapturePaymentRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2paymentsidcapturesProcessingInformation ProcessingInformation = default(Ptsv2paymentsidcapturesProcessingInformation), Ptsv2paymentsidcapturesPaymentInformation PaymentInformation = default(Ptsv2paymentsidcapturesPaymentInformation), Ptsv2paymentsidcapturesOrderInformation OrderInformation = default(Ptsv2paymentsidcapturesOrderInformation), Ptsv2paymentsidcapturesBuyerInformation BuyerInformation = default(Ptsv2paymentsidcapturesBuyerInformation), Ptsv2paymentsidcapturesDeviceInformation DeviceInformation = default(Ptsv2paymentsidcapturesDeviceInformation), Ptsv2paymentsidcapturesMerchantInformation MerchantInformation = default(Ptsv2paymentsidcapturesMerchantInformation), Ptsv2paymentsidcapturesAggregatorInformation AggregatorInformation = default(Ptsv2paymentsidcapturesAggregatorInformation), Ptsv2paymentsidcapturesPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsidcapturesPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2paymentsMerchantDefinedSecureInformation MerchantDefinedSecureInformation = default(Ptsv2paymentsMerchantDefinedSecureInformation), Ptsv2paymentsidcapturesInstallmentInformation InstallmentInformation = default(Ptsv2paymentsidcapturesInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessingInformation = ProcessingInformation; @@ -58,6 +59,7 @@ public partial class CapturePaymentRequest : IEquatable, this.AggregatorInformation = AggregatorInformation; this.PointOfSaleInformation = PointOfSaleInformation; this.MerchantDefinedInformation = MerchantDefinedInformation; + this.MerchantDefinedSecureInformation = MerchantDefinedSecureInformation; this.InstallmentInformation = InstallmentInformation; this.TravelInformation = TravelInformation; this.PromotionInformation = PromotionInformation; @@ -124,6 +126,12 @@ public partial class CapturePaymentRequest : IEquatable, [DataMember(Name="merchantDefinedInformation", EmitDefaultValue=false)] public List MerchantDefinedInformation { get; set; } + /// + /// Gets or Sets MerchantDefinedSecureInformation + /// + [DataMember(Name="merchantDefinedSecureInformation", EmitDefaultValue=false)] + public Ptsv2paymentsMerchantDefinedSecureInformation MerchantDefinedSecureInformation { get; set; } + /// /// Gets or Sets InstallmentInformation /// @@ -160,6 +168,7 @@ public override string ToString() sb.Append(" AggregatorInformation: ").Append(AggregatorInformation).Append("\n"); sb.Append(" PointOfSaleInformation: ").Append(PointOfSaleInformation).Append("\n"); sb.Append(" MerchantDefinedInformation: ").Append(MerchantDefinedInformation).Append("\n"); + sb.Append(" MerchantDefinedSecureInformation: ").Append(MerchantDefinedSecureInformation).Append("\n"); sb.Append(" InstallmentInformation: ").Append(InstallmentInformation).Append("\n"); sb.Append(" TravelInformation: ").Append(TravelInformation).Append("\n"); sb.Append(" PromotionInformation: ").Append(PromotionInformation).Append("\n"); @@ -249,6 +258,11 @@ public bool Equals(CapturePaymentRequest other) this.MerchantDefinedInformation != null && this.MerchantDefinedInformation.SequenceEqual(other.MerchantDefinedInformation) ) && + ( + this.MerchantDefinedSecureInformation == other.MerchantDefinedSecureInformation || + this.MerchantDefinedSecureInformation != null && + this.MerchantDefinedSecureInformation.Equals(other.MerchantDefinedSecureInformation) + ) && ( this.InstallmentInformation == other.InstallmentInformation || this.InstallmentInformation != null && @@ -297,6 +311,8 @@ public override int GetHashCode() hash = hash * 59 + this.PointOfSaleInformation.GetHashCode(); if (this.MerchantDefinedInformation != null) hash = hash * 59 + this.MerchantDefinedInformation.GetHashCode(); + if (this.MerchantDefinedSecureInformation != null) + hash = hash * 59 + this.MerchantDefinedSecureInformation.GetHashCode(); if (this.InstallmentInformation != null) hash = hash * 59 + this.InstallmentInformation.GetHashCode(); if (this.TravelInformation != null) diff --git a/Model/CommerceSolutionsProducts.cs b/Model/CommerceSolutionsProducts.cs new file mode 100644 index 00000000..0259e034 --- /dev/null +++ b/Model/CommerceSolutionsProducts.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProducts + /// + [DataContract] + public partial class CommerceSolutionsProducts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TokenManagement. + /// AccountUpdater. + /// BinLookup. + public CommerceSolutionsProducts(CommerceSolutionsProductsTokenManagement TokenManagement = default(CommerceSolutionsProductsTokenManagement), CommerceSolutionsProductsAccountUpdater AccountUpdater = default(CommerceSolutionsProductsAccountUpdater), CommerceSolutionsProductsBinLookup BinLookup = default(CommerceSolutionsProductsBinLookup)) + { + this.TokenManagement = TokenManagement; + this.AccountUpdater = AccountUpdater; + this.BinLookup = BinLookup; + } + + /// + /// Gets or Sets TokenManagement + /// + [DataMember(Name="tokenManagement", EmitDefaultValue=false)] + public CommerceSolutionsProductsTokenManagement TokenManagement { get; set; } + + /// + /// Gets or Sets AccountUpdater + /// + [DataMember(Name="accountUpdater", EmitDefaultValue=false)] + public CommerceSolutionsProductsAccountUpdater AccountUpdater { get; set; } + + /// + /// Gets or Sets BinLookup + /// + [DataMember(Name="binLookup", EmitDefaultValue=false)] + public CommerceSolutionsProductsBinLookup BinLookup { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProducts {\n"); + sb.Append(" TokenManagement: ").Append(TokenManagement).Append("\n"); + sb.Append(" AccountUpdater: ").Append(AccountUpdater).Append("\n"); + sb.Append(" BinLookup: ").Append(BinLookup).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProducts); + } + + /// + /// Returns true if CommerceSolutionsProducts instances are equal + /// + /// Instance of CommerceSolutionsProducts to be compared + /// Boolean + public bool Equals(CommerceSolutionsProducts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TokenManagement == other.TokenManagement || + this.TokenManagement != null && + this.TokenManagement.Equals(other.TokenManagement) + ) && + ( + this.AccountUpdater == other.AccountUpdater || + this.AccountUpdater != null && + this.AccountUpdater.Equals(other.AccountUpdater) + ) && + ( + this.BinLookup == other.BinLookup || + this.BinLookup != null && + this.BinLookup.Equals(other.BinLookup) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TokenManagement != null) + hash = hash * 59 + this.TokenManagement.GetHashCode(); + if (this.AccountUpdater != null) + hash = hash * 59 + this.AccountUpdater.GetHashCode(); + if (this.BinLookup != null) + hash = hash * 59 + this.BinLookup.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsAccountUpdater.cs b/Model/CommerceSolutionsProductsAccountUpdater.cs new file mode 100644 index 00000000..6ba1c872 --- /dev/null +++ b/Model/CommerceSolutionsProductsAccountUpdater.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsAccountUpdater + /// + [DataContract] + public partial class CommerceSolutionsProductsAccountUpdater : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public CommerceSolutionsProductsAccountUpdater(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), CommerceSolutionsProductsAccountUpdaterConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsAccountUpdaterConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public CommerceSolutionsProductsAccountUpdaterConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsAccountUpdater {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsAccountUpdater); + } + + /// + /// Returns true if CommerceSolutionsProductsAccountUpdater instances are equal + /// + /// Instance of CommerceSolutionsProductsAccountUpdater to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsAccountUpdater other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.cs b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.cs new file mode 100644 index 00000000..a4dbd55e --- /dev/null +++ b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsAccountUpdaterConfigurationInformation + /// + [DataContract] + public partial class CommerceSolutionsProductsAccountUpdaterConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public CommerceSolutionsProductsAccountUpdaterConfigurationInformation(Guid? TemplateId = default(Guid?), CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations Configurations = default(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsAccountUpdaterConfigurationInformation); + } + + /// + /// Returns true if CommerceSolutionsProductsAccountUpdaterConfigurationInformation instances are equal + /// + /// Instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformation to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsAccountUpdaterConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.cs b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..f18d5b79 --- /dev/null +++ b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.cs @@ -0,0 +1,216 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations + /// + [DataContract] + public partial class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// MasterCard. + /// Visa. + /// Amex. + /// PreferredDay. + /// DaysWindow. + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard MasterCard = default(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard), CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa Visa = default(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa), CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex Amex = default(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex), decimal? PreferredDay = default(decimal?), decimal? DaysWindow = default(decimal?)) + { + this.MasterCard = MasterCard; + this.Visa = Visa; + this.Amex = Amex; + this.PreferredDay = PreferredDay; + this.DaysWindow = DaysWindow; + } + + /// + /// Gets or Sets MasterCard + /// + [DataMember(Name="masterCard", EmitDefaultValue=false)] + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard MasterCard { get; set; } + + /// + /// Gets or Sets Visa + /// + [DataMember(Name="visa", EmitDefaultValue=false)] + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa Visa { get; set; } + + /// + /// Gets or Sets Amex + /// + [DataMember(Name="amex", EmitDefaultValue=false)] + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex Amex { get; set; } + + /// + /// Gets or Sets PreferredDay + /// + [DataMember(Name="preferredDay", EmitDefaultValue=false)] + public decimal? PreferredDay { get; set; } + + /// + /// Gets or Sets DaysWindow + /// + [DataMember(Name="daysWindow", EmitDefaultValue=false)] + public decimal? DaysWindow { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations {\n"); + sb.Append(" MasterCard: ").Append(MasterCard).Append("\n"); + sb.Append(" Visa: ").Append(Visa).Append("\n"); + sb.Append(" Amex: ").Append(Amex).Append("\n"); + sb.Append(" PreferredDay: ").Append(PreferredDay).Append("\n"); + sb.Append(" DaysWindow: ").Append(DaysWindow).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations); + } + + /// + /// Returns true if CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations instances are equal + /// + /// Instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.MasterCard == other.MasterCard || + this.MasterCard != null && + this.MasterCard.Equals(other.MasterCard) + ) && + ( + this.Visa == other.Visa || + this.Visa != null && + this.Visa.Equals(other.Visa) + ) && + ( + this.Amex == other.Amex || + this.Amex != null && + this.Amex.Equals(other.Amex) + ) && + ( + this.PreferredDay == other.PreferredDay || + this.PreferredDay != null && + this.PreferredDay.Equals(other.PreferredDay) + ) && + ( + this.DaysWindow == other.DaysWindow || + this.DaysWindow != null && + this.DaysWindow.Equals(other.DaysWindow) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.MasterCard != null) + hash = hash * 59 + this.MasterCard.GetHashCode(); + if (this.Visa != null) + hash = hash * 59 + this.Visa.GetHashCode(); + if (this.Amex != null) + hash = hash * 59 + this.Amex.GetHashCode(); + if (this.PreferredDay != null) + hash = hash * 59 + this.PreferredDay.GetHashCode(); + if (this.DaysWindow != null) + hash = hash * 59 + this.DaysWindow.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // PreferredDay (decimal?) maximum + if(this.PreferredDay >= (decimal?)28) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PreferredDay, must be a value less than or equal to 28.", new [] { "PreferredDay" }); + } + + // PreferredDay (decimal?) minimum + if(this.PreferredDay <= (decimal?)1) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PreferredDay, must be a value greater than or equal to 1.", new [] { "PreferredDay" }); + } + + // DaysWindow (decimal?) maximum + if(this.DaysWindow >= (decimal?)3650) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for DaysWindow, must be a value less than or equal to 3650.", new [] { "DaysWindow" }); + } + + // DaysWindow (decimal?) minimum + if(this.DaysWindow <= (decimal?)1) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for DaysWindow, must be a value greater than or equal to 1.", new [] { "DaysWindow" }); + } + + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.cs b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.cs new file mode 100644 index 00000000..b84f2b72 --- /dev/null +++ b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.cs @@ -0,0 +1,177 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex + /// + [DataContract] + public partial class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Type of mode. Valid values are `tokenApi` or `dailyHarvest`.. + /// SeNumber. + /// SubscriberId. + /// Active. + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex(string Mode = default(string), string SeNumber = default(string), string SubscriberId = default(string), bool? Active = default(bool?)) + { + this.Mode = Mode; + this.SeNumber = SeNumber; + this.SubscriberId = SubscriberId; + this.Active = Active; + } + + /// + /// Type of mode. Valid values are `tokenApi` or `dailyHarvest`. + /// + /// Type of mode. Valid values are `tokenApi` or `dailyHarvest`. + [DataMember(Name="mode", EmitDefaultValue=false)] + public string Mode { get; set; } + + /// + /// Gets or Sets SeNumber + /// + [DataMember(Name="seNumber", EmitDefaultValue=false)] + public string SeNumber { get; set; } + + /// + /// Gets or Sets SubscriberId + /// + [DataMember(Name="subscriberId", EmitDefaultValue=false)] + public string SubscriberId { get; set; } + + /// + /// Gets or Sets Active + /// + [DataMember(Name="active", EmitDefaultValue=false)] + public bool? Active { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex {\n"); + sb.Append(" Mode: ").Append(Mode).Append("\n"); + sb.Append(" SeNumber: ").Append(SeNumber).Append("\n"); + sb.Append(" SubscriberId: ").Append(SubscriberId).Append("\n"); + sb.Append(" Active: ").Append(Active).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex); + } + + /// + /// Returns true if CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex instances are equal + /// + /// Instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Mode == other.Mode || + this.Mode != null && + this.Mode.Equals(other.Mode) + ) && + ( + this.SeNumber == other.SeNumber || + this.SeNumber != null && + this.SeNumber.Equals(other.SeNumber) + ) && + ( + this.SubscriberId == other.SubscriberId || + this.SubscriberId != null && + this.SubscriberId.Equals(other.SubscriberId) + ) && + ( + this.Active == other.Active || + this.Active != null && + this.Active.Equals(other.Active) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Mode != null) + hash = hash * 59 + this.Mode.GetHashCode(); + if (this.SeNumber != null) + hash = hash * 59 + this.SeNumber.GetHashCode(); + if (this.SubscriberId != null) + hash = hash * 59 + this.SubscriberId.GetHashCode(); + if (this.Active != null) + hash = hash * 59 + this.Active.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.cs b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.cs new file mode 100644 index 00000000..ad34c508 --- /dev/null +++ b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.cs @@ -0,0 +1,183 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard + /// + [DataContract] + public partial class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard() { } + /// + /// Initializes a new instance of the class. + /// + /// MasterCard merchant identified number (required). + /// Number assigned by MasterCard to a financial institution, third-party processor or other member to identify the member in transaction. (required). + /// Active. + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard(string MerchantId = default(string), string InterbankCardAssociationNumber = default(string), bool? Active = default(bool?)) + { + // to ensure "MerchantId" is required (not null) + if (MerchantId == null) + { + throw new InvalidDataException("MerchantId is a required property for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard and cannot be null"); + } + else + { + this.MerchantId = MerchantId; + } + // to ensure "InterbankCardAssociationNumber" is required (not null) + if (InterbankCardAssociationNumber == null) + { + throw new InvalidDataException("InterbankCardAssociationNumber is a required property for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard and cannot be null"); + } + else + { + this.InterbankCardAssociationNumber = InterbankCardAssociationNumber; + } + this.Active = Active; + } + + /// + /// MasterCard merchant identified number + /// + /// MasterCard merchant identified number + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// Number assigned by MasterCard to a financial institution, third-party processor or other member to identify the member in transaction. + /// + /// Number assigned by MasterCard to a financial institution, third-party processor or other member to identify the member in transaction. + [DataMember(Name="interbankCardAssociationNumber", EmitDefaultValue=false)] + public string InterbankCardAssociationNumber { get; set; } + + /// + /// Gets or Sets Active + /// + [DataMember(Name="active", EmitDefaultValue=false)] + public bool? Active { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard {\n"); + sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + sb.Append(" InterbankCardAssociationNumber: ").Append(InterbankCardAssociationNumber).Append("\n"); + sb.Append(" Active: ").Append(Active).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard); + } + + /// + /// Returns true if CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard instances are equal + /// + /// Instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) + ) && + ( + this.InterbankCardAssociationNumber == other.InterbankCardAssociationNumber || + this.InterbankCardAssociationNumber != null && + this.InterbankCardAssociationNumber.Equals(other.InterbankCardAssociationNumber) + ) && + ( + this.Active == other.Active || + this.Active != null && + this.Active.Equals(other.Active) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.InterbankCardAssociationNumber != null) + hash = hash * 59 + this.InterbankCardAssociationNumber.GetHashCode(); + if (this.Active != null) + hash = hash * 59 + this.Active.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.cs b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.cs new file mode 100644 index 00000000..ec942faf --- /dev/null +++ b/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.cs @@ -0,0 +1,183 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa + /// + [DataContract] + public partial class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa() { } + /// + /// Initializes a new instance of the class. + /// + /// Visa merchant identified number (required). + /// Visa assigned segment ID for each group of merchants participating in VAU. (required). + /// Active. + public CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa(string MerchantId = default(string), string SegmentId = default(string), bool? Active = default(bool?)) + { + // to ensure "MerchantId" is required (not null) + if (MerchantId == null) + { + throw new InvalidDataException("MerchantId is a required property for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa and cannot be null"); + } + else + { + this.MerchantId = MerchantId; + } + // to ensure "SegmentId" is required (not null) + if (SegmentId == null) + { + throw new InvalidDataException("SegmentId is a required property for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa and cannot be null"); + } + else + { + this.SegmentId = SegmentId; + } + this.Active = Active; + } + + /// + /// Visa merchant identified number + /// + /// Visa merchant identified number + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// Visa assigned segment ID for each group of merchants participating in VAU. + /// + /// Visa assigned segment ID for each group of merchants participating in VAU. + [DataMember(Name="segmentId", EmitDefaultValue=false)] + public string SegmentId { get; set; } + + /// + /// Gets or Sets Active + /// + [DataMember(Name="active", EmitDefaultValue=false)] + public bool? Active { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa {\n"); + sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + sb.Append(" SegmentId: ").Append(SegmentId).Append("\n"); + sb.Append(" Active: ").Append(Active).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa); + } + + /// + /// Returns true if CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa instances are equal + /// + /// Instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) + ) && + ( + this.SegmentId == other.SegmentId || + this.SegmentId != null && + this.SegmentId.Equals(other.SegmentId) + ) && + ( + this.Active == other.Active || + this.Active != null && + this.Active.Equals(other.Active) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.SegmentId != null) + hash = hash * 59 + this.SegmentId.GetHashCode(); + if (this.Active != null) + hash = hash * 59 + this.Active.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsBinLookup.cs b/Model/CommerceSolutionsProductsBinLookup.cs new file mode 100644 index 00000000..afabc604 --- /dev/null +++ b/Model/CommerceSolutionsProductsBinLookup.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsBinLookup + /// + [DataContract] + public partial class CommerceSolutionsProductsBinLookup : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public CommerceSolutionsProductsBinLookup(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), CommerceSolutionsProductsBinLookupConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsBinLookupConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public CommerceSolutionsProductsBinLookupConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsBinLookup {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsBinLookup); + } + + /// + /// Returns true if CommerceSolutionsProductsBinLookup instances are equal + /// + /// Instance of CommerceSolutionsProductsBinLookup to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsBinLookup other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsBinLookupConfigurationInformation.cs b/Model/CommerceSolutionsProductsBinLookupConfigurationInformation.cs new file mode 100644 index 00000000..e0c8c45c --- /dev/null +++ b/Model/CommerceSolutionsProductsBinLookupConfigurationInformation.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsBinLookupConfigurationInformation + /// + [DataContract] + public partial class CommerceSolutionsProductsBinLookupConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Configurations. + public CommerceSolutionsProductsBinLookupConfigurationInformation(CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations Configurations = default(CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations)) + { + this.Configurations = Configurations; + } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsBinLookupConfigurationInformation {\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsBinLookupConfigurationInformation); + } + + /// + /// Returns true if CommerceSolutionsProductsBinLookupConfigurationInformation instances are equal + /// + /// Instance of CommerceSolutionsProductsBinLookupConfigurationInformation to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsBinLookupConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.cs b/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..a213c2d3 --- /dev/null +++ b/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations + /// + [DataContract] + public partial class CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// This flag indicates if the merchant is configured to make payout calls. + /// This flag indicates if the merchant is configured to receive account prefix. + public CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations(bool? IsPayoutOptionsEnabled = default(bool?), bool? IsAccountPrefixEnabled = default(bool?)) + { + this.IsPayoutOptionsEnabled = IsPayoutOptionsEnabled; + this.IsAccountPrefixEnabled = IsAccountPrefixEnabled; + } + + /// + /// This flag indicates if the merchant is configured to make payout calls + /// + /// This flag indicates if the merchant is configured to make payout calls + [DataMember(Name="isPayoutOptionsEnabled", EmitDefaultValue=false)] + public bool? IsPayoutOptionsEnabled { get; set; } + + /// + /// This flag indicates if the merchant is configured to receive account prefix + /// + /// This flag indicates if the merchant is configured to receive account prefix + [DataMember(Name="isAccountPrefixEnabled", EmitDefaultValue=false)] + public bool? IsAccountPrefixEnabled { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations {\n"); + sb.Append(" IsPayoutOptionsEnabled: ").Append(IsPayoutOptionsEnabled).Append("\n"); + sb.Append(" IsAccountPrefixEnabled: ").Append(IsAccountPrefixEnabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations); + } + + /// + /// Returns true if CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations instances are equal + /// + /// Instance of CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.IsPayoutOptionsEnabled == other.IsPayoutOptionsEnabled || + this.IsPayoutOptionsEnabled != null && + this.IsPayoutOptionsEnabled.Equals(other.IsPayoutOptionsEnabled) + ) && + ( + this.IsAccountPrefixEnabled == other.IsAccountPrefixEnabled || + this.IsAccountPrefixEnabled != null && + this.IsAccountPrefixEnabled.Equals(other.IsAccountPrefixEnabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.IsPayoutOptionsEnabled != null) + hash = hash * 59 + this.IsPayoutOptionsEnabled.GetHashCode(); + if (this.IsAccountPrefixEnabled != null) + hash = hash * 59 + this.IsAccountPrefixEnabled.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsTokenManagement.cs b/Model/CommerceSolutionsProductsTokenManagement.cs new file mode 100644 index 00000000..81bfcf2e --- /dev/null +++ b/Model/CommerceSolutionsProductsTokenManagement.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsTokenManagement + /// + [DataContract] + public partial class CommerceSolutionsProductsTokenManagement : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public CommerceSolutionsProductsTokenManagement(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), CommerceSolutionsProductsTokenManagementConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsTokenManagementConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public CommerceSolutionsProductsTokenManagementConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsTokenManagement {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsTokenManagement); + } + + /// + /// Returns true if CommerceSolutionsProductsTokenManagement instances are equal + /// + /// Instance of CommerceSolutionsProductsTokenManagement to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsTokenManagement other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.cs b/Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.cs new file mode 100644 index 00000000..a275089f --- /dev/null +++ b/Model/CommerceSolutionsProductsTokenManagementConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsTokenManagementConfigurationInformation + /// + [DataContract] + public partial class CommerceSolutionsProductsTokenManagementConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public CommerceSolutionsProductsTokenManagementConfigurationInformation(Guid? TemplateId = default(Guid?), CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations Configurations = default(CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsTokenManagementConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsTokenManagementConfigurationInformation); + } + + /// + /// Returns true if CommerceSolutionsProductsTokenManagementConfigurationInformation instances are equal + /// + /// Instance of CommerceSolutionsProductsTokenManagementConfigurationInformation to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsTokenManagementConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.cs b/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..579994fc --- /dev/null +++ b/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations + /// + [DataContract] + public partial class CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Specify the Vault ID to which transacting MID needs to be assigned.Provide Vault ID as seen on EBC Vault management page. If not provided , transacting MID will be assigned to the existing default Vault at merchant's level. If there are no Vaults at merchant level , a new Vault will be created and transacting MID will be assigned to it.. + public CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations(string ParentProfileId = default(string)) + { + this.ParentProfileId = ParentProfileId; + } + + /// + /// Specify the Vault ID to which transacting MID needs to be assigned.Provide Vault ID as seen on EBC Vault management page. If not provided , transacting MID will be assigned to the existing default Vault at merchant's level. If there are no Vaults at merchant level , a new Vault will be created and transacting MID will be assigned to it. + /// + /// Specify the Vault ID to which transacting MID needs to be assigned.Provide Vault ID as seen on EBC Vault management page. If not provided , transacting MID will be assigned to the existing default Vault at merchant's level. If there are no Vaults at merchant level , a new Vault will be created and transacting MID will be assigned to it. + [DataMember(Name="parentProfileId", EmitDefaultValue=false)] + public string ParentProfileId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations {\n"); + sb.Append(" ParentProfileId: ").Append(ParentProfileId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations); + } + + /// + /// Returns true if CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations instances are equal + /// + /// Instance of CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ParentProfileId == other.ParentProfileId || + this.ParentProfileId != null && + this.ParentProfileId.Equals(other.ParentProfileId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ParentProfileId != null) + hash = hash * 59 + this.ParentProfileId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/CreateCreditRequest.cs b/Model/CreateCreditRequest.cs index f65e9074..cb256c9f 100644 --- a/Model/CreateCreditRequest.cs +++ b/Model/CreateCreditRequest.cs @@ -43,10 +43,11 @@ public partial class CreateCreditRequest : IEquatable, IVa /// AggregatorInformation. /// PointOfSaleInformation. /// The object containing the custom data that the merchant defines. . + /// MerchantDefinedSecureInformation. /// InstallmentInformation. /// TravelInformation. /// PromotionInformation. - public CreateCreditRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2creditsProcessingInformation ProcessingInformation = default(Ptsv2creditsProcessingInformation), Ptsv2paymentsidrefundsPaymentInformation PaymentInformation = default(Ptsv2paymentsidrefundsPaymentInformation), Ptsv2paymentsidrefundsOrderInformation OrderInformation = default(Ptsv2paymentsidrefundsOrderInformation), Ptsv2paymentsidcapturesBuyerInformation BuyerInformation = default(Ptsv2paymentsidcapturesBuyerInformation), Ptsv2paymentsidcapturesDeviceInformation DeviceInformation = default(Ptsv2paymentsidcapturesDeviceInformation), Ptsv2paymentsidrefundsMerchantInformation MerchantInformation = default(Ptsv2paymentsidrefundsMerchantInformation), Ptsv2paymentsidcapturesAggregatorInformation AggregatorInformation = default(Ptsv2paymentsidcapturesAggregatorInformation), Ptsv2paymentsPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2creditsInstallmentInformation InstallmentInformation = default(Ptsv2creditsInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation)) + public CreateCreditRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2creditsProcessingInformation ProcessingInformation = default(Ptsv2creditsProcessingInformation), Ptsv2paymentsidrefundsPaymentInformation PaymentInformation = default(Ptsv2paymentsidrefundsPaymentInformation), Ptsv2paymentsidrefundsOrderInformation OrderInformation = default(Ptsv2paymentsidrefundsOrderInformation), Ptsv2paymentsidcapturesBuyerInformation BuyerInformation = default(Ptsv2paymentsidcapturesBuyerInformation), Ptsv2paymentsidcapturesDeviceInformation DeviceInformation = default(Ptsv2paymentsidcapturesDeviceInformation), Ptsv2paymentsidrefundsMerchantInformation MerchantInformation = default(Ptsv2paymentsidrefundsMerchantInformation), Ptsv2paymentsidcapturesAggregatorInformation AggregatorInformation = default(Ptsv2paymentsidcapturesAggregatorInformation), Ptsv2paymentsPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2paymentsMerchantDefinedSecureInformation MerchantDefinedSecureInformation = default(Ptsv2paymentsMerchantDefinedSecureInformation), Ptsv2creditsInstallmentInformation InstallmentInformation = default(Ptsv2creditsInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessingInformation = ProcessingInformation; @@ -58,6 +59,7 @@ public partial class CreateCreditRequest : IEquatable, IVa this.AggregatorInformation = AggregatorInformation; this.PointOfSaleInformation = PointOfSaleInformation; this.MerchantDefinedInformation = MerchantDefinedInformation; + this.MerchantDefinedSecureInformation = MerchantDefinedSecureInformation; this.InstallmentInformation = InstallmentInformation; this.TravelInformation = TravelInformation; this.PromotionInformation = PromotionInformation; @@ -124,6 +126,12 @@ public partial class CreateCreditRequest : IEquatable, IVa [DataMember(Name="merchantDefinedInformation", EmitDefaultValue=false)] public List MerchantDefinedInformation { get; set; } + /// + /// Gets or Sets MerchantDefinedSecureInformation + /// + [DataMember(Name="merchantDefinedSecureInformation", EmitDefaultValue=false)] + public Ptsv2paymentsMerchantDefinedSecureInformation MerchantDefinedSecureInformation { get; set; } + /// /// Gets or Sets InstallmentInformation /// @@ -160,6 +168,7 @@ public override string ToString() sb.Append(" AggregatorInformation: ").Append(AggregatorInformation).Append("\n"); sb.Append(" PointOfSaleInformation: ").Append(PointOfSaleInformation).Append("\n"); sb.Append(" MerchantDefinedInformation: ").Append(MerchantDefinedInformation).Append("\n"); + sb.Append(" MerchantDefinedSecureInformation: ").Append(MerchantDefinedSecureInformation).Append("\n"); sb.Append(" InstallmentInformation: ").Append(InstallmentInformation).Append("\n"); sb.Append(" TravelInformation: ").Append(TravelInformation).Append("\n"); sb.Append(" PromotionInformation: ").Append(PromotionInformation).Append("\n"); @@ -249,6 +258,11 @@ public bool Equals(CreateCreditRequest other) this.MerchantDefinedInformation != null && this.MerchantDefinedInformation.SequenceEqual(other.MerchantDefinedInformation) ) && + ( + this.MerchantDefinedSecureInformation == other.MerchantDefinedSecureInformation || + this.MerchantDefinedSecureInformation != null && + this.MerchantDefinedSecureInformation.Equals(other.MerchantDefinedSecureInformation) + ) && ( this.InstallmentInformation == other.InstallmentInformation || this.InstallmentInformation != null && @@ -297,6 +311,8 @@ public override int GetHashCode() hash = hash * 59 + this.PointOfSaleInformation.GetHashCode(); if (this.MerchantDefinedInformation != null) hash = hash * 59 + this.MerchantDefinedInformation.GetHashCode(); + if (this.MerchantDefinedSecureInformation != null) + hash = hash * 59 + this.MerchantDefinedSecureInformation.GetHashCode(); if (this.InstallmentInformation != null) hash = hash * 59 + this.InstallmentInformation.GetHashCode(); if (this.TravelInformation != null) diff --git a/Model/CreatePaymentRequest.cs b/Model/CreatePaymentRequest.cs index e99b5a59..19447dae 100644 --- a/Model/CreatePaymentRequest.cs +++ b/Model/CreatePaymentRequest.cs @@ -46,6 +46,7 @@ public partial class CreatePaymentRequest : IEquatable, I /// ConsumerAuthenticationInformation. /// PointOfSaleInformation. /// The object containing the custom data that the merchant defines. . + /// MerchantDefinedSecureInformation. /// InstallmentInformation. /// TravelInformation. /// HealthCareInformation. @@ -57,7 +58,7 @@ public partial class CreatePaymentRequest : IEquatable, I /// AcquirerInformation. /// RecurringPaymentInformation. /// WatchlistScreeningInformation. - public CreatePaymentRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2paymentsProcessingInformation ProcessingInformation = default(Ptsv2paymentsProcessingInformation), Ptsv2paymentsIssuerInformation IssuerInformation = default(Ptsv2paymentsIssuerInformation), Ptsv2paymentsPaymentInformation PaymentInformation = default(Ptsv2paymentsPaymentInformation), Ptsv2paymentsOrderInformation OrderInformation = default(Ptsv2paymentsOrderInformation), Ptsv2paymentsBuyerInformation BuyerInformation = default(Ptsv2paymentsBuyerInformation), Ptsv2paymentsRecipientInformation RecipientInformation = default(Ptsv2paymentsRecipientInformation), Ptsv2paymentsDeviceInformation DeviceInformation = default(Ptsv2paymentsDeviceInformation), Ptsv2paymentsMerchantInformation MerchantInformation = default(Ptsv2paymentsMerchantInformation), Ptsv2paymentsAggregatorInformation AggregatorInformation = default(Ptsv2paymentsAggregatorInformation), Ptsv2paymentsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Ptsv2paymentsConsumerAuthenticationInformation), Ptsv2paymentsPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2paymentsInstallmentInformation InstallmentInformation = default(Ptsv2paymentsInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsHealthCareInformation HealthCareInformation = default(Ptsv2paymentsHealthCareInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation), Ptsv2paymentsTokenInformation TokenInformation = default(Ptsv2paymentsTokenInformation), Ptsv2paymentsInvoiceDetails InvoiceDetails = default(Ptsv2paymentsInvoiceDetails), Ptsv2paymentsProcessorInformation ProcessorInformation = default(Ptsv2paymentsProcessorInformation), Ptsv2paymentsRiskInformation RiskInformation = default(Ptsv2paymentsRiskInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation = default(Ptsv2paymentsWatchlistScreeningInformation)) + public CreatePaymentRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2paymentsProcessingInformation ProcessingInformation = default(Ptsv2paymentsProcessingInformation), Ptsv2paymentsIssuerInformation IssuerInformation = default(Ptsv2paymentsIssuerInformation), Ptsv2paymentsPaymentInformation PaymentInformation = default(Ptsv2paymentsPaymentInformation), Ptsv2paymentsOrderInformation OrderInformation = default(Ptsv2paymentsOrderInformation), Ptsv2paymentsBuyerInformation BuyerInformation = default(Ptsv2paymentsBuyerInformation), Ptsv2paymentsRecipientInformation RecipientInformation = default(Ptsv2paymentsRecipientInformation), Ptsv2paymentsDeviceInformation DeviceInformation = default(Ptsv2paymentsDeviceInformation), Ptsv2paymentsMerchantInformation MerchantInformation = default(Ptsv2paymentsMerchantInformation), Ptsv2paymentsAggregatorInformation AggregatorInformation = default(Ptsv2paymentsAggregatorInformation), Ptsv2paymentsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Ptsv2paymentsConsumerAuthenticationInformation), Ptsv2paymentsPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2paymentsMerchantDefinedSecureInformation MerchantDefinedSecureInformation = default(Ptsv2paymentsMerchantDefinedSecureInformation), Ptsv2paymentsInstallmentInformation InstallmentInformation = default(Ptsv2paymentsInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsHealthCareInformation HealthCareInformation = default(Ptsv2paymentsHealthCareInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation), Ptsv2paymentsTokenInformation TokenInformation = default(Ptsv2paymentsTokenInformation), Ptsv2paymentsInvoiceDetails InvoiceDetails = default(Ptsv2paymentsInvoiceDetails), Ptsv2paymentsProcessorInformation ProcessorInformation = default(Ptsv2paymentsProcessorInformation), Ptsv2paymentsRiskInformation RiskInformation = default(Ptsv2paymentsRiskInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation = default(Ptsv2paymentsWatchlistScreeningInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessingInformation = ProcessingInformation; @@ -72,6 +73,7 @@ public partial class CreatePaymentRequest : IEquatable, I this.ConsumerAuthenticationInformation = ConsumerAuthenticationInformation; this.PointOfSaleInformation = PointOfSaleInformation; this.MerchantDefinedInformation = MerchantDefinedInformation; + this.MerchantDefinedSecureInformation = MerchantDefinedSecureInformation; this.InstallmentInformation = InstallmentInformation; this.TravelInformation = TravelInformation; this.HealthCareInformation = HealthCareInformation; @@ -164,6 +166,12 @@ public partial class CreatePaymentRequest : IEquatable, I [DataMember(Name="merchantDefinedInformation", EmitDefaultValue=false)] public List MerchantDefinedInformation { get; set; } + /// + /// Gets or Sets MerchantDefinedSecureInformation + /// + [DataMember(Name="merchantDefinedSecureInformation", EmitDefaultValue=false)] + public Ptsv2paymentsMerchantDefinedSecureInformation MerchantDefinedSecureInformation { get; set; } + /// /// Gets or Sets InstallmentInformation /// @@ -251,6 +259,7 @@ public override string ToString() sb.Append(" ConsumerAuthenticationInformation: ").Append(ConsumerAuthenticationInformation).Append("\n"); sb.Append(" PointOfSaleInformation: ").Append(PointOfSaleInformation).Append("\n"); sb.Append(" MerchantDefinedInformation: ").Append(MerchantDefinedInformation).Append("\n"); + sb.Append(" MerchantDefinedSecureInformation: ").Append(MerchantDefinedSecureInformation).Append("\n"); sb.Append(" InstallmentInformation: ").Append(InstallmentInformation).Append("\n"); sb.Append(" TravelInformation: ").Append(TravelInformation).Append("\n"); sb.Append(" HealthCareInformation: ").Append(HealthCareInformation).Append("\n"); @@ -363,6 +372,11 @@ public bool Equals(CreatePaymentRequest other) this.MerchantDefinedInformation != null && this.MerchantDefinedInformation.SequenceEqual(other.MerchantDefinedInformation) ) && + ( + this.MerchantDefinedSecureInformation == other.MerchantDefinedSecureInformation || + this.MerchantDefinedSecureInformation != null && + this.MerchantDefinedSecureInformation.Equals(other.MerchantDefinedSecureInformation) + ) && ( this.InstallmentInformation == other.InstallmentInformation || this.InstallmentInformation != null && @@ -457,6 +471,8 @@ public override int GetHashCode() hash = hash * 59 + this.PointOfSaleInformation.GetHashCode(); if (this.MerchantDefinedInformation != null) hash = hash * 59 + this.MerchantDefinedInformation.GetHashCode(); + if (this.MerchantDefinedSecureInformation != null) + hash = hash * 59 + this.MerchantDefinedSecureInformation.GetHashCode(); if (this.InstallmentInformation != null) hash = hash * 59 + this.InstallmentInformation.GetHashCode(); if (this.TravelInformation != null) diff --git a/Model/CreateWebhook.cs b/Model/CreateWebhook.cs new file mode 100644 index 00000000..0a74cb14 --- /dev/null +++ b/Model/CreateWebhook.cs @@ -0,0 +1,280 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// CreateWebhook + /// + [DataContract] + public partial class CreateWebhook : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Client friendly webhook name.. + /// Client friendly webhook description.. + /// Organization Identifier (OrgId) or Merchant Identifier (MID).. + /// To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint.. + /// Array of the different events for a given product id.. + /// The client's endpoint (URL) to receive webhooks.. + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. . + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field. . + /// RetryPolicy. + /// SecurityPolicy. + public CreateWebhook(string Name = default(string), string Description = default(string), string OrganizationId = default(string), string ProductId = default(string), List EventTypes = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), string NotificationScope = default(string), Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv1webhooksRetryPolicy), Notificationsubscriptionsv1webhooksSecurityPolicy1 SecurityPolicy = default(Notificationsubscriptionsv1webhooksSecurityPolicy1)) + { + this.Name = Name; + this.Description = Description; + this.OrganizationId = OrganizationId; + this.ProductId = ProductId; + this.EventTypes = EventTypes; + this.WebhookUrl = WebhookUrl; + this.HealthCheckUrl = HealthCheckUrl; + this.NotificationScope = NotificationScope; + this.RetryPolicy = RetryPolicy; + this.SecurityPolicy = SecurityPolicy; + } + + /// + /// Client friendly webhook name. + /// + /// Client friendly webhook name. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Client friendly webhook description. + /// + /// Client friendly webhook description. + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Organization Identifier (OrgId) or Merchant Identifier (MID). + /// + /// Organization Identifier (OrgId) or Merchant Identifier (MID). + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint. + /// + /// To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint. + [DataMember(Name="productId", EmitDefaultValue=false)] + public string ProductId { get; set; } + + /// + /// Array of the different events for a given product id. + /// + /// Array of the different events for a given product id. + [DataMember(Name="eventTypes", EmitDefaultValue=false)] + public List EventTypes { get; set; } + + /// + /// The client's endpoint (URL) to receive webhooks. + /// + /// The client's endpoint (URL) to receive webhooks. + [DataMember(Name="webhookUrl", EmitDefaultValue=false)] + public string WebhookUrl { get; set; } + + /// + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. + /// + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. + [DataMember(Name="healthCheckUrl", EmitDefaultValue=false)] + public string HealthCheckUrl { get; set; } + + /// + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field. + /// + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field. + [DataMember(Name="notificationScope", EmitDefaultValue=false)] + public string NotificationScope { get; set; } + + /// + /// Gets or Sets RetryPolicy + /// + [DataMember(Name="retryPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy { get; set; } + + /// + /// Gets or Sets SecurityPolicy + /// + [DataMember(Name="securityPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksSecurityPolicy1 SecurityPolicy { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CreateWebhook {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" EventTypes: ").Append(EventTypes).Append("\n"); + sb.Append(" WebhookUrl: ").Append(WebhookUrl).Append("\n"); + sb.Append(" HealthCheckUrl: ").Append(HealthCheckUrl).Append("\n"); + sb.Append(" NotificationScope: ").Append(NotificationScope).Append("\n"); + sb.Append(" RetryPolicy: ").Append(RetryPolicy).Append("\n"); + sb.Append(" SecurityPolicy: ").Append(SecurityPolicy).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CreateWebhook); + } + + /// + /// Returns true if CreateWebhook instances are equal + /// + /// Instance of CreateWebhook to be compared + /// Boolean + public bool Equals(CreateWebhook other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ) && + ( + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.ProductId == other.ProductId || + this.ProductId != null && + this.ProductId.Equals(other.ProductId) + ) && + ( + this.EventTypes == other.EventTypes || + this.EventTypes != null && + this.EventTypes.SequenceEqual(other.EventTypes) + ) && + ( + this.WebhookUrl == other.WebhookUrl || + this.WebhookUrl != null && + this.WebhookUrl.Equals(other.WebhookUrl) + ) && + ( + this.HealthCheckUrl == other.HealthCheckUrl || + this.HealthCheckUrl != null && + this.HealthCheckUrl.Equals(other.HealthCheckUrl) + ) && + ( + this.NotificationScope == other.NotificationScope || + this.NotificationScope != null && + this.NotificationScope.Equals(other.NotificationScope) + ) && + ( + this.RetryPolicy == other.RetryPolicy || + this.RetryPolicy != null && + this.RetryPolicy.Equals(other.RetryPolicy) + ) && + ( + this.SecurityPolicy == other.SecurityPolicy || + this.SecurityPolicy != null && + this.SecurityPolicy.Equals(other.SecurityPolicy) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.ProductId != null) + hash = hash * 59 + this.ProductId.GetHashCode(); + if (this.EventTypes != null) + hash = hash * 59 + this.EventTypes.GetHashCode(); + if (this.WebhookUrl != null) + hash = hash * 59 + this.WebhookUrl.GetHashCode(); + if (this.HealthCheckUrl != null) + hash = hash * 59 + this.HealthCheckUrl.GetHashCode(); + if (this.NotificationScope != null) + hash = hash * 59 + this.NotificationScope.GetHashCode(); + if (this.RetryPolicy != null) + hash = hash * 59 + this.RetryPolicy.GetHashCode(); + if (this.SecurityPolicy != null) + hash = hash * 59 + this.SecurityPolicy.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2002.cs b/Model/InlineResponse2002.cs index 723fac1b..f3560d39 100644 --- a/Model/InlineResponse2002.cs +++ b/Model/InlineResponse2002.cs @@ -33,65 +33,65 @@ public partial class InlineResponse2002 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Links. - /// _Object. - /// Offset. - /// Limit. - /// Count. - /// Total. - /// Embedded. - public InlineResponse2002(List Links = default(List), string _Object = default(string), int? Offset = default(int?), int? Limit = default(int?), int? Count = default(int?), int? Total = default(int?), InlineResponse2002Embedded Embedded = default(InlineResponse2002Embedded)) + /// RegistrationInformation. + /// IntegrationInformation. + /// OrganizationInformation. + /// ProductInformation. + /// ProductInformationSetups. + /// DocumentInformation. + /// Details. + public InlineResponse2002(Boardingv1registrationsRegistrationInformation RegistrationInformation = default(Boardingv1registrationsRegistrationInformation), InlineResponse2002IntegrationInformation IntegrationInformation = default(InlineResponse2002IntegrationInformation), Boardingv1registrationsOrganizationInformation OrganizationInformation = default(Boardingv1registrationsOrganizationInformation), Boardingv1registrationsProductInformation ProductInformation = default(Boardingv1registrationsProductInformation), List ProductInformationSetups = default(List), Boardingv1registrationsDocumentInformation DocumentInformation = default(Boardingv1registrationsDocumentInformation), Dictionary> Details = default(Dictionary>)) { - this.Links = Links; - this._Object = _Object; - this.Offset = Offset; - this.Limit = Limit; - this.Count = Count; - this.Total = Total; - this.Embedded = Embedded; + this.RegistrationInformation = RegistrationInformation; + this.IntegrationInformation = IntegrationInformation; + this.OrganizationInformation = OrganizationInformation; + this.ProductInformation = ProductInformation; + this.ProductInformationSetups = ProductInformationSetups; + this.DocumentInformation = DocumentInformation; + this.Details = Details; } /// - /// Gets or Sets Links + /// Gets or Sets RegistrationInformation /// - [DataMember(Name="_links", EmitDefaultValue=false)] - public List Links { get; set; } + [DataMember(Name="registrationInformation", EmitDefaultValue=false)] + public Boardingv1registrationsRegistrationInformation RegistrationInformation { get; set; } /// - /// Gets or Sets _Object + /// Gets or Sets IntegrationInformation /// - [DataMember(Name="object", EmitDefaultValue=false)] - public string _Object { get; set; } + [DataMember(Name="integrationInformation", EmitDefaultValue=false)] + public InlineResponse2002IntegrationInformation IntegrationInformation { get; set; } /// - /// Gets or Sets Offset + /// Gets or Sets OrganizationInformation /// - [DataMember(Name="offset", EmitDefaultValue=false)] - public int? Offset { get; set; } + [DataMember(Name="organizationInformation", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformation OrganizationInformation { get; set; } /// - /// Gets or Sets Limit + /// Gets or Sets ProductInformation /// - [DataMember(Name="limit", EmitDefaultValue=false)] - public int? Limit { get; set; } + [DataMember(Name="productInformation", EmitDefaultValue=false)] + public Boardingv1registrationsProductInformation ProductInformation { get; set; } /// - /// Gets or Sets Count + /// Gets or Sets ProductInformationSetups /// - [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } + [DataMember(Name="productInformationSetups", EmitDefaultValue=false)] + public List ProductInformationSetups { get; set; } /// - /// Gets or Sets Total + /// Gets or Sets DocumentInformation /// - [DataMember(Name="total", EmitDefaultValue=false)] - public int? Total { get; set; } + [DataMember(Name="documentInformation", EmitDefaultValue=false)] + public Boardingv1registrationsDocumentInformation DocumentInformation { get; set; } /// - /// Gets or Sets Embedded + /// Gets or Sets Details /// - [DataMember(Name="_embedded", EmitDefaultValue=false)] - public InlineResponse2002Embedded Embedded { get; set; } + [DataMember(Name="details", EmitDefaultValue=false)] + public Dictionary> Details { get; set; } /// /// Returns the string presentation of the object @@ -101,13 +101,13 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2002 {\n"); - sb.Append(" Links: ").Append(Links).Append("\n"); - sb.Append(" _Object: ").Append(_Object).Append("\n"); - sb.Append(" Offset: ").Append(Offset).Append("\n"); - sb.Append(" Limit: ").Append(Limit).Append("\n"); - sb.Append(" Count: ").Append(Count).Append("\n"); - sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" Embedded: ").Append(Embedded).Append("\n"); + sb.Append(" RegistrationInformation: ").Append(RegistrationInformation).Append("\n"); + sb.Append(" IntegrationInformation: ").Append(IntegrationInformation).Append("\n"); + sb.Append(" OrganizationInformation: ").Append(OrganizationInformation).Append("\n"); + sb.Append(" ProductInformation: ").Append(ProductInformation).Append("\n"); + sb.Append(" ProductInformationSetups: ").Append(ProductInformationSetups).Append("\n"); + sb.Append(" DocumentInformation: ").Append(DocumentInformation).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -145,39 +145,39 @@ public bool Equals(InlineResponse2002 other) return ( - this.Links == other.Links || - this.Links != null && - this.Links.SequenceEqual(other.Links) + this.RegistrationInformation == other.RegistrationInformation || + this.RegistrationInformation != null && + this.RegistrationInformation.Equals(other.RegistrationInformation) ) && ( - this._Object == other._Object || - this._Object != null && - this._Object.Equals(other._Object) + this.IntegrationInformation == other.IntegrationInformation || + this.IntegrationInformation != null && + this.IntegrationInformation.Equals(other.IntegrationInformation) ) && ( - this.Offset == other.Offset || - this.Offset != null && - this.Offset.Equals(other.Offset) + this.OrganizationInformation == other.OrganizationInformation || + this.OrganizationInformation != null && + this.OrganizationInformation.Equals(other.OrganizationInformation) ) && ( - this.Limit == other.Limit || - this.Limit != null && - this.Limit.Equals(other.Limit) + this.ProductInformation == other.ProductInformation || + this.ProductInformation != null && + this.ProductInformation.Equals(other.ProductInformation) ) && ( - this.Count == other.Count || - this.Count != null && - this.Count.Equals(other.Count) + this.ProductInformationSetups == other.ProductInformationSetups || + this.ProductInformationSetups != null && + this.ProductInformationSetups.SequenceEqual(other.ProductInformationSetups) ) && ( - this.Total == other.Total || - this.Total != null && - this.Total.Equals(other.Total) + this.DocumentInformation == other.DocumentInformation || + this.DocumentInformation != null && + this.DocumentInformation.Equals(other.DocumentInformation) ) && ( - this.Embedded == other.Embedded || - this.Embedded != null && - this.Embedded.Equals(other.Embedded) + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) ); } @@ -192,20 +192,20 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Links != null) - hash = hash * 59 + this.Links.GetHashCode(); - if (this._Object != null) - hash = hash * 59 + this._Object.GetHashCode(); - if (this.Offset != null) - hash = hash * 59 + this.Offset.GetHashCode(); - if (this.Limit != null) - hash = hash * 59 + this.Limit.GetHashCode(); - if (this.Count != null) - hash = hash * 59 + this.Count.GetHashCode(); - if (this.Total != null) - hash = hash * 59 + this.Total.GetHashCode(); - if (this.Embedded != null) - hash = hash * 59 + this.Embedded.GetHashCode(); + if (this.RegistrationInformation != null) + hash = hash * 59 + this.RegistrationInformation.GetHashCode(); + if (this.IntegrationInformation != null) + hash = hash * 59 + this.IntegrationInformation.GetHashCode(); + if (this.OrganizationInformation != null) + hash = hash * 59 + this.OrganizationInformation.GetHashCode(); + if (this.ProductInformation != null) + hash = hash * 59 + this.ProductInformation.GetHashCode(); + if (this.ProductInformationSetups != null) + hash = hash * 59 + this.ProductInformationSetups.GetHashCode(); + if (this.DocumentInformation != null) + hash = hash * 59 + this.DocumentInformation.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse2002IntegrationInformation.cs b/Model/InlineResponse2002IntegrationInformation.cs new file mode 100644 index 00000000..f8ff5e41 --- /dev/null +++ b/Model/InlineResponse2002IntegrationInformation.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2002IntegrationInformation + /// + [DataContract] + public partial class InlineResponse2002IntegrationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Oauth2. + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.. + public InlineResponse2002IntegrationInformation(List Oauth2 = default(List), List TenantConfigurations = default(List)) + { + this.Oauth2 = Oauth2; + this.TenantConfigurations = TenantConfigurations; + } + + /// + /// Gets or Sets Oauth2 + /// + [DataMember(Name="oauth2", EmitDefaultValue=false)] + public List Oauth2 { get; set; } + + /// + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. + /// + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. + [DataMember(Name="tenantConfigurations", EmitDefaultValue=false)] + public List TenantConfigurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2002IntegrationInformation {\n"); + sb.Append(" Oauth2: ").Append(Oauth2).Append("\n"); + sb.Append(" TenantConfigurations: ").Append(TenantConfigurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2002IntegrationInformation); + } + + /// + /// Returns true if InlineResponse2002IntegrationInformation instances are equal + /// + /// Instance of InlineResponse2002IntegrationInformation to be compared + /// Boolean + public bool Equals(InlineResponse2002IntegrationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Oauth2 == other.Oauth2 || + this.Oauth2 != null && + this.Oauth2.SequenceEqual(other.Oauth2) + ) && + ( + this.TenantConfigurations == other.TenantConfigurations || + this.TenantConfigurations != null && + this.TenantConfigurations.SequenceEqual(other.TenantConfigurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Oauth2 != null) + hash = hash * 59 + this.Oauth2.GetHashCode(); + if (this.TenantConfigurations != null) + hash = hash * 59 + this.TenantConfigurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2002IntegrationInformationTenantConfigurations.cs b/Model/InlineResponse2002IntegrationInformationTenantConfigurations.cs new file mode 100644 index 00000000..a1c4f6b5 --- /dev/null +++ b/Model/InlineResponse2002IntegrationInformationTenantConfigurations.cs @@ -0,0 +1,235 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2002IntegrationInformationTenantConfigurations + /// + [DataContract] + public partial class InlineResponse2002IntegrationInformationTenantConfigurations : IEquatable, IValidatableObject + { + /// + /// Gets or Sets Status + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum LIVE for "LIVE" + /// + [EnumMember(Value = "LIVE")] + LIVE, + + /// + /// Enum INACTIVE for "INACTIVE" + /// + [EnumMember(Value = "INACTIVE")] + INACTIVE, + + /// + /// Enum TEST for "TEST" + /// + [EnumMember(Value = "TEST")] + TEST + } + + /// + /// Gets or Sets Status + /// + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. . + /// The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. . + /// Status. + /// Time of request in UTC.. + /// TenantInformation. + public InlineResponse2002IntegrationInformationTenantConfigurations(string SolutionId = default(string), string TenantConfigurationId = default(string), StatusEnum? Status = default(StatusEnum?), DateTime? SubmitTimeUtc = default(DateTime?), Boardingv1registrationsIntegrationInformationTenantInformation TenantInformation = default(Boardingv1registrationsIntegrationInformationTenantInformation)) + { + this.SolutionId = SolutionId; + this.TenantConfigurationId = TenantConfigurationId; + this.Status = Status; + this.SubmitTimeUtc = SubmitTimeUtc; + this.TenantInformation = TenantInformation; + } + + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. + [DataMember(Name="solutionId", EmitDefaultValue=false)] + public string SolutionId { get; set; } + + /// + /// The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. + /// + /// The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. + [DataMember(Name="tenantConfigurationId", EmitDefaultValue=false)] + public string TenantConfigurationId { get; set; } + + + /// + /// Time of request in UTC. + /// + /// Time of request in UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public DateTime? SubmitTimeUtc { get; set; } + + /// + /// Gets or Sets TenantInformation + /// + [DataMember(Name="tenantInformation", EmitDefaultValue=false)] + public Boardingv1registrationsIntegrationInformationTenantInformation TenantInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2002IntegrationInformationTenantConfigurations {\n"); + sb.Append(" SolutionId: ").Append(SolutionId).Append("\n"); + sb.Append(" TenantConfigurationId: ").Append(TenantConfigurationId).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" TenantInformation: ").Append(TenantInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2002IntegrationInformationTenantConfigurations); + } + + /// + /// Returns true if InlineResponse2002IntegrationInformationTenantConfigurations instances are equal + /// + /// Instance of InlineResponse2002IntegrationInformationTenantConfigurations to be compared + /// Boolean + public bool Equals(InlineResponse2002IntegrationInformationTenantConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SolutionId == other.SolutionId || + this.SolutionId != null && + this.SolutionId.Equals(other.SolutionId) + ) && + ( + this.TenantConfigurationId == other.TenantConfigurationId || + this.TenantConfigurationId != null && + this.TenantConfigurationId.Equals(other.TenantConfigurationId) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.TenantInformation == other.TenantInformation || + this.TenantInformation != null && + this.TenantInformation.Equals(other.TenantInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SolutionId != null) + hash = hash * 59 + this.SolutionId.GetHashCode(); + if (this.TenantConfigurationId != null) + hash = hash * 59 + this.TenantConfigurationId.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.TenantInformation != null) + hash = hash * 59 + this.TenantInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // SolutionId (string) pattern + Regex regexSolutionId = new Regex(@"^[0-9a-zA-Z_]+$", RegexOptions.CultureInvariant); + if (false == regexSolutionId.Match(this.SolutionId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SolutionId, must match a pattern of " + regexSolutionId, new [] { "SolutionId" }); + } + + // TenantConfigurationId (string) pattern + Regex regexTenantConfigurationId = new Regex(@"^[0-9a-zA-Z_]+$", RegexOptions.CultureInvariant); + if (false == regexTenantConfigurationId.Match(this.TenantConfigurationId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for TenantConfigurationId, must match a pattern of " + regexTenantConfigurationId, new [] { "TenantConfigurationId" }); + } + + yield break; + } + } + +} diff --git a/Model/InlineResponse2003.cs b/Model/InlineResponse2003.cs index 51e0ea38..1ac17d49 100644 --- a/Model/InlineResponse2003.cs +++ b/Model/InlineResponse2003.cs @@ -33,94 +33,35 @@ public partial class InlineResponse2003 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Links. - /// Unique identification number assigned to the submitted request.. - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . - /// Reference used by merchant to identify batch.. - /// BatchCaEndpoints. - /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED . - /// Totals. - /// Billing. - /// Description. - public InlineResponse2003(InlineResponse2003Links Links = default(InlineResponse2003Links), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchSource = default(string), string MerchantReference = default(string), string BatchCaEndpoints = default(string), string Status = default(string), InlineResponse2002EmbeddedTotals Totals = default(InlineResponse2002EmbeddedTotals), InlineResponse2003Billing Billing = default(InlineResponse2003Billing), string Description = default(string)) + /// Product ID.. + /// Product Name.. + /// EventTypes. + public InlineResponse2003(string ProductId = default(string), string ProductName = default(string), List EventTypes = default(List)) { - this.Links = Links; - this.BatchId = BatchId; - this.BatchCreatedDate = BatchCreatedDate; - this.BatchSource = BatchSource; - this.MerchantReference = MerchantReference; - this.BatchCaEndpoints = BatchCaEndpoints; - this.Status = Status; - this.Totals = Totals; - this.Billing = Billing; - this.Description = Description; + this.ProductId = ProductId; + this.ProductName = ProductName; + this.EventTypes = EventTypes; } /// - /// Gets or Sets Links + /// Product ID. /// - [DataMember(Name="_links", EmitDefaultValue=false)] - public InlineResponse2003Links Links { get; set; } + /// Product ID. + [DataMember(Name="productId", EmitDefaultValue=false)] + public string ProductId { get; set; } /// - /// Unique identification number assigned to the submitted request. + /// Product Name. /// - /// Unique identification number assigned to the submitted request. - [DataMember(Name="batchId", EmitDefaultValue=false)] - public string BatchId { get; set; } + /// Product Name. + [DataMember(Name="productName", EmitDefaultValue=false)] + public string ProductName { get; set; } /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// Gets or Sets EventTypes /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] - public string BatchCreatedDate { get; set; } - - /// - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - /// - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - [DataMember(Name="batchSource", EmitDefaultValue=false)] - public string BatchSource { get; set; } - - /// - /// Reference used by merchant to identify batch. - /// - /// Reference used by merchant to identify batch. - [DataMember(Name="merchantReference", EmitDefaultValue=false)] - public string MerchantReference { get; set; } - - /// - /// Gets or Sets BatchCaEndpoints - /// - [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] - public string BatchCaEndpoints { get; set; } - - /// - /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED - /// - /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } - - /// - /// Gets or Sets Totals - /// - [DataMember(Name="totals", EmitDefaultValue=false)] - public InlineResponse2002EmbeddedTotals Totals { get; set; } - - /// - /// Gets or Sets Billing - /// - [DataMember(Name="billing", EmitDefaultValue=false)] - public InlineResponse2003Billing Billing { get; set; } - - /// - /// Gets or Sets Description - /// - [DataMember(Name="description", EmitDefaultValue=false)] - public string Description { get; set; } + [DataMember(Name="eventTypes", EmitDefaultValue=false)] + public List EventTypes { get; set; } /// /// Returns the string presentation of the object @@ -130,16 +71,9 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2003 {\n"); - sb.Append(" Links: ").Append(Links).Append("\n"); - sb.Append(" BatchId: ").Append(BatchId).Append("\n"); - sb.Append(" BatchCreatedDate: ").Append(BatchCreatedDate).Append("\n"); - sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); - sb.Append(" MerchantReference: ").Append(MerchantReference).Append("\n"); - sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); - sb.Append(" Status: ").Append(Status).Append("\n"); - sb.Append(" Totals: ").Append(Totals).Append("\n"); - sb.Append(" Billing: ").Append(Billing).Append("\n"); - sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" ProductName: ").Append(ProductName).Append("\n"); + sb.Append(" EventTypes: ").Append(EventTypes).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -177,54 +111,19 @@ public bool Equals(InlineResponse2003 other) return ( - this.Links == other.Links || - this.Links != null && - this.Links.Equals(other.Links) - ) && - ( - this.BatchId == other.BatchId || - this.BatchId != null && - this.BatchId.Equals(other.BatchId) - ) && - ( - this.BatchCreatedDate == other.BatchCreatedDate || - this.BatchCreatedDate != null && - this.BatchCreatedDate.Equals(other.BatchCreatedDate) - ) && - ( - this.BatchSource == other.BatchSource || - this.BatchSource != null && - this.BatchSource.Equals(other.BatchSource) - ) && - ( - this.MerchantReference == other.MerchantReference || - this.MerchantReference != null && - this.MerchantReference.Equals(other.MerchantReference) - ) && - ( - this.BatchCaEndpoints == other.BatchCaEndpoints || - this.BatchCaEndpoints != null && - this.BatchCaEndpoints.Equals(other.BatchCaEndpoints) - ) && - ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) - ) && - ( - this.Totals == other.Totals || - this.Totals != null && - this.Totals.Equals(other.Totals) + this.ProductId == other.ProductId || + this.ProductId != null && + this.ProductId.Equals(other.ProductId) ) && ( - this.Billing == other.Billing || - this.Billing != null && - this.Billing.Equals(other.Billing) + this.ProductName == other.ProductName || + this.ProductName != null && + this.ProductName.Equals(other.ProductName) ) && ( - this.Description == other.Description || - this.Description != null && - this.Description.Equals(other.Description) + this.EventTypes == other.EventTypes || + this.EventTypes != null && + this.EventTypes.SequenceEqual(other.EventTypes) ); } @@ -239,26 +138,12 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Links != null) - hash = hash * 59 + this.Links.GetHashCode(); - if (this.BatchId != null) - hash = hash * 59 + this.BatchId.GetHashCode(); - if (this.BatchCreatedDate != null) - hash = hash * 59 + this.BatchCreatedDate.GetHashCode(); - if (this.BatchSource != null) - hash = hash * 59 + this.BatchSource.GetHashCode(); - if (this.MerchantReference != null) - hash = hash * 59 + this.MerchantReference.GetHashCode(); - if (this.BatchCaEndpoints != null) - hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.Totals != null) - hash = hash * 59 + this.Totals.GetHashCode(); - if (this.Billing != null) - hash = hash * 59 + this.Billing.GetHashCode(); - if (this.Description != null) - hash = hash * 59 + this.Description.GetHashCode(); + if (this.ProductId != null) + hash = hash * 59 + this.ProductId.GetHashCode(); + if (this.ProductName != null) + hash = hash * 59 + this.ProductName.GetHashCode(); + if (this.EventTypes != null) + hash = hash * 59 + this.EventTypes.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse2004.cs b/Model/InlineResponse2004.cs index 6db07410..cca011a8 100644 --- a/Model/InlineResponse2004.cs +++ b/Model/InlineResponse2004.cs @@ -33,94 +33,139 @@ public partial class InlineResponse2004 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Version. - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. - /// Unique identification number assigned to the submitted request.. - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . - /// BatchCaEndpoints. - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. - /// Reference used by merchant to identify batch.. - /// Totals. - /// Billing. - /// Records. - public InlineResponse2004(string Version = default(string), string ReportCreatedDate = default(string), string BatchId = default(string), string BatchSource = default(string), string BatchCaEndpoints = default(string), string BatchCreatedDate = default(string), string MerchantReference = default(string), InlineResponse2002EmbeddedTotals Totals = default(InlineResponse2002EmbeddedTotals), InlineResponse2003Billing Billing = default(InlineResponse2003Billing), List Records = default(List)) + /// Webhook Id. This is generated by the server.. + /// Organization ID.. + /// Products. + /// The client's endpoint (URL) to receive webhooks.. + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl.. + /// NotificationScope. + /// Webhook status. (default to "INACTIVE"). + /// Client friendly webhook name.. + /// Client friendly webhook description.. + /// RetryPolicy. + /// SecurityPolicy. + /// Date on which webhook was created/registered.. + /// Date on which webhook was most recently updated.. + /// Additional, free form configuration data.. + public InlineResponse2004(string WebhookId = default(string), string OrganizationId = default(string), List Products = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), Notificationsubscriptionsv1webhooksNotificationScope NotificationScope = default(Notificationsubscriptionsv1webhooksNotificationScope), string Status = "INACTIVE", string Name = default(string), string Description = default(string), Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv1webhooksRetryPolicy), Notificationsubscriptionsv1webhooksSecurityPolicy SecurityPolicy = default(Notificationsubscriptionsv1webhooksSecurityPolicy), string CreatedOn = default(string), string UpdatedOn = default(string), List> AdditionalAttributes = default(List>)) { - this.Version = Version; - this.ReportCreatedDate = ReportCreatedDate; - this.BatchId = BatchId; - this.BatchSource = BatchSource; - this.BatchCaEndpoints = BatchCaEndpoints; - this.BatchCreatedDate = BatchCreatedDate; - this.MerchantReference = MerchantReference; - this.Totals = Totals; - this.Billing = Billing; - this.Records = Records; + this.WebhookId = WebhookId; + this.OrganizationId = OrganizationId; + this.Products = Products; + this.WebhookUrl = WebhookUrl; + this.HealthCheckUrl = HealthCheckUrl; + this.NotificationScope = NotificationScope; + // use default value if no "Status" provided + if (Status == null) + { + this.Status = "INACTIVE"; + } + else + { + this.Status = Status; + } + this.Name = Name; + this.Description = Description; + this.RetryPolicy = RetryPolicy; + this.SecurityPolicy = SecurityPolicy; + this.CreatedOn = CreatedOn; + this.UpdatedOn = UpdatedOn; + this.AdditionalAttributes = AdditionalAttributes; } /// - /// Gets or Sets Version + /// Webhook Id. This is generated by the server. + /// + /// Webhook Id. This is generated by the server. + [DataMember(Name="webhookId", EmitDefaultValue=false)] + public string WebhookId { get; set; } + + /// + /// Organization ID. + /// + /// Organization ID. + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// Gets or Sets Products + /// + [DataMember(Name="products", EmitDefaultValue=false)] + public List Products { get; set; } + + /// + /// The client's endpoint (URL) to receive webhooks. + /// + /// The client's endpoint (URL) to receive webhooks. + [DataMember(Name="webhookUrl", EmitDefaultValue=false)] + public string WebhookUrl { get; set; } + + /// + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. /// - [DataMember(Name="version", EmitDefaultValue=false)] - public string Version { get; set; } + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. + [DataMember(Name="healthCheckUrl", EmitDefaultValue=false)] + public string HealthCheckUrl { get; set; } /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// Gets or Sets NotificationScope /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - [DataMember(Name="reportCreatedDate", EmitDefaultValue=false)] - public string ReportCreatedDate { get; set; } + [DataMember(Name="notificationScope", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksNotificationScope NotificationScope { get; set; } /// - /// Unique identification number assigned to the submitted request. + /// Webhook status. /// - /// Unique identification number assigned to the submitted request. - [DataMember(Name="batchId", EmitDefaultValue=false)] - public string BatchId { get; set; } + /// Webhook status. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } /// - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + /// Client friendly webhook name. /// - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - [DataMember(Name="batchSource", EmitDefaultValue=false)] - public string BatchSource { get; set; } + /// Client friendly webhook name. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } /// - /// Gets or Sets BatchCaEndpoints + /// Client friendly webhook description. /// - [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] - public string BatchCaEndpoints { get; set; } + /// Client friendly webhook description. + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// Gets or Sets RetryPolicy /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] - public string BatchCreatedDate { get; set; } + [DataMember(Name="retryPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy { get; set; } /// - /// Reference used by merchant to identify batch. + /// Gets or Sets SecurityPolicy /// - /// Reference used by merchant to identify batch. - [DataMember(Name="merchantReference", EmitDefaultValue=false)] - public string MerchantReference { get; set; } + [DataMember(Name="securityPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksSecurityPolicy SecurityPolicy { get; set; } /// - /// Gets or Sets Totals + /// Date on which webhook was created/registered. /// - [DataMember(Name="totals", EmitDefaultValue=false)] - public InlineResponse2002EmbeddedTotals Totals { get; set; } + /// Date on which webhook was created/registered. + [DataMember(Name="createdOn", EmitDefaultValue=false)] + public string CreatedOn { get; set; } /// - /// Gets or Sets Billing + /// Date on which webhook was most recently updated. /// - [DataMember(Name="billing", EmitDefaultValue=false)] - public InlineResponse2003Billing Billing { get; set; } + /// Date on which webhook was most recently updated. + [DataMember(Name="updatedOn", EmitDefaultValue=false)] + public string UpdatedOn { get; set; } /// - /// Gets or Sets Records + /// Additional, free form configuration data. /// - [DataMember(Name="records", EmitDefaultValue=false)] - public List Records { get; set; } + /// Additional, free form configuration data. + [DataMember(Name="additionalAttributes", EmitDefaultValue=false)] + public List> AdditionalAttributes { get; set; } /// /// Returns the string presentation of the object @@ -130,16 +175,20 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2004 {\n"); - sb.Append(" Version: ").Append(Version).Append("\n"); - sb.Append(" ReportCreatedDate: ").Append(ReportCreatedDate).Append("\n"); - sb.Append(" BatchId: ").Append(BatchId).Append("\n"); - sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); - sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); - sb.Append(" BatchCreatedDate: ").Append(BatchCreatedDate).Append("\n"); - sb.Append(" MerchantReference: ").Append(MerchantReference).Append("\n"); - sb.Append(" Totals: ").Append(Totals).Append("\n"); - sb.Append(" Billing: ").Append(Billing).Append("\n"); - sb.Append(" Records: ").Append(Records).Append("\n"); + sb.Append(" WebhookId: ").Append(WebhookId).Append("\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" Products: ").Append(Products).Append("\n"); + sb.Append(" WebhookUrl: ").Append(WebhookUrl).Append("\n"); + sb.Append(" HealthCheckUrl: ").Append(HealthCheckUrl).Append("\n"); + sb.Append(" NotificationScope: ").Append(NotificationScope).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" RetryPolicy: ").Append(RetryPolicy).Append("\n"); + sb.Append(" SecurityPolicy: ").Append(SecurityPolicy).Append("\n"); + sb.Append(" CreatedOn: ").Append(CreatedOn).Append("\n"); + sb.Append(" UpdatedOn: ").Append(UpdatedOn).Append("\n"); + sb.Append(" AdditionalAttributes: ").Append(AdditionalAttributes).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -177,54 +226,74 @@ public bool Equals(InlineResponse2004 other) return ( - this.Version == other.Version || - this.Version != null && - this.Version.Equals(other.Version) + this.WebhookId == other.WebhookId || + this.WebhookId != null && + this.WebhookId.Equals(other.WebhookId) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.Products == other.Products || + this.Products != null && + this.Products.SequenceEqual(other.Products) + ) && + ( + this.WebhookUrl == other.WebhookUrl || + this.WebhookUrl != null && + this.WebhookUrl.Equals(other.WebhookUrl) + ) && + ( + this.HealthCheckUrl == other.HealthCheckUrl || + this.HealthCheckUrl != null && + this.HealthCheckUrl.Equals(other.HealthCheckUrl) ) && ( - this.ReportCreatedDate == other.ReportCreatedDate || - this.ReportCreatedDate != null && - this.ReportCreatedDate.Equals(other.ReportCreatedDate) + this.NotificationScope == other.NotificationScope || + this.NotificationScope != null && + this.NotificationScope.Equals(other.NotificationScope) ) && ( - this.BatchId == other.BatchId || - this.BatchId != null && - this.BatchId.Equals(other.BatchId) + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) ) && ( - this.BatchSource == other.BatchSource || - this.BatchSource != null && - this.BatchSource.Equals(other.BatchSource) + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) ) && ( - this.BatchCaEndpoints == other.BatchCaEndpoints || - this.BatchCaEndpoints != null && - this.BatchCaEndpoints.Equals(other.BatchCaEndpoints) + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) ) && ( - this.BatchCreatedDate == other.BatchCreatedDate || - this.BatchCreatedDate != null && - this.BatchCreatedDate.Equals(other.BatchCreatedDate) + this.RetryPolicy == other.RetryPolicy || + this.RetryPolicy != null && + this.RetryPolicy.Equals(other.RetryPolicy) ) && ( - this.MerchantReference == other.MerchantReference || - this.MerchantReference != null && - this.MerchantReference.Equals(other.MerchantReference) + this.SecurityPolicy == other.SecurityPolicy || + this.SecurityPolicy != null && + this.SecurityPolicy.Equals(other.SecurityPolicy) ) && ( - this.Totals == other.Totals || - this.Totals != null && - this.Totals.Equals(other.Totals) + this.CreatedOn == other.CreatedOn || + this.CreatedOn != null && + this.CreatedOn.Equals(other.CreatedOn) ) && ( - this.Billing == other.Billing || - this.Billing != null && - this.Billing.Equals(other.Billing) + this.UpdatedOn == other.UpdatedOn || + this.UpdatedOn != null && + this.UpdatedOn.Equals(other.UpdatedOn) ) && ( - this.Records == other.Records || - this.Records != null && - this.Records.SequenceEqual(other.Records) + this.AdditionalAttributes == other.AdditionalAttributes || + this.AdditionalAttributes != null && + this.AdditionalAttributes.SequenceEqual(other.AdditionalAttributes) ); } @@ -239,26 +308,34 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Version != null) - hash = hash * 59 + this.Version.GetHashCode(); - if (this.ReportCreatedDate != null) - hash = hash * 59 + this.ReportCreatedDate.GetHashCode(); - if (this.BatchId != null) - hash = hash * 59 + this.BatchId.GetHashCode(); - if (this.BatchSource != null) - hash = hash * 59 + this.BatchSource.GetHashCode(); - if (this.BatchCaEndpoints != null) - hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); - if (this.BatchCreatedDate != null) - hash = hash * 59 + this.BatchCreatedDate.GetHashCode(); - if (this.MerchantReference != null) - hash = hash * 59 + this.MerchantReference.GetHashCode(); - if (this.Totals != null) - hash = hash * 59 + this.Totals.GetHashCode(); - if (this.Billing != null) - hash = hash * 59 + this.Billing.GetHashCode(); - if (this.Records != null) - hash = hash * 59 + this.Records.GetHashCode(); + if (this.WebhookId != null) + hash = hash * 59 + this.WebhookId.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.Products != null) + hash = hash * 59 + this.Products.GetHashCode(); + if (this.WebhookUrl != null) + hash = hash * 59 + this.WebhookUrl.GetHashCode(); + if (this.HealthCheckUrl != null) + hash = hash * 59 + this.HealthCheckUrl.GetHashCode(); + if (this.NotificationScope != null) + hash = hash * 59 + this.NotificationScope.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); + if (this.RetryPolicy != null) + hash = hash * 59 + this.RetryPolicy.GetHashCode(); + if (this.SecurityPolicy != null) + hash = hash * 59 + this.SecurityPolicy.GetHashCode(); + if (this.CreatedOn != null) + hash = hash * 59 + this.CreatedOn.GetHashCode(); + if (this.UpdatedOn != null) + hash = hash * 59 + this.UpdatedOn.GetHashCode(); + if (this.AdditionalAttributes != null) + hash = hash * 59 + this.AdditionalAttributes.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse2005.cs b/Model/InlineResponse2005.cs new file mode 100644 index 00000000..feeab326 --- /dev/null +++ b/Model/InlineResponse2005.cs @@ -0,0 +1,224 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2005 + /// + [DataContract] + public partial class InlineResponse2005 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + /// _Object. + /// Offset. + /// Limit. + /// Count. + /// Total. + /// Embedded. + public InlineResponse2005(List Links = default(List), string _Object = default(string), int? Offset = default(int?), int? Limit = default(int?), int? Count = default(int?), int? Total = default(int?), InlineResponse2005Embedded Embedded = default(InlineResponse2005Embedded)) + { + this.Links = Links; + this._Object = _Object; + this.Offset = Offset; + this.Limit = Limit; + this.Count = Count; + this.Total = Total; + this.Embedded = Embedded; + } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public List Links { get; set; } + + /// + /// Gets or Sets _Object + /// + [DataMember(Name="object", EmitDefaultValue=false)] + public string _Object { get; set; } + + /// + /// Gets or Sets Offset + /// + [DataMember(Name="offset", EmitDefaultValue=false)] + public int? Offset { get; set; } + + /// + /// Gets or Sets Limit + /// + [DataMember(Name="limit", EmitDefaultValue=false)] + public int? Limit { get; set; } + + /// + /// Gets or Sets Count + /// + [DataMember(Name="count", EmitDefaultValue=false)] + public int? Count { get; set; } + + /// + /// Gets or Sets Total + /// + [DataMember(Name="total", EmitDefaultValue=false)] + public int? Total { get; set; } + + /// + /// Gets or Sets Embedded + /// + [DataMember(Name="_embedded", EmitDefaultValue=false)] + public InlineResponse2005Embedded Embedded { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2005 {\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" _Object: ").Append(_Object).Append("\n"); + sb.Append(" Offset: ").Append(Offset).Append("\n"); + sb.Append(" Limit: ").Append(Limit).Append("\n"); + sb.Append(" Count: ").Append(Count).Append("\n"); + sb.Append(" Total: ").Append(Total).Append("\n"); + sb.Append(" Embedded: ").Append(Embedded).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2005); + } + + /// + /// Returns true if InlineResponse2005 instances are equal + /// + /// Instance of InlineResponse2005 to be compared + /// Boolean + public bool Equals(InlineResponse2005 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Links == other.Links || + this.Links != null && + this.Links.SequenceEqual(other.Links) + ) && + ( + this._Object == other._Object || + this._Object != null && + this._Object.Equals(other._Object) + ) && + ( + this.Offset == other.Offset || + this.Offset != null && + this.Offset.Equals(other.Offset) + ) && + ( + this.Limit == other.Limit || + this.Limit != null && + this.Limit.Equals(other.Limit) + ) && + ( + this.Count == other.Count || + this.Count != null && + this.Count.Equals(other.Count) + ) && + ( + this.Total == other.Total || + this.Total != null && + this.Total.Equals(other.Total) + ) && + ( + this.Embedded == other.Embedded || + this.Embedded != null && + this.Embedded.Equals(other.Embedded) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Links != null) + hash = hash * 59 + this.Links.GetHashCode(); + if (this._Object != null) + hash = hash * 59 + this._Object.GetHashCode(); + if (this.Offset != null) + hash = hash * 59 + this.Offset.GetHashCode(); + if (this.Limit != null) + hash = hash * 59 + this.Limit.GetHashCode(); + if (this.Count != null) + hash = hash * 59 + this.Count.GetHashCode(); + if (this.Total != null) + hash = hash * 59 + this.Total.GetHashCode(); + if (this.Embedded != null) + hash = hash * 59 + this.Embedded.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2002Embedded.cs b/Model/InlineResponse2005Embedded.cs similarity index 84% rename from Model/InlineResponse2002Embedded.cs rename to Model/InlineResponse2005Embedded.cs index 33995901..962ba89e 100644 --- a/Model/InlineResponse2002Embedded.cs +++ b/Model/InlineResponse2005Embedded.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// InlineResponse2002Embedded + /// InlineResponse2005Embedded /// [DataContract] - public partial class InlineResponse2002Embedded : IEquatable, IValidatableObject + public partial class InlineResponse2005Embedded : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Batches. - public InlineResponse2002Embedded(List Batches = default(List)) + public InlineResponse2005Embedded(List Batches = default(List)) { this.Batches = Batches; } @@ -43,7 +43,7 @@ public partial class InlineResponse2002Embedded : IEquatable [DataMember(Name="batches", EmitDefaultValue=false)] - public List Batches { get; set; } + public List Batches { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class InlineResponse2002Embedded : IEquatable - /// Returns true if InlineResponse2002Embedded instances are equal + /// Returns true if InlineResponse2005Embedded instances are equal /// - /// Instance of InlineResponse2002Embedded to be compared + /// Instance of InlineResponse2005Embedded to be compared /// Boolean - public bool Equals(InlineResponse2002Embedded other) + public bool Equals(InlineResponse2005Embedded other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2002EmbeddedBatches.cs b/Model/InlineResponse2005EmbeddedBatches.cs similarity index 93% rename from Model/InlineResponse2002EmbeddedBatches.cs rename to Model/InlineResponse2005EmbeddedBatches.cs index b1039294..a1c0b281 100644 --- a/Model/InlineResponse2002EmbeddedBatches.cs +++ b/Model/InlineResponse2005EmbeddedBatches.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse2002EmbeddedBatches + /// InlineResponse2005EmbeddedBatches /// [DataContract] - public partial class InlineResponse2002EmbeddedBatches : IEquatable, IValidatableObject + public partial class InlineResponse2005EmbeddedBatches : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Links. /// Unique identification number assigned to the submitted request.. @@ -43,7 +43,7 @@ public partial class InlineResponse2002EmbeddedBatches : IEquatableValid Values: * VISA * MASTERCARD * AMEX . /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE . /// Totals. - public InlineResponse2002EmbeddedBatches(InlineResponse2002EmbeddedLinks Links = default(InlineResponse2002EmbeddedLinks), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchModifiedDate = default(string), string BatchSource = default(string), string TokenSource = default(string), string MerchantReference = default(string), List BatchCaEndpoints = default(List), string Status = default(string), InlineResponse2002EmbeddedTotals Totals = default(InlineResponse2002EmbeddedTotals)) + public InlineResponse2005EmbeddedBatches(InlineResponse2005EmbeddedLinks Links = default(InlineResponse2005EmbeddedLinks), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchModifiedDate = default(string), string BatchSource = default(string), string TokenSource = default(string), string MerchantReference = default(string), List BatchCaEndpoints = default(List), string Status = default(string), InlineResponse2005EmbeddedTotals Totals = default(InlineResponse2005EmbeddedTotals)) { this.Links = Links; this.BatchId = BatchId; @@ -61,7 +61,7 @@ public partial class InlineResponse2002EmbeddedBatches : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public InlineResponse2002EmbeddedLinks Links { get; set; } + public InlineResponse2005EmbeddedLinks Links { get; set; } /// /// Unique identification number assigned to the submitted request. @@ -123,7 +123,7 @@ public partial class InlineResponse2002EmbeddedBatches : IEquatable [DataMember(Name="totals", EmitDefaultValue=false)] - public InlineResponse2002EmbeddedTotals Totals { get; set; } + public InlineResponse2005EmbeddedTotals Totals { get; set; } /// /// Returns the string presentation of the object @@ -132,7 +132,7 @@ public partial class InlineResponse2002EmbeddedBatches : IEquatable - /// Returns true if InlineResponse2002EmbeddedBatches instances are equal + /// Returns true if InlineResponse2005EmbeddedBatches instances are equal /// - /// Instance of InlineResponse2002EmbeddedBatches to be compared + /// Instance of InlineResponse2005EmbeddedBatches to be compared /// Boolean - public bool Equals(InlineResponse2002EmbeddedBatches other) + public bool Equals(InlineResponse2005EmbeddedBatches other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2002EmbeddedLinks.cs b/Model/InlineResponse2005EmbeddedLinks.cs similarity index 83% rename from Model/InlineResponse2002EmbeddedLinks.cs rename to Model/InlineResponse2005EmbeddedLinks.cs index 3bc92303..de2fed03 100644 --- a/Model/InlineResponse2002EmbeddedLinks.cs +++ b/Model/InlineResponse2005EmbeddedLinks.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// InlineResponse2002EmbeddedLinks + /// InlineResponse2005EmbeddedLinks /// [DataContract] - public partial class InlineResponse2002EmbeddedLinks : IEquatable, IValidatableObject + public partial class InlineResponse2005EmbeddedLinks : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Reports. - public InlineResponse2002EmbeddedLinks(List Reports = default(List)) + public InlineResponse2005EmbeddedLinks(List Reports = default(List)) { this.Reports = Reports; } @@ -43,7 +43,7 @@ public partial class InlineResponse2002EmbeddedLinks : IEquatable [DataMember(Name="reports", EmitDefaultValue=false)] - public List Reports { get; set; } + public List Reports { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class InlineResponse2002EmbeddedLinks : IEquatable - /// Returns true if InlineResponse2002EmbeddedLinks instances are equal + /// Returns true if InlineResponse2005EmbeddedLinks instances are equal /// - /// Instance of InlineResponse2002EmbeddedLinks to be compared + /// Instance of InlineResponse2005EmbeddedLinks to be compared /// Boolean - public bool Equals(InlineResponse2002EmbeddedLinks other) + public bool Equals(InlineResponse2005EmbeddedLinks other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2002EmbeddedLinksReports.cs b/Model/InlineResponse2005EmbeddedLinksReports.cs similarity index 87% rename from Model/InlineResponse2002EmbeddedLinksReports.cs rename to Model/InlineResponse2005EmbeddedLinksReports.cs index 041ec3d4..7b1c570a 100644 --- a/Model/InlineResponse2002EmbeddedLinksReports.cs +++ b/Model/InlineResponse2005EmbeddedLinksReports.cs @@ -28,13 +28,13 @@ namespace CyberSource.Model /// Retrieve the generated report of a batch when available. /// [DataContract] - public partial class InlineResponse2002EmbeddedLinksReports : IEquatable, IValidatableObject + public partial class InlineResponse2005EmbeddedLinksReports : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Href. - public InlineResponse2002EmbeddedLinksReports(string Href = default(string)) + public InlineResponse2005EmbeddedLinksReports(string Href = default(string)) { this.Href = Href; } @@ -52,7 +52,7 @@ public partial class InlineResponse2002EmbeddedLinksReports : IEquatable - /// Returns true if InlineResponse2002EmbeddedLinksReports instances are equal + /// Returns true if InlineResponse2005EmbeddedLinksReports instances are equal /// - /// Instance of InlineResponse2002EmbeddedLinksReports to be compared + /// Instance of InlineResponse2005EmbeddedLinksReports to be compared /// Boolean - public bool Equals(InlineResponse2002EmbeddedLinksReports other) + public bool Equals(InlineResponse2005EmbeddedLinksReports other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2002EmbeddedTotals.cs b/Model/InlineResponse2005EmbeddedTotals.cs similarity index 92% rename from Model/InlineResponse2002EmbeddedTotals.cs rename to Model/InlineResponse2005EmbeddedTotals.cs index 9b02ebf8..52c730de 100644 --- a/Model/InlineResponse2002EmbeddedTotals.cs +++ b/Model/InlineResponse2005EmbeddedTotals.cs @@ -25,20 +25,20 @@ namespace CyberSource.Model { /// - /// InlineResponse2002EmbeddedTotals + /// InlineResponse2005EmbeddedTotals /// [DataContract] - public partial class InlineResponse2002EmbeddedTotals : IEquatable, IValidatableObject + public partial class InlineResponse2005EmbeddedTotals : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// AcceptedRecords. /// RejectedRecords. /// UpdatedRecords. /// CaResponses. /// CaResponsesOmitted. - public InlineResponse2002EmbeddedTotals(int? AcceptedRecords = default(int?), int? RejectedRecords = default(int?), int? UpdatedRecords = default(int?), int? CaResponses = default(int?), int? CaResponsesOmitted = default(int?)) + public InlineResponse2005EmbeddedTotals(int? AcceptedRecords = default(int?), int? RejectedRecords = default(int?), int? UpdatedRecords = default(int?), int? CaResponses = default(int?), int? CaResponsesOmitted = default(int?)) { this.AcceptedRecords = AcceptedRecords; this.RejectedRecords = RejectedRecords; @@ -84,7 +84,7 @@ public partial class InlineResponse2002EmbeddedTotals : IEquatable - /// Returns true if InlineResponse2002EmbeddedTotals instances are equal + /// Returns true if InlineResponse2005EmbeddedTotals instances are equal /// - /// Instance of InlineResponse2002EmbeddedTotals to be compared + /// Instance of InlineResponse2005EmbeddedTotals to be compared /// Boolean - public bool Equals(InlineResponse2002EmbeddedTotals other) + public bool Equals(InlineResponse2005EmbeddedTotals other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2002Links.cs b/Model/InlineResponse2005Links.cs similarity index 89% rename from Model/InlineResponse2002Links.cs rename to Model/InlineResponse2005Links.cs index 3e05ef7d..b823b47f 100644 --- a/Model/InlineResponse2002Links.cs +++ b/Model/InlineResponse2005Links.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// InlineResponse2002Links + /// InlineResponse2005Links /// [DataContract] - public partial class InlineResponse2002Links : IEquatable, IValidatableObject + public partial class InlineResponse2005Links : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Valid Values: * self * first * last * prev * next . /// Href. - public InlineResponse2002Links(string Rel = default(string), string Href = default(string)) + public InlineResponse2005Links(string Rel = default(string), string Href = default(string)) { this.Rel = Rel; this.Href = Href; @@ -61,7 +61,7 @@ public partial class InlineResponse2002Links : IEquatable - /// Returns true if InlineResponse2002Links instances are equal + /// Returns true if InlineResponse2005Links instances are equal /// - /// Instance of InlineResponse2002Links to be compared + /// Instance of InlineResponse2005Links to be compared /// Boolean - public bool Equals(InlineResponse2002Links other) + public bool Equals(InlineResponse2005Links other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2006.cs b/Model/InlineResponse2006.cs new file mode 100644 index 00000000..a9f5c301 --- /dev/null +++ b/Model/InlineResponse2006.cs @@ -0,0 +1,277 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2006 + /// + [DataContract] + public partial class InlineResponse2006 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + /// Unique identification number assigned to the submitted request.. + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . + /// Reference used by merchant to identify batch.. + /// BatchCaEndpoints. + /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED . + /// Totals. + /// Billing. + /// Description. + public InlineResponse2006(InlineResponse2006Links Links = default(InlineResponse2006Links), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchSource = default(string), string MerchantReference = default(string), string BatchCaEndpoints = default(string), string Status = default(string), InlineResponse2005EmbeddedTotals Totals = default(InlineResponse2005EmbeddedTotals), InlineResponse2006Billing Billing = default(InlineResponse2006Billing), string Description = default(string)) + { + this.Links = Links; + this.BatchId = BatchId; + this.BatchCreatedDate = BatchCreatedDate; + this.BatchSource = BatchSource; + this.MerchantReference = MerchantReference; + this.BatchCaEndpoints = BatchCaEndpoints; + this.Status = Status; + this.Totals = Totals; + this.Billing = Billing; + this.Description = Description; + } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public InlineResponse2006Links Links { get; set; } + + /// + /// Unique identification number assigned to the submitted request. + /// + /// Unique identification number assigned to the submitted request. + [DataMember(Name="batchId", EmitDefaultValue=false)] + public string BatchId { get; set; } + + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] + public string BatchCreatedDate { get; set; } + + /// + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + /// + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + [DataMember(Name="batchSource", EmitDefaultValue=false)] + public string BatchSource { get; set; } + + /// + /// Reference used by merchant to identify batch. + /// + /// Reference used by merchant to identify batch. + [DataMember(Name="merchantReference", EmitDefaultValue=false)] + public string MerchantReference { get; set; } + + /// + /// Gets or Sets BatchCaEndpoints + /// + [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] + public string BatchCaEndpoints { get; set; } + + /// + /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + /// + /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Gets or Sets Totals + /// + [DataMember(Name="totals", EmitDefaultValue=false)] + public InlineResponse2005EmbeddedTotals Totals { get; set; } + + /// + /// Gets or Sets Billing + /// + [DataMember(Name="billing", EmitDefaultValue=false)] + public InlineResponse2006Billing Billing { get; set; } + + /// + /// Gets or Sets Description + /// + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2006 {\n"); + sb.Append(" Links: ").Append(Links).Append("\n"); + sb.Append(" BatchId: ").Append(BatchId).Append("\n"); + sb.Append(" BatchCreatedDate: ").Append(BatchCreatedDate).Append("\n"); + sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); + sb.Append(" MerchantReference: ").Append(MerchantReference).Append("\n"); + sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Totals: ").Append(Totals).Append("\n"); + sb.Append(" Billing: ").Append(Billing).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2006); + } + + /// + /// Returns true if InlineResponse2006 instances are equal + /// + /// Instance of InlineResponse2006 to be compared + /// Boolean + public bool Equals(InlineResponse2006 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ) && + ( + this.BatchId == other.BatchId || + this.BatchId != null && + this.BatchId.Equals(other.BatchId) + ) && + ( + this.BatchCreatedDate == other.BatchCreatedDate || + this.BatchCreatedDate != null && + this.BatchCreatedDate.Equals(other.BatchCreatedDate) + ) && + ( + this.BatchSource == other.BatchSource || + this.BatchSource != null && + this.BatchSource.Equals(other.BatchSource) + ) && + ( + this.MerchantReference == other.MerchantReference || + this.MerchantReference != null && + this.MerchantReference.Equals(other.MerchantReference) + ) && + ( + this.BatchCaEndpoints == other.BatchCaEndpoints || + this.BatchCaEndpoints != null && + this.BatchCaEndpoints.Equals(other.BatchCaEndpoints) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Totals == other.Totals || + this.Totals != null && + this.Totals.Equals(other.Totals) + ) && + ( + this.Billing == other.Billing || + this.Billing != null && + this.Billing.Equals(other.Billing) + ) && + ( + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Links != null) + hash = hash * 59 + this.Links.GetHashCode(); + if (this.BatchId != null) + hash = hash * 59 + this.BatchId.GetHashCode(); + if (this.BatchCreatedDate != null) + hash = hash * 59 + this.BatchCreatedDate.GetHashCode(); + if (this.BatchSource != null) + hash = hash * 59 + this.BatchSource.GetHashCode(); + if (this.MerchantReference != null) + hash = hash * 59 + this.MerchantReference.GetHashCode(); + if (this.BatchCaEndpoints != null) + hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Totals != null) + hash = hash * 59 + this.Totals.GetHashCode(); + if (this.Billing != null) + hash = hash * 59 + this.Billing.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2003Billing.cs b/Model/InlineResponse2006Billing.cs similarity index 90% rename from Model/InlineResponse2003Billing.cs rename to Model/InlineResponse2006Billing.cs index 4fe53b9e..7cf21f6d 100644 --- a/Model/InlineResponse2003Billing.cs +++ b/Model/InlineResponse2006Billing.cs @@ -25,19 +25,19 @@ namespace CyberSource.Model { /// - /// InlineResponse2003Billing + /// InlineResponse2006Billing /// [DataContract] - public partial class InlineResponse2003Billing : IEquatable, IValidatableObject + public partial class InlineResponse2006Billing : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Nan. /// Ned. /// Acl. /// Cch. - public InlineResponse2003Billing(int? Nan = default(int?), int? Ned = default(int?), int? Acl = default(int?), int? Cch = default(int?)) + public InlineResponse2006Billing(int? Nan = default(int?), int? Ned = default(int?), int? Acl = default(int?), int? Cch = default(int?)) { this.Nan = Nan; this.Ned = Ned; @@ -76,7 +76,7 @@ public partial class InlineResponse2003Billing : IEquatable - /// Returns true if InlineResponse2003Billing instances are equal + /// Returns true if InlineResponse2006Billing instances are equal /// - /// Instance of InlineResponse2003Billing to be compared + /// Instance of InlineResponse2006Billing to be compared /// Boolean - public bool Equals(InlineResponse2003Billing other) + public bool Equals(InlineResponse2006Billing other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2003Links.cs b/Model/InlineResponse2006Links.cs similarity index 86% rename from Model/InlineResponse2003Links.cs rename to Model/InlineResponse2006Links.cs index fe6ef6ba..7997acc8 100644 --- a/Model/InlineResponse2003Links.cs +++ b/Model/InlineResponse2006Links.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// InlineResponse2003Links + /// InlineResponse2006Links /// [DataContract] - public partial class InlineResponse2003Links : IEquatable, IValidatableObject + public partial class InlineResponse2006Links : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Self. /// Report. - public InlineResponse2003Links(InlineResponse202LinksStatus Self = default(InlineResponse202LinksStatus), List Report = default(List)) + public InlineResponse2006Links(InlineResponse202LinksStatus Self = default(InlineResponse202LinksStatus), List Report = default(List)) { this.Self = Self; this.Report = Report; @@ -51,7 +51,7 @@ public partial class InlineResponse2003Links : IEquatable [DataMember(Name="report", EmitDefaultValue=false)] - public List Report { get; set; } + public List Report { get; set; } /// /// Returns the string presentation of the object @@ -60,7 +60,7 @@ public partial class InlineResponse2003Links : IEquatable - /// Returns true if InlineResponse2003Links instances are equal + /// Returns true if InlineResponse2006Links instances are equal /// - /// Instance of InlineResponse2003Links to be compared + /// Instance of InlineResponse2006Links to be compared /// Boolean - public bool Equals(InlineResponse2003Links other) + public bool Equals(InlineResponse2006Links other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2003LinksReport.cs b/Model/InlineResponse2006LinksReport.cs similarity index 86% rename from Model/InlineResponse2003LinksReport.cs rename to Model/InlineResponse2006LinksReport.cs index 94ab281e..ecc082c2 100644 --- a/Model/InlineResponse2003LinksReport.cs +++ b/Model/InlineResponse2006LinksReport.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// InlineResponse2003LinksReport + /// InlineResponse2006LinksReport /// [DataContract] - public partial class InlineResponse2003LinksReport : IEquatable, IValidatableObject + public partial class InlineResponse2006LinksReport : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Href. - public InlineResponse2003LinksReport(string Href = default(string)) + public InlineResponse2006LinksReport(string Href = default(string)) { this.Href = Href; } @@ -52,7 +52,7 @@ public partial class InlineResponse2003LinksReport : IEquatable - /// Returns true if InlineResponse2003LinksReport instances are equal + /// Returns true if InlineResponse2006LinksReport instances are equal /// - /// Instance of InlineResponse2003LinksReport to be compared + /// Instance of InlineResponse2006LinksReport to be compared /// Boolean - public bool Equals(InlineResponse2003LinksReport other) + public bool Equals(InlineResponse2006LinksReport other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2007.cs b/Model/InlineResponse2007.cs new file mode 100644 index 00000000..3bd73264 --- /dev/null +++ b/Model/InlineResponse2007.cs @@ -0,0 +1,277 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2007 + /// + [DataContract] + public partial class InlineResponse2007 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Version. + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. + /// Unique identification number assigned to the submitted request.. + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . + /// BatchCaEndpoints. + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. + /// Reference used by merchant to identify batch.. + /// Totals. + /// Billing. + /// Records. + public InlineResponse2007(string Version = default(string), string ReportCreatedDate = default(string), string BatchId = default(string), string BatchSource = default(string), string BatchCaEndpoints = default(string), string BatchCreatedDate = default(string), string MerchantReference = default(string), InlineResponse2005EmbeddedTotals Totals = default(InlineResponse2005EmbeddedTotals), InlineResponse2006Billing Billing = default(InlineResponse2006Billing), List Records = default(List)) + { + this.Version = Version; + this.ReportCreatedDate = ReportCreatedDate; + this.BatchId = BatchId; + this.BatchSource = BatchSource; + this.BatchCaEndpoints = BatchCaEndpoints; + this.BatchCreatedDate = BatchCreatedDate; + this.MerchantReference = MerchantReference; + this.Totals = Totals; + this.Billing = Billing; + this.Records = Records; + } + + /// + /// Gets or Sets Version + /// + [DataMember(Name="version", EmitDefaultValue=false)] + public string Version { get; set; } + + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + [DataMember(Name="reportCreatedDate", EmitDefaultValue=false)] + public string ReportCreatedDate { get; set; } + + /// + /// Unique identification number assigned to the submitted request. + /// + /// Unique identification number assigned to the submitted request. + [DataMember(Name="batchId", EmitDefaultValue=false)] + public string BatchId { get; set; } + + /// + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + /// + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + [DataMember(Name="batchSource", EmitDefaultValue=false)] + public string BatchSource { get; set; } + + /// + /// Gets or Sets BatchCaEndpoints + /// + [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] + public string BatchCaEndpoints { get; set; } + + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] + public string BatchCreatedDate { get; set; } + + /// + /// Reference used by merchant to identify batch. + /// + /// Reference used by merchant to identify batch. + [DataMember(Name="merchantReference", EmitDefaultValue=false)] + public string MerchantReference { get; set; } + + /// + /// Gets or Sets Totals + /// + [DataMember(Name="totals", EmitDefaultValue=false)] + public InlineResponse2005EmbeddedTotals Totals { get; set; } + + /// + /// Gets or Sets Billing + /// + [DataMember(Name="billing", EmitDefaultValue=false)] + public InlineResponse2006Billing Billing { get; set; } + + /// + /// Gets or Sets Records + /// + [DataMember(Name="records", EmitDefaultValue=false)] + public List Records { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2007 {\n"); + sb.Append(" Version: ").Append(Version).Append("\n"); + sb.Append(" ReportCreatedDate: ").Append(ReportCreatedDate).Append("\n"); + sb.Append(" BatchId: ").Append(BatchId).Append("\n"); + sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); + sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); + sb.Append(" BatchCreatedDate: ").Append(BatchCreatedDate).Append("\n"); + sb.Append(" MerchantReference: ").Append(MerchantReference).Append("\n"); + sb.Append(" Totals: ").Append(Totals).Append("\n"); + sb.Append(" Billing: ").Append(Billing).Append("\n"); + sb.Append(" Records: ").Append(Records).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2007); + } + + /// + /// Returns true if InlineResponse2007 instances are equal + /// + /// Instance of InlineResponse2007 to be compared + /// Boolean + public bool Equals(InlineResponse2007 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Version == other.Version || + this.Version != null && + this.Version.Equals(other.Version) + ) && + ( + this.ReportCreatedDate == other.ReportCreatedDate || + this.ReportCreatedDate != null && + this.ReportCreatedDate.Equals(other.ReportCreatedDate) + ) && + ( + this.BatchId == other.BatchId || + this.BatchId != null && + this.BatchId.Equals(other.BatchId) + ) && + ( + this.BatchSource == other.BatchSource || + this.BatchSource != null && + this.BatchSource.Equals(other.BatchSource) + ) && + ( + this.BatchCaEndpoints == other.BatchCaEndpoints || + this.BatchCaEndpoints != null && + this.BatchCaEndpoints.Equals(other.BatchCaEndpoints) + ) && + ( + this.BatchCreatedDate == other.BatchCreatedDate || + this.BatchCreatedDate != null && + this.BatchCreatedDate.Equals(other.BatchCreatedDate) + ) && + ( + this.MerchantReference == other.MerchantReference || + this.MerchantReference != null && + this.MerchantReference.Equals(other.MerchantReference) + ) && + ( + this.Totals == other.Totals || + this.Totals != null && + this.Totals.Equals(other.Totals) + ) && + ( + this.Billing == other.Billing || + this.Billing != null && + this.Billing.Equals(other.Billing) + ) && + ( + this.Records == other.Records || + this.Records != null && + this.Records.SequenceEqual(other.Records) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Version != null) + hash = hash * 59 + this.Version.GetHashCode(); + if (this.ReportCreatedDate != null) + hash = hash * 59 + this.ReportCreatedDate.GetHashCode(); + if (this.BatchId != null) + hash = hash * 59 + this.BatchId.GetHashCode(); + if (this.BatchSource != null) + hash = hash * 59 + this.BatchSource.GetHashCode(); + if (this.BatchCaEndpoints != null) + hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); + if (this.BatchCreatedDate != null) + hash = hash * 59 + this.BatchCreatedDate.GetHashCode(); + if (this.MerchantReference != null) + hash = hash * 59 + this.MerchantReference.GetHashCode(); + if (this.Totals != null) + hash = hash * 59 + this.Totals.GetHashCode(); + if (this.Billing != null) + hash = hash * 59 + this.Billing.GetHashCode(); + if (this.Records != null) + hash = hash * 59 + this.Records.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2004Records.cs b/Model/InlineResponse2007Records.cs similarity index 85% rename from Model/InlineResponse2004Records.cs rename to Model/InlineResponse2007Records.cs index 0e40a4ee..51d35b7b 100644 --- a/Model/InlineResponse2004Records.cs +++ b/Model/InlineResponse2007Records.cs @@ -25,18 +25,18 @@ namespace CyberSource.Model { /// - /// InlineResponse2004Records + /// InlineResponse2007Records /// [DataContract] - public partial class InlineResponse2004Records : IEquatable, IValidatableObject + public partial class InlineResponse2007Records : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Id. /// SourceRecord. /// ResponseRecord. - public InlineResponse2004Records(string Id = default(string), InlineResponse2004SourceRecord SourceRecord = default(InlineResponse2004SourceRecord), InlineResponse2004ResponseRecord ResponseRecord = default(InlineResponse2004ResponseRecord)) + public InlineResponse2007Records(string Id = default(string), InlineResponse2007SourceRecord SourceRecord = default(InlineResponse2007SourceRecord), InlineResponse2007ResponseRecord ResponseRecord = default(InlineResponse2007ResponseRecord)) { this.Id = Id; this.SourceRecord = SourceRecord; @@ -53,13 +53,13 @@ public partial class InlineResponse2004Records : IEquatable [DataMember(Name="sourceRecord", EmitDefaultValue=false)] - public InlineResponse2004SourceRecord SourceRecord { get; set; } + public InlineResponse2007SourceRecord SourceRecord { get; set; } /// /// Gets or Sets ResponseRecord /// [DataMember(Name="responseRecord", EmitDefaultValue=false)] - public InlineResponse2004ResponseRecord ResponseRecord { get; set; } + public InlineResponse2007ResponseRecord ResponseRecord { get; set; } /// /// Returns the string presentation of the object @@ -68,7 +68,7 @@ public partial class InlineResponse2004Records : IEquatable - /// Returns true if InlineResponse2004Records instances are equal + /// Returns true if InlineResponse2007Records instances are equal /// - /// Instance of InlineResponse2004Records to be compared + /// Instance of InlineResponse2007Records to be compared /// Boolean - public bool Equals(InlineResponse2004Records other) + public bool Equals(InlineResponse2007Records other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2004ResponseRecord.cs b/Model/InlineResponse2007ResponseRecord.cs similarity index 93% rename from Model/InlineResponse2004ResponseRecord.cs rename to Model/InlineResponse2007ResponseRecord.cs index 134438f1..3b77b68f 100644 --- a/Model/InlineResponse2004ResponseRecord.cs +++ b/Model/InlineResponse2007ResponseRecord.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse2004ResponseRecord + /// InlineResponse2007ResponseRecord /// [DataContract] - public partial class InlineResponse2004ResponseRecord : IEquatable, IValidatableObject + public partial class InlineResponse2007ResponseRecord : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Valid Values: * NAN * NED * ACL * CCH * CUR * NUP * UNA * ERR * DEC . /// Reason. @@ -43,7 +43,7 @@ public partial class InlineResponse2004ResponseRecord : IEquatableCardExpiryYear. /// CardType. /// AdditionalUpdates. - public InlineResponse2004ResponseRecord(string Response = default(string), string Reason = default(string), string Token = default(string), string InstrumentIdentifierId = default(string), string InstrumentIdentifierCreated = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string), List AdditionalUpdates = default(List)) + public InlineResponse2007ResponseRecord(string Response = default(string), string Reason = default(string), string Token = default(string), string InstrumentIdentifierId = default(string), string InstrumentIdentifierCreated = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string), List AdditionalUpdates = default(List)) { this.Response = Response; this.Reason = Reason; @@ -117,7 +117,7 @@ public partial class InlineResponse2004ResponseRecord : IEquatable [DataMember(Name="additionalUpdates", EmitDefaultValue=false)] - public List AdditionalUpdates { get; set; } + public List AdditionalUpdates { get; set; } /// /// Returns the string presentation of the object @@ -126,7 +126,7 @@ public partial class InlineResponse2004ResponseRecord : IEquatable - /// Returns true if InlineResponse2004ResponseRecord instances are equal + /// Returns true if InlineResponse2007ResponseRecord instances are equal /// - /// Instance of InlineResponse2004ResponseRecord to be compared + /// Instance of InlineResponse2007ResponseRecord to be compared /// Boolean - public bool Equals(InlineResponse2004ResponseRecord other) + public bool Equals(InlineResponse2007ResponseRecord other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2004ResponseRecordAdditionalUpdates.cs b/Model/InlineResponse2007ResponseRecordAdditionalUpdates.cs similarity index 91% rename from Model/InlineResponse2004ResponseRecordAdditionalUpdates.cs rename to Model/InlineResponse2007ResponseRecordAdditionalUpdates.cs index 1be9ddbe..99eceb32 100644 --- a/Model/InlineResponse2004ResponseRecordAdditionalUpdates.cs +++ b/Model/InlineResponse2007ResponseRecordAdditionalUpdates.cs @@ -25,20 +25,20 @@ namespace CyberSource.Model { /// - /// InlineResponse2004ResponseRecordAdditionalUpdates + /// InlineResponse2007ResponseRecordAdditionalUpdates /// [DataContract] - public partial class InlineResponse2004ResponseRecordAdditionalUpdates : IEquatable, IValidatableObject + public partial class InlineResponse2007ResponseRecordAdditionalUpdates : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// CustomerId. /// PaymentInstrumentId. /// Creator. /// Valid Values: * ACTIVE * CLOSED . /// Message. - public InlineResponse2004ResponseRecordAdditionalUpdates(string CustomerId = default(string), string PaymentInstrumentId = default(string), string Creator = default(string), string State = default(string), string Message = default(string)) + public InlineResponse2007ResponseRecordAdditionalUpdates(string CustomerId = default(string), string PaymentInstrumentId = default(string), string Creator = default(string), string State = default(string), string Message = default(string)) { this.CustomerId = CustomerId; this.PaymentInstrumentId = PaymentInstrumentId; @@ -85,7 +85,7 @@ public partial class InlineResponse2004ResponseRecordAdditionalUpdates : IEquat public override string ToString() { var sb = new StringBuilder(); - sb.Append("class InlineResponse2004ResponseRecordAdditionalUpdates {\n"); + sb.Append("class InlineResponse2007ResponseRecordAdditionalUpdates {\n"); sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); sb.Append(" PaymentInstrumentId: ").Append(PaymentInstrumentId).Append("\n"); sb.Append(" Creator: ").Append(Creator).Append("\n"); @@ -112,15 +112,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as InlineResponse2004ResponseRecordAdditionalUpdates); + return this.Equals(obj as InlineResponse2007ResponseRecordAdditionalUpdates); } /// - /// Returns true if InlineResponse2004ResponseRecordAdditionalUpdates instances are equal + /// Returns true if InlineResponse2007ResponseRecordAdditionalUpdates instances are equal /// - /// Instance of InlineResponse2004ResponseRecordAdditionalUpdates to be compared + /// Instance of InlineResponse2007ResponseRecordAdditionalUpdates to be compared /// Boolean - public bool Equals(InlineResponse2004ResponseRecordAdditionalUpdates other) + public bool Equals(InlineResponse2007ResponseRecordAdditionalUpdates other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2004SourceRecord.cs b/Model/InlineResponse2007SourceRecord.cs similarity index 94% rename from Model/InlineResponse2004SourceRecord.cs rename to Model/InlineResponse2007SourceRecord.cs index 0744efd2..ebf08fe1 100644 --- a/Model/InlineResponse2004SourceRecord.cs +++ b/Model/InlineResponse2007SourceRecord.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse2004SourceRecord + /// InlineResponse2007SourceRecord /// [DataContract] - public partial class InlineResponse2004SourceRecord : IEquatable, IValidatableObject + public partial class InlineResponse2007SourceRecord : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Token. /// CustomerId. @@ -41,7 +41,7 @@ public partial class InlineResponse2004SourceRecord : IEquatableCardExpiryMonth. /// CardExpiryYear. /// CardType. - public InlineResponse2004SourceRecord(string Token = default(string), string CustomerId = default(string), string PaymentInstrumentId = default(string), string InstrumentIdentifierId = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string)) + public InlineResponse2007SourceRecord(string Token = default(string), string CustomerId = default(string), string PaymentInstrumentId = default(string), string InstrumentIdentifierId = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string)) { this.Token = Token; this.CustomerId = CustomerId; @@ -108,7 +108,7 @@ public partial class InlineResponse2004SourceRecord : IEquatable - /// Returns true if InlineResponse2004SourceRecord instances are equal + /// Returns true if InlineResponse2007SourceRecord instances are equal /// - /// Instance of InlineResponse2004SourceRecord to be compared + /// Instance of InlineResponse2007SourceRecord to be compared /// Boolean - public bool Equals(InlineResponse2004SourceRecord other) + public bool Equals(InlineResponse2007SourceRecord other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse2011.cs b/Model/InlineResponse2011.cs new file mode 100644 index 00000000..58071f3f --- /dev/null +++ b/Model/InlineResponse2011.cs @@ -0,0 +1,302 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011 + /// + [DataContract] + public partial class InlineResponse2011 : IEquatable, IValidatableObject + { + /// + /// The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL' + /// + /// The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL' + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum INITIALIZED for "INITIALIZED" + /// + [EnumMember(Value = "INITIALIZED")] + INITIALIZED, + + /// + /// Enum RECEIVED for "RECEIVED" + /// + [EnumMember(Value = "RECEIVED")] + RECEIVED, + + /// + /// Enum PROCESSING for "PROCESSING" + /// + [EnumMember(Value = "PROCESSING")] + PROCESSING, + + /// + /// Enum SUCCESS for "SUCCESS" + /// + [EnumMember(Value = "SUCCESS")] + SUCCESS, + + /// + /// Enum FAILURE for "FAILURE" + /// + [EnumMember(Value = "FAILURE")] + FAILURE, + + /// + /// Enum PARTIAL for "PARTIAL" + /// + [EnumMember(Value = "PARTIAL")] + PARTIAL + } + + /// + /// The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL' + /// + /// The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL' + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Id. + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// RegistrationInformation. + /// IntegrationInformation. + /// OrganizationInformation. + /// ProductInformationSetups. + /// Message. + /// Details. + public InlineResponse2011(string Id = default(string), DateTime? SubmitTimeUtc = default(DateTime?), InlineResponse2011RegistrationInformation RegistrationInformation = default(InlineResponse2011RegistrationInformation), InlineResponse2011IntegrationInformation IntegrationInformation = default(InlineResponse2011IntegrationInformation), InlineResponse2011OrganizationInformation OrganizationInformation = default(InlineResponse2011OrganizationInformation), List ProductInformationSetups = default(List), string Message = default(string), Dictionary> Details = default(Dictionary>)) + { + this.Id = Id; + this.SubmitTimeUtc = SubmitTimeUtc; + this.RegistrationInformation = RegistrationInformation; + this.IntegrationInformation = IntegrationInformation; + this.OrganizationInformation = OrganizationInformation; + this.ProductInformationSetups = ProductInformationSetups; + this.Message = Message; + this.Details = Details; + } + + /// + /// Gets or Sets Id + /// + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? SubmitTimeUtc { get; set; } + + + /// + /// Gets or Sets RegistrationInformation + /// + [DataMember(Name="registrationInformation", EmitDefaultValue=false)] + public InlineResponse2011RegistrationInformation RegistrationInformation { get; set; } + + /// + /// Gets or Sets IntegrationInformation + /// + [DataMember(Name="integrationInformation", EmitDefaultValue=false)] + public InlineResponse2011IntegrationInformation IntegrationInformation { get; set; } + + /// + /// Gets or Sets OrganizationInformation + /// + [DataMember(Name="organizationInformation", EmitDefaultValue=false)] + public InlineResponse2011OrganizationInformation OrganizationInformation { get; set; } + + /// + /// Gets or Sets ProductInformationSetups + /// + [DataMember(Name="productInformationSetups", EmitDefaultValue=false)] + public List ProductInformationSetups { get; set; } + + /// + /// Gets or Sets Message + /// + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public Dictionary> Details { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011 {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" RegistrationInformation: ").Append(RegistrationInformation).Append("\n"); + sb.Append(" IntegrationInformation: ").Append(IntegrationInformation).Append("\n"); + sb.Append(" OrganizationInformation: ").Append(OrganizationInformation).Append("\n"); + sb.Append(" ProductInformationSetups: ").Append(ProductInformationSetups).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011); + } + + /// + /// Returns true if InlineResponse2011 instances are equal + /// + /// Instance of InlineResponse2011 to be compared + /// Boolean + public bool Equals(InlineResponse2011 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.RegistrationInformation == other.RegistrationInformation || + this.RegistrationInformation != null && + this.RegistrationInformation.Equals(other.RegistrationInformation) + ) && + ( + this.IntegrationInformation == other.IntegrationInformation || + this.IntegrationInformation != null && + this.IntegrationInformation.Equals(other.IntegrationInformation) + ) && + ( + this.OrganizationInformation == other.OrganizationInformation || + this.OrganizationInformation != null && + this.OrganizationInformation.Equals(other.OrganizationInformation) + ) && + ( + this.ProductInformationSetups == other.ProductInformationSetups || + this.ProductInformationSetups != null && + this.ProductInformationSetups.SequenceEqual(other.ProductInformationSetups) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.RegistrationInformation != null) + hash = hash * 59 + this.RegistrationInformation.GetHashCode(); + if (this.IntegrationInformation != null) + hash = hash * 59 + this.IntegrationInformation.GetHashCode(); + if (this.OrganizationInformation != null) + hash = hash * 59 + this.OrganizationInformation.GetHashCode(); + if (this.ProductInformationSetups != null) + hash = hash * 59 + this.ProductInformationSetups.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011IntegrationInformation.cs b/Model/InlineResponse2011IntegrationInformation.cs new file mode 100644 index 00000000..374e496e --- /dev/null +++ b/Model/InlineResponse2011IntegrationInformation.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011IntegrationInformation + /// + [DataContract] + public partial class InlineResponse2011IntegrationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.. + public InlineResponse2011IntegrationInformation(List TenantConfigurations = default(List)) + { + this.TenantConfigurations = TenantConfigurations; + } + + /// + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. + /// + /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. + [DataMember(Name="tenantConfigurations", EmitDefaultValue=false)] + public List TenantConfigurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011IntegrationInformation {\n"); + sb.Append(" TenantConfigurations: ").Append(TenantConfigurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011IntegrationInformation); + } + + /// + /// Returns true if InlineResponse2011IntegrationInformation instances are equal + /// + /// Instance of InlineResponse2011IntegrationInformation to be compared + /// Boolean + public bool Equals(InlineResponse2011IntegrationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TenantConfigurations == other.TenantConfigurations || + this.TenantConfigurations != null && + this.TenantConfigurations.SequenceEqual(other.TenantConfigurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TenantConfigurations != null) + hash = hash * 59 + this.TenantConfigurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011IntegrationInformationTenantConfigurations.cs b/Model/InlineResponse2011IntegrationInformationTenantConfigurations.cs new file mode 100644 index 00000000..eb5e65f6 --- /dev/null +++ b/Model/InlineResponse2011IntegrationInformationTenantConfigurations.cs @@ -0,0 +1,219 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011IntegrationInformationTenantConfigurations + /// + [DataContract] + public partial class InlineResponse2011IntegrationInformationTenantConfigurations : IEquatable, IValidatableObject + { + /// + /// Gets or Sets Status + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum LIVE for "LIVE" + /// + [EnumMember(Value = "LIVE")] + LIVE, + + /// + /// Enum INACTIVE for "INACTIVE" + /// + [EnumMember(Value = "INACTIVE")] + INACTIVE, + + /// + /// Enum TEST for "TEST" + /// + [EnumMember(Value = "TEST")] + TEST + } + + /// + /// Gets or Sets Status + /// + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. . + /// The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. . + /// Status. + /// Time of request in UTC.. + public InlineResponse2011IntegrationInformationTenantConfigurations(string SolutionId = default(string), string TenantConfigurationId = default(string), StatusEnum? Status = default(StatusEnum?), DateTime? SubmitTimeUtc = default(DateTime?)) + { + this.SolutionId = SolutionId; + this.TenantConfigurationId = TenantConfigurationId; + this.Status = Status; + this.SubmitTimeUtc = SubmitTimeUtc; + } + + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. + /// + /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. + [DataMember(Name="solutionId", EmitDefaultValue=false)] + public string SolutionId { get; set; } + + /// + /// The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. + /// + /// The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. + [DataMember(Name="tenantConfigurationId", EmitDefaultValue=false)] + public string TenantConfigurationId { get; set; } + + + /// + /// Time of request in UTC. + /// + /// Time of request in UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public DateTime? SubmitTimeUtc { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011IntegrationInformationTenantConfigurations {\n"); + sb.Append(" SolutionId: ").Append(SolutionId).Append("\n"); + sb.Append(" TenantConfigurationId: ").Append(TenantConfigurationId).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011IntegrationInformationTenantConfigurations); + } + + /// + /// Returns true if InlineResponse2011IntegrationInformationTenantConfigurations instances are equal + /// + /// Instance of InlineResponse2011IntegrationInformationTenantConfigurations to be compared + /// Boolean + public bool Equals(InlineResponse2011IntegrationInformationTenantConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SolutionId == other.SolutionId || + this.SolutionId != null && + this.SolutionId.Equals(other.SolutionId) + ) && + ( + this.TenantConfigurationId == other.TenantConfigurationId || + this.TenantConfigurationId != null && + this.TenantConfigurationId.Equals(other.TenantConfigurationId) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SolutionId != null) + hash = hash * 59 + this.SolutionId.GetHashCode(); + if (this.TenantConfigurationId != null) + hash = hash * 59 + this.TenantConfigurationId.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // SolutionId (string) pattern + Regex regexSolutionId = new Regex(@"^[0-9a-zA-Z_]+$", RegexOptions.CultureInvariant); + if (false == regexSolutionId.Match(this.SolutionId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SolutionId, must match a pattern of " + regexSolutionId, new [] { "SolutionId" }); + } + + // TenantConfigurationId (string) pattern + Regex regexTenantConfigurationId = new Regex(@"^[0-9a-zA-Z_]+$", RegexOptions.CultureInvariant); + if (false == regexTenantConfigurationId.Match(this.TenantConfigurationId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for TenantConfigurationId, must match a pattern of " + regexTenantConfigurationId, new [] { "TenantConfigurationId" }); + } + + yield break; + } + } + +} diff --git a/Model/InlineResponse2011OrganizationInformation.cs b/Model/InlineResponse2011OrganizationInformation.cs new file mode 100644 index 00000000..987e363a --- /dev/null +++ b/Model/InlineResponse2011OrganizationInformation.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011OrganizationInformation + /// + [DataContract] + public partial class InlineResponse2011OrganizationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// OrganizationId. + /// ParentOrganizationId. + /// ChildOrganizations. + public InlineResponse2011OrganizationInformation(string OrganizationId = default(string), string ParentOrganizationId = default(string), List ChildOrganizations = default(List)) + { + this.OrganizationId = OrganizationId; + this.ParentOrganizationId = ParentOrganizationId; + this.ChildOrganizations = ChildOrganizations; + } + + /// + /// Gets or Sets OrganizationId + /// + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// Gets or Sets ParentOrganizationId + /// + [DataMember(Name="parentOrganizationId", EmitDefaultValue=false)] + public string ParentOrganizationId { get; set; } + + /// + /// Gets or Sets ChildOrganizations + /// + [DataMember(Name="childOrganizations", EmitDefaultValue=false)] + public List ChildOrganizations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011OrganizationInformation {\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" ParentOrganizationId: ").Append(ParentOrganizationId).Append("\n"); + sb.Append(" ChildOrganizations: ").Append(ChildOrganizations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011OrganizationInformation); + } + + /// + /// Returns true if InlineResponse2011OrganizationInformation instances are equal + /// + /// Instance of InlineResponse2011OrganizationInformation to be compared + /// Boolean + public bool Equals(InlineResponse2011OrganizationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.ParentOrganizationId == other.ParentOrganizationId || + this.ParentOrganizationId != null && + this.ParentOrganizationId.Equals(other.ParentOrganizationId) + ) && + ( + this.ChildOrganizations == other.ChildOrganizations || + this.ChildOrganizations != null && + this.ChildOrganizations.SequenceEqual(other.ChildOrganizations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.ParentOrganizationId != null) + hash = hash * 59 + this.ParentOrganizationId.GetHashCode(); + if (this.ChildOrganizations != null) + hash = hash * 59 + this.ChildOrganizations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011ProductInformationSetups.cs b/Model/InlineResponse2011ProductInformationSetups.cs new file mode 100644 index 00000000..a124f313 --- /dev/null +++ b/Model/InlineResponse2011ProductInformationSetups.cs @@ -0,0 +1,151 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011ProductInformationSetups + /// + [DataContract] + public partial class InlineResponse2011ProductInformationSetups : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// OrganizationId. + /// Setups. + public InlineResponse2011ProductInformationSetups(string OrganizationId = default(string), InlineResponse2011Setups Setups = default(InlineResponse2011Setups)) + { + this.OrganizationId = OrganizationId; + this.Setups = Setups; + } + + /// + /// Gets or Sets OrganizationId + /// + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// Gets or Sets Setups + /// + [DataMember(Name="setups", EmitDefaultValue=false)] + public InlineResponse2011Setups Setups { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011ProductInformationSetups {\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" Setups: ").Append(Setups).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011ProductInformationSetups); + } + + /// + /// Returns true if InlineResponse2011ProductInformationSetups instances are equal + /// + /// Instance of InlineResponse2011ProductInformationSetups to be compared + /// Boolean + public bool Equals(InlineResponse2011ProductInformationSetups other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.Setups == other.Setups || + this.Setups != null && + this.Setups.Equals(other.Setups) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.Setups != null) + hash = hash * 59 + this.Setups.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // OrganizationId (string) pattern + Regex regexOrganizationId = new Regex(@"^[0-9a-zA-Z]+$", RegexOptions.CultureInvariant); + if (false == regexOrganizationId.Match(this.OrganizationId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OrganizationId, must match a pattern of " + regexOrganizationId, new [] { "OrganizationId" }); + } + + yield break; + } + } + +} diff --git a/Model/InlineResponse2011RegistrationInformation.cs b/Model/InlineResponse2011RegistrationInformation.cs new file mode 100644 index 00000000..0e84b28a --- /dev/null +++ b/Model/InlineResponse2011RegistrationInformation.cs @@ -0,0 +1,180 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011RegistrationInformation + /// + [DataContract] + public partial class InlineResponse2011RegistrationInformation : IEquatable, IValidatableObject + { + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + [JsonConverter(typeof(StringEnumConverter))] + public enum ModeEnum + { + + /// + /// Enum COMPLETE for "COMPLETE" + /// + [EnumMember(Value = "COMPLETE")] + COMPLETE, + + /// + /// Enum PARTIAL for "PARTIAL" + /// + [EnumMember(Value = "PARTIAL")] + PARTIAL + } + + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' + [DataMember(Name="mode", EmitDefaultValue=false)] + public ModeEnum? Mode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' . + /// SalesRepId. + public InlineResponse2011RegistrationInformation(ModeEnum? Mode = default(ModeEnum?), string SalesRepId = default(string)) + { + this.Mode = Mode; + this.SalesRepId = SalesRepId; + } + + /// + /// Gets or Sets BoardingPackageId + /// + [DataMember(Name="boardingPackageId", EmitDefaultValue=false)] + public string BoardingPackageId { get; private set; } + + + /// + /// Gets or Sets SalesRepId + /// + [DataMember(Name="salesRepId", EmitDefaultValue=false)] + public string SalesRepId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011RegistrationInformation {\n"); + sb.Append(" BoardingPackageId: ").Append(BoardingPackageId).Append("\n"); + sb.Append(" Mode: ").Append(Mode).Append("\n"); + sb.Append(" SalesRepId: ").Append(SalesRepId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011RegistrationInformation); + } + + /// + /// Returns true if InlineResponse2011RegistrationInformation instances are equal + /// + /// Instance of InlineResponse2011RegistrationInformation to be compared + /// Boolean + public bool Equals(InlineResponse2011RegistrationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.BoardingPackageId == other.BoardingPackageId || + this.BoardingPackageId != null && + this.BoardingPackageId.Equals(other.BoardingPackageId) + ) && + ( + this.Mode == other.Mode || + this.Mode != null && + this.Mode.Equals(other.Mode) + ) && + ( + this.SalesRepId == other.SalesRepId || + this.SalesRepId != null && + this.SalesRepId.Equals(other.SalesRepId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.BoardingPackageId != null) + hash = hash * 59 + this.BoardingPackageId.GetHashCode(); + if (this.Mode != null) + hash = hash * 59 + this.Mode.GetHashCode(); + if (this.SalesRepId != null) + hash = hash * 59 + this.SalesRepId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011Setups.cs b/Model/InlineResponse2011Setups.cs new file mode 100644 index 00000000..c6780a68 --- /dev/null +++ b/Model/InlineResponse2011Setups.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011Setups + /// + [DataContract] + public partial class InlineResponse2011Setups : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Payments. + /// Risk. + /// CommerceSolutions. + /// ValueAddedServices. + public InlineResponse2011Setups(InlineResponse2011SetupsPayments Payments = default(InlineResponse2011SetupsPayments), InlineResponse2011SetupsRisk Risk = default(InlineResponse2011SetupsRisk), InlineResponse2011SetupsCommerceSolutions CommerceSolutions = default(InlineResponse2011SetupsCommerceSolutions), InlineResponse2011SetupsValueAddedServices ValueAddedServices = default(InlineResponse2011SetupsValueAddedServices)) + { + this.Payments = Payments; + this.Risk = Risk; + this.CommerceSolutions = CommerceSolutions; + this.ValueAddedServices = ValueAddedServices; + } + + /// + /// Gets or Sets Payments + /// + [DataMember(Name="payments", EmitDefaultValue=false)] + public InlineResponse2011SetupsPayments Payments { get; set; } + + /// + /// Gets or Sets Risk + /// + [DataMember(Name="risk", EmitDefaultValue=false)] + public InlineResponse2011SetupsRisk Risk { get; set; } + + /// + /// Gets or Sets CommerceSolutions + /// + [DataMember(Name="commerceSolutions", EmitDefaultValue=false)] + public InlineResponse2011SetupsCommerceSolutions CommerceSolutions { get; set; } + + /// + /// Gets or Sets ValueAddedServices + /// + [DataMember(Name="valueAddedServices", EmitDefaultValue=false)] + public InlineResponse2011SetupsValueAddedServices ValueAddedServices { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011Setups {\n"); + sb.Append(" Payments: ").Append(Payments).Append("\n"); + sb.Append(" Risk: ").Append(Risk).Append("\n"); + sb.Append(" CommerceSolutions: ").Append(CommerceSolutions).Append("\n"); + sb.Append(" ValueAddedServices: ").Append(ValueAddedServices).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011Setups); + } + + /// + /// Returns true if InlineResponse2011Setups instances are equal + /// + /// Instance of InlineResponse2011Setups to be compared + /// Boolean + public bool Equals(InlineResponse2011Setups other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Payments == other.Payments || + this.Payments != null && + this.Payments.Equals(other.Payments) + ) && + ( + this.Risk == other.Risk || + this.Risk != null && + this.Risk.Equals(other.Risk) + ) && + ( + this.CommerceSolutions == other.CommerceSolutions || + this.CommerceSolutions != null && + this.CommerceSolutions.Equals(other.CommerceSolutions) + ) && + ( + this.ValueAddedServices == other.ValueAddedServices || + this.ValueAddedServices != null && + this.ValueAddedServices.Equals(other.ValueAddedServices) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Payments != null) + hash = hash * 59 + this.Payments.GetHashCode(); + if (this.Risk != null) + hash = hash * 59 + this.Risk.GetHashCode(); + if (this.CommerceSolutions != null) + hash = hash * 59 + this.CommerceSolutions.GetHashCode(); + if (this.ValueAddedServices != null) + hash = hash * 59 + this.ValueAddedServices.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsCommerceSolutions.cs b/Model/InlineResponse2011SetupsCommerceSolutions.cs new file mode 100644 index 00000000..77b7dd7e --- /dev/null +++ b/Model/InlineResponse2011SetupsCommerceSolutions.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsCommerceSolutions + /// + [DataContract] + public partial class InlineResponse2011SetupsCommerceSolutions : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TokenManagement. + /// AccountUpdater. + /// BinLookup. + public InlineResponse2011SetupsCommerceSolutions(InlineResponse2011SetupsPaymentsCardProcessing TokenManagement = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing AccountUpdater = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing BinLookup = default(InlineResponse2011SetupsPaymentsCardProcessing)) + { + this.TokenManagement = TokenManagement; + this.AccountUpdater = AccountUpdater; + this.BinLookup = BinLookup; + } + + /// + /// Gets or Sets TokenManagement + /// + [DataMember(Name="tokenManagement", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing TokenManagement { get; set; } + + /// + /// Gets or Sets AccountUpdater + /// + [DataMember(Name="accountUpdater", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing AccountUpdater { get; set; } + + /// + /// Gets or Sets BinLookup + /// + [DataMember(Name="binLookup", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing BinLookup { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsCommerceSolutions {\n"); + sb.Append(" TokenManagement: ").Append(TokenManagement).Append("\n"); + sb.Append(" AccountUpdater: ").Append(AccountUpdater).Append("\n"); + sb.Append(" BinLookup: ").Append(BinLookup).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsCommerceSolutions); + } + + /// + /// Returns true if InlineResponse2011SetupsCommerceSolutions instances are equal + /// + /// Instance of InlineResponse2011SetupsCommerceSolutions to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsCommerceSolutions other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TokenManagement == other.TokenManagement || + this.TokenManagement != null && + this.TokenManagement.Equals(other.TokenManagement) + ) && + ( + this.AccountUpdater == other.AccountUpdater || + this.AccountUpdater != null && + this.AccountUpdater.Equals(other.AccountUpdater) + ) && + ( + this.BinLookup == other.BinLookup || + this.BinLookup != null && + this.BinLookup.Equals(other.BinLookup) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TokenManagement != null) + hash = hash * 59 + this.TokenManagement.GetHashCode(); + if (this.AccountUpdater != null) + hash = hash * 59 + this.AccountUpdater.GetHashCode(); + if (this.BinLookup != null) + hash = hash * 59 + this.BinLookup.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsPayments.cs b/Model/InlineResponse2011SetupsPayments.cs new file mode 100644 index 00000000..ce198bd1 --- /dev/null +++ b/Model/InlineResponse2011SetupsPayments.cs @@ -0,0 +1,368 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsPayments + /// + [DataContract] + public partial class InlineResponse2011SetupsPayments : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardProcessing. + /// CardPresentConnect. + /// ECheck. + /// PayerAuthentication. + /// DigitalPayments. + /// SecureAcceptance. + /// VirtualTerminal. + /// CurrencyConversion. + /// Tax. + /// CustomerInvoicing. + /// RecurringBilling. + /// CybsReadyTerminal. + /// PaymentOrchestration. + /// Payouts. + /// PayByLink. + /// UnifiedCheckout. + public InlineResponse2011SetupsPayments(InlineResponse2011SetupsPaymentsCardProcessing CardProcessing = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing CardPresentConnect = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing ECheck = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing PayerAuthentication = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsDigitalPayments DigitalPayments = default(InlineResponse2011SetupsPaymentsDigitalPayments), InlineResponse2011SetupsPaymentsCardProcessing SecureAcceptance = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing VirtualTerminal = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing CurrencyConversion = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsDigitalPayments Tax = default(InlineResponse2011SetupsPaymentsDigitalPayments), InlineResponse2011SetupsPaymentsDigitalPayments CustomerInvoicing = default(InlineResponse2011SetupsPaymentsDigitalPayments), InlineResponse2011SetupsPaymentsCardProcessing RecurringBilling = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing CybsReadyTerminal = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsDigitalPayments PaymentOrchestration = default(InlineResponse2011SetupsPaymentsDigitalPayments), InlineResponse2011SetupsPaymentsCardProcessing Payouts = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsDigitalPayments PayByLink = default(InlineResponse2011SetupsPaymentsDigitalPayments), InlineResponse2011SetupsPaymentsDigitalPayments UnifiedCheckout = default(InlineResponse2011SetupsPaymentsDigitalPayments)) + { + this.CardProcessing = CardProcessing; + this.CardPresentConnect = CardPresentConnect; + this.ECheck = ECheck; + this.PayerAuthentication = PayerAuthentication; + this.DigitalPayments = DigitalPayments; + this.SecureAcceptance = SecureAcceptance; + this.VirtualTerminal = VirtualTerminal; + this.CurrencyConversion = CurrencyConversion; + this.Tax = Tax; + this.CustomerInvoicing = CustomerInvoicing; + this.RecurringBilling = RecurringBilling; + this.CybsReadyTerminal = CybsReadyTerminal; + this.PaymentOrchestration = PaymentOrchestration; + this.Payouts = Payouts; + this.PayByLink = PayByLink; + this.UnifiedCheckout = UnifiedCheckout; + } + + /// + /// Gets or Sets CardProcessing + /// + [DataMember(Name="cardProcessing", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing CardProcessing { get; set; } + + /// + /// Gets or Sets CardPresentConnect + /// + [DataMember(Name="cardPresentConnect", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing CardPresentConnect { get; set; } + + /// + /// Gets or Sets ECheck + /// + [DataMember(Name="eCheck", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing ECheck { get; set; } + + /// + /// Gets or Sets PayerAuthentication + /// + [DataMember(Name="payerAuthentication", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing PayerAuthentication { get; set; } + + /// + /// Gets or Sets DigitalPayments + /// + [DataMember(Name="digitalPayments", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments DigitalPayments { get; set; } + + /// + /// Gets or Sets SecureAcceptance + /// + [DataMember(Name="secureAcceptance", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing SecureAcceptance { get; set; } + + /// + /// Gets or Sets VirtualTerminal + /// + [DataMember(Name="virtualTerminal", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing VirtualTerminal { get; set; } + + /// + /// Gets or Sets CurrencyConversion + /// + [DataMember(Name="currencyConversion", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing CurrencyConversion { get; set; } + + /// + /// Gets or Sets Tax + /// + [DataMember(Name="tax", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments Tax { get; set; } + + /// + /// Gets or Sets CustomerInvoicing + /// + [DataMember(Name="customerInvoicing", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments CustomerInvoicing { get; set; } + + /// + /// Gets or Sets RecurringBilling + /// + [DataMember(Name="recurringBilling", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing RecurringBilling { get; set; } + + /// + /// Gets or Sets CybsReadyTerminal + /// + [DataMember(Name="cybsReadyTerminal", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing CybsReadyTerminal { get; set; } + + /// + /// Gets or Sets PaymentOrchestration + /// + [DataMember(Name="paymentOrchestration", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments PaymentOrchestration { get; set; } + + /// + /// Gets or Sets Payouts + /// + [DataMember(Name="payouts", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing Payouts { get; set; } + + /// + /// Gets or Sets PayByLink + /// + [DataMember(Name="payByLink", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments PayByLink { get; set; } + + /// + /// Gets or Sets UnifiedCheckout + /// + [DataMember(Name="unifiedCheckout", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments UnifiedCheckout { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsPayments {\n"); + sb.Append(" CardProcessing: ").Append(CardProcessing).Append("\n"); + sb.Append(" CardPresentConnect: ").Append(CardPresentConnect).Append("\n"); + sb.Append(" ECheck: ").Append(ECheck).Append("\n"); + sb.Append(" PayerAuthentication: ").Append(PayerAuthentication).Append("\n"); + sb.Append(" DigitalPayments: ").Append(DigitalPayments).Append("\n"); + sb.Append(" SecureAcceptance: ").Append(SecureAcceptance).Append("\n"); + sb.Append(" VirtualTerminal: ").Append(VirtualTerminal).Append("\n"); + sb.Append(" CurrencyConversion: ").Append(CurrencyConversion).Append("\n"); + sb.Append(" Tax: ").Append(Tax).Append("\n"); + sb.Append(" CustomerInvoicing: ").Append(CustomerInvoicing).Append("\n"); + sb.Append(" RecurringBilling: ").Append(RecurringBilling).Append("\n"); + sb.Append(" CybsReadyTerminal: ").Append(CybsReadyTerminal).Append("\n"); + sb.Append(" PaymentOrchestration: ").Append(PaymentOrchestration).Append("\n"); + sb.Append(" Payouts: ").Append(Payouts).Append("\n"); + sb.Append(" PayByLink: ").Append(PayByLink).Append("\n"); + sb.Append(" UnifiedCheckout: ").Append(UnifiedCheckout).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsPayments); + } + + /// + /// Returns true if InlineResponse2011SetupsPayments instances are equal + /// + /// Instance of InlineResponse2011SetupsPayments to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsPayments other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardProcessing == other.CardProcessing || + this.CardProcessing != null && + this.CardProcessing.Equals(other.CardProcessing) + ) && + ( + this.CardPresentConnect == other.CardPresentConnect || + this.CardPresentConnect != null && + this.CardPresentConnect.Equals(other.CardPresentConnect) + ) && + ( + this.ECheck == other.ECheck || + this.ECheck != null && + this.ECheck.Equals(other.ECheck) + ) && + ( + this.PayerAuthentication == other.PayerAuthentication || + this.PayerAuthentication != null && + this.PayerAuthentication.Equals(other.PayerAuthentication) + ) && + ( + this.DigitalPayments == other.DigitalPayments || + this.DigitalPayments != null && + this.DigitalPayments.Equals(other.DigitalPayments) + ) && + ( + this.SecureAcceptance == other.SecureAcceptance || + this.SecureAcceptance != null && + this.SecureAcceptance.Equals(other.SecureAcceptance) + ) && + ( + this.VirtualTerminal == other.VirtualTerminal || + this.VirtualTerminal != null && + this.VirtualTerminal.Equals(other.VirtualTerminal) + ) && + ( + this.CurrencyConversion == other.CurrencyConversion || + this.CurrencyConversion != null && + this.CurrencyConversion.Equals(other.CurrencyConversion) + ) && + ( + this.Tax == other.Tax || + this.Tax != null && + this.Tax.Equals(other.Tax) + ) && + ( + this.CustomerInvoicing == other.CustomerInvoicing || + this.CustomerInvoicing != null && + this.CustomerInvoicing.Equals(other.CustomerInvoicing) + ) && + ( + this.RecurringBilling == other.RecurringBilling || + this.RecurringBilling != null && + this.RecurringBilling.Equals(other.RecurringBilling) + ) && + ( + this.CybsReadyTerminal == other.CybsReadyTerminal || + this.CybsReadyTerminal != null && + this.CybsReadyTerminal.Equals(other.CybsReadyTerminal) + ) && + ( + this.PaymentOrchestration == other.PaymentOrchestration || + this.PaymentOrchestration != null && + this.PaymentOrchestration.Equals(other.PaymentOrchestration) + ) && + ( + this.Payouts == other.Payouts || + this.Payouts != null && + this.Payouts.Equals(other.Payouts) + ) && + ( + this.PayByLink == other.PayByLink || + this.PayByLink != null && + this.PayByLink.Equals(other.PayByLink) + ) && + ( + this.UnifiedCheckout == other.UnifiedCheckout || + this.UnifiedCheckout != null && + this.UnifiedCheckout.Equals(other.UnifiedCheckout) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CardProcessing != null) + hash = hash * 59 + this.CardProcessing.GetHashCode(); + if (this.CardPresentConnect != null) + hash = hash * 59 + this.CardPresentConnect.GetHashCode(); + if (this.ECheck != null) + hash = hash * 59 + this.ECheck.GetHashCode(); + if (this.PayerAuthentication != null) + hash = hash * 59 + this.PayerAuthentication.GetHashCode(); + if (this.DigitalPayments != null) + hash = hash * 59 + this.DigitalPayments.GetHashCode(); + if (this.SecureAcceptance != null) + hash = hash * 59 + this.SecureAcceptance.GetHashCode(); + if (this.VirtualTerminal != null) + hash = hash * 59 + this.VirtualTerminal.GetHashCode(); + if (this.CurrencyConversion != null) + hash = hash * 59 + this.CurrencyConversion.GetHashCode(); + if (this.Tax != null) + hash = hash * 59 + this.Tax.GetHashCode(); + if (this.CustomerInvoicing != null) + hash = hash * 59 + this.CustomerInvoicing.GetHashCode(); + if (this.RecurringBilling != null) + hash = hash * 59 + this.RecurringBilling.GetHashCode(); + if (this.CybsReadyTerminal != null) + hash = hash * 59 + this.CybsReadyTerminal.GetHashCode(); + if (this.PaymentOrchestration != null) + hash = hash * 59 + this.PaymentOrchestration.GetHashCode(); + if (this.Payouts != null) + hash = hash * 59 + this.Payouts.GetHashCode(); + if (this.PayByLink != null) + hash = hash * 59 + this.PayByLink.GetHashCode(); + if (this.UnifiedCheckout != null) + hash = hash * 59 + this.UnifiedCheckout.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsPaymentsCardProcessing.cs b/Model/InlineResponse2011SetupsPaymentsCardProcessing.cs new file mode 100644 index 00000000..065b81a9 --- /dev/null +++ b/Model/InlineResponse2011SetupsPaymentsCardProcessing.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsPaymentsCardProcessing + /// + [DataContract] + public partial class InlineResponse2011SetupsPaymentsCardProcessing : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionStatus. + /// ConfigurationStatus. + public InlineResponse2011SetupsPaymentsCardProcessing(InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus SubscriptionStatus = default(InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus), InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus ConfigurationStatus = default(InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus)) + { + this.SubscriptionStatus = SubscriptionStatus; + this.ConfigurationStatus = ConfigurationStatus; + } + + /// + /// Gets or Sets SubscriptionStatus + /// + [DataMember(Name="subscriptionStatus", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus SubscriptionStatus { get; set; } + + /// + /// Gets or Sets ConfigurationStatus + /// + [DataMember(Name="configurationStatus", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus ConfigurationStatus { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsPaymentsCardProcessing {\n"); + sb.Append(" SubscriptionStatus: ").Append(SubscriptionStatus).Append("\n"); + sb.Append(" ConfigurationStatus: ").Append(ConfigurationStatus).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsPaymentsCardProcessing); + } + + /// + /// Returns true if InlineResponse2011SetupsPaymentsCardProcessing instances are equal + /// + /// Instance of InlineResponse2011SetupsPaymentsCardProcessing to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsPaymentsCardProcessing other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionStatus == other.SubscriptionStatus || + this.SubscriptionStatus != null && + this.SubscriptionStatus.Equals(other.SubscriptionStatus) + ) && + ( + this.ConfigurationStatus == other.ConfigurationStatus || + this.ConfigurationStatus != null && + this.ConfigurationStatus.Equals(other.ConfigurationStatus) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionStatus != null) + hash = hash * 59 + this.SubscriptionStatus.GetHashCode(); + if (this.ConfigurationStatus != null) + hash = hash * 59 + this.ConfigurationStatus.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.cs b/Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.cs new file mode 100644 index 00000000..6aff7def --- /dev/null +++ b/Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.cs @@ -0,0 +1,296 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus + /// + [DataContract] + public partial class InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus : IEquatable, IValidatableObject + { + /// + /// Gets or Sets Status + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum SUCCESS for "SUCCESS" + /// + [EnumMember(Value = "SUCCESS")] + SUCCESS, + + /// + /// Enum PARTIAL for "PARTIAL" + /// + [EnumMember(Value = "PARTIAL")] + PARTIAL, + + /// + /// Enum PENDING for "PENDING" + /// + [EnumMember(Value = "PENDING")] + PENDING, + + /// + /// Enum NOTSETUP for "NOT_SETUP" + /// + [EnumMember(Value = "NOT_SETUP")] + NOTSETUP + } + + /// + /// Gets or Sets Reason + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ReasonEnum + { + + /// + /// Enum PENDINGPROVISIONINGPROCESS for "PENDING_PROVISIONING_PROCESS" + /// + [EnumMember(Value = "PENDING_PROVISIONING_PROCESS")] + PENDINGPROVISIONINGPROCESS, + + /// + /// Enum MISSINGDATA for "MISSING_DATA" + /// + [EnumMember(Value = "MISSING_DATA")] + MISSINGDATA, + + /// + /// Enum INVALIDDATA for "INVALID_DATA" + /// + [EnumMember(Value = "INVALID_DATA")] + INVALIDDATA, + + /// + /// Enum DUPLICATEFIELD for "DUPLICATE_FIELD" + /// + [EnumMember(Value = "DUPLICATE_FIELD")] + DUPLICATEFIELD, + + /// + /// Enum NOTAPPLICABLE for "NOT_APPLICABLE" + /// + [EnumMember(Value = "NOT_APPLICABLE")] + NOTAPPLICABLE + } + + /// + /// Gets or Sets Status + /// + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Gets or Sets Reason + /// + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// This is NOT for MVP. + /// Version. + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// Status. + /// Reason. + /// Details. + /// Message. + public InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus(Guid? ConfigurationId = default(Guid?), string Version = default(string), string SubmitTimeUtc = default(string), StatusEnum? Status = default(StatusEnum?), ReasonEnum? Reason = default(ReasonEnum?), List> Details = default(List>), string Message = default(string)) + { + this.ConfigurationId = ConfigurationId; + this.Version = Version; + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Reason = Reason; + this.Details = Details; + this.Message = Message; + } + + /// + /// This is NOT for MVP + /// + /// This is NOT for MVP + [DataMember(Name="configurationId", EmitDefaultValue=false)] + public Guid? ConfigurationId { get; set; } + + /// + /// Gets or Sets Version + /// + [DataMember(Name="version", EmitDefaultValue=false)] + public string Version { get; set; } + + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public string SubmitTimeUtc { get; set; } + + + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List> Details { get; set; } + + /// + /// Gets or Sets Message + /// + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus {\n"); + sb.Append(" ConfigurationId: ").Append(ConfigurationId).Append("\n"); + sb.Append(" Version: ").Append(Version).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus); + } + + /// + /// Returns true if InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus instances are equal + /// + /// Instance of InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ConfigurationId == other.ConfigurationId || + this.ConfigurationId != null && + this.ConfigurationId.Equals(other.ConfigurationId) + ) && + ( + this.Version == other.Version || + this.Version != null && + this.Version.Equals(other.Version) + ) && + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ConfigurationId != null) + hash = hash * 59 + this.ConfigurationId.GetHashCode(); + if (this.Version != null) + hash = hash * 59 + this.Version.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.cs b/Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.cs new file mode 100644 index 00000000..9e20106c --- /dev/null +++ b/Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.cs @@ -0,0 +1,263 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus + /// + [DataContract] + public partial class InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus : IEquatable, IValidatableObject + { + /// + /// Gets or Sets Status + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum SUCCESS for "SUCCESS" + /// + [EnumMember(Value = "SUCCESS")] + SUCCESS, + + /// + /// Enum FAILURE for "FAILURE" + /// + [EnumMember(Value = "FAILURE")] + FAILURE, + + /// + /// Enum PARTIAL for "PARTIAL" + /// + [EnumMember(Value = "PARTIAL")] + PARTIAL, + + /// + /// Enum PENDING for "PENDING" + /// + [EnumMember(Value = "PENDING")] + PENDING + } + + /// + /// Gets or Sets Reason + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ReasonEnum + { + + /// + /// Enum DEPENDENTPRODUCTNOTCONTRACTED for "DEPENDENT_PRODUCT_NOT_CONTRACTED" + /// + [EnumMember(Value = "DEPENDENT_PRODUCT_NOT_CONTRACTED")] + DEPENDENTPRODUCTNOTCONTRACTED, + + /// + /// Enum DEPENDENTFEATURENOTCHOSEN for "DEPENDENT_FEATURE_NOT_CHOSEN" + /// + [EnumMember(Value = "DEPENDENT_FEATURE_NOT_CHOSEN")] + DEPENDENTFEATURENOTCHOSEN, + + /// + /// Enum MISSINGDATA for "MISSING_DATA" + /// + [EnumMember(Value = "MISSING_DATA")] + MISSINGDATA, + + /// + /// Enum INVALIDDATA for "INVALID_DATA" + /// + [EnumMember(Value = "INVALID_DATA")] + INVALIDDATA, + + /// + /// Enum DUPLICATEFIELD for "DUPLICATE_FIELD" + /// + [EnumMember(Value = "DUPLICATE_FIELD")] + DUPLICATEFIELD + } + + /// + /// Gets or Sets Status + /// + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Gets or Sets Reason + /// + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// Status. + /// Reason. + /// Details. + /// Message. + public InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus(string SubmitTimeUtc = default(string), StatusEnum? Status = default(StatusEnum?), ReasonEnum? Reason = default(ReasonEnum?), List> Details = default(List>), string Message = default(string)) + { + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Reason = Reason; + this.Details = Details; + this.Message = Message; + } + + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public string SubmitTimeUtc { get; set; } + + + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List> Details { get; set; } + + /// + /// Gets or Sets Message + /// + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus {\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus); + } + + /// + /// Returns true if InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus instances are equal + /// + /// Instance of InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsPaymentsDigitalPayments.cs b/Model/InlineResponse2011SetupsPaymentsDigitalPayments.cs new file mode 100644 index 00000000..a9fad28d --- /dev/null +++ b/Model/InlineResponse2011SetupsPaymentsDigitalPayments.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsPaymentsDigitalPayments + /// + [DataContract] + public partial class InlineResponse2011SetupsPaymentsDigitalPayments : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionStatus. + public InlineResponse2011SetupsPaymentsDigitalPayments(InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus SubscriptionStatus = default(InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus)) + { + this.SubscriptionStatus = SubscriptionStatus; + } + + /// + /// Gets or Sets SubscriptionStatus + /// + [DataMember(Name="subscriptionStatus", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus SubscriptionStatus { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsPaymentsDigitalPayments {\n"); + sb.Append(" SubscriptionStatus: ").Append(SubscriptionStatus).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsPaymentsDigitalPayments); + } + + /// + /// Returns true if InlineResponse2011SetupsPaymentsDigitalPayments instances are equal + /// + /// Instance of InlineResponse2011SetupsPaymentsDigitalPayments to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsPaymentsDigitalPayments other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionStatus == other.SubscriptionStatus || + this.SubscriptionStatus != null && + this.SubscriptionStatus.Equals(other.SubscriptionStatus) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionStatus != null) + hash = hash * 59 + this.SubscriptionStatus.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsRisk.cs b/Model/InlineResponse2011SetupsRisk.cs new file mode 100644 index 00000000..aee1ce84 --- /dev/null +++ b/Model/InlineResponse2011SetupsRisk.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsRisk + /// + [DataContract] + public partial class InlineResponse2011SetupsRisk : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// FraudManagementEssentials. + /// DecisionManager. + public InlineResponse2011SetupsRisk(InlineResponse2011SetupsPaymentsCardProcessing FraudManagementEssentials = default(InlineResponse2011SetupsPaymentsCardProcessing), InlineResponse2011SetupsPaymentsCardProcessing DecisionManager = default(InlineResponse2011SetupsPaymentsCardProcessing)) + { + this.FraudManagementEssentials = FraudManagementEssentials; + this.DecisionManager = DecisionManager; + } + + /// + /// Gets or Sets FraudManagementEssentials + /// + [DataMember(Name="fraudManagementEssentials", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing FraudManagementEssentials { get; set; } + + /// + /// Gets or Sets DecisionManager + /// + [DataMember(Name="decisionManager", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsCardProcessing DecisionManager { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsRisk {\n"); + sb.Append(" FraudManagementEssentials: ").Append(FraudManagementEssentials).Append("\n"); + sb.Append(" DecisionManager: ").Append(DecisionManager).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsRisk); + } + + /// + /// Returns true if InlineResponse2011SetupsRisk instances are equal + /// + /// Instance of InlineResponse2011SetupsRisk to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsRisk other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.FraudManagementEssentials == other.FraudManagementEssentials || + this.FraudManagementEssentials != null && + this.FraudManagementEssentials.Equals(other.FraudManagementEssentials) + ) && + ( + this.DecisionManager == other.DecisionManager || + this.DecisionManager != null && + this.DecisionManager.Equals(other.DecisionManager) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.FraudManagementEssentials != null) + hash = hash * 59 + this.FraudManagementEssentials.GetHashCode(); + if (this.DecisionManager != null) + hash = hash * 59 + this.DecisionManager.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2011SetupsValueAddedServices.cs b/Model/InlineResponse2011SetupsValueAddedServices.cs new file mode 100644 index 00000000..ea223255 --- /dev/null +++ b/Model/InlineResponse2011SetupsValueAddedServices.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2011SetupsValueAddedServices + /// + [DataContract] + public partial class InlineResponse2011SetupsValueAddedServices : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Reporting. + /// TransactionSearch. + public InlineResponse2011SetupsValueAddedServices(InlineResponse2011SetupsPaymentsDigitalPayments Reporting = default(InlineResponse2011SetupsPaymentsDigitalPayments), InlineResponse2011SetupsPaymentsDigitalPayments TransactionSearch = default(InlineResponse2011SetupsPaymentsDigitalPayments)) + { + this.Reporting = Reporting; + this.TransactionSearch = TransactionSearch; + } + + /// + /// Gets or Sets Reporting + /// + [DataMember(Name="reporting", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments Reporting { get; set; } + + /// + /// Gets or Sets TransactionSearch + /// + [DataMember(Name="transactionSearch", EmitDefaultValue=false)] + public InlineResponse2011SetupsPaymentsDigitalPayments TransactionSearch { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2011SetupsValueAddedServices {\n"); + sb.Append(" Reporting: ").Append(Reporting).Append("\n"); + sb.Append(" TransactionSearch: ").Append(TransactionSearch).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2011SetupsValueAddedServices); + } + + /// + /// Returns true if InlineResponse2011SetupsValueAddedServices instances are equal + /// + /// Instance of InlineResponse2011SetupsValueAddedServices to be compared + /// Boolean + public bool Equals(InlineResponse2011SetupsValueAddedServices other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Reporting == other.Reporting || + this.Reporting != null && + this.Reporting.Equals(other.Reporting) + ) && + ( + this.TransactionSearch == other.TransactionSearch || + this.TransactionSearch != null && + this.TransactionSearch.Equals(other.TransactionSearch) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Reporting != null) + hash = hash * 59 + this.Reporting.GetHashCode(); + if (this.TransactionSearch != null) + hash = hash * 59 + this.TransactionSearch.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2012.cs b/Model/InlineResponse2012.cs new file mode 100644 index 00000000..88124830 --- /dev/null +++ b/Model/InlineResponse2012.cs @@ -0,0 +1,178 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Egress Key Information Response + /// + [DataContract] + public partial class InlineResponse2012 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. . + /// The status of the submitted transaction. Possible values: - ACCEPTED . + /// ClientReferenceInformation. + /// KeyInformation. + public InlineResponse2012(string SubmitTimeUtc = default(string), string Status = default(string), Kmsegressv2keyssymClientReferenceInformation ClientReferenceInformation = default(Kmsegressv2keyssymClientReferenceInformation), InlineResponse2012KeyInformation KeyInformation = default(InlineResponse2012KeyInformation)) + { + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.ClientReferenceInformation = ClientReferenceInformation; + this.KeyInformation = KeyInformation; + } + + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public string SubmitTimeUtc { get; set; } + + /// + /// The status of the submitted transaction. Possible values: - ACCEPTED + /// + /// The status of the submitted transaction. Possible values: - ACCEPTED + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public Kmsegressv2keyssymClientReferenceInformation ClientReferenceInformation { get; set; } + + /// + /// Gets or Sets KeyInformation + /// + [DataMember(Name="keyInformation", EmitDefaultValue=false)] + public InlineResponse2012KeyInformation KeyInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2012 {\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); + sb.Append(" KeyInformation: ").Append(KeyInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2012); + } + + /// + /// Returns true if InlineResponse2012 instances are equal + /// + /// Instance of InlineResponse2012 to be compared + /// Boolean + public bool Equals(InlineResponse2012 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && + ( + this.KeyInformation == other.KeyInformation || + this.KeyInformation != null && + this.KeyInformation.Equals(other.KeyInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); + if (this.KeyInformation != null) + hash = hash * 59 + this.KeyInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2012KeyInformation.cs b/Model/InlineResponse2012KeyInformation.cs new file mode 100644 index 00000000..7c52dc1c --- /dev/null +++ b/Model/InlineResponse2012KeyInformation.cs @@ -0,0 +1,298 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Egress Key Information + /// + [DataContract] + public partial class InlineResponse2012KeyInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Provider name . + /// Tenant name . + /// Organization Id . + /// Client key Id . + /// Key Serial Number . + /// Value of the key . + /// Type of the key . + /// The status of the key . + /// The expiration time in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// Message in case of failed key . + /// ErrorInformation. + public InlineResponse2012KeyInformation(string Provider = default(string), string Tenant = default(string), string OrganizationId = default(string), string ClientKeyId = default(string), string KeyId = default(string), string Key = default(string), string KeyType = default(string), string Status = default(string), string ExpirationDate = default(string), string Message = default(string), InlineResponse2012KeyInformationErrorInformation ErrorInformation = default(InlineResponse2012KeyInformationErrorInformation)) + { + this.Provider = Provider; + this.Tenant = Tenant; + this.OrganizationId = OrganizationId; + this.ClientKeyId = ClientKeyId; + this.KeyId = KeyId; + this.Key = Key; + this.KeyType = KeyType; + this.Status = Status; + this.ExpirationDate = ExpirationDate; + this.Message = Message; + this.ErrorInformation = ErrorInformation; + } + + /// + /// Provider name + /// + /// Provider name + [DataMember(Name="provider", EmitDefaultValue=false)] + public string Provider { get; set; } + + /// + /// Tenant name + /// + /// Tenant name + [DataMember(Name="tenant", EmitDefaultValue=false)] + public string Tenant { get; set; } + + /// + /// Organization Id + /// + /// Organization Id + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// Client key Id + /// + /// Client key Id + [DataMember(Name="clientKeyId", EmitDefaultValue=false)] + public string ClientKeyId { get; set; } + + /// + /// Key Serial Number + /// + /// Key Serial Number + [DataMember(Name="keyId", EmitDefaultValue=false)] + public string KeyId { get; set; } + + /// + /// Value of the key + /// + /// Value of the key + [DataMember(Name="key", EmitDefaultValue=false)] + public string Key { get; set; } + + /// + /// Type of the key + /// + /// Type of the key + [DataMember(Name="keyType", EmitDefaultValue=false)] + public string KeyType { get; set; } + + /// + /// The status of the key + /// + /// The status of the key + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// The expiration time in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// The expiration time in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="expirationDate", EmitDefaultValue=false)] + public string ExpirationDate { get; set; } + + /// + /// Message in case of failed key + /// + /// Message in case of failed key + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Gets or Sets ErrorInformation + /// + [DataMember(Name="errorInformation", EmitDefaultValue=false)] + public InlineResponse2012KeyInformationErrorInformation ErrorInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2012KeyInformation {\n"); + sb.Append(" Provider: ").Append(Provider).Append("\n"); + sb.Append(" Tenant: ").Append(Tenant).Append("\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" ClientKeyId: ").Append(ClientKeyId).Append("\n"); + sb.Append(" KeyId: ").Append(KeyId).Append("\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" KeyType: ").Append(KeyType).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" ExpirationDate: ").Append(ExpirationDate).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" ErrorInformation: ").Append(ErrorInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2012KeyInformation); + } + + /// + /// Returns true if InlineResponse2012KeyInformation instances are equal + /// + /// Instance of InlineResponse2012KeyInformation to be compared + /// Boolean + public bool Equals(InlineResponse2012KeyInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Provider == other.Provider || + this.Provider != null && + this.Provider.Equals(other.Provider) + ) && + ( + this.Tenant == other.Tenant || + this.Tenant != null && + this.Tenant.Equals(other.Tenant) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.ClientKeyId == other.ClientKeyId || + this.ClientKeyId != null && + this.ClientKeyId.Equals(other.ClientKeyId) + ) && + ( + this.KeyId == other.KeyId || + this.KeyId != null && + this.KeyId.Equals(other.KeyId) + ) && + ( + this.Key == other.Key || + this.Key != null && + this.Key.Equals(other.Key) + ) && + ( + this.KeyType == other.KeyType || + this.KeyType != null && + this.KeyType.Equals(other.KeyType) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.ExpirationDate == other.ExpirationDate || + this.ExpirationDate != null && + this.ExpirationDate.Equals(other.ExpirationDate) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ) && + ( + this.ErrorInformation == other.ErrorInformation || + this.ErrorInformation != null && + this.ErrorInformation.Equals(other.ErrorInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Provider != null) + hash = hash * 59 + this.Provider.GetHashCode(); + if (this.Tenant != null) + hash = hash * 59 + this.Tenant.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.ClientKeyId != null) + hash = hash * 59 + this.ClientKeyId.GetHashCode(); + if (this.KeyId != null) + hash = hash * 59 + this.KeyId.GetHashCode(); + if (this.Key != null) + hash = hash * 59 + this.Key.GetHashCode(); + if (this.KeyType != null) + hash = hash * 59 + this.KeyType.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.ExpirationDate != null) + hash = hash * 59 + this.ExpirationDate.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.ErrorInformation != null) + hash = hash * 59 + this.ErrorInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2012KeyInformationErrorInformation.cs b/Model/InlineResponse2012KeyInformationErrorInformation.cs new file mode 100644 index 00000000..3f7f1938 --- /dev/null +++ b/Model/InlineResponse2012KeyInformationErrorInformation.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2012KeyInformationErrorInformation + /// + [DataContract] + public partial class InlineResponse2012KeyInformationErrorInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA . + /// Details. + public InlineResponse2012KeyInformationErrorInformation(string Reason = default(string), List Details = default(List)) + { + this.Reason = Reason; + this.Details = Details; + } + + /// + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA + /// + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2012KeyInformationErrorInformation {\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2012KeyInformationErrorInformation); + } + + /// + /// Returns true if InlineResponse2012KeyInformationErrorInformation instances are equal + /// + /// Instance of InlineResponse2012KeyInformationErrorInformation to be compared + /// Boolean + public bool Equals(InlineResponse2012KeyInformationErrorInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2012KeyInformationErrorInformationDetails.cs b/Model/InlineResponse2012KeyInformationErrorInformationDetails.cs new file mode 100644 index 00000000..91c3f97d --- /dev/null +++ b/Model/InlineResponse2012KeyInformationErrorInformationDetails.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2012KeyInformationErrorInformationDetails + /// + [DataContract] + public partial class InlineResponse2012KeyInformationErrorInformationDetails : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// This is the flattened JSON object field name/path that is either missing or invalid. + /// Possible reasons for the error. Possible values: - MISSING_FIELD - INVALID_DATA . + public InlineResponse2012KeyInformationErrorInformationDetails(string Field = default(string), string Reason = default(string)) + { + this.Field = Field; + this.Reason = Reason; + } + + /// + /// This is the flattened JSON object field name/path that is either missing or invalid + /// + /// This is the flattened JSON object field name/path that is either missing or invalid + [DataMember(Name="field", EmitDefaultValue=false)] + public string Field { get; set; } + + /// + /// Possible reasons for the error. Possible values: - MISSING_FIELD - INVALID_DATA + /// + /// Possible reasons for the error. Possible values: - MISSING_FIELD - INVALID_DATA + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2012KeyInformationErrorInformationDetails {\n"); + sb.Append(" Field: ").Append(Field).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2012KeyInformationErrorInformationDetails); + } + + /// + /// Returns true if InlineResponse2012KeyInformationErrorInformationDetails instances are equal + /// + /// Instance of InlineResponse2012KeyInformationErrorInformationDetails to be compared + /// Boolean + public bool Equals(InlineResponse2012KeyInformationErrorInformationDetails other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Field == other.Field || + this.Field != null && + this.Field.Equals(other.Field) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Field != null) + hash = hash * 59 + this.Field.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2013.cs b/Model/InlineResponse2013.cs new file mode 100644 index 00000000..fd664beb --- /dev/null +++ b/Model/InlineResponse2013.cs @@ -0,0 +1,372 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse2013 + /// + [DataContract] + public partial class InlineResponse2013 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Webhook Id. This is generated by the server.. + /// Organization ID. + /// The product you are receiving a webhook for.. + /// Array of the different events for a given product id.. + /// The client's endpoint (URL) to receive webhooks.. + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl.. + /// NotificationScope. + /// Webhook status. (default to "INACTIVE"). + /// Client friendly webhook name.. + /// Client friendly webhook description.. + /// RetryPolicy. + /// SecurityPolicy. + /// Date on which webhook was created/registered.. + /// Date on which webhook was most recently updated.. + /// Additional, free form configuration data.. + public InlineResponse2013(string WebhookId = default(string), string OrganizationId = default(string), string ProductId = default(string), List EventTypes = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), Notificationsubscriptionsv1webhooksNotificationScope NotificationScope = default(Notificationsubscriptionsv1webhooksNotificationScope), string Status = "INACTIVE", string Name = default(string), string Description = default(string), Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv1webhooksRetryPolicy), Notificationsubscriptionsv1webhooksSecurityPolicy SecurityPolicy = default(Notificationsubscriptionsv1webhooksSecurityPolicy), string CreatedOn = default(string), string UpdatedOn = default(string), List> AdditionalAttributes = default(List>)) + { + this.WebhookId = WebhookId; + this.OrganizationId = OrganizationId; + this.ProductId = ProductId; + this.EventTypes = EventTypes; + this.WebhookUrl = WebhookUrl; + this.HealthCheckUrl = HealthCheckUrl; + this.NotificationScope = NotificationScope; + // use default value if no "Status" provided + if (Status == null) + { + this.Status = "INACTIVE"; + } + else + { + this.Status = Status; + } + this.Name = Name; + this.Description = Description; + this.RetryPolicy = RetryPolicy; + this.SecurityPolicy = SecurityPolicy; + this.CreatedOn = CreatedOn; + this.UpdatedOn = UpdatedOn; + this.AdditionalAttributes = AdditionalAttributes; + } + + /// + /// Webhook Id. This is generated by the server. + /// + /// Webhook Id. This is generated by the server. + [DataMember(Name="webhookId", EmitDefaultValue=false)] + public string WebhookId { get; set; } + + /// + /// Organization ID + /// + /// Organization ID + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// The product you are receiving a webhook for. + /// + /// The product you are receiving a webhook for. + [DataMember(Name="productId", EmitDefaultValue=false)] + public string ProductId { get; set; } + + /// + /// Array of the different events for a given product id. + /// + /// Array of the different events for a given product id. + [DataMember(Name="eventTypes", EmitDefaultValue=false)] + public List EventTypes { get; set; } + + /// + /// The client's endpoint (URL) to receive webhooks. + /// + /// The client's endpoint (URL) to receive webhooks. + [DataMember(Name="webhookUrl", EmitDefaultValue=false)] + public string WebhookUrl { get; set; } + + /// + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. + /// + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. + [DataMember(Name="healthCheckUrl", EmitDefaultValue=false)] + public string HealthCheckUrl { get; set; } + + /// + /// Gets or Sets NotificationScope + /// + [DataMember(Name="notificationScope", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksNotificationScope NotificationScope { get; set; } + + /// + /// Webhook status. + /// + /// Webhook status. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Client friendly webhook name. + /// + /// Client friendly webhook name. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Client friendly webhook description. + /// + /// Client friendly webhook description. + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Gets or Sets RetryPolicy + /// + [DataMember(Name="retryPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy { get; set; } + + /// + /// Gets or Sets SecurityPolicy + /// + [DataMember(Name="securityPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksSecurityPolicy SecurityPolicy { get; set; } + + /// + /// Date on which webhook was created/registered. + /// + /// Date on which webhook was created/registered. + [DataMember(Name="createdOn", EmitDefaultValue=false)] + public string CreatedOn { get; set; } + + /// + /// Date on which webhook was most recently updated. + /// + /// Date on which webhook was most recently updated. + [DataMember(Name="updatedOn", EmitDefaultValue=false)] + public string UpdatedOn { get; set; } + + /// + /// Additional, free form configuration data. + /// + /// Additional, free form configuration data. + [DataMember(Name="additionalAttributes", EmitDefaultValue=false)] + public List> AdditionalAttributes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2013 {\n"); + sb.Append(" WebhookId: ").Append(WebhookId).Append("\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" EventTypes: ").Append(EventTypes).Append("\n"); + sb.Append(" WebhookUrl: ").Append(WebhookUrl).Append("\n"); + sb.Append(" HealthCheckUrl: ").Append(HealthCheckUrl).Append("\n"); + sb.Append(" NotificationScope: ").Append(NotificationScope).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" RetryPolicy: ").Append(RetryPolicy).Append("\n"); + sb.Append(" SecurityPolicy: ").Append(SecurityPolicy).Append("\n"); + sb.Append(" CreatedOn: ").Append(CreatedOn).Append("\n"); + sb.Append(" UpdatedOn: ").Append(UpdatedOn).Append("\n"); + sb.Append(" AdditionalAttributes: ").Append(AdditionalAttributes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2013); + } + + /// + /// Returns true if InlineResponse2013 instances are equal + /// + /// Instance of InlineResponse2013 to be compared + /// Boolean + public bool Equals(InlineResponse2013 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.WebhookId == other.WebhookId || + this.WebhookId != null && + this.WebhookId.Equals(other.WebhookId) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.ProductId == other.ProductId || + this.ProductId != null && + this.ProductId.Equals(other.ProductId) + ) && + ( + this.EventTypes == other.EventTypes || + this.EventTypes != null && + this.EventTypes.SequenceEqual(other.EventTypes) + ) && + ( + this.WebhookUrl == other.WebhookUrl || + this.WebhookUrl != null && + this.WebhookUrl.Equals(other.WebhookUrl) + ) && + ( + this.HealthCheckUrl == other.HealthCheckUrl || + this.HealthCheckUrl != null && + this.HealthCheckUrl.Equals(other.HealthCheckUrl) + ) && + ( + this.NotificationScope == other.NotificationScope || + this.NotificationScope != null && + this.NotificationScope.Equals(other.NotificationScope) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ) && + ( + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) + ) && + ( + this.RetryPolicy == other.RetryPolicy || + this.RetryPolicy != null && + this.RetryPolicy.Equals(other.RetryPolicy) + ) && + ( + this.SecurityPolicy == other.SecurityPolicy || + this.SecurityPolicy != null && + this.SecurityPolicy.Equals(other.SecurityPolicy) + ) && + ( + this.CreatedOn == other.CreatedOn || + this.CreatedOn != null && + this.CreatedOn.Equals(other.CreatedOn) + ) && + ( + this.UpdatedOn == other.UpdatedOn || + this.UpdatedOn != null && + this.UpdatedOn.Equals(other.UpdatedOn) + ) && + ( + this.AdditionalAttributes == other.AdditionalAttributes || + this.AdditionalAttributes != null && + this.AdditionalAttributes.SequenceEqual(other.AdditionalAttributes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.WebhookId != null) + hash = hash * 59 + this.WebhookId.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.ProductId != null) + hash = hash * 59 + this.ProductId.GetHashCode(); + if (this.EventTypes != null) + hash = hash * 59 + this.EventTypes.GetHashCode(); + if (this.WebhookUrl != null) + hash = hash * 59 + this.WebhookUrl.GetHashCode(); + if (this.HealthCheckUrl != null) + hash = hash * 59 + this.HealthCheckUrl.GetHashCode(); + if (this.NotificationScope != null) + hash = hash * 59 + this.NotificationScope.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); + if (this.RetryPolicy != null) + hash = hash * 59 + this.RetryPolicy.GetHashCode(); + if (this.SecurityPolicy != null) + hash = hash * 59 + this.SecurityPolicy.GetHashCode(); + if (this.CreatedOn != null) + hash = hash * 59 + this.CreatedOn.GetHashCode(); + if (this.UpdatedOn != null) + hash = hash * 59 + this.UpdatedOn.GetHashCode(); + if (this.AdditionalAttributes != null) + hash = hash * 59 + this.AdditionalAttributes.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse2014.cs b/Model/InlineResponse2014.cs new file mode 100644 index 00000000..fe1f1688 --- /dev/null +++ b/Model/InlineResponse2014.cs @@ -0,0 +1,178 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Egress Asymmetric Key Information Response. + /// + [DataContract] + public partial class InlineResponse2014 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. . + /// The status of the submitted transaction. Possible values: - ACCEPTED . + /// ClientReferenceInformation. + /// KeyInformation. + public InlineResponse2014(string SubmitTimeUtc = default(string), string Status = default(string), Kmsegressv2keyssymClientReferenceInformation ClientReferenceInformation = default(Kmsegressv2keyssymClientReferenceInformation), Kmsegressv2keysasymKeyInformation KeyInformation = default(Kmsegressv2keysasymKeyInformation)) + { + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.ClientReferenceInformation = ClientReferenceInformation; + this.KeyInformation = KeyInformation; + } + + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public string SubmitTimeUtc { get; set; } + + /// + /// The status of the submitted transaction. Possible values: - ACCEPTED + /// + /// The status of the submitted transaction. Possible values: - ACCEPTED + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public Kmsegressv2keyssymClientReferenceInformation ClientReferenceInformation { get; set; } + + /// + /// Gets or Sets KeyInformation + /// + [DataMember(Name="keyInformation", EmitDefaultValue=false)] + public Kmsegressv2keysasymKeyInformation KeyInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse2014 {\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); + sb.Append(" KeyInformation: ").Append(KeyInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse2014); + } + + /// + /// Returns true if InlineResponse2014 instances are equal + /// + /// Instance of InlineResponse2014 to be compared + /// Boolean + public bool Equals(InlineResponse2014 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && + ( + this.KeyInformation == other.KeyInformation || + this.KeyInformation != null && + this.KeyInformation.Equals(other.KeyInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); + if (this.KeyInformation != null) + hash = hash * 59 + this.KeyInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse4007.cs b/Model/InlineResponse4007.cs index 6eedda2f..06b2d5d3 100644 --- a/Model/InlineResponse4007.cs +++ b/Model/InlineResponse4007.cs @@ -31,170 +31,83 @@ namespace CyberSource.Model public partial class InlineResponse4007 : IEquatable, IValidatableObject { /// - /// Gets or Sets Reason + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' [JsonConverter(typeof(StringEnumConverter))] public enum ReasonEnum { /// - /// Enum INVALIDAPIKEY for "INVALID_APIKEY" + /// Enum INVALIDDATA for "INVALID_DATA" /// - [EnumMember(Value = "INVALID_APIKEY")] - INVALIDAPIKEY, + [EnumMember(Value = "INVALID_DATA")] + INVALIDDATA, /// - /// Enum INVALIDSHIPPINGINPUTPARAMS for "INVALID_SHIPPING_INPUT_PARAMS" + /// Enum SYSTEMERROR for "SYSTEM_ERROR" /// - [EnumMember(Value = "INVALID_SHIPPING_INPUT_PARAMS")] - INVALIDSHIPPINGINPUTPARAMS, + [EnumMember(Value = "SYSTEM_ERROR")] + SYSTEMERROR, /// - /// Enum CAPTURECONTEXTINVALID for "CAPTURE_CONTEXT_INVALID" + /// Enum RESOURCENOTFOUND for "RESOURCE_NOT_FOUND" /// - [EnumMember(Value = "CAPTURE_CONTEXT_INVALID")] - CAPTURECONTEXTINVALID, - - /// - /// Enum CAPTURECONTEXTEXPIRED for "CAPTURE_CONTEXT_EXPIRED" - /// - [EnumMember(Value = "CAPTURE_CONTEXT_EXPIRED")] - CAPTURECONTEXTEXPIRED, - - /// - /// Enum SDKXHRERROR for "SDK_XHR_ERROR" - /// - [EnumMember(Value = "SDK_XHR_ERROR")] - SDKXHRERROR, - - /// - /// Enum UNIFIEDPAYMENTSVALIDATIONPARAMS for "UNIFIEDPAYMENTS_VALIDATION_PARAMS" - /// - [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_PARAMS")] - UNIFIEDPAYMENTSVALIDATIONPARAMS, - - /// - /// Enum UNIFIEDPAYMENTSVALIDATIONFIELDS for "UNIFIEDPAYMENTS_VALIDATION_FIELDS" - /// - [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_FIELDS")] - UNIFIEDPAYMENTSVALIDATIONFIELDS, - - /// - /// Enum UNIFIEDPAYMENTPAYMENTPARAMITERS for "UNIFIEDPAYMENT_PAYMENT_PARAMITERS" - /// - [EnumMember(Value = "UNIFIEDPAYMENT_PAYMENT_PARAMITERS")] - UNIFIEDPAYMENTPAYMENTPARAMITERS, - - /// - /// Enum CREATETOKENTIMEOUT for "CREATE_TOKEN_TIMEOUT" - /// - [EnumMember(Value = "CREATE_TOKEN_TIMEOUT")] - CREATETOKENTIMEOUT, - - /// - /// Enum CREATETOKENXHRERROR for "CREATE_TOKEN_XHR_ERROR" - /// - [EnumMember(Value = "CREATE_TOKEN_XHR_ERROR")] - CREATETOKENXHRERROR, - - /// - /// Enum SHOWLOADCONTAINERSELECTOR for "SHOW_LOAD_CONTAINER_SELECTOR" - /// - [EnumMember(Value = "SHOW_LOAD_CONTAINER_SELECTOR")] - SHOWLOADCONTAINERSELECTOR, - - /// - /// Enum SHOWLOADINVALIDCONTAINER for "SHOW_LOAD_INVALID_CONTAINER" - /// - [EnumMember(Value = "SHOW_LOAD_INVALID_CONTAINER")] - SHOWLOADINVALIDCONTAINER, - - /// - /// Enum SHOWTOKENTIMEOUT for "SHOW_TOKEN_TIMEOUT" - /// - [EnumMember(Value = "SHOW_TOKEN_TIMEOUT")] - SHOWTOKENTIMEOUT, - - /// - /// Enum SHOWTOKENXHRERROR for "SHOW_TOKEN_XHR_ERROR" - /// - [EnumMember(Value = "SHOW_TOKEN_XHR_ERROR")] - SHOWTOKENXHRERROR, - - /// - /// Enum SHOWPAYMENTTIMEOUT for "SHOW_PAYMENT_TIMEOUT" - /// - [EnumMember(Value = "SHOW_PAYMENT_TIMEOUT")] - SHOWPAYMENTTIMEOUT + [EnumMember(Value = "RESOURCE_NOT_FOUND")] + RESOURCENOTFOUND } /// - /// Gets or Sets Reason + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' [DataMember(Name="reason", EmitDefaultValue=false)] public ReasonEnum? Reason { get; set; } /// /// Initializes a new instance of the class. /// - [JsonConstructorAttribute] - protected InlineResponse4007() { } - /// - /// Initializes a new instance of the class. - /// - /// CorrelationId. + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// The http status description of the submitted request.. + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' . + /// Descriptive message for the error.. /// Details. - /// InformationLink. - /// Message (required). - /// Reason (required). - public InlineResponse4007(string CorrelationId = default(string), List Details = default(List), string InformationLink = default(string), string Message = default(string), ReasonEnum? Reason = default(ReasonEnum?)) + public InlineResponse4007(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) { - // to ensure "Message" is required (not null) - if (Message == null) - { - throw new InvalidDataException("Message is a required property for InlineResponse4007 and cannot be null"); - } - else - { - this.Message = Message; - } - // to ensure "Reason" is required (not null) - if (Reason == null) - { - throw new InvalidDataException("Reason is a required property for InlineResponse4007 and cannot be null"); - } - else - { - this.Reason = Reason; - } - this.CorrelationId = CorrelationId; + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Reason = Reason; + this.Message = Message; this.Details = Details; - this.InformationLink = InformationLink; } /// - /// Gets or Sets CorrelationId + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. /// - [DataMember(Name="correlationId", EmitDefaultValue=false)] - public string CorrelationId { get; set; } + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? SubmitTimeUtc { get; set; } /// - /// Gets or Sets Details + /// The http status description of the submitted request. /// - [DataMember(Name="details", EmitDefaultValue=false)] - public List Details { get; set; } + /// The http status description of the submitted request. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } - /// - /// Gets or Sets InformationLink - /// - [DataMember(Name="informationLink", EmitDefaultValue=false)] - public string InformationLink { get; set; } /// - /// Gets or Sets Message + /// Descriptive message for the error. /// + /// Descriptive message for the error. [DataMember(Name="message", EmitDefaultValue=false)] public string Message { get; set; } + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } /// /// Returns the string presentation of the object @@ -204,11 +117,11 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse4007 {\n"); - sb.Append(" CorrelationId: ").Append(CorrelationId).Append("\n"); - sb.Append(" Details: ").Append(Details).Append("\n"); - sb.Append(" InformationLink: ").Append(InformationLink).Append("\n"); - sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -246,19 +159,19 @@ public bool Equals(InlineResponse4007 other) return ( - this.CorrelationId == other.CorrelationId || - this.CorrelationId != null && - this.CorrelationId.Equals(other.CorrelationId) + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) ) && ( - this.Details == other.Details || - this.Details != null && - this.Details.SequenceEqual(other.Details) + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) ) && ( - this.InformationLink == other.InformationLink || - this.InformationLink != null && - this.InformationLink.Equals(other.InformationLink) + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) ) && ( this.Message == other.Message || @@ -266,9 +179,9 @@ public bool Equals(InlineResponse4007 other) this.Message.Equals(other.Message) ) && ( - this.Reason == other.Reason || - this.Reason != null && - this.Reason.Equals(other.Reason) + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) ); } @@ -283,16 +196,16 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.CorrelationId != null) - hash = hash * 59 + this.CorrelationId.GetHashCode(); - if (this.Details != null) - hash = hash * 59 + this.Details.GetHashCode(); - if (this.InformationLink != null) - hash = hash * 59 + this.InformationLink.GetHashCode(); - if (this.Message != null) - hash = hash * 59 + this.Message.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); if (this.Reason != null) hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4007Details.cs b/Model/InlineResponse4007Details.cs index 56303aaf..692c21b4 100644 --- a/Model/InlineResponse4007Details.cs +++ b/Model/InlineResponse4007Details.cs @@ -33,25 +33,27 @@ public partial class InlineResponse4007Details : IEquatable /// Initializes a new instance of the class. /// - /// Location. - /// Message. - public InlineResponse4007Details(string Location = default(string), string Message = default(string)) + /// This is the flattened JSON object field name/path that is either missing or invalid.. + /// Possible reasons for the error.. + public InlineResponse4007Details(string Field = default(string), string Reason = default(string)) { - this.Location = Location; - this.Message = Message; + this.Field = Field; + this.Reason = Reason; } /// - /// Gets or Sets Location + /// This is the flattened JSON object field name/path that is either missing or invalid. /// - [DataMember(Name="location", EmitDefaultValue=false)] - public string Location { get; set; } + /// This is the flattened JSON object field name/path that is either missing or invalid. + [DataMember(Name="field", EmitDefaultValue=false)] + public string Field { get; set; } /// - /// Gets or Sets Message + /// Possible reasons for the error. /// - [DataMember(Name="message", EmitDefaultValue=false)] - public string Message { get; set; } + /// Possible reasons for the error. + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } /// /// Returns the string presentation of the object @@ -61,8 +63,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse4007Details {\n"); - sb.Append(" Location: ").Append(Location).Append("\n"); - sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Field: ").Append(Field).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -100,14 +102,14 @@ public bool Equals(InlineResponse4007Details other) return ( - this.Location == other.Location || - this.Location != null && - this.Location.Equals(other.Location) + this.Field == other.Field || + this.Field != null && + this.Field.Equals(other.Field) ) && ( - this.Message == other.Message || - this.Message != null && - this.Message.Equals(other.Message) + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) ); } @@ -122,10 +124,10 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Location != null) - hash = hash * 59 + this.Location.GetHashCode(); - if (this.Message != null) - hash = hash * 59 + this.Message.GetHashCode(); + if (this.Field != null) + hash = hash * 59 + this.Field.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4008.cs b/Model/InlineResponse4008.cs new file mode 100644 index 00000000..97f602fb --- /dev/null +++ b/Model/InlineResponse4008.cs @@ -0,0 +1,311 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse4008 + /// + [DataContract] + public partial class InlineResponse4008 : IEquatable, IValidatableObject + { + /// + /// Gets or Sets Reason + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ReasonEnum + { + + /// + /// Enum INVALIDAPIKEY for "INVALID_APIKEY" + /// + [EnumMember(Value = "INVALID_APIKEY")] + INVALIDAPIKEY, + + /// + /// Enum INVALIDSHIPPINGINPUTPARAMS for "INVALID_SHIPPING_INPUT_PARAMS" + /// + [EnumMember(Value = "INVALID_SHIPPING_INPUT_PARAMS")] + INVALIDSHIPPINGINPUTPARAMS, + + /// + /// Enum CAPTURECONTEXTINVALID for "CAPTURE_CONTEXT_INVALID" + /// + [EnumMember(Value = "CAPTURE_CONTEXT_INVALID")] + CAPTURECONTEXTINVALID, + + /// + /// Enum CAPTURECONTEXTEXPIRED for "CAPTURE_CONTEXT_EXPIRED" + /// + [EnumMember(Value = "CAPTURE_CONTEXT_EXPIRED")] + CAPTURECONTEXTEXPIRED, + + /// + /// Enum SDKXHRERROR for "SDK_XHR_ERROR" + /// + [EnumMember(Value = "SDK_XHR_ERROR")] + SDKXHRERROR, + + /// + /// Enum UNIFIEDPAYMENTSVALIDATIONPARAMS for "UNIFIEDPAYMENTS_VALIDATION_PARAMS" + /// + [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_PARAMS")] + UNIFIEDPAYMENTSVALIDATIONPARAMS, + + /// + /// Enum UNIFIEDPAYMENTSVALIDATIONFIELDS for "UNIFIEDPAYMENTS_VALIDATION_FIELDS" + /// + [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_FIELDS")] + UNIFIEDPAYMENTSVALIDATIONFIELDS, + + /// + /// Enum UNIFIEDPAYMENTPAYMENTPARAMITERS for "UNIFIEDPAYMENT_PAYMENT_PARAMITERS" + /// + [EnumMember(Value = "UNIFIEDPAYMENT_PAYMENT_PARAMITERS")] + UNIFIEDPAYMENTPAYMENTPARAMITERS, + + /// + /// Enum CREATETOKENTIMEOUT for "CREATE_TOKEN_TIMEOUT" + /// + [EnumMember(Value = "CREATE_TOKEN_TIMEOUT")] + CREATETOKENTIMEOUT, + + /// + /// Enum CREATETOKENXHRERROR for "CREATE_TOKEN_XHR_ERROR" + /// + [EnumMember(Value = "CREATE_TOKEN_XHR_ERROR")] + CREATETOKENXHRERROR, + + /// + /// Enum SHOWLOADCONTAINERSELECTOR for "SHOW_LOAD_CONTAINER_SELECTOR" + /// + [EnumMember(Value = "SHOW_LOAD_CONTAINER_SELECTOR")] + SHOWLOADCONTAINERSELECTOR, + + /// + /// Enum SHOWLOADINVALIDCONTAINER for "SHOW_LOAD_INVALID_CONTAINER" + /// + [EnumMember(Value = "SHOW_LOAD_INVALID_CONTAINER")] + SHOWLOADINVALIDCONTAINER, + + /// + /// Enum SHOWTOKENTIMEOUT for "SHOW_TOKEN_TIMEOUT" + /// + [EnumMember(Value = "SHOW_TOKEN_TIMEOUT")] + SHOWTOKENTIMEOUT, + + /// + /// Enum SHOWTOKENXHRERROR for "SHOW_TOKEN_XHR_ERROR" + /// + [EnumMember(Value = "SHOW_TOKEN_XHR_ERROR")] + SHOWTOKENXHRERROR, + + /// + /// Enum SHOWPAYMENTTIMEOUT for "SHOW_PAYMENT_TIMEOUT" + /// + [EnumMember(Value = "SHOW_PAYMENT_TIMEOUT")] + SHOWPAYMENTTIMEOUT + } + + /// + /// Gets or Sets Reason + /// + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected InlineResponse4008() { } + /// + /// Initializes a new instance of the class. + /// + /// CorrelationId. + /// Details. + /// InformationLink. + /// Message (required). + /// Reason (required). + public InlineResponse4008(string CorrelationId = default(string), List Details = default(List), string InformationLink = default(string), string Message = default(string), ReasonEnum? Reason = default(ReasonEnum?)) + { + // to ensure "Message" is required (not null) + if (Message == null) + { + throw new InvalidDataException("Message is a required property for InlineResponse4008 and cannot be null"); + } + else + { + this.Message = Message; + } + // to ensure "Reason" is required (not null) + if (Reason == null) + { + throw new InvalidDataException("Reason is a required property for InlineResponse4008 and cannot be null"); + } + else + { + this.Reason = Reason; + } + this.CorrelationId = CorrelationId; + this.Details = Details; + this.InformationLink = InformationLink; + } + + /// + /// Gets or Sets CorrelationId + /// + [DataMember(Name="correlationId", EmitDefaultValue=false)] + public string CorrelationId { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } + + /// + /// Gets or Sets InformationLink + /// + [DataMember(Name="informationLink", EmitDefaultValue=false)] + public string InformationLink { get; set; } + + /// + /// Gets or Sets Message + /// + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse4008 {\n"); + sb.Append(" CorrelationId: ").Append(CorrelationId).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append(" InformationLink: ").Append(InformationLink).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse4008); + } + + /// + /// Returns true if InlineResponse4008 instances are equal + /// + /// Instance of InlineResponse4008 to be compared + /// Boolean + public bool Equals(InlineResponse4008 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CorrelationId == other.CorrelationId || + this.CorrelationId != null && + this.CorrelationId.Equals(other.CorrelationId) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ) && + ( + this.InformationLink == other.InformationLink || + this.InformationLink != null && + this.InformationLink.Equals(other.InformationLink) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CorrelationId != null) + hash = hash * 59 + this.CorrelationId.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + if (this.InformationLink != null) + hash = hash * 59 + this.InformationLink.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse4008Details.cs b/Model/InlineResponse4008Details.cs new file mode 100644 index 00000000..3b512ad8 --- /dev/null +++ b/Model/InlineResponse4008Details.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse4008Details + /// + [DataContract] + public partial class InlineResponse4008Details : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Location. + /// Message. + public InlineResponse4008Details(string Location = default(string), string Message = default(string)) + { + this.Location = Location; + this.Message = Message; + } + + /// + /// Gets or Sets Location + /// + [DataMember(Name="location", EmitDefaultValue=false)] + public string Location { get; set; } + + /// + /// Gets or Sets Message + /// + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse4008Details {\n"); + sb.Append(" Location: ").Append(Location).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse4008Details); + } + + /// + /// Returns true if InlineResponse4008Details instances are equal + /// + /// Instance of InlineResponse4008Details to be compared + /// Boolean + public bool Equals(InlineResponse4008Details other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Location == other.Location || + this.Location != null && + this.Location.Equals(other.Location) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Location != null) + hash = hash * 59 + this.Location.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse4041.cs b/Model/InlineResponse4041.cs new file mode 100644 index 00000000..7a012bde --- /dev/null +++ b/Model/InlineResponse4041.cs @@ -0,0 +1,212 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse4041 + /// + [DataContract] + public partial class InlineResponse4041 : IEquatable, IValidatableObject + { + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' + [JsonConverter(typeof(StringEnumConverter))] + public enum ReasonEnum + { + + /// + /// Enum FOUND for "RESOURCE_NOT_FOUND" + /// + [EnumMember(Value = "RESOURCE_NOT_FOUND")] + FOUND + } + + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// The http status description of the submitted request.. + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' . + /// Descriptive message for the error.. + /// Details. + public InlineResponse4041(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) + { + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Reason = Reason; + this.Message = Message; + this.Details = Details; + } + + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? SubmitTimeUtc { get; set; } + + /// + /// The http status description of the submitted request. + /// + /// The http status description of the submitted request. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + + /// + /// Descriptive message for the error. + /// + /// Descriptive message for the error. + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse4041 {\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse4041); + } + + /// + /// Returns true if InlineResponse4041 instances are equal + /// + /// Instance of InlineResponse4041 to be compared + /// Boolean + public bool Equals(InlineResponse4041 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse4042.cs b/Model/InlineResponse4042.cs new file mode 100644 index 00000000..7defaf7b --- /dev/null +++ b/Model/InlineResponse4042.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse4042 + /// + [DataContract] + public partial class InlineResponse4042 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Reason. + /// Message. + /// Details. + public InlineResponse4042(string Reason = default(string), string Message = default(string), List Details = default(List)) + { + this.Reason = Reason; + this.Message = Message; + this.Details = Details; + } + + /// + /// Gets or Sets Reason + /// + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } + + /// + /// Gets or Sets Message + /// + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse4042 {\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse4042); + } + + /// + /// Returns true if InlineResponse4042 instances are equal + /// + /// Instance of InlineResponse4042 to be compared + /// Boolean + public bool Equals(InlineResponse4042 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse4042Details.cs b/Model/InlineResponse4042Details.cs new file mode 100644 index 00000000..17e020c4 --- /dev/null +++ b/Model/InlineResponse4042Details.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse4042Details + /// + [DataContract] + public partial class InlineResponse4042Details : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Field. + /// Reason. + public InlineResponse4042Details(string Field = default(string), string Reason = default(string)) + { + this.Field = Field; + this.Reason = Reason; + } + + /// + /// Gets or Sets Field + /// + [DataMember(Name="field", EmitDefaultValue=false)] + public string Field { get; set; } + + /// + /// Gets or Sets Reason + /// + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse4042Details {\n"); + sb.Append(" Field: ").Append(Field).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse4042Details); + } + + /// + /// Returns true if InlineResponse4042Details instances are equal + /// + /// Instance of InlineResponse4042Details to be compared + /// Boolean + public bool Equals(InlineResponse4042Details other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Field == other.Field || + this.Field != null && + this.Field.Equals(other.Field) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Field != null) + hash = hash * 59 + this.Field.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse4221.cs b/Model/InlineResponse4221.cs new file mode 100644 index 00000000..65ef3e96 --- /dev/null +++ b/Model/InlineResponse4221.cs @@ -0,0 +1,212 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse4221 + /// + [DataContract] + public partial class InlineResponse4221 : IEquatable, IValidatableObject + { + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' + [JsonConverter(typeof(StringEnumConverter))] + public enum ReasonEnum + { + + /// + /// Enum DATA for "INVALID_DATA" + /// + [EnumMember(Value = "INVALID_DATA")] + DATA + } + + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// The http status description of the submitted request.. + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' . + /// Descriptive message for the error.. + /// Details. + public InlineResponse4221(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) + { + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Reason = Reason; + this.Message = Message; + this.Details = Details; + } + + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? SubmitTimeUtc { get; set; } + + /// + /// The http status description of the submitted request. + /// + /// The http status description of the submitted request. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + + /// + /// Descriptive message for the error. + /// + /// Descriptive message for the error. + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse4221 {\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse4221); + } + + /// + /// Returns true if InlineResponse4221 instances are equal + /// + /// Instance of InlineResponse4221 to be compared + /// Boolean + public bool Equals(InlineResponse4221 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/InlineResponse5003.cs b/Model/InlineResponse5003.cs new file mode 100644 index 00000000..a146372e --- /dev/null +++ b/Model/InlineResponse5003.cs @@ -0,0 +1,196 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse5003 + /// + [DataContract] + public partial class InlineResponse5003 : IEquatable, IValidatableObject + { + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'SYSTEM_ERROR' + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'SYSTEM_ERROR' + [JsonConverter(typeof(StringEnumConverter))] + public enum ReasonEnum + { + + /// + /// Enum ERROR for "SYSTEM_ERROR" + /// + [EnumMember(Value = "SYSTEM_ERROR")] + ERROR + } + + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'SYSTEM_ERROR' + /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'SYSTEM_ERROR' + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// The http status description of the submitted request.. + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'SYSTEM_ERROR' . + /// Descriptive message for the error.. + public InlineResponse5003(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string)) + { + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Reason = Reason; + this.Message = Message; + } + + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? SubmitTimeUtc { get; set; } + + /// + /// The http status description of the submitted request. + /// + /// The http status description of the submitted request. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + + /// + /// Descriptive message for the error. + /// + /// Descriptive message for the error. + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class InlineResponse5003 {\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as InlineResponse5003); + } + + /// + /// Returns true if InlineResponse5003 instances are equal + /// + /// Instance of InlineResponse5003 to be compared + /// Boolean + public bool Equals(InlineResponse5003 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Kmsegressv2keysasymClientReferenceInformation.cs b/Model/Kmsegressv2keysasymClientReferenceInformation.cs new file mode 100644 index 00000000..963f4d13 --- /dev/null +++ b/Model/Kmsegressv2keysasymClientReferenceInformation.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Client object + /// + [DataContract] + public partial class Kmsegressv2keysasymClientReferenceInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. . + public Kmsegressv2keysasymClientReferenceInformation(string Code = default(string)) + { + this.Code = Code; + } + + /// + /// Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. + /// + /// Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Kmsegressv2keysasymClientReferenceInformation {\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Kmsegressv2keysasymClientReferenceInformation); + } + + /// + /// Returns true if Kmsegressv2keysasymClientReferenceInformation instances are equal + /// + /// Instance of Kmsegressv2keysasymClientReferenceInformation to be compared + /// Boolean + public bool Equals(Kmsegressv2keysasymClientReferenceInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Code == other.Code || + this.Code != null && + this.Code.Equals(other.Code) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Code != null) + hash = hash * 59 + this.Code.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Kmsegressv2keysasymKeyInformation.cs b/Model/Kmsegressv2keysasymKeyInformation.cs new file mode 100644 index 00000000..acfe4294 --- /dev/null +++ b/Model/Kmsegressv2keysasymKeyInformation.cs @@ -0,0 +1,265 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Egress Asymmetric Key Information Request + /// + [DataContract] + public partial class Kmsegressv2keysasymKeyInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Provider name . + /// Tenant name . + /// Type of the key . + /// Organization Id . + /// Public certificate with only base64 encoded payload and not the header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) . + /// Key Serial Number . + /// Private certificate with only base64 encoded payload and not header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) . + /// The status of the key . + /// Key expiry duration in days . + public Kmsegressv2keysasymKeyInformation(string Provider = default(string), string Tenant = default(string), string KeyType = default(string), string OrganizationId = default(string), string Pub = default(string), string KeyId = default(string), string Pvt = default(string), string Status = default(string), string ExpiryDuration = default(string)) + { + this.Provider = Provider; + this.Tenant = Tenant; + this.KeyType = KeyType; + this.OrganizationId = OrganizationId; + this.Pub = Pub; + this.KeyId = KeyId; + this.Pvt = Pvt; + this.Status = Status; + this.ExpiryDuration = ExpiryDuration; + } + + /// + /// Provider name + /// + /// Provider name + [DataMember(Name="provider", EmitDefaultValue=false)] + public string Provider { get; set; } + + /// + /// Tenant name + /// + /// Tenant name + [DataMember(Name="tenant", EmitDefaultValue=false)] + public string Tenant { get; set; } + + /// + /// Type of the key + /// + /// Type of the key + [DataMember(Name="keyType", EmitDefaultValue=false)] + public string KeyType { get; set; } + + /// + /// Organization Id + /// + /// Organization Id + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// Public certificate with only base64 encoded payload and not the header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) + /// + /// Public certificate with only base64 encoded payload and not the header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) + [DataMember(Name="pub", EmitDefaultValue=false)] + public string Pub { get; set; } + + /// + /// Key Serial Number + /// + /// Key Serial Number + [DataMember(Name="keyId", EmitDefaultValue=false)] + public string KeyId { get; set; } + + /// + /// Private certificate with only base64 encoded payload and not header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) + /// + /// Private certificate with only base64 encoded payload and not header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) + [DataMember(Name="pvt", EmitDefaultValue=false)] + public string Pvt { get; set; } + + /// + /// The status of the key + /// + /// The status of the key + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Key expiry duration in days + /// + /// Key expiry duration in days + [DataMember(Name="expiryDuration", EmitDefaultValue=false)] + public string ExpiryDuration { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Kmsegressv2keysasymKeyInformation {\n"); + sb.Append(" Provider: ").Append(Provider).Append("\n"); + sb.Append(" Tenant: ").Append(Tenant).Append("\n"); + sb.Append(" KeyType: ").Append(KeyType).Append("\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" Pub: ").Append(Pub).Append("\n"); + sb.Append(" KeyId: ").Append(KeyId).Append("\n"); + sb.Append(" Pvt: ").Append(Pvt).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" ExpiryDuration: ").Append(ExpiryDuration).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Kmsegressv2keysasymKeyInformation); + } + + /// + /// Returns true if Kmsegressv2keysasymKeyInformation instances are equal + /// + /// Instance of Kmsegressv2keysasymKeyInformation to be compared + /// Boolean + public bool Equals(Kmsegressv2keysasymKeyInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Provider == other.Provider || + this.Provider != null && + this.Provider.Equals(other.Provider) + ) && + ( + this.Tenant == other.Tenant || + this.Tenant != null && + this.Tenant.Equals(other.Tenant) + ) && + ( + this.KeyType == other.KeyType || + this.KeyType != null && + this.KeyType.Equals(other.KeyType) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.Pub == other.Pub || + this.Pub != null && + this.Pub.Equals(other.Pub) + ) && + ( + this.KeyId == other.KeyId || + this.KeyId != null && + this.KeyId.Equals(other.KeyId) + ) && + ( + this.Pvt == other.Pvt || + this.Pvt != null && + this.Pvt.Equals(other.Pvt) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.ExpiryDuration == other.ExpiryDuration || + this.ExpiryDuration != null && + this.ExpiryDuration.Equals(other.ExpiryDuration) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Provider != null) + hash = hash * 59 + this.Provider.GetHashCode(); + if (this.Tenant != null) + hash = hash * 59 + this.Tenant.GetHashCode(); + if (this.KeyType != null) + hash = hash * 59 + this.KeyType.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.Pub != null) + hash = hash * 59 + this.Pub.GetHashCode(); + if (this.KeyId != null) + hash = hash * 59 + this.KeyId.GetHashCode(); + if (this.Pvt != null) + hash = hash * 59 + this.Pvt.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.ExpiryDuration != null) + hash = hash * 59 + this.ExpiryDuration.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Kmsegressv2keyssymClientReferenceInformation.cs b/Model/Kmsegressv2keyssymClientReferenceInformation.cs new file mode 100644 index 00000000..3e6affaf --- /dev/null +++ b/Model/Kmsegressv2keyssymClientReferenceInformation.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Object for client references. + /// + [DataContract] + public partial class Kmsegressv2keyssymClientReferenceInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. . + public Kmsegressv2keyssymClientReferenceInformation(string Code = default(string)) + { + this.Code = Code; + } + + /// + /// Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. + /// + /// Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Kmsegressv2keyssymClientReferenceInformation {\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Kmsegressv2keyssymClientReferenceInformation); + } + + /// + /// Returns true if Kmsegressv2keyssymClientReferenceInformation instances are equal + /// + /// Instance of Kmsegressv2keyssymClientReferenceInformation to be compared + /// Boolean + public bool Equals(Kmsegressv2keyssymClientReferenceInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Code == other.Code || + this.Code != null && + this.Code.Equals(other.Code) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Code != null) + hash = hash * 59 + this.Code.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Kmsegressv2keyssymKeyInformation.cs b/Model/Kmsegressv2keyssymKeyInformation.cs new file mode 100644 index 00000000..a1587672 --- /dev/null +++ b/Model/Kmsegressv2keyssymKeyInformation.cs @@ -0,0 +1,265 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Egress Key Information Request + /// + [DataContract] + public partial class Kmsegressv2keyssymKeyInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Provider name . + /// Tenant name . + /// Type of the key . + /// Organization Id . + /// Client key Id . + /// Key Serial Number . + /// Value of the key . + /// The status of the key . + /// Key expiry duration in days . + public Kmsegressv2keyssymKeyInformation(string Provider = default(string), string Tenant = default(string), string KeyType = default(string), string OrganizationId = default(string), string ClientKeyId = default(string), string KeyId = default(string), string Key = default(string), string Status = default(string), string ExpiryDuration = default(string)) + { + this.Provider = Provider; + this.Tenant = Tenant; + this.KeyType = KeyType; + this.OrganizationId = OrganizationId; + this.ClientKeyId = ClientKeyId; + this.KeyId = KeyId; + this.Key = Key; + this.Status = Status; + this.ExpiryDuration = ExpiryDuration; + } + + /// + /// Provider name + /// + /// Provider name + [DataMember(Name="provider", EmitDefaultValue=false)] + public string Provider { get; set; } + + /// + /// Tenant name + /// + /// Tenant name + [DataMember(Name="tenant", EmitDefaultValue=false)] + public string Tenant { get; set; } + + /// + /// Type of the key + /// + /// Type of the key + [DataMember(Name="keyType", EmitDefaultValue=false)] + public string KeyType { get; set; } + + /// + /// Organization Id + /// + /// Organization Id + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// Client key Id + /// + /// Client key Id + [DataMember(Name="clientKeyId", EmitDefaultValue=false)] + public string ClientKeyId { get; set; } + + /// + /// Key Serial Number + /// + /// Key Serial Number + [DataMember(Name="keyId", EmitDefaultValue=false)] + public string KeyId { get; set; } + + /// + /// Value of the key + /// + /// Value of the key + [DataMember(Name="key", EmitDefaultValue=false)] + public string Key { get; set; } + + /// + /// The status of the key + /// + /// The status of the key + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Key expiry duration in days + /// + /// Key expiry duration in days + [DataMember(Name="expiryDuration", EmitDefaultValue=false)] + public string ExpiryDuration { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Kmsegressv2keyssymKeyInformation {\n"); + sb.Append(" Provider: ").Append(Provider).Append("\n"); + sb.Append(" Tenant: ").Append(Tenant).Append("\n"); + sb.Append(" KeyType: ").Append(KeyType).Append("\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" ClientKeyId: ").Append(ClientKeyId).Append("\n"); + sb.Append(" KeyId: ").Append(KeyId).Append("\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" ExpiryDuration: ").Append(ExpiryDuration).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Kmsegressv2keyssymKeyInformation); + } + + /// + /// Returns true if Kmsegressv2keyssymKeyInformation instances are equal + /// + /// Instance of Kmsegressv2keyssymKeyInformation to be compared + /// Boolean + public bool Equals(Kmsegressv2keyssymKeyInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Provider == other.Provider || + this.Provider != null && + this.Provider.Equals(other.Provider) + ) && + ( + this.Tenant == other.Tenant || + this.Tenant != null && + this.Tenant.Equals(other.Tenant) + ) && + ( + this.KeyType == other.KeyType || + this.KeyType != null && + this.KeyType.Equals(other.KeyType) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.ClientKeyId == other.ClientKeyId || + this.ClientKeyId != null && + this.ClientKeyId.Equals(other.ClientKeyId) + ) && + ( + this.KeyId == other.KeyId || + this.KeyId != null && + this.KeyId.Equals(other.KeyId) + ) && + ( + this.Key == other.Key || + this.Key != null && + this.Key.Equals(other.Key) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.ExpiryDuration == other.ExpiryDuration || + this.ExpiryDuration != null && + this.ExpiryDuration.Equals(other.ExpiryDuration) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Provider != null) + hash = hash * 59 + this.Provider.GetHashCode(); + if (this.Tenant != null) + hash = hash * 59 + this.Tenant.GetHashCode(); + if (this.KeyType != null) + hash = hash * 59 + this.KeyType.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.ClientKeyId != null) + hash = hash * 59 + this.ClientKeyId.GetHashCode(); + if (this.KeyId != null) + hash = hash * 59 + this.KeyId.GetHashCode(); + if (this.Key != null) + hash = hash * 59 + this.Key.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.ExpiryDuration != null) + hash = hash * 59 + this.ExpiryDuration.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.cs b/Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.cs new file mode 100644 index 00000000..2e662f8e --- /dev/null +++ b/Model/Notificationsubscriptionsv1productsorganizationIdEventTypes.cs @@ -0,0 +1,208 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Notificationsubscriptionsv1productsorganizationIdEventTypes + /// + [DataContract] + public partial class Notificationsubscriptionsv1productsorganizationIdEventTypes : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// EventName. + /// DisplayName. + /// Frequency. + /// TimeSensitivity (default to false). + /// PayloadEncryption (default to false). + public Notificationsubscriptionsv1productsorganizationIdEventTypes(string EventName = default(string), string DisplayName = default(string), int? Frequency = default(int?), bool? TimeSensitivity = false, bool? PayloadEncryption = false) + { + this.EventName = EventName; + this.DisplayName = DisplayName; + this.Frequency = Frequency; + // use default value if no "TimeSensitivity" provided + if (TimeSensitivity == null) + { + this.TimeSensitivity = false; + } + else + { + this.TimeSensitivity = TimeSensitivity; + } + // use default value if no "PayloadEncryption" provided + if (PayloadEncryption == null) + { + this.PayloadEncryption = false; + } + else + { + this.PayloadEncryption = PayloadEncryption; + } + } + + /// + /// Gets or Sets EventName + /// + [DataMember(Name="eventName", EmitDefaultValue=false)] + public string EventName { get; set; } + + /// + /// Gets or Sets DisplayName + /// + [DataMember(Name="displayName", EmitDefaultValue=false)] + public string DisplayName { get; set; } + + /// + /// Gets or Sets Frequency + /// + [DataMember(Name="frequency", EmitDefaultValue=false)] + public int? Frequency { get; set; } + + /// + /// Gets or Sets TimeSensitivity + /// + [DataMember(Name="timeSensitivity", EmitDefaultValue=false)] + public bool? TimeSensitivity { get; set; } + + /// + /// Gets or Sets PayloadEncryption + /// + [DataMember(Name="payloadEncryption", EmitDefaultValue=false)] + public bool? PayloadEncryption { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1productsorganizationIdEventTypes {\n"); + sb.Append(" EventName: ").Append(EventName).Append("\n"); + sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); + sb.Append(" Frequency: ").Append(Frequency).Append("\n"); + sb.Append(" TimeSensitivity: ").Append(TimeSensitivity).Append("\n"); + sb.Append(" PayloadEncryption: ").Append(PayloadEncryption).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1productsorganizationIdEventTypes); + } + + /// + /// Returns true if Notificationsubscriptionsv1productsorganizationIdEventTypes instances are equal + /// + /// Instance of Notificationsubscriptionsv1productsorganizationIdEventTypes to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1productsorganizationIdEventTypes other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.EventName == other.EventName || + this.EventName != null && + this.EventName.Equals(other.EventName) + ) && + ( + this.DisplayName == other.DisplayName || + this.DisplayName != null && + this.DisplayName.Equals(other.DisplayName) + ) && + ( + this.Frequency == other.Frequency || + this.Frequency != null && + this.Frequency.Equals(other.Frequency) + ) && + ( + this.TimeSensitivity == other.TimeSensitivity || + this.TimeSensitivity != null && + this.TimeSensitivity.Equals(other.TimeSensitivity) + ) && + ( + this.PayloadEncryption == other.PayloadEncryption || + this.PayloadEncryption != null && + this.PayloadEncryption.Equals(other.PayloadEncryption) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.EventName != null) + hash = hash * 59 + this.EventName.GetHashCode(); + if (this.DisplayName != null) + hash = hash * 59 + this.DisplayName.GetHashCode(); + if (this.Frequency != null) + hash = hash * 59 + this.Frequency.GetHashCode(); + if (this.TimeSensitivity != null) + hash = hash * 59 + this.TimeSensitivity.GetHashCode(); + if (this.PayloadEncryption != null) + hash = hash * 59 + this.PayloadEncryption.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksNotificationScope.cs b/Model/Notificationsubscriptionsv1webhooksNotificationScope.cs new file mode 100644 index 00000000..b4d4c391 --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksNotificationScope.cs @@ -0,0 +1,154 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Notificationsubscriptionsv1webhooksNotificationScope + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksNotificationScope : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field (default to "SELF"). + /// Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable.. + public Notificationsubscriptionsv1webhooksNotificationScope(string Scope = "SELF", List ScopeData = default(List)) + { + // use default value if no "Scope" provided + if (Scope == null) + { + this.Scope = "SELF"; + } + else + { + this.Scope = Scope; + } + this.ScopeData = ScopeData; + } + + /// + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field + /// + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field + [DataMember(Name="scope", EmitDefaultValue=false)] + public string Scope { get; set; } + + /// + /// Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable. + /// + /// Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable. + [DataMember(Name="scopeData", EmitDefaultValue=false)] + public List ScopeData { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksNotificationScope {\n"); + sb.Append(" Scope: ").Append(Scope).Append("\n"); + sb.Append(" ScopeData: ").Append(ScopeData).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksNotificationScope); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksNotificationScope instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksNotificationScope to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksNotificationScope other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Scope == other.Scope || + this.Scope != null && + this.Scope.Equals(other.Scope) + ) && + ( + this.ScopeData == other.ScopeData || + this.ScopeData != null && + this.ScopeData.SequenceEqual(other.ScopeData) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Scope != null) + hash = hash * 59 + this.Scope.GetHashCode(); + if (this.ScopeData != null) + hash = hash * 59 + this.ScopeData.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksProducts.cs b/Model/Notificationsubscriptionsv1webhooksProducts.cs new file mode 100644 index 00000000..3a174e8f --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksProducts.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Notificationsubscriptionsv1webhooksProducts + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksProducts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Product ID.. + /// EventTypes. + public Notificationsubscriptionsv1webhooksProducts(string ProductId = default(string), List EventTypes = default(List)) + { + this.ProductId = ProductId; + this.EventTypes = EventTypes; + } + + /// + /// Product ID. + /// + /// Product ID. + [DataMember(Name="productId", EmitDefaultValue=false)] + public string ProductId { get; set; } + + /// + /// Gets or Sets EventTypes + /// + [DataMember(Name="eventTypes", EmitDefaultValue=false)] + public List EventTypes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksProducts {\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" EventTypes: ").Append(EventTypes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksProducts); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksProducts instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksProducts to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksProducts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ProductId == other.ProductId || + this.ProductId != null && + this.ProductId.Equals(other.ProductId) + ) && + ( + this.EventTypes == other.EventTypes || + this.EventTypes != null && + this.EventTypes.SequenceEqual(other.EventTypes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ProductId != null) + hash = hash * 59 + this.ProductId.GetHashCode(); + if (this.EventTypes != null) + hash = hash * 59 + this.EventTypes.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksRetryPolicy.cs b/Model/Notificationsubscriptionsv1webhooksRetryPolicy.cs new file mode 100644 index 00000000..7fd836e1 --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksRetryPolicy.cs @@ -0,0 +1,248 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Retry policy for the individual webhooks that are a part of your subscription. If a message fails to deliver, it will execute through this retry policy. Automatic suspend and resume: If you experience downtime and have `deactivateFlag = true` any new messages will be held in a \"SUSPENDED\" status. When your healthCheckUrl returns healthy again, the subscription will automatically be re-enabled and your messages will be sent. We will ping your healthCheckUrl routinely using a POST call with an empty payload to check availability. If your endpoint returns an unhealthy status of != 200, we will check the healthCheckUrl at a more frequent rate until it is healthy again. If you experience downtime and have `deactivateFlag = false` and your message exhausts all retry attempts the message will go to a \"FAILED\" status. Support will be notified and will reach out to suggest you execute the \"REPLAY\" endpoint at a later date when your server is healthy. Reference the below values for formulas and calculations related to the frequency of retries depending on algorithm and configuration. + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksRetryPolicy : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// This is used to calculate the Retry Sequence. Sample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3 Arithmetic = a+r(n-1) Retry 1 - 10 minutes Retry 2 - 10+30x1 = 40 minutes Retry 3 - 10+30x2 = 70 minutes Geometric = ar^(n-1) Retry 1 - 10 minutes Retry 2 - 10x30^1 = 300 minutes Retry 3 - 10x30^2 = 9,000 minutes . + /// When to initiate first retry, after the initial call failed. (in mins).. + /// The interval between retries (in mins).. + /// The number of retries per sequence.. + /// Deactivate the subscription if your retries fail to deliver. If this is set to `true`, the automatic suspend and resume feature will occur. This would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent. If this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active. . + /// The number of times to repeat the complete retry sequence. 0 => don't repeat the retry sequence 1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3) 2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3) . + /// The time to wait to before repeating the complete retry sequence. Amount of time to wait between each sequence. Sample calculation using repeatSequenceWaitTime=10 (R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3) . + /// Additional data, if any.. + public Notificationsubscriptionsv1webhooksRetryPolicy(string Algorithm = default(string), int? FirstRetry = default(int?), int? Interval = default(int?), int? NumberOfRetries = default(int?), string DeactivateFlag = default(string), int? RepeatSequenceCount = default(int?), int? RepeatSequenceWaitTime = default(int?), List> AdditionalAttributes = default(List>)) + { + this.Algorithm = Algorithm; + this.FirstRetry = FirstRetry; + this.Interval = Interval; + this.NumberOfRetries = NumberOfRetries; + this.DeactivateFlag = DeactivateFlag; + this.RepeatSequenceCount = RepeatSequenceCount; + this.RepeatSequenceWaitTime = RepeatSequenceWaitTime; + this.AdditionalAttributes = AdditionalAttributes; + } + + /// + /// This is used to calculate the Retry Sequence. Sample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3 Arithmetic = a+r(n-1) Retry 1 - 10 minutes Retry 2 - 10+30x1 = 40 minutes Retry 3 - 10+30x2 = 70 minutes Geometric = ar^(n-1) Retry 1 - 10 minutes Retry 2 - 10x30^1 = 300 minutes Retry 3 - 10x30^2 = 9,000 minutes + /// + /// This is used to calculate the Retry Sequence. Sample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3 Arithmetic = a+r(n-1) Retry 1 - 10 minutes Retry 2 - 10+30x1 = 40 minutes Retry 3 - 10+30x2 = 70 minutes Geometric = ar^(n-1) Retry 1 - 10 minutes Retry 2 - 10x30^1 = 300 minutes Retry 3 - 10x30^2 = 9,000 minutes + [DataMember(Name="algorithm", EmitDefaultValue=false)] + public string Algorithm { get; set; } + + /// + /// When to initiate first retry, after the initial call failed. (in mins). + /// + /// When to initiate first retry, after the initial call failed. (in mins). + [DataMember(Name="firstRetry", EmitDefaultValue=false)] + public int? FirstRetry { get; set; } + + /// + /// The interval between retries (in mins). + /// + /// The interval between retries (in mins). + [DataMember(Name="interval", EmitDefaultValue=false)] + public int? Interval { get; set; } + + /// + /// The number of retries per sequence. + /// + /// The number of retries per sequence. + [DataMember(Name="numberOfRetries", EmitDefaultValue=false)] + public int? NumberOfRetries { get; set; } + + /// + /// Deactivate the subscription if your retries fail to deliver. If this is set to `true`, the automatic suspend and resume feature will occur. This would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent. If this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active. + /// + /// Deactivate the subscription if your retries fail to deliver. If this is set to `true`, the automatic suspend and resume feature will occur. This would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent. If this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active. + [DataMember(Name="deactivateFlag", EmitDefaultValue=false)] + public string DeactivateFlag { get; set; } + + /// + /// The number of times to repeat the complete retry sequence. 0 => don't repeat the retry sequence 1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3) 2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3) + /// + /// The number of times to repeat the complete retry sequence. 0 => don't repeat the retry sequence 1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3) 2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3) + [DataMember(Name="repeatSequenceCount", EmitDefaultValue=false)] + public int? RepeatSequenceCount { get; set; } + + /// + /// The time to wait to before repeating the complete retry sequence. Amount of time to wait between each sequence. Sample calculation using repeatSequenceWaitTime=10 (R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3) + /// + /// The time to wait to before repeating the complete retry sequence. Amount of time to wait between each sequence. Sample calculation using repeatSequenceWaitTime=10 (R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3) + [DataMember(Name="repeatSequenceWaitTime", EmitDefaultValue=false)] + public int? RepeatSequenceWaitTime { get; set; } + + /// + /// Additional data, if any. + /// + /// Additional data, if any. + [DataMember(Name="additionalAttributes", EmitDefaultValue=false)] + public List> AdditionalAttributes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksRetryPolicy {\n"); + sb.Append(" Algorithm: ").Append(Algorithm).Append("\n"); + sb.Append(" FirstRetry: ").Append(FirstRetry).Append("\n"); + sb.Append(" Interval: ").Append(Interval).Append("\n"); + sb.Append(" NumberOfRetries: ").Append(NumberOfRetries).Append("\n"); + sb.Append(" DeactivateFlag: ").Append(DeactivateFlag).Append("\n"); + sb.Append(" RepeatSequenceCount: ").Append(RepeatSequenceCount).Append("\n"); + sb.Append(" RepeatSequenceWaitTime: ").Append(RepeatSequenceWaitTime).Append("\n"); + sb.Append(" AdditionalAttributes: ").Append(AdditionalAttributes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksRetryPolicy); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksRetryPolicy instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksRetryPolicy to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksRetryPolicy other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Algorithm == other.Algorithm || + this.Algorithm != null && + this.Algorithm.Equals(other.Algorithm) + ) && + ( + this.FirstRetry == other.FirstRetry || + this.FirstRetry != null && + this.FirstRetry.Equals(other.FirstRetry) + ) && + ( + this.Interval == other.Interval || + this.Interval != null && + this.Interval.Equals(other.Interval) + ) && + ( + this.NumberOfRetries == other.NumberOfRetries || + this.NumberOfRetries != null && + this.NumberOfRetries.Equals(other.NumberOfRetries) + ) && + ( + this.DeactivateFlag == other.DeactivateFlag || + this.DeactivateFlag != null && + this.DeactivateFlag.Equals(other.DeactivateFlag) + ) && + ( + this.RepeatSequenceCount == other.RepeatSequenceCount || + this.RepeatSequenceCount != null && + this.RepeatSequenceCount.Equals(other.RepeatSequenceCount) + ) && + ( + this.RepeatSequenceWaitTime == other.RepeatSequenceWaitTime || + this.RepeatSequenceWaitTime != null && + this.RepeatSequenceWaitTime.Equals(other.RepeatSequenceWaitTime) + ) && + ( + this.AdditionalAttributes == other.AdditionalAttributes || + this.AdditionalAttributes != null && + this.AdditionalAttributes.SequenceEqual(other.AdditionalAttributes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Algorithm != null) + hash = hash * 59 + this.Algorithm.GetHashCode(); + if (this.FirstRetry != null) + hash = hash * 59 + this.FirstRetry.GetHashCode(); + if (this.Interval != null) + hash = hash * 59 + this.Interval.GetHashCode(); + if (this.NumberOfRetries != null) + hash = hash * 59 + this.NumberOfRetries.GetHashCode(); + if (this.DeactivateFlag != null) + hash = hash * 59 + this.DeactivateFlag.GetHashCode(); + if (this.RepeatSequenceCount != null) + hash = hash * 59 + this.RepeatSequenceCount.GetHashCode(); + if (this.RepeatSequenceWaitTime != null) + hash = hash * 59 + this.RepeatSequenceWaitTime.GetHashCode(); + if (this.AdditionalAttributes != null) + hash = hash * 59 + this.AdditionalAttributes.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksSecurityPolicy.cs b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy.cs new file mode 100644 index 00000000..d3852d3b --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// The security option to authenticate with your API or client server. + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksSecurityPolicy : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Security Policy of the client server.. + /// Config. + public Notificationsubscriptionsv1webhooksSecurityPolicy(string SecurityType = default(string), Notificationsubscriptionsv1webhooksSecurityPolicyConfig Config = default(Notificationsubscriptionsv1webhooksSecurityPolicyConfig)) + { + this.SecurityType = SecurityType; + this.Config = Config; + } + + /// + /// Security Policy of the client server. + /// + /// Security Policy of the client server. + [DataMember(Name="securityType", EmitDefaultValue=false)] + public string SecurityType { get; set; } + + /// + /// Gets or Sets Config + /// + [DataMember(Name="config", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksSecurityPolicyConfig Config { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksSecurityPolicy {\n"); + sb.Append(" SecurityType: ").Append(SecurityType).Append("\n"); + sb.Append(" Config: ").Append(Config).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksSecurityPolicy); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksSecurityPolicy instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksSecurityPolicy to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksSecurityPolicy other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SecurityType == other.SecurityType || + this.SecurityType != null && + this.SecurityType.Equals(other.SecurityType) + ) && + ( + this.Config == other.Config || + this.Config != null && + this.Config.Equals(other.Config) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SecurityType != null) + hash = hash * 59 + this.SecurityType.GetHashCode(); + if (this.Config != null) + hash = hash * 59 + this.Config.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.cs b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.cs new file mode 100644 index 00000000..e7354353 --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1.cs @@ -0,0 +1,162 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// The security option to authenticate with your API or client server. + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksSecurityPolicy1 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Security Policy of the client server.. + /// Internal client proxy type to be used by security policy.. + /// Config. + public Notificationsubscriptionsv1webhooksSecurityPolicy1(string SecurityType = default(string), string ProxyType = default(string), Notificationsubscriptionsv1webhooksSecurityPolicy1Config Config = default(Notificationsubscriptionsv1webhooksSecurityPolicy1Config)) + { + this.SecurityType = SecurityType; + this.ProxyType = ProxyType; + this.Config = Config; + } + + /// + /// Security Policy of the client server. + /// + /// Security Policy of the client server. + [DataMember(Name="securityType", EmitDefaultValue=false)] + public string SecurityType { get; set; } + + /// + /// Internal client proxy type to be used by security policy. + /// + /// Internal client proxy type to be used by security policy. + [DataMember(Name="proxyType", EmitDefaultValue=false)] + public string ProxyType { get; set; } + + /// + /// Gets or Sets Config + /// + [DataMember(Name="config", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksSecurityPolicy1Config Config { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksSecurityPolicy1 {\n"); + sb.Append(" SecurityType: ").Append(SecurityType).Append("\n"); + sb.Append(" ProxyType: ").Append(ProxyType).Append("\n"); + sb.Append(" Config: ").Append(Config).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksSecurityPolicy1); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksSecurityPolicy1 instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksSecurityPolicy1 to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksSecurityPolicy1 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SecurityType == other.SecurityType || + this.SecurityType != null && + this.SecurityType.Equals(other.SecurityType) + ) && + ( + this.ProxyType == other.ProxyType || + this.ProxyType != null && + this.ProxyType.Equals(other.ProxyType) + ) && + ( + this.Config == other.Config || + this.Config != null && + this.Config.Equals(other.Config) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SecurityType != null) + hash = hash * 59 + this.SecurityType.GetHashCode(); + if (this.ProxyType != null) + hash = hash * 59 + this.ProxyType.GetHashCode(); + if (this.Config != null) + hash = hash * 59 + this.Config.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.cs b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.cs new file mode 100644 index 00000000..2c1ca2e4 --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.cs @@ -0,0 +1,179 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Optional configuration object for if your API or server requires oAuth for an incoming webhook. + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksSecurityPolicy1Config : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Token expiration for the oAuth server.. + /// Client direct endpoint to the oAuth server.. + /// Token type for the oAuth config.. + /// AdditionalConfig. + public Notificationsubscriptionsv1webhooksSecurityPolicy1Config(string OAuthTokenExpiry = default(string), string OAuthURL = default(string), string OAuthTokenType = default(string), Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig AdditionalConfig = default(Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig)) + { + this.OAuthTokenExpiry = OAuthTokenExpiry; + this.OAuthURL = OAuthURL; + this.OAuthTokenType = OAuthTokenType; + this.AdditionalConfig = AdditionalConfig; + } + + /// + /// Token expiration for the oAuth server. + /// + /// Token expiration for the oAuth server. + [DataMember(Name="oAuthTokenExpiry", EmitDefaultValue=false)] + public string OAuthTokenExpiry { get; set; } + + /// + /// Client direct endpoint to the oAuth server. + /// + /// Client direct endpoint to the oAuth server. + [DataMember(Name="oAuthURL", EmitDefaultValue=false)] + public string OAuthURL { get; set; } + + /// + /// Token type for the oAuth config. + /// + /// Token type for the oAuth config. + [DataMember(Name="oAuthTokenType", EmitDefaultValue=false)] + public string OAuthTokenType { get; set; } + + /// + /// Gets or Sets AdditionalConfig + /// + [DataMember(Name="additionalConfig", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig AdditionalConfig { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksSecurityPolicy1Config {\n"); + sb.Append(" OAuthTokenExpiry: ").Append(OAuthTokenExpiry).Append("\n"); + sb.Append(" OAuthURL: ").Append(OAuthURL).Append("\n"); + sb.Append(" OAuthTokenType: ").Append(OAuthTokenType).Append("\n"); + sb.Append(" AdditionalConfig: ").Append(AdditionalConfig).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksSecurityPolicy1Config); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksSecurityPolicy1Config instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksSecurityPolicy1Config to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksSecurityPolicy1Config other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.OAuthTokenExpiry == other.OAuthTokenExpiry || + this.OAuthTokenExpiry != null && + this.OAuthTokenExpiry.Equals(other.OAuthTokenExpiry) + ) && + ( + this.OAuthURL == other.OAuthURL || + this.OAuthURL != null && + this.OAuthURL.Equals(other.OAuthURL) + ) && + ( + this.OAuthTokenType == other.OAuthTokenType || + this.OAuthTokenType != null && + this.OAuthTokenType.Equals(other.OAuthTokenType) + ) && + ( + this.AdditionalConfig == other.AdditionalConfig || + this.AdditionalConfig != null && + this.AdditionalConfig.Equals(other.AdditionalConfig) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.OAuthTokenExpiry != null) + hash = hash * 59 + this.OAuthTokenExpiry.GetHashCode(); + if (this.OAuthURL != null) + hash = hash * 59 + this.OAuthURL.GetHashCode(); + if (this.OAuthTokenType != null) + hash = hash * 59 + this.OAuthTokenType.GetHashCode(); + if (this.AdditionalConfig != null) + hash = hash * 59 + this.AdditionalConfig.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.cs b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.cs new file mode 100644 index 00000000..3126ed98 --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Additional, free form configuration data. + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Aud. + /// ClientId. + /// KeyId. + /// Scope. + public Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig(string Aud = default(string), string ClientId = default(string), string KeyId = default(string), string Scope = default(string)) + { + this.Aud = Aud; + this.ClientId = ClientId; + this.KeyId = KeyId; + this.Scope = Scope; + } + + /// + /// Gets or Sets Aud + /// + [DataMember(Name="aud", EmitDefaultValue=false)] + public string Aud { get; set; } + + /// + /// Gets or Sets ClientId + /// + [DataMember(Name="client_id", EmitDefaultValue=false)] + public string ClientId { get; set; } + + /// + /// Gets or Sets KeyId + /// + [DataMember(Name="keyId", EmitDefaultValue=false)] + public string KeyId { get; set; } + + /// + /// Gets or Sets Scope + /// + [DataMember(Name="scope", EmitDefaultValue=false)] + public string Scope { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig {\n"); + sb.Append(" Aud: ").Append(Aud).Append("\n"); + sb.Append(" ClientId: ").Append(ClientId).Append("\n"); + sb.Append(" KeyId: ").Append(KeyId).Append("\n"); + sb.Append(" Scope: ").Append(Scope).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Aud == other.Aud || + this.Aud != null && + this.Aud.Equals(other.Aud) + ) && + ( + this.ClientId == other.ClientId || + this.ClientId != null && + this.ClientId.Equals(other.ClientId) + ) && + ( + this.KeyId == other.KeyId || + this.KeyId != null && + this.KeyId.Equals(other.KeyId) + ) && + ( + this.Scope == other.Scope || + this.Scope != null && + this.Scope.Equals(other.Scope) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Aud != null) + hash = hash * 59 + this.Aud.GetHashCode(); + if (this.ClientId != null) + hash = hash * 59 + this.ClientId.GetHashCode(); + if (this.KeyId != null) + hash = hash * 59 + this.KeyId.GetHashCode(); + if (this.Scope != null) + hash = hash * 59 + this.Scope.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.cs b/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.cs new file mode 100644 index 00000000..97946ab9 --- /dev/null +++ b/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.cs @@ -0,0 +1,163 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Optional configuration object for if your API or server requires oAuth for an incoming webhook. + /// + [DataContract] + public partial class Notificationsubscriptionsv1webhooksSecurityPolicyConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Token expiration for the oAuth server.. + /// Client direct endpoint to the oAuth server.. + /// Token type for the oAuth config.. + public Notificationsubscriptionsv1webhooksSecurityPolicyConfig(string OAuthTokenExpiry = default(string), string OAuthURL = default(string), string OAuthTokenType = default(string)) + { + this.OAuthTokenExpiry = OAuthTokenExpiry; + this.OAuthURL = OAuthURL; + this.OAuthTokenType = OAuthTokenType; + } + + /// + /// Token expiration for the oAuth server. + /// + /// Token expiration for the oAuth server. + [DataMember(Name="oAuthTokenExpiry", EmitDefaultValue=false)] + public string OAuthTokenExpiry { get; set; } + + /// + /// Client direct endpoint to the oAuth server. + /// + /// Client direct endpoint to the oAuth server. + [DataMember(Name="oAuthURL", EmitDefaultValue=false)] + public string OAuthURL { get; set; } + + /// + /// Token type for the oAuth config. + /// + /// Token type for the oAuth config. + [DataMember(Name="oAuthTokenType", EmitDefaultValue=false)] + public string OAuthTokenType { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Notificationsubscriptionsv1webhooksSecurityPolicyConfig {\n"); + sb.Append(" OAuthTokenExpiry: ").Append(OAuthTokenExpiry).Append("\n"); + sb.Append(" OAuthURL: ").Append(OAuthURL).Append("\n"); + sb.Append(" OAuthTokenType: ").Append(OAuthTokenType).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Notificationsubscriptionsv1webhooksSecurityPolicyConfig); + } + + /// + /// Returns true if Notificationsubscriptionsv1webhooksSecurityPolicyConfig instances are equal + /// + /// Instance of Notificationsubscriptionsv1webhooksSecurityPolicyConfig to be compared + /// Boolean + public bool Equals(Notificationsubscriptionsv1webhooksSecurityPolicyConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.OAuthTokenExpiry == other.OAuthTokenExpiry || + this.OAuthTokenExpiry != null && + this.OAuthTokenExpiry.Equals(other.OAuthTokenExpiry) + ) && + ( + this.OAuthURL == other.OAuthURL || + this.OAuthURL != null && + this.OAuthURL.Equals(other.OAuthURL) + ) && + ( + this.OAuthTokenType == other.OAuthTokenType || + this.OAuthTokenType != null && + this.OAuthTokenType.Equals(other.OAuthTokenType) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.OAuthTokenExpiry != null) + hash = hash * 59 + this.OAuthTokenExpiry.GetHashCode(); + if (this.OAuthURL != null) + hash = hash * 59 + this.OAuthURL.GetHashCode(); + if (this.OAuthTokenType != null) + hash = hash * 59 + this.OAuthTokenType.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.cs b/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.cs new file mode 100644 index 00000000..d137fbaa --- /dev/null +++ b/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.cs @@ -0,0 +1,212 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Nrtfv1webhookswebhookIdreplaysByDeliveryStatus + /// + [DataContract] + public partial class Nrtfv1webhookswebhookIdreplaysByDeliveryStatus : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The status of the webhook. Options are FAILED or RETRY. + /// The start time in yyyy-mm-dd hh:mm:ss.ms format. Maximum value is 1 month prior to todays system time. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. . + /// The end time in yyyy-mm-dd hh:mm:ss.ms format. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. . + /// Alternative parameter to startTime/endTime. It evaluates the startTime using the current system time (endTime) and the hoursBack value (default = 24hrs). . + /// ProductId. + /// EventType. + public Nrtfv1webhookswebhookIdreplaysByDeliveryStatus(string Status = default(string), DateTime? StartTime = default(DateTime?), DateTime? EndTime = default(DateTime?), int? HoursBack = default(int?), string ProductId = default(string), string EventType = default(string)) + { + this.Status = Status; + this.StartTime = StartTime; + this.EndTime = EndTime; + this.HoursBack = HoursBack; + this.ProductId = ProductId; + this.EventType = EventType; + } + + /// + /// The status of the webhook. Options are FAILED or RETRY + /// + /// The status of the webhook. Options are FAILED or RETRY + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// The start time in yyyy-mm-dd hh:mm:ss.ms format. Maximum value is 1 month prior to todays system time. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. + /// + /// The start time in yyyy-mm-dd hh:mm:ss.ms format. Maximum value is 1 month prior to todays system time. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. + [DataMember(Name="startTime", EmitDefaultValue=false)] + public DateTime? StartTime { get; set; } + + /// + /// The end time in yyyy-mm-dd hh:mm:ss.ms format. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. + /// + /// The end time in yyyy-mm-dd hh:mm:ss.ms format. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. + [DataMember(Name="endTime", EmitDefaultValue=false)] + public DateTime? EndTime { get; set; } + + /// + /// Alternative parameter to startTime/endTime. It evaluates the startTime using the current system time (endTime) and the hoursBack value (default = 24hrs). + /// + /// Alternative parameter to startTime/endTime. It evaluates the startTime using the current system time (endTime) and the hoursBack value (default = 24hrs). + [DataMember(Name="hoursBack", EmitDefaultValue=false)] + public int? HoursBack { get; set; } + + /// + /// Gets or Sets ProductId + /// + [DataMember(Name="productId", EmitDefaultValue=false)] + public string ProductId { get; set; } + + /// + /// Gets or Sets EventType + /// + [DataMember(Name="eventType", EmitDefaultValue=false)] + public string EventType { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Nrtfv1webhookswebhookIdreplaysByDeliveryStatus {\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" StartTime: ").Append(StartTime).Append("\n"); + sb.Append(" EndTime: ").Append(EndTime).Append("\n"); + sb.Append(" HoursBack: ").Append(HoursBack).Append("\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" EventType: ").Append(EventType).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Nrtfv1webhookswebhookIdreplaysByDeliveryStatus); + } + + /// + /// Returns true if Nrtfv1webhookswebhookIdreplaysByDeliveryStatus instances are equal + /// + /// Instance of Nrtfv1webhookswebhookIdreplaysByDeliveryStatus to be compared + /// Boolean + public bool Equals(Nrtfv1webhookswebhookIdreplaysByDeliveryStatus other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.StartTime == other.StartTime || + this.StartTime != null && + this.StartTime.Equals(other.StartTime) + ) && + ( + this.EndTime == other.EndTime || + this.EndTime != null && + this.EndTime.Equals(other.EndTime) + ) && + ( + this.HoursBack == other.HoursBack || + this.HoursBack != null && + this.HoursBack.Equals(other.HoursBack) + ) && + ( + this.ProductId == other.ProductId || + this.ProductId != null && + this.ProductId.Equals(other.ProductId) + ) && + ( + this.EventType == other.EventType || + this.EventType != null && + this.EventType.Equals(other.EventType) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.StartTime != null) + hash = hash * 59 + this.StartTime.GetHashCode(); + if (this.EndTime != null) + hash = hash * 59 + this.EndTime.GetHashCode(); + if (this.HoursBack != null) + hash = hash * 59 + this.HoursBack.GetHashCode(); + if (this.ProductId != null) + hash = hash * 59 + this.ProductId.GetHashCode(); + if (this.EventType != null) + hash = hash * 59 + this.EventType.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProducts.cs b/Model/PaymentProducts.cs new file mode 100644 index 00000000..8eed673f --- /dev/null +++ b/Model/PaymentProducts.cs @@ -0,0 +1,384 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProducts + /// + [DataContract] + public partial class PaymentProducts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardProcessing. + /// CardPresentConnect. + /// CybsReadyTerminal. + /// ECheck. + /// PayerAuthentication. + /// DigitalPayments. + /// SecureAcceptance. + /// VirtualTerminal. + /// CurrencyConversion. + /// Tax. + /// CustomerInvoicing. + /// RecurringBilling. + /// PaymentOrchestration. + /// Payouts. + /// DifferentialFee. + /// PayByLink. + /// UnifiedCheckout. + public PaymentProducts(PaymentProductsCardProcessing CardProcessing = default(PaymentProductsCardProcessing), PaymentProductsCardPresentConnect CardPresentConnect = default(PaymentProductsCardPresentConnect), PaymentProductsCybsReadyTerminal CybsReadyTerminal = default(PaymentProductsCybsReadyTerminal), PaymentProductsECheck ECheck = default(PaymentProductsECheck), PaymentProductsPayerAuthentication PayerAuthentication = default(PaymentProductsPayerAuthentication), PaymentProductsDigitalPayments DigitalPayments = default(PaymentProductsDigitalPayments), PaymentProductsSecureAcceptance SecureAcceptance = default(PaymentProductsSecureAcceptance), PaymentProductsVirtualTerminal VirtualTerminal = default(PaymentProductsVirtualTerminal), PaymentProductsCurrencyConversion CurrencyConversion = default(PaymentProductsCurrencyConversion), PaymentProductsTax Tax = default(PaymentProductsTax), PaymentProductsTax CustomerInvoicing = default(PaymentProductsTax), PaymentProductsTax RecurringBilling = default(PaymentProductsTax), PaymentProductsTax PaymentOrchestration = default(PaymentProductsTax), PaymentProductsPayouts Payouts = default(PaymentProductsPayouts), PaymentProductsDifferentialFee DifferentialFee = default(PaymentProductsDifferentialFee), PaymentProductsTax PayByLink = default(PaymentProductsTax), PaymentProductsTax UnifiedCheckout = default(PaymentProductsTax)) + { + this.CardProcessing = CardProcessing; + this.CardPresentConnect = CardPresentConnect; + this.CybsReadyTerminal = CybsReadyTerminal; + this.ECheck = ECheck; + this.PayerAuthentication = PayerAuthentication; + this.DigitalPayments = DigitalPayments; + this.SecureAcceptance = SecureAcceptance; + this.VirtualTerminal = VirtualTerminal; + this.CurrencyConversion = CurrencyConversion; + this.Tax = Tax; + this.CustomerInvoicing = CustomerInvoicing; + this.RecurringBilling = RecurringBilling; + this.PaymentOrchestration = PaymentOrchestration; + this.Payouts = Payouts; + this.DifferentialFee = DifferentialFee; + this.PayByLink = PayByLink; + this.UnifiedCheckout = UnifiedCheckout; + } + + /// + /// Gets or Sets CardProcessing + /// + [DataMember(Name="cardProcessing", EmitDefaultValue=false)] + public PaymentProductsCardProcessing CardProcessing { get; set; } + + /// + /// Gets or Sets CardPresentConnect + /// + [DataMember(Name="cardPresentConnect", EmitDefaultValue=false)] + public PaymentProductsCardPresentConnect CardPresentConnect { get; set; } + + /// + /// Gets or Sets CybsReadyTerminal + /// + [DataMember(Name="cybsReadyTerminal", EmitDefaultValue=false)] + public PaymentProductsCybsReadyTerminal CybsReadyTerminal { get; set; } + + /// + /// Gets or Sets ECheck + /// + [DataMember(Name="eCheck", EmitDefaultValue=false)] + public PaymentProductsECheck ECheck { get; set; } + + /// + /// Gets or Sets PayerAuthentication + /// + [DataMember(Name="payerAuthentication", EmitDefaultValue=false)] + public PaymentProductsPayerAuthentication PayerAuthentication { get; set; } + + /// + /// Gets or Sets DigitalPayments + /// + [DataMember(Name="digitalPayments", EmitDefaultValue=false)] + public PaymentProductsDigitalPayments DigitalPayments { get; set; } + + /// + /// Gets or Sets SecureAcceptance + /// + [DataMember(Name="secureAcceptance", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptance SecureAcceptance { get; set; } + + /// + /// Gets or Sets VirtualTerminal + /// + [DataMember(Name="virtualTerminal", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminal VirtualTerminal { get; set; } + + /// + /// Gets or Sets CurrencyConversion + /// + [DataMember(Name="currencyConversion", EmitDefaultValue=false)] + public PaymentProductsCurrencyConversion CurrencyConversion { get; set; } + + /// + /// Gets or Sets Tax + /// + [DataMember(Name="tax", EmitDefaultValue=false)] + public PaymentProductsTax Tax { get; set; } + + /// + /// Gets or Sets CustomerInvoicing + /// + [DataMember(Name="customerInvoicing", EmitDefaultValue=false)] + public PaymentProductsTax CustomerInvoicing { get; set; } + + /// + /// Gets or Sets RecurringBilling + /// + [DataMember(Name="recurringBilling", EmitDefaultValue=false)] + public PaymentProductsTax RecurringBilling { get; set; } + + /// + /// Gets or Sets PaymentOrchestration + /// + [DataMember(Name="paymentOrchestration", EmitDefaultValue=false)] + public PaymentProductsTax PaymentOrchestration { get; set; } + + /// + /// Gets or Sets Payouts + /// + [DataMember(Name="payouts", EmitDefaultValue=false)] + public PaymentProductsPayouts Payouts { get; set; } + + /// + /// Gets or Sets DifferentialFee + /// + [DataMember(Name="differentialFee", EmitDefaultValue=false)] + public PaymentProductsDifferentialFee DifferentialFee { get; set; } + + /// + /// Gets or Sets PayByLink + /// + [DataMember(Name="payByLink", EmitDefaultValue=false)] + public PaymentProductsTax PayByLink { get; set; } + + /// + /// Gets or Sets UnifiedCheckout + /// + [DataMember(Name="unifiedCheckout", EmitDefaultValue=false)] + public PaymentProductsTax UnifiedCheckout { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProducts {\n"); + sb.Append(" CardProcessing: ").Append(CardProcessing).Append("\n"); + sb.Append(" CardPresentConnect: ").Append(CardPresentConnect).Append("\n"); + sb.Append(" CybsReadyTerminal: ").Append(CybsReadyTerminal).Append("\n"); + sb.Append(" ECheck: ").Append(ECheck).Append("\n"); + sb.Append(" PayerAuthentication: ").Append(PayerAuthentication).Append("\n"); + sb.Append(" DigitalPayments: ").Append(DigitalPayments).Append("\n"); + sb.Append(" SecureAcceptance: ").Append(SecureAcceptance).Append("\n"); + sb.Append(" VirtualTerminal: ").Append(VirtualTerminal).Append("\n"); + sb.Append(" CurrencyConversion: ").Append(CurrencyConversion).Append("\n"); + sb.Append(" Tax: ").Append(Tax).Append("\n"); + sb.Append(" CustomerInvoicing: ").Append(CustomerInvoicing).Append("\n"); + sb.Append(" RecurringBilling: ").Append(RecurringBilling).Append("\n"); + sb.Append(" PaymentOrchestration: ").Append(PaymentOrchestration).Append("\n"); + sb.Append(" Payouts: ").Append(Payouts).Append("\n"); + sb.Append(" DifferentialFee: ").Append(DifferentialFee).Append("\n"); + sb.Append(" PayByLink: ").Append(PayByLink).Append("\n"); + sb.Append(" UnifiedCheckout: ").Append(UnifiedCheckout).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProducts); + } + + /// + /// Returns true if PaymentProducts instances are equal + /// + /// Instance of PaymentProducts to be compared + /// Boolean + public bool Equals(PaymentProducts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardProcessing == other.CardProcessing || + this.CardProcessing != null && + this.CardProcessing.Equals(other.CardProcessing) + ) && + ( + this.CardPresentConnect == other.CardPresentConnect || + this.CardPresentConnect != null && + this.CardPresentConnect.Equals(other.CardPresentConnect) + ) && + ( + this.CybsReadyTerminal == other.CybsReadyTerminal || + this.CybsReadyTerminal != null && + this.CybsReadyTerminal.Equals(other.CybsReadyTerminal) + ) && + ( + this.ECheck == other.ECheck || + this.ECheck != null && + this.ECheck.Equals(other.ECheck) + ) && + ( + this.PayerAuthentication == other.PayerAuthentication || + this.PayerAuthentication != null && + this.PayerAuthentication.Equals(other.PayerAuthentication) + ) && + ( + this.DigitalPayments == other.DigitalPayments || + this.DigitalPayments != null && + this.DigitalPayments.Equals(other.DigitalPayments) + ) && + ( + this.SecureAcceptance == other.SecureAcceptance || + this.SecureAcceptance != null && + this.SecureAcceptance.Equals(other.SecureAcceptance) + ) && + ( + this.VirtualTerminal == other.VirtualTerminal || + this.VirtualTerminal != null && + this.VirtualTerminal.Equals(other.VirtualTerminal) + ) && + ( + this.CurrencyConversion == other.CurrencyConversion || + this.CurrencyConversion != null && + this.CurrencyConversion.Equals(other.CurrencyConversion) + ) && + ( + this.Tax == other.Tax || + this.Tax != null && + this.Tax.Equals(other.Tax) + ) && + ( + this.CustomerInvoicing == other.CustomerInvoicing || + this.CustomerInvoicing != null && + this.CustomerInvoicing.Equals(other.CustomerInvoicing) + ) && + ( + this.RecurringBilling == other.RecurringBilling || + this.RecurringBilling != null && + this.RecurringBilling.Equals(other.RecurringBilling) + ) && + ( + this.PaymentOrchestration == other.PaymentOrchestration || + this.PaymentOrchestration != null && + this.PaymentOrchestration.Equals(other.PaymentOrchestration) + ) && + ( + this.Payouts == other.Payouts || + this.Payouts != null && + this.Payouts.Equals(other.Payouts) + ) && + ( + this.DifferentialFee == other.DifferentialFee || + this.DifferentialFee != null && + this.DifferentialFee.Equals(other.DifferentialFee) + ) && + ( + this.PayByLink == other.PayByLink || + this.PayByLink != null && + this.PayByLink.Equals(other.PayByLink) + ) && + ( + this.UnifiedCheckout == other.UnifiedCheckout || + this.UnifiedCheckout != null && + this.UnifiedCheckout.Equals(other.UnifiedCheckout) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CardProcessing != null) + hash = hash * 59 + this.CardProcessing.GetHashCode(); + if (this.CardPresentConnect != null) + hash = hash * 59 + this.CardPresentConnect.GetHashCode(); + if (this.CybsReadyTerminal != null) + hash = hash * 59 + this.CybsReadyTerminal.GetHashCode(); + if (this.ECheck != null) + hash = hash * 59 + this.ECheck.GetHashCode(); + if (this.PayerAuthentication != null) + hash = hash * 59 + this.PayerAuthentication.GetHashCode(); + if (this.DigitalPayments != null) + hash = hash * 59 + this.DigitalPayments.GetHashCode(); + if (this.SecureAcceptance != null) + hash = hash * 59 + this.SecureAcceptance.GetHashCode(); + if (this.VirtualTerminal != null) + hash = hash * 59 + this.VirtualTerminal.GetHashCode(); + if (this.CurrencyConversion != null) + hash = hash * 59 + this.CurrencyConversion.GetHashCode(); + if (this.Tax != null) + hash = hash * 59 + this.Tax.GetHashCode(); + if (this.CustomerInvoicing != null) + hash = hash * 59 + this.CustomerInvoicing.GetHashCode(); + if (this.RecurringBilling != null) + hash = hash * 59 + this.RecurringBilling.GetHashCode(); + if (this.PaymentOrchestration != null) + hash = hash * 59 + this.PaymentOrchestration.GetHashCode(); + if (this.Payouts != null) + hash = hash * 59 + this.Payouts.GetHashCode(); + if (this.DifferentialFee != null) + hash = hash * 59 + this.DifferentialFee.GetHashCode(); + if (this.PayByLink != null) + hash = hash * 59 + this.PayByLink.GetHashCode(); + if (this.UnifiedCheckout != null) + hash = hash * 59 + this.UnifiedCheckout.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardPresentConnect.cs b/Model/PaymentProductsCardPresentConnect.cs new file mode 100644 index 00000000..0a0f6cf4 --- /dev/null +++ b/Model/PaymentProductsCardPresentConnect.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardPresentConnect + /// + [DataContract] + public partial class PaymentProductsCardPresentConnect : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsCardPresentConnect(PaymentProductsCardPresentConnectSubscriptionInformation SubscriptionInformation = default(PaymentProductsCardPresentConnectSubscriptionInformation), PaymentProductsCardPresentConnectConfigurationInformation ConfigurationInformation = default(PaymentProductsCardPresentConnectConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsCardPresentConnectSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsCardPresentConnectConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardPresentConnect {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardPresentConnect); + } + + /// + /// Returns true if PaymentProductsCardPresentConnect instances are equal + /// + /// Instance of PaymentProductsCardPresentConnect to be compared + /// Boolean + public bool Equals(PaymentProductsCardPresentConnect other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardPresentConnectConfigurationInformation.cs b/Model/PaymentProductsCardPresentConnectConfigurationInformation.cs new file mode 100644 index 00000000..cac7f68c --- /dev/null +++ b/Model/PaymentProductsCardPresentConnectConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardPresentConnectConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsCardPresentConnectConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public PaymentProductsCardPresentConnectConfigurationInformation(Guid? TemplateId = default(Guid?), PaymentProductsCardPresentConnectConfigurationInformationConfigurations Configurations = default(PaymentProductsCardPresentConnectConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsCardPresentConnectConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardPresentConnectConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardPresentConnectConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsCardPresentConnectConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsCardPresentConnectConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsCardPresentConnectConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.cs b/Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..a4da1b76 --- /dev/null +++ b/Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardPresentConnectConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsCardPresentConnectConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Solution identifier used to associate a partner organization with the Merchant that is on-boarded.. + public PaymentProductsCardPresentConnectConfigurationInformationConfigurations(string PartnerSolutionIdentifier = default(string)) + { + this.PartnerSolutionIdentifier = PartnerSolutionIdentifier; + } + + /// + /// Solution identifier used to associate a partner organization with the Merchant that is on-boarded. + /// + /// Solution identifier used to associate a partner organization with the Merchant that is on-boarded. + [DataMember(Name="partnerSolutionIdentifier", EmitDefaultValue=false)] + public string PartnerSolutionIdentifier { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardPresentConnectConfigurationInformationConfigurations {\n"); + sb.Append(" PartnerSolutionIdentifier: ").Append(PartnerSolutionIdentifier).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardPresentConnectConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsCardPresentConnectConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsCardPresentConnectConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsCardPresentConnectConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.PartnerSolutionIdentifier == other.PartnerSolutionIdentifier || + this.PartnerSolutionIdentifier != null && + this.PartnerSolutionIdentifier.Equals(other.PartnerSolutionIdentifier) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.PartnerSolutionIdentifier != null) + hash = hash * 59 + this.PartnerSolutionIdentifier.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardPresentConnectSubscriptionInformation.cs b/Model/PaymentProductsCardPresentConnectSubscriptionInformation.cs new file mode 100644 index 00000000..0982af61 --- /dev/null +++ b/Model/PaymentProductsCardPresentConnectSubscriptionInformation.cs @@ -0,0 +1,168 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardPresentConnectSubscriptionInformation + /// + [DataContract] + public partial class PaymentProductsCardPresentConnectSubscriptionInformation : IEquatable, IValidatableObject + { + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [JsonConverter(typeof(StringEnumConverter))] + public enum SelfServiceabilityEnum + { + + /// + /// Enum SERVICEABLE for "NOT_SELF_SERVICEABLE" + /// + [EnumMember(Value = "NOT_SELF_SERVICEABLE")] + SERVICEABLE + } + + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [DataMember(Name="selfServiceability", EmitDefaultValue=false)] + public SelfServiceabilityEnum? SelfServiceability { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates if the organization can enable this product using self service. (default to SelfServiceabilityEnum.SERVICEABLE). + public PaymentProductsCardPresentConnectSubscriptionInformation(bool? Enabled = default(bool?), SelfServiceabilityEnum? SelfServiceability = SelfServiceabilityEnum.SERVICEABLE) + { + this.Enabled = Enabled; + // use default value if no "SelfServiceability" provided + if (SelfServiceability == null) + { + this.SelfServiceability = SelfServiceabilityEnum.SERVICEABLE; + } + else + { + this.SelfServiceability = SelfServiceability; + } + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardPresentConnectSubscriptionInformation {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" SelfServiceability: ").Append(SelfServiceability).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardPresentConnectSubscriptionInformation); + } + + /// + /// Returns true if PaymentProductsCardPresentConnectSubscriptionInformation instances are equal + /// + /// Instance of PaymentProductsCardPresentConnectSubscriptionInformation to be compared + /// Boolean + public bool Equals(PaymentProductsCardPresentConnectSubscriptionInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.SelfServiceability == other.SelfServiceability || + this.SelfServiceability != null && + this.SelfServiceability.Equals(other.SelfServiceability) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.SelfServiceability != null) + hash = hash * 59 + this.SelfServiceability.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessing.cs b/Model/PaymentProductsCardProcessing.cs new file mode 100644 index 00000000..d0cd37a1 --- /dev/null +++ b/Model/PaymentProductsCardProcessing.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessing + /// + [DataContract] + public partial class PaymentProductsCardProcessing : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsCardProcessing(PaymentProductsCardProcessingSubscriptionInformation SubscriptionInformation = default(PaymentProductsCardProcessingSubscriptionInformation), PaymentProductsCardProcessingConfigurationInformation ConfigurationInformation = default(PaymentProductsCardProcessingConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsCardProcessingSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessing {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessing); + } + + /// + /// Returns true if PaymentProductsCardProcessing instances are equal + /// + /// Instance of PaymentProductsCardProcessing to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessing other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformation.cs b/Model/PaymentProductsCardProcessingConfigurationInformation.cs new file mode 100644 index 00000000..77ee75bb --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public PaymentProductsCardProcessingConfigurationInformation(Guid? TemplateId = default(Guid?), PaymentProductsCardProcessingConfigurationInformationConfigurations Configurations = default(PaymentProductsCardProcessingConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurations.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..f7d5db5b --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurations.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Common. + /// Features. + public PaymentProductsCardProcessingConfigurationInformationConfigurations(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon Common = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon), PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures Features = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures)) + { + this.Common = Common; + this.Features = Features; + } + + /// + /// Gets or Sets Common + /// + [DataMember(Name="common", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon Common { get; set; } + + /// + /// Gets or Sets Features + /// + [DataMember(Name="features", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures Features { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurations {\n"); + sb.Append(" Common: ").Append(Common).Append("\n"); + sb.Append(" Features: ").Append(Features).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Common == other.Common || + this.Common != null && + this.Common.Equals(other.Common) + ) && + ( + this.Features == other.Features || + this.Features != null && + this.Features.Equals(other.Features) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Common != null) + hash = hash * 59 + this.Common.GetHashCode(); + if (this.Features != null) + hash = hash * 59 + this.Features.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.cs new file mode 100644 index 00000000..9aa3fd4c --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.cs @@ -0,0 +1,495 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon : IEquatable, IValidatableObject + { + /// + /// Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table> + /// + /// Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table> + [JsonConverter(typeof(StringEnumConverter))] + public enum DefaultAuthTypeCodeEnum + { + + /// + /// Enum PRE for "PRE" + /// + [EnumMember(Value = "PRE")] + PRE, + + /// + /// Enum FINAL for "FINAL" + /// + [EnumMember(Value = "FINAL")] + FINAL, + + /// + /// Enum UNDEFINED for "UNDEFINED" + /// + [EnumMember(Value = "UNDEFINED")] + UNDEFINED + } + + /// + /// Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table> + /// + /// Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table> + [DataMember(Name="defaultAuthTypeCode", EmitDefaultValue=false)] + public DefaultAuthTypeCodeEnum? DefaultAuthTypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; . + /// Vendor code assigned by American Express. Applicable for TSYS (tsys) processor.. + /// Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table> . + /// MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors.. + /// Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> . + /// Indicates type of business product or service of the merchant. Applicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> </table> . + /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.. + /// Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor.. + /// Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors. . + /// Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors.. + /// Identifier provided to merchants who opt for Visa’s delegated authorization program. Applicable for VPC processors.. + /// Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors.. + /// Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors.. + /// Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors.. + /// Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors.. + /// This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors.. + /// Indicates whether merchant processes Level 3 transactions. Applicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td></tr> </table> . + /// The ID assigned to the sub-merchant. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>20</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> . + /// Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> . + /// It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors.. + /// MerchantDescriptorInformation. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon(Dictionary Processors = default(Dictionary), string AmexVendorCode = default(string), DefaultAuthTypeCodeEnum? DefaultAuthTypeCode = default(DefaultAuthTypeCodeEnum?), string MasterCardAssignedId = default(string), bool? EnablePartialAuth = default(bool?), string MerchantCategoryCode = default(string), string SicCode = default(string), string FoodAndConsumerServiceId = default(string), bool? EnableSplitShipment = default(bool?), bool? EnableInterchangeOptimization = default(bool?), string VisaDelegatedAuthenticationId = default(string), string CreditCardRefundLimitPercent = default(string), string BusinessCenterCreditCardRefundLimitPercent = default(string), bool? AllowCapturesGreaterThanAuthorizations = default(bool?), bool? EnableDuplicateMerchantReferenceNumberBlocking = default(bool?), bool? DomesticMerchantId = default(bool?), string ProcessLevel3Data = default(string), string SubMerchantId = default(string), string SubMerchantBusinessName = default(string), bool? PreferCobadgedSecondaryBrand = default(bool?), PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation MerchantDescriptorInformation = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation)) + { + this.Processors = Processors; + this.AmexVendorCode = AmexVendorCode; + this.DefaultAuthTypeCode = DefaultAuthTypeCode; + this.MasterCardAssignedId = MasterCardAssignedId; + this.EnablePartialAuth = EnablePartialAuth; + this.MerchantCategoryCode = MerchantCategoryCode; + this.SicCode = SicCode; + this.FoodAndConsumerServiceId = FoodAndConsumerServiceId; + this.EnableSplitShipment = EnableSplitShipment; + this.EnableInterchangeOptimization = EnableInterchangeOptimization; + this.VisaDelegatedAuthenticationId = VisaDelegatedAuthenticationId; + this.CreditCardRefundLimitPercent = CreditCardRefundLimitPercent; + this.BusinessCenterCreditCardRefundLimitPercent = BusinessCenterCreditCardRefundLimitPercent; + this.AllowCapturesGreaterThanAuthorizations = AllowCapturesGreaterThanAuthorizations; + this.EnableDuplicateMerchantReferenceNumberBlocking = EnableDuplicateMerchantReferenceNumberBlocking; + this.DomesticMerchantId = DomesticMerchantId; + this.ProcessLevel3Data = ProcessLevel3Data; + this.SubMerchantId = SubMerchantId; + this.SubMerchantBusinessName = SubMerchantBusinessName; + this.PreferCobadgedSecondaryBrand = PreferCobadgedSecondaryBrand; + this.MerchantDescriptorInformation = MerchantDescriptorInformation; + } + + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Vendor code assigned by American Express. Applicable for TSYS (tsys) processor. + /// + /// Vendor code assigned by American Express. Applicable for TSYS (tsys) processor. + [DataMember(Name="amexVendorCode", EmitDefaultValue=false)] + public string AmexVendorCode { get; set; } + + + /// + /// MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors. + /// + /// MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors. + [DataMember(Name="masterCardAssignedId", EmitDefaultValue=false)] + public string MasterCardAssignedId { get; set; } + + /// + /// Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> + /// + /// Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="enablePartialAuth", EmitDefaultValue=false)] + public bool? EnablePartialAuth { get; set; } + + /// + /// Indicates type of business product or service of the merchant. Applicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> </table> + /// + /// Indicates type of business product or service of the merchant. Applicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> </table> + [DataMember(Name="merchantCategoryCode", EmitDefaultValue=false)] + public string MerchantCategoryCode { get; set; } + + /// + /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. + /// + /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. + [DataMember(Name="sicCode", EmitDefaultValue=false)] + public string SicCode { get; set; } + + /// + /// Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor. + /// + /// Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor. + [DataMember(Name="foodAndConsumerServiceId", EmitDefaultValue=false)] + public string FoodAndConsumerServiceId { get; set; } + + /// + /// Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors. + /// + /// Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors. + [DataMember(Name="enableSplitShipment", EmitDefaultValue=false)] + public bool? EnableSplitShipment { get; set; } + + /// + /// Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors. + /// + /// Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors. + [DataMember(Name="enableInterchangeOptimization", EmitDefaultValue=false)] + public bool? EnableInterchangeOptimization { get; set; } + + /// + /// Identifier provided to merchants who opt for Visa’s delegated authorization program. Applicable for VPC processors. + /// + /// Identifier provided to merchants who opt for Visa’s delegated authorization program. Applicable for VPC processors. + [DataMember(Name="visaDelegatedAuthenticationId", EmitDefaultValue=false)] + public string VisaDelegatedAuthenticationId { get; set; } + + /// + /// Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. + /// + /// Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. + [DataMember(Name="creditCardRefundLimitPercent", EmitDefaultValue=false)] + public string CreditCardRefundLimitPercent { get; set; } + + /// + /// Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors. + /// + /// Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="businessCenterCreditCardRefundLimitPercent", EmitDefaultValue=false)] + public string BusinessCenterCreditCardRefundLimitPercent { get; set; } + + /// + /// Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. + /// + /// Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. + [DataMember(Name="allowCapturesGreaterThanAuthorizations", EmitDefaultValue=false)] + public bool? AllowCapturesGreaterThanAuthorizations { get; set; } + + /// + /// Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors. + /// + /// Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors. + [DataMember(Name="enableDuplicateMerchantReferenceNumberBlocking", EmitDefaultValue=false)] + public bool? EnableDuplicateMerchantReferenceNumberBlocking { get; set; } + + /// + /// This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors. + /// + /// This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors. + [DataMember(Name="domesticMerchantId", EmitDefaultValue=false)] + public bool? DomesticMerchantId { get; set; } + + /// + /// Indicates whether merchant processes Level 3 transactions. Applicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td></tr> </table> + /// + /// Indicates whether merchant processes Level 3 transactions. Applicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td></tr> </table> + [DataMember(Name="processLevel3Data", EmitDefaultValue=false)] + public string ProcessLevel3Data { get; set; } + + /// + /// The ID assigned to the sub-merchant. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>20</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> + /// + /// The ID assigned to the sub-merchant. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>20</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> + [DataMember(Name="subMerchantId", EmitDefaultValue=false)] + public string SubMerchantId { get; set; } + + /// + /// Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> + /// + /// Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> + [DataMember(Name="subMerchantBusinessName", EmitDefaultValue=false)] + public string SubMerchantBusinessName { get; set; } + + /// + /// It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors. + /// + /// It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors. + [DataMember(Name="preferCobadgedSecondaryBrand", EmitDefaultValue=false)] + public bool? PreferCobadgedSecondaryBrand { get; set; } + + /// + /// Gets or Sets MerchantDescriptorInformation + /// + [DataMember(Name="merchantDescriptorInformation", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation MerchantDescriptorInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon {\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append(" AmexVendorCode: ").Append(AmexVendorCode).Append("\n"); + sb.Append(" DefaultAuthTypeCode: ").Append(DefaultAuthTypeCode).Append("\n"); + sb.Append(" MasterCardAssignedId: ").Append(MasterCardAssignedId).Append("\n"); + sb.Append(" EnablePartialAuth: ").Append(EnablePartialAuth).Append("\n"); + sb.Append(" MerchantCategoryCode: ").Append(MerchantCategoryCode).Append("\n"); + sb.Append(" SicCode: ").Append(SicCode).Append("\n"); + sb.Append(" FoodAndConsumerServiceId: ").Append(FoodAndConsumerServiceId).Append("\n"); + sb.Append(" EnableSplitShipment: ").Append(EnableSplitShipment).Append("\n"); + sb.Append(" EnableInterchangeOptimization: ").Append(EnableInterchangeOptimization).Append("\n"); + sb.Append(" VisaDelegatedAuthenticationId: ").Append(VisaDelegatedAuthenticationId).Append("\n"); + sb.Append(" CreditCardRefundLimitPercent: ").Append(CreditCardRefundLimitPercent).Append("\n"); + sb.Append(" BusinessCenterCreditCardRefundLimitPercent: ").Append(BusinessCenterCreditCardRefundLimitPercent).Append("\n"); + sb.Append(" AllowCapturesGreaterThanAuthorizations: ").Append(AllowCapturesGreaterThanAuthorizations).Append("\n"); + sb.Append(" EnableDuplicateMerchantReferenceNumberBlocking: ").Append(EnableDuplicateMerchantReferenceNumberBlocking).Append("\n"); + sb.Append(" DomesticMerchantId: ").Append(DomesticMerchantId).Append("\n"); + sb.Append(" ProcessLevel3Data: ").Append(ProcessLevel3Data).Append("\n"); + sb.Append(" SubMerchantId: ").Append(SubMerchantId).Append("\n"); + sb.Append(" SubMerchantBusinessName: ").Append(SubMerchantBusinessName).Append("\n"); + sb.Append(" PreferCobadgedSecondaryBrand: ").Append(PreferCobadgedSecondaryBrand).Append("\n"); + sb.Append(" MerchantDescriptorInformation: ").Append(MerchantDescriptorInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ) && + ( + this.AmexVendorCode == other.AmexVendorCode || + this.AmexVendorCode != null && + this.AmexVendorCode.Equals(other.AmexVendorCode) + ) && + ( + this.DefaultAuthTypeCode == other.DefaultAuthTypeCode || + this.DefaultAuthTypeCode != null && + this.DefaultAuthTypeCode.Equals(other.DefaultAuthTypeCode) + ) && + ( + this.MasterCardAssignedId == other.MasterCardAssignedId || + this.MasterCardAssignedId != null && + this.MasterCardAssignedId.Equals(other.MasterCardAssignedId) + ) && + ( + this.EnablePartialAuth == other.EnablePartialAuth || + this.EnablePartialAuth != null && + this.EnablePartialAuth.Equals(other.EnablePartialAuth) + ) && + ( + this.MerchantCategoryCode == other.MerchantCategoryCode || + this.MerchantCategoryCode != null && + this.MerchantCategoryCode.Equals(other.MerchantCategoryCode) + ) && + ( + this.SicCode == other.SicCode || + this.SicCode != null && + this.SicCode.Equals(other.SicCode) + ) && + ( + this.FoodAndConsumerServiceId == other.FoodAndConsumerServiceId || + this.FoodAndConsumerServiceId != null && + this.FoodAndConsumerServiceId.Equals(other.FoodAndConsumerServiceId) + ) && + ( + this.EnableSplitShipment == other.EnableSplitShipment || + this.EnableSplitShipment != null && + this.EnableSplitShipment.Equals(other.EnableSplitShipment) + ) && + ( + this.EnableInterchangeOptimization == other.EnableInterchangeOptimization || + this.EnableInterchangeOptimization != null && + this.EnableInterchangeOptimization.Equals(other.EnableInterchangeOptimization) + ) && + ( + this.VisaDelegatedAuthenticationId == other.VisaDelegatedAuthenticationId || + this.VisaDelegatedAuthenticationId != null && + this.VisaDelegatedAuthenticationId.Equals(other.VisaDelegatedAuthenticationId) + ) && + ( + this.CreditCardRefundLimitPercent == other.CreditCardRefundLimitPercent || + this.CreditCardRefundLimitPercent != null && + this.CreditCardRefundLimitPercent.Equals(other.CreditCardRefundLimitPercent) + ) && + ( + this.BusinessCenterCreditCardRefundLimitPercent == other.BusinessCenterCreditCardRefundLimitPercent || + this.BusinessCenterCreditCardRefundLimitPercent != null && + this.BusinessCenterCreditCardRefundLimitPercent.Equals(other.BusinessCenterCreditCardRefundLimitPercent) + ) && + ( + this.AllowCapturesGreaterThanAuthorizations == other.AllowCapturesGreaterThanAuthorizations || + this.AllowCapturesGreaterThanAuthorizations != null && + this.AllowCapturesGreaterThanAuthorizations.Equals(other.AllowCapturesGreaterThanAuthorizations) + ) && + ( + this.EnableDuplicateMerchantReferenceNumberBlocking == other.EnableDuplicateMerchantReferenceNumberBlocking || + this.EnableDuplicateMerchantReferenceNumberBlocking != null && + this.EnableDuplicateMerchantReferenceNumberBlocking.Equals(other.EnableDuplicateMerchantReferenceNumberBlocking) + ) && + ( + this.DomesticMerchantId == other.DomesticMerchantId || + this.DomesticMerchantId != null && + this.DomesticMerchantId.Equals(other.DomesticMerchantId) + ) && + ( + this.ProcessLevel3Data == other.ProcessLevel3Data || + this.ProcessLevel3Data != null && + this.ProcessLevel3Data.Equals(other.ProcessLevel3Data) + ) && + ( + this.SubMerchantId == other.SubMerchantId || + this.SubMerchantId != null && + this.SubMerchantId.Equals(other.SubMerchantId) + ) && + ( + this.SubMerchantBusinessName == other.SubMerchantBusinessName || + this.SubMerchantBusinessName != null && + this.SubMerchantBusinessName.Equals(other.SubMerchantBusinessName) + ) && + ( + this.PreferCobadgedSecondaryBrand == other.PreferCobadgedSecondaryBrand || + this.PreferCobadgedSecondaryBrand != null && + this.PreferCobadgedSecondaryBrand.Equals(other.PreferCobadgedSecondaryBrand) + ) && + ( + this.MerchantDescriptorInformation == other.MerchantDescriptorInformation || + this.MerchantDescriptorInformation != null && + this.MerchantDescriptorInformation.Equals(other.MerchantDescriptorInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + if (this.AmexVendorCode != null) + hash = hash * 59 + this.AmexVendorCode.GetHashCode(); + if (this.DefaultAuthTypeCode != null) + hash = hash * 59 + this.DefaultAuthTypeCode.GetHashCode(); + if (this.MasterCardAssignedId != null) + hash = hash * 59 + this.MasterCardAssignedId.GetHashCode(); + if (this.EnablePartialAuth != null) + hash = hash * 59 + this.EnablePartialAuth.GetHashCode(); + if (this.MerchantCategoryCode != null) + hash = hash * 59 + this.MerchantCategoryCode.GetHashCode(); + if (this.SicCode != null) + hash = hash * 59 + this.SicCode.GetHashCode(); + if (this.FoodAndConsumerServiceId != null) + hash = hash * 59 + this.FoodAndConsumerServiceId.GetHashCode(); + if (this.EnableSplitShipment != null) + hash = hash * 59 + this.EnableSplitShipment.GetHashCode(); + if (this.EnableInterchangeOptimization != null) + hash = hash * 59 + this.EnableInterchangeOptimization.GetHashCode(); + if (this.VisaDelegatedAuthenticationId != null) + hash = hash * 59 + this.VisaDelegatedAuthenticationId.GetHashCode(); + if (this.CreditCardRefundLimitPercent != null) + hash = hash * 59 + this.CreditCardRefundLimitPercent.GetHashCode(); + if (this.BusinessCenterCreditCardRefundLimitPercent != null) + hash = hash * 59 + this.BusinessCenterCreditCardRefundLimitPercent.GetHashCode(); + if (this.AllowCapturesGreaterThanAuthorizations != null) + hash = hash * 59 + this.AllowCapturesGreaterThanAuthorizations.GetHashCode(); + if (this.EnableDuplicateMerchantReferenceNumberBlocking != null) + hash = hash * 59 + this.EnableDuplicateMerchantReferenceNumberBlocking.GetHashCode(); + if (this.DomesticMerchantId != null) + hash = hash * 59 + this.DomesticMerchantId.GetHashCode(); + if (this.ProcessLevel3Data != null) + hash = hash * 59 + this.ProcessLevel3Data.GetHashCode(); + if (this.SubMerchantId != null) + hash = hash * 59 + this.SubMerchantId.GetHashCode(); + if (this.SubMerchantBusinessName != null) + hash = hash * 59 + this.SubMerchantBusinessName.GetHashCode(); + if (this.PreferCobadgedSecondaryBrand != null) + hash = hash * 59 + this.PreferCobadgedSecondaryBrand.GetHashCode(); + if (this.MerchantDescriptorInformation != null) + hash = hash * 59 + this.MerchantDescriptorInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.cs new file mode 100644 index 00000000..8ef2c332 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.cs @@ -0,0 +1,197 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Identifier of the acquirer. This number is usually assigned by Visa. Applicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>13</td><td>^[0-9]+$</td><td>1111</td></tr> </table> . + /// Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors.. + /// Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors.. + /// ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors.. + /// The BIN to which this capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors.. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer(string InstitutionId = default(string), string InterbankCardAssociationId = default(string), string DiscoverInstitutionId = default(string), string CountryCode = default(string), string FileDestinationBin = default(string)) + { + this.InstitutionId = InstitutionId; + this.InterbankCardAssociationId = InterbankCardAssociationId; + this.DiscoverInstitutionId = DiscoverInstitutionId; + this.CountryCode = CountryCode; + this.FileDestinationBin = FileDestinationBin; + } + + /// + /// Identifier of the acquirer. This number is usually assigned by Visa. Applicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>13</td><td>^[0-9]+$</td><td>1111</td></tr> </table> + /// + /// Identifier of the acquirer. This number is usually assigned by Visa. Applicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>13</td><td>^[0-9]+$</td><td>1111</td></tr> </table> + [DataMember(Name="institutionId", EmitDefaultValue=false)] + public string InstitutionId { get; set; } + + /// + /// Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors. + /// + /// Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors. + [DataMember(Name="interbankCardAssociationId", EmitDefaultValue=false)] + public string InterbankCardAssociationId { get; set; } + + /// + /// Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors. + /// + /// Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors. + [DataMember(Name="discoverInstitutionId", EmitDefaultValue=false)] + public string DiscoverInstitutionId { get; set; } + + /// + /// ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors. + /// + /// ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors. + [DataMember(Name="countryCode", EmitDefaultValue=false)] + public string CountryCode { get; set; } + + /// + /// The BIN to which this capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors. + /// + /// The BIN to which this capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors. + [DataMember(Name="fileDestinationBin", EmitDefaultValue=false)] + public string FileDestinationBin { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer {\n"); + sb.Append(" InstitutionId: ").Append(InstitutionId).Append("\n"); + sb.Append(" InterbankCardAssociationId: ").Append(InterbankCardAssociationId).Append("\n"); + sb.Append(" DiscoverInstitutionId: ").Append(DiscoverInstitutionId).Append("\n"); + sb.Append(" CountryCode: ").Append(CountryCode).Append("\n"); + sb.Append(" FileDestinationBin: ").Append(FileDestinationBin).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.InstitutionId == other.InstitutionId || + this.InstitutionId != null && + this.InstitutionId.Equals(other.InstitutionId) + ) && + ( + this.InterbankCardAssociationId == other.InterbankCardAssociationId || + this.InterbankCardAssociationId != null && + this.InterbankCardAssociationId.Equals(other.InterbankCardAssociationId) + ) && + ( + this.DiscoverInstitutionId == other.DiscoverInstitutionId || + this.DiscoverInstitutionId != null && + this.DiscoverInstitutionId.Equals(other.DiscoverInstitutionId) + ) && + ( + this.CountryCode == other.CountryCode || + this.CountryCode != null && + this.CountryCode.Equals(other.CountryCode) + ) && + ( + this.FileDestinationBin == other.FileDestinationBin || + this.FileDestinationBin != null && + this.FileDestinationBin.Equals(other.FileDestinationBin) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.InstitutionId != null) + hash = hash * 59 + this.InstitutionId.GetHashCode(); + if (this.InterbankCardAssociationId != null) + hash = hash * 59 + this.InterbankCardAssociationId.GetHashCode(); + if (this.DiscoverInstitutionId != null) + hash = hash * 59 + this.DiscoverInstitutionId.GetHashCode(); + if (this.CountryCode != null) + hash = hash * 59 + this.CountryCode.GetHashCode(); + if (this.FileDestinationBin != null) + hash = hash * 59 + this.FileDestinationBin.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.cs new file mode 100644 index 00000000..b2abb41e --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.cs @@ -0,0 +1,230 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled.. + /// Indicates whether the card-not-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled.. + /// Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party.. + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. . + /// Applicable for Prisma (prisma) processor.. + /// Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. . + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies(bool? Enabled = default(bool?), bool? EnabledCardPresent = default(bool?), bool? EnabledCardNotPresent = default(bool?), string MerchantId = default(string), string TerminalId = default(string), List TerminalIds = default(List), string ServiceEnablementNumber = default(string)) + { + this.Enabled = Enabled; + this.EnabledCardPresent = EnabledCardPresent; + this.EnabledCardNotPresent = EnabledCardNotPresent; + this.MerchantId = MerchantId; + this.TerminalId = TerminalId; + this.TerminalIds = TerminalIds; + this.ServiceEnablementNumber = ServiceEnablementNumber; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. + [DataMember(Name="enabledCardPresent", EmitDefaultValue=false)] + public bool? EnabledCardPresent { get; set; } + + /// + /// Indicates whether the card-not-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. + /// + /// Indicates whether the card-not-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. + [DataMember(Name="enabledCardNotPresent", EmitDefaultValue=false)] + public bool? EnabledCardNotPresent { get; set; } + + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party. + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party. + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. + [DataMember(Name="terminalId", EmitDefaultValue=false)] + public string TerminalId { get; set; } + + /// + /// Applicable for Prisma (prisma) processor. + /// + /// Applicable for Prisma (prisma) processor. + [DataMember(Name="terminalIds", EmitDefaultValue=false)] + public List TerminalIds { get; set; } + + /// + /// Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. + /// + /// Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. + [DataMember(Name="serviceEnablementNumber", EmitDefaultValue=false)] + public string ServiceEnablementNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" EnabledCardPresent: ").Append(EnabledCardPresent).Append("\n"); + sb.Append(" EnabledCardNotPresent: ").Append(EnabledCardNotPresent).Append("\n"); + sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); + sb.Append(" TerminalIds: ").Append(TerminalIds).Append("\n"); + sb.Append(" ServiceEnablementNumber: ").Append(ServiceEnablementNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.EnabledCardPresent == other.EnabledCardPresent || + this.EnabledCardPresent != null && + this.EnabledCardPresent.Equals(other.EnabledCardPresent) + ) && + ( + this.EnabledCardNotPresent == other.EnabledCardNotPresent || + this.EnabledCardNotPresent != null && + this.EnabledCardNotPresent.Equals(other.EnabledCardNotPresent) + ) && + ( + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) + ) && + ( + this.TerminalId == other.TerminalId || + this.TerminalId != null && + this.TerminalId.Equals(other.TerminalId) + ) && + ( + this.TerminalIds == other.TerminalIds || + this.TerminalIds != null && + this.TerminalIds.SequenceEqual(other.TerminalIds) + ) && + ( + this.ServiceEnablementNumber == other.ServiceEnablementNumber || + this.ServiceEnablementNumber != null && + this.ServiceEnablementNumber.Equals(other.ServiceEnablementNumber) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.EnabledCardPresent != null) + hash = hash * 59 + this.EnabledCardPresent.GetHashCode(); + if (this.EnabledCardNotPresent != null) + hash = hash * 59 + this.EnabledCardNotPresent.GetHashCode(); + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.TerminalId != null) + hash = hash * 59 + this.TerminalId.GetHashCode(); + if (this.TerminalIds != null) + hash = hash * 59 + this.TerminalIds.GetHashCode(); + if (this.ServiceEnablementNumber != null) + hash = hash * 59 + this.ServiceEnablementNumber.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.cs new file mode 100644 index 00000000..e18de208 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.cs @@ -0,0 +1,179 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. . + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. . + /// Applicable for Prisma (prisma) processor.. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1(bool? Enabled = default(bool?), bool? EnabledCardPresent = default(bool?), bool? EnabledCardNotPresent = default(bool?), List TerminalIds = default(List)) + { + this.Enabled = Enabled; + this.EnabledCardPresent = EnabledCardPresent; + this.EnabledCardNotPresent = EnabledCardNotPresent; + this.TerminalIds = TerminalIds; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. + [DataMember(Name="enabledCardPresent", EmitDefaultValue=false)] + public bool? EnabledCardPresent { get; set; } + + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. + [DataMember(Name="enabledCardNotPresent", EmitDefaultValue=false)] + public bool? EnabledCardNotPresent { get; set; } + + /// + /// Applicable for Prisma (prisma) processor. + /// + /// Applicable for Prisma (prisma) processor. + [DataMember(Name="terminalIds", EmitDefaultValue=false)] + public List TerminalIds { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" EnabledCardPresent: ").Append(EnabledCardPresent).Append("\n"); + sb.Append(" EnabledCardNotPresent: ").Append(EnabledCardNotPresent).Append("\n"); + sb.Append(" TerminalIds: ").Append(TerminalIds).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.EnabledCardPresent == other.EnabledCardPresent || + this.EnabledCardPresent != null && + this.EnabledCardPresent.Equals(other.EnabledCardPresent) + ) && + ( + this.EnabledCardNotPresent == other.EnabledCardNotPresent || + this.EnabledCardNotPresent != null && + this.EnabledCardNotPresent.Equals(other.EnabledCardNotPresent) + ) && + ( + this.TerminalIds == other.TerminalIds || + this.TerminalIds != null && + this.TerminalIds.SequenceEqual(other.TerminalIds) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.EnabledCardPresent != null) + hash = hash * 59 + this.EnabledCardPresent.GetHashCode(); + if (this.EnabledCardNotPresent != null) + hash = hash * 59 + this.EnabledCardNotPresent.GetHashCode(); + if (this.TerminalIds != null) + hash = hash * 59 + this.TerminalIds.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.cs new file mode 100644 index 00000000..699211de --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.cs @@ -0,0 +1,248 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// A merchant descriptor is the line of copy that identifies transactions on a cardholder’s account activity and statement. If this information is not populated, the data will be retrieved from OMS. + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Applicable for TSYS (tsys), RUPAY, American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> . + /// Applicable for American Express Direct (amexdirect), TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>21</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> . + /// Applicable for Six (six), Elavon Americas (elavonamericas), TSYS (tsys) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>3</td><td>3</td><td>^[A-Z]+$</td></tr> </table> . + /// Applicable for RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>20</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> . + /// Applicable for RUPAY, TSYS (tsys), Elavon Americas (elavonamericas) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>3</td><td>^[A-Z]+$</td></tr> </table> . + /// Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> . + /// Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> . + /// Applicable for RUPAY and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>40</td><td>URL</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>1</td><td>40</td><td>URL</td></tr> </table> . + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation(string Name = default(string), string City = default(string), string Country = default(string), string Phone = default(string), string State = default(string), string Street = default(string), string Zip = default(string), string Url = default(string)) + { + this.Name = Name; + this.City = City; + this.Country = Country; + this.Phone = Phone; + this.State = State; + this.Street = Street; + this.Zip = Zip; + this.Url = Url; + } + + /// + /// Applicable for TSYS (tsys), RUPAY, American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + /// + /// Applicable for TSYS (tsys), RUPAY, American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Applicable for American Express Direct (amexdirect), TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>21</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + /// + /// Applicable for American Express Direct (amexdirect), TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>21</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// Applicable for Six (six), Elavon Americas (elavonamericas), TSYS (tsys) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>3</td><td>3</td><td>^[A-Z]+$</td></tr> </table> + /// + /// Applicable for Six (six), Elavon Americas (elavonamericas), TSYS (tsys) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>3</td><td>3</td><td>^[A-Z]+$</td></tr> </table> + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// Applicable for RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>20</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + /// + /// Applicable for RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>20</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + [DataMember(Name="phone", EmitDefaultValue=false)] + public string Phone { get; set; } + + /// + /// Applicable for RUPAY, TSYS (tsys), Elavon Americas (elavonamericas) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>3</td><td>^[A-Z]+$</td></tr> </table> + /// + /// Applicable for RUPAY, TSYS (tsys), Elavon Americas (elavonamericas) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>3</td><td>^[A-Z]+$</td></tr> </table> + [DataMember(Name="state", EmitDefaultValue=false)] + public string State { get; set; } + + /// + /// Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + /// + /// Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + /// + /// Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> + [DataMember(Name="zip", EmitDefaultValue=false)] + public string Zip { get; set; } + + /// + /// Applicable for RUPAY and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>40</td><td>URL</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>1</td><td>40</td><td>URL</td></tr> </table> + /// + /// Applicable for RUPAY and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>40</td><td>URL</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>1</td><td>40</td><td>URL</td></tr> </table> + [DataMember(Name="url", EmitDefaultValue=false)] + public string Url { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" Phone: ").Append(Phone).Append("\n"); + sb.Append(" State: ").Append(State).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" Zip: ").Append(Zip).Append("\n"); + sb.Append(" Url: ").Append(Url).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ) && + ( + this.City == other.City || + this.City != null && + this.City.Equals(other.City) + ) && + ( + this.Country == other.Country || + this.Country != null && + this.Country.Equals(other.Country) + ) && + ( + this.Phone == other.Phone || + this.Phone != null && + this.Phone.Equals(other.Phone) + ) && + ( + this.State == other.State || + this.State != null && + this.State.Equals(other.State) + ) && + ( + this.Street == other.Street || + this.Street != null && + this.Street.Equals(other.Street) + ) && + ( + this.Zip == other.Zip || + this.Zip != null && + this.Zip.Equals(other.Zip) + ) && + ( + this.Url == other.Url || + this.Url != null && + this.Url.Equals(other.Url) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.City != null) + hash = hash * 59 + this.City.GetHashCode(); + if (this.Country != null) + hash = hash * 59 + this.Country.GetHashCode(); + if (this.Phone != null) + hash = hash * 59 + this.Phone.GetHashCode(); + if (this.State != null) + hash = hash * 59 + this.State.GetHashCode(); + if (this.Street != null) + hash = hash * 59 + this.Street.GetHashCode(); + if (this.Zip != null) + hash = hash * 59 + this.Zip.GetHashCode(); + if (this.Url != null) + hash = hash * 59 + this.Url.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.cs new file mode 100644 index 00000000..6317342a --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes(bool? Enabled = default(bool?), Dictionary Currencies = default(Dictionary)) + { + this.Enabled = Enabled; + this.Currencies = Currencies; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + /// + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + [DataMember(Name="currencies", EmitDefaultValue=false)] + public Dictionary Currencies { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Currencies == other.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(other.Currencies) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.Currencies != null) + hash = hash * 59 + this.Currencies.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.cs new file mode 100644 index 00000000..7a2873d4 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.cs @@ -0,0 +1,954 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors : IEquatable, IValidatableObject + { + /// + /// Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. + /// + /// Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. + [JsonConverter(typeof(StringEnumConverter))] + public enum IndustryCodeEnum + { + + /// + /// Enum _0 for "0" + /// + [EnumMember(Value = "0")] + _0, + + /// + /// Enum A for "A" + /// + [EnumMember(Value = "A")] + A, + + /// + /// Enum B for "B" + /// + [EnumMember(Value = "B")] + B, + + /// + /// Enum D for "D" + /// + [EnumMember(Value = "D")] + D, + + /// + /// Enum F for "F" + /// + [EnumMember(Value = "F")] + F, + + /// + /// Enum G for "G" + /// + [EnumMember(Value = "G")] + G, + + /// + /// Enum H for "H" + /// + [EnumMember(Value = "H")] + H, + + /// + /// Enum L for "L" + /// + [EnumMember(Value = "L")] + L, + + /// + /// Enum O for "O" + /// + [EnumMember(Value = "O")] + O, + + /// + /// Enum P for "P" + /// + [EnumMember(Value = "P")] + P, + + /// + /// Enum R for "R" + /// + [EnumMember(Value = "R")] + R + } + + /// + /// Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. + /// + /// Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. + [DataMember(Name="industryCode", EmitDefaultValue=false)] + public IndustryCodeEnum? IndustryCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors() { } + /// + /// Initializes a new instance of the class. + /// + /// Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria: * Timezone * Merchant deadlines * Large merchants (top 10) * Merchants with Service-Level Agreements Applicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td></tr> </table> . + /// Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors.. + /// Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors.. + /// Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors.. + /// Acquirer. + /// Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>11</td><td>^[0-9a-zA-Z]+$</td></tr> </table> (required). + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table> . + /// Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB . + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). + /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.. + /// Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> . + /// Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors.. + /// To enable airline transactions. Applicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td></tr> </table> . + /// Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors.. + /// To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> . + /// Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors.. + /// Enables Enhanced AVS/Automated Address Verification Plus (AAV+). Valid values: \"basic\" - Standard address verification system. When a processor supports AVS for a transaction’s card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address. When a customer provides incorrect information, the transaction might be fraudulent. \"basic + name\" - Enhanced address verification system. Consists of the standard AVS functionality plus verification of some additional fields. The additional fields that are verified for Enhanced AVS are: - customer_firstname - customer_lastname \"basic + name + shipto\" - Automated address verification plus. Consists of the Enhanced AVS functionality plus verification of some additional fields. AAV+ intended for merchants who deliver physical goods to a different address than the billing address. AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first. For information about Enhanced AVS - The additional fields that are verified for AAV+ are: - ship_to_firstname - ship_to_lastname - ship_to_address1 - ship_to_country - ship_to_zip - ship_to_phone - customer_phone(American Express Direct only) Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>basic</td></tr> </table> . + /// Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> . + /// Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> . + /// This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> . + /// Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>40</td><td>^[0-9a-zA-Z&#92;-\\s.]+$</td></tr> </table> . + /// This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> . + /// To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors.. + /// Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> . + /// When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor.. + /// Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements.. + /// Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. . + /// Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor.. + /// A soft descriptor is a text, rendered on a cardholder’s statement, describing a particular product or service, purchased by the cardholder. Descriptors are intended to help the cardholder identify the products or services purchased. Valid values: `1` - trans_ref_no `2` - merchant_descriptor `3` - trans_ref_no and merchant_descriptor Applicable for TSYS (tsys) processor. . + /// V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor.. + /// 6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor.. + /// 6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor.. + /// 6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor.. + /// 5 digit merchant location number. Unless otherwise specified by merchant’s bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor.. + /// 4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor.. + /// Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor.. + /// Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor.. + /// This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors.. + /// Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors.. + /// This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors.. + /// Applicable for Barclays (barclays2) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table> . + /// ‘POS Network Switching’ or ‘Alternate Routing’ means merchant can process PIN Debit transactions without a PIN. Set the value to ‘Yes’ if it is supported. Applicable for FDI Global (fdiglobal) processor.. + /// Enable dynamic currency conversion for a merchant.. + /// Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors.. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors(string BatchGroup = default(string), string BusinessApplicationId = default(string), string MerchantVerificationValue = default(string), string AbaNumber = default(string), PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer Acquirer = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer), string MerchantId = default(string), string TerminalId = default(string), Dictionary PaymentTypes = default(Dictionary), Dictionary Currencies = default(Dictionary), string SicCode = default(string), bool? AllowMultipleBills = default(bool?), bool? AllowMerchantDescriptorOverride = default(bool?), string EnhancedData = default(string), bool? FireSafetyIndicator = default(bool?), bool? QuasiCash = default(bool?), string AcquirerMerchantId = default(string), string AvsFormat = default(string), bool? EnableLongTransRefNo = default(bool?), bool? EnableLevel2 = default(bool?), bool? EnableMultipleTransactionAdviceAddendum = default(bool?), string AmexTransactionAdviceAddendum1 = default(string), bool? EnableMultiLineItems = default(bool?), bool? EnableTransactionReferenceNumber = default(bool?), bool? EnableAutoAuthReversalAfterVoid = default(bool?), bool? EnableExpresspayPanTranslation = default(bool?), bool? EnableCreditAuth = default(bool?), IndustryCodeEnum? IndustryCode = default(IndustryCodeEnum?), bool? SendAmexLevel2Data = default(bool?), string SoftDescriptorType = default(string), string VitalNumber = default(string), string BankNumber = default(string), string ChainNumber = default(string), string MerchantBinNumber = default(string), string MerchantLocationNumber = default(string), string StoreID = default(string), string TravelAgencyCode = default(string), string TravelAgencyName = default(string), string SettlementCurrency = default(string), bool? EnableLeastCostRouting = default(bool?), bool? EnableCVVResponseIndicator = default(bool?), string EnableMultiCurrencyProcessing = default(string), bool? EnablePosNetworkSwitching = default(bool?), bool? EnableDynamicCurrencyConversion = default(bool?), string MerchantTier = default(string)) + { + // to ensure "MerchantId" is required (not null) + if (MerchantId == null) + { + throw new InvalidDataException("MerchantId is a required property for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors and cannot be null"); + } + else + { + this.MerchantId = MerchantId; + } + this.BatchGroup = BatchGroup; + this.BusinessApplicationId = BusinessApplicationId; + this.MerchantVerificationValue = MerchantVerificationValue; + this.AbaNumber = AbaNumber; + this.Acquirer = Acquirer; + this.TerminalId = TerminalId; + this.PaymentTypes = PaymentTypes; + this.Currencies = Currencies; + this.SicCode = SicCode; + this.AllowMultipleBills = AllowMultipleBills; + this.AllowMerchantDescriptorOverride = AllowMerchantDescriptorOverride; + this.EnhancedData = EnhancedData; + this.FireSafetyIndicator = FireSafetyIndicator; + this.QuasiCash = QuasiCash; + this.AcquirerMerchantId = AcquirerMerchantId; + this.AvsFormat = AvsFormat; + this.EnableLongTransRefNo = EnableLongTransRefNo; + this.EnableLevel2 = EnableLevel2; + this.EnableMultipleTransactionAdviceAddendum = EnableMultipleTransactionAdviceAddendum; + this.AmexTransactionAdviceAddendum1 = AmexTransactionAdviceAddendum1; + this.EnableMultiLineItems = EnableMultiLineItems; + this.EnableTransactionReferenceNumber = EnableTransactionReferenceNumber; + this.EnableAutoAuthReversalAfterVoid = EnableAutoAuthReversalAfterVoid; + this.EnableExpresspayPanTranslation = EnableExpresspayPanTranslation; + this.EnableCreditAuth = EnableCreditAuth; + this.IndustryCode = IndustryCode; + this.SendAmexLevel2Data = SendAmexLevel2Data; + this.SoftDescriptorType = SoftDescriptorType; + this.VitalNumber = VitalNumber; + this.BankNumber = BankNumber; + this.ChainNumber = ChainNumber; + this.MerchantBinNumber = MerchantBinNumber; + this.MerchantLocationNumber = MerchantLocationNumber; + this.StoreID = StoreID; + this.TravelAgencyCode = TravelAgencyCode; + this.TravelAgencyName = TravelAgencyName; + this.SettlementCurrency = SettlementCurrency; + this.EnableLeastCostRouting = EnableLeastCostRouting; + this.EnableCVVResponseIndicator = EnableCVVResponseIndicator; + this.EnableMultiCurrencyProcessing = EnableMultiCurrencyProcessing; + this.EnablePosNetworkSwitching = EnablePosNetworkSwitching; + this.EnableDynamicCurrencyConversion = EnableDynamicCurrencyConversion; + this.MerchantTier = MerchantTier; + } + + /// + /// Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria: * Timezone * Merchant deadlines * Large merchants (top 10) * Merchants with Service-Level Agreements Applicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td></tr> </table> + /// + /// Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria: * Timezone * Merchant deadlines * Large merchants (top 10) * Merchants with Service-Level Agreements Applicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td></tr> </table> + [DataMember(Name="batchGroup", EmitDefaultValue=false)] + public string BatchGroup { get; set; } + + /// + /// Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors. + /// + /// Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors. + [DataMember(Name="businessApplicationId", EmitDefaultValue=false)] + public string BusinessApplicationId { get; set; } + + /// + /// Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors. + /// + /// Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="merchantVerificationValue", EmitDefaultValue=false)] + public string MerchantVerificationValue { get; set; } + + /// + /// Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors. + /// + /// Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors. + [DataMember(Name="abaNumber", EmitDefaultValue=false)] + public string AbaNumber { get; set; } + + /// + /// Gets or Sets Acquirer + /// + [DataMember(Name="acquirer", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer Acquirer { get; set; } + + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>11</td><td>^[0-9a-zA-Z]+$</td></tr> </table> + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>11</td><td>^[0-9a-zA-Z]+$</td></tr> </table> + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table> + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table> + [DataMember(Name="terminalId", EmitDefaultValue=false)] + public string TerminalId { get; set; } + + /// + /// Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB + /// + /// Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB + [DataMember(Name="paymentTypes", EmitDefaultValue=false)] + public Dictionary PaymentTypes { get; set; } + + /// + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + /// + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + [DataMember(Name="currencies", EmitDefaultValue=false)] + public Dictionary Currencies { get; set; } + + /// + /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. + /// + /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. + [DataMember(Name="sicCode", EmitDefaultValue=false)] + public string SicCode { get; set; } + + /// + /// Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + /// + /// Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="allowMultipleBills", EmitDefaultValue=false)] + public bool? AllowMultipleBills { get; set; } + + /// + /// Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors. + /// + /// Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors. + [DataMember(Name="allowMerchantDescriptorOverride", EmitDefaultValue=false)] + public bool? AllowMerchantDescriptorOverride { get; set; } + + /// + /// To enable airline transactions. Applicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td></tr> </table> + /// + /// To enable airline transactions. Applicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td></tr> </table> + [DataMember(Name="enhancedData", EmitDefaultValue=false)] + public string EnhancedData { get; set; } + + /// + /// Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors. + /// + /// Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="fireSafetyIndicator", EmitDefaultValue=false)] + public bool? FireSafetyIndicator { get; set; } + + /// + /// To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> + /// + /// To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="quasiCash", EmitDefaultValue=false)] + public bool? QuasiCash { get; set; } + + /// + /// Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors. + /// + /// Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors. + [DataMember(Name="acquirerMerchantId", EmitDefaultValue=false)] + public string AcquirerMerchantId { get; set; } + + /// + /// Enables Enhanced AVS/Automated Address Verification Plus (AAV+). Valid values: \"basic\" - Standard address verification system. When a processor supports AVS for a transaction’s card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address. When a customer provides incorrect information, the transaction might be fraudulent. \"basic + name\" - Enhanced address verification system. Consists of the standard AVS functionality plus verification of some additional fields. The additional fields that are verified for Enhanced AVS are: - customer_firstname - customer_lastname \"basic + name + shipto\" - Automated address verification plus. Consists of the Enhanced AVS functionality plus verification of some additional fields. AAV+ intended for merchants who deliver physical goods to a different address than the billing address. AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first. For information about Enhanced AVS - The additional fields that are verified for AAV+ are: - ship_to_firstname - ship_to_lastname - ship_to_address1 - ship_to_country - ship_to_zip - ship_to_phone - customer_phone(American Express Direct only) Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>basic</td></tr> </table> + /// + /// Enables Enhanced AVS/Automated Address Verification Plus (AAV+). Valid values: \"basic\" - Standard address verification system. When a processor supports AVS for a transaction’s card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address. When a customer provides incorrect information, the transaction might be fraudulent. \"basic + name\" - Enhanced address verification system. Consists of the standard AVS functionality plus verification of some additional fields. The additional fields that are verified for Enhanced AVS are: - customer_firstname - customer_lastname \"basic + name + shipto\" - Automated address verification plus. Consists of the Enhanced AVS functionality plus verification of some additional fields. AAV+ intended for merchants who deliver physical goods to a different address than the billing address. AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first. For information about Enhanced AVS - The additional fields that are verified for AAV+ are: - ship_to_firstname - ship_to_lastname - ship_to_address1 - ship_to_country - ship_to_zip - ship_to_phone - customer_phone(American Express Direct only) Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>basic</td></tr> </table> + [DataMember(Name="avsFormat", EmitDefaultValue=false)] + public string AvsFormat { get; set; } + + /// + /// Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + /// + /// Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="enableLongTransRefNo", EmitDefaultValue=false)] + public bool? EnableLongTransRefNo { get; set; } + + /// + /// Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + /// + /// Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="enableLevel2", EmitDefaultValue=false)] + public bool? EnableLevel2 { get; set; } + + /// + /// This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + /// + /// This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="enableMultipleTransactionAdviceAddendum", EmitDefaultValue=false)] + public bool? EnableMultipleTransactionAdviceAddendum { get; set; } + + /// + /// Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>40</td><td>^[0-9a-zA-Z&#92;-\\s.]+$</td></tr> </table> + /// + /// Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>40</td><td>^[0-9a-zA-Z&#92;-\\s.]+$</td></tr> </table> + [DataMember(Name="amexTransactionAdviceAddendum1", EmitDefaultValue=false)] + public string AmexTransactionAdviceAddendum1 { get; set; } + + /// + /// This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + /// + /// This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="enableMultiLineItems", EmitDefaultValue=false)] + public bool? EnableMultiLineItems { get; set; } + + /// + /// To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors. + /// + /// To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors. + [DataMember(Name="enableTransactionReferenceNumber", EmitDefaultValue=false)] + public bool? EnableTransactionReferenceNumber { get; set; } + + /// + /// Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + /// + /// Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="enableAutoAuthReversalAfterVoid", EmitDefaultValue=false)] + public bool? EnableAutoAuthReversalAfterVoid { get; set; } + + /// + /// When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor. + /// + /// When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor. + [DataMember(Name="enableExpresspayPanTranslation", EmitDefaultValue=false)] + public bool? EnableExpresspayPanTranslation { get; set; } + + /// + /// Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements. + /// + /// Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements. + [DataMember(Name="enableCreditAuth", EmitDefaultValue=false)] + public bool? EnableCreditAuth { get; set; } + + + /// + /// Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor. + /// + /// Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor. + [DataMember(Name="sendAmexLevel2Data", EmitDefaultValue=false)] + public bool? SendAmexLevel2Data { get; set; } + + /// + /// A soft descriptor is a text, rendered on a cardholder’s statement, describing a particular product or service, purchased by the cardholder. Descriptors are intended to help the cardholder identify the products or services purchased. Valid values: `1` - trans_ref_no `2` - merchant_descriptor `3` - trans_ref_no and merchant_descriptor Applicable for TSYS (tsys) processor. + /// + /// A soft descriptor is a text, rendered on a cardholder’s statement, describing a particular product or service, purchased by the cardholder. Descriptors are intended to help the cardholder identify the products or services purchased. Valid values: `1` - trans_ref_no `2` - merchant_descriptor `3` - trans_ref_no and merchant_descriptor Applicable for TSYS (tsys) processor. + [DataMember(Name="softDescriptorType", EmitDefaultValue=false)] + public string SoftDescriptorType { get; set; } + + /// + /// V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor. + /// + /// V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor. + [DataMember(Name="vitalNumber", EmitDefaultValue=false)] + public string VitalNumber { get; set; } + + /// + /// 6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor. + /// + /// 6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor. + [DataMember(Name="bankNumber", EmitDefaultValue=false)] + public string BankNumber { get; set; } + + /// + /// 6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor. + /// + /// 6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor. + [DataMember(Name="chainNumber", EmitDefaultValue=false)] + public string ChainNumber { get; set; } + + /// + /// 6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor. + /// + /// 6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor. + [DataMember(Name="merchantBinNumber", EmitDefaultValue=false)] + public string MerchantBinNumber { get; set; } + + /// + /// 5 digit merchant location number. Unless otherwise specified by merchant’s bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor. + /// + /// 5 digit merchant location number. Unless otherwise specified by merchant’s bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor. + [DataMember(Name="merchantLocationNumber", EmitDefaultValue=false)] + public string MerchantLocationNumber { get; set; } + + /// + /// 4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor. + /// + /// 4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor. + [DataMember(Name="storeID", EmitDefaultValue=false)] + public string StoreID { get; set; } + + /// + /// Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor. + /// + /// Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor. + [DataMember(Name="travelAgencyCode", EmitDefaultValue=false)] + public string TravelAgencyCode { get; set; } + + /// + /// Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor. + /// + /// Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor. + [DataMember(Name="travelAgencyName", EmitDefaultValue=false)] + public string TravelAgencyName { get; set; } + + /// + /// This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors. + /// + /// This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors. + [DataMember(Name="settlementCurrency", EmitDefaultValue=false)] + public string SettlementCurrency { get; set; } + + /// + /// Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors. + /// + /// Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors. + [DataMember(Name="enableLeastCostRouting", EmitDefaultValue=false)] + public bool? EnableLeastCostRouting { get; set; } + + /// + /// This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors. + /// + /// This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors. + [DataMember(Name="enableCVVResponseIndicator", EmitDefaultValue=false)] + public bool? EnableCVVResponseIndicator { get; set; } + + /// + /// Applicable for Barclays (barclays2) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table> + /// + /// Applicable for Barclays (barclays2) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table> + [DataMember(Name="enableMultiCurrencyProcessing", EmitDefaultValue=false)] + public string EnableMultiCurrencyProcessing { get; set; } + + /// + /// ‘POS Network Switching’ or ‘Alternate Routing’ means merchant can process PIN Debit transactions without a PIN. Set the value to ‘Yes’ if it is supported. Applicable for FDI Global (fdiglobal) processor. + /// + /// ‘POS Network Switching’ or ‘Alternate Routing’ means merchant can process PIN Debit transactions without a PIN. Set the value to ‘Yes’ if it is supported. Applicable for FDI Global (fdiglobal) processor. + [DataMember(Name="enablePosNetworkSwitching", EmitDefaultValue=false)] + public bool? EnablePosNetworkSwitching { get; set; } + + /// + /// Enable dynamic currency conversion for a merchant. + /// + /// Enable dynamic currency conversion for a merchant. + [DataMember(Name="enableDynamicCurrencyConversion", EmitDefaultValue=false)] + public bool? EnableDynamicCurrencyConversion { get; set; } + + /// + /// Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors. + /// + /// Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors. + [DataMember(Name="merchantTier", EmitDefaultValue=false)] + public string MerchantTier { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors {\n"); + sb.Append(" BatchGroup: ").Append(BatchGroup).Append("\n"); + sb.Append(" BusinessApplicationId: ").Append(BusinessApplicationId).Append("\n"); + sb.Append(" MerchantVerificationValue: ").Append(MerchantVerificationValue).Append("\n"); + sb.Append(" AbaNumber: ").Append(AbaNumber).Append("\n"); + sb.Append(" Acquirer: ").Append(Acquirer).Append("\n"); + sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); + sb.Append(" PaymentTypes: ").Append(PaymentTypes).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append(" SicCode: ").Append(SicCode).Append("\n"); + sb.Append(" AllowMultipleBills: ").Append(AllowMultipleBills).Append("\n"); + sb.Append(" AllowMerchantDescriptorOverride: ").Append(AllowMerchantDescriptorOverride).Append("\n"); + sb.Append(" EnhancedData: ").Append(EnhancedData).Append("\n"); + sb.Append(" FireSafetyIndicator: ").Append(FireSafetyIndicator).Append("\n"); + sb.Append(" QuasiCash: ").Append(QuasiCash).Append("\n"); + sb.Append(" AcquirerMerchantId: ").Append(AcquirerMerchantId).Append("\n"); + sb.Append(" AvsFormat: ").Append(AvsFormat).Append("\n"); + sb.Append(" EnableLongTransRefNo: ").Append(EnableLongTransRefNo).Append("\n"); + sb.Append(" EnableLevel2: ").Append(EnableLevel2).Append("\n"); + sb.Append(" EnableMultipleTransactionAdviceAddendum: ").Append(EnableMultipleTransactionAdviceAddendum).Append("\n"); + sb.Append(" AmexTransactionAdviceAddendum1: ").Append(AmexTransactionAdviceAddendum1).Append("\n"); + sb.Append(" EnableMultiLineItems: ").Append(EnableMultiLineItems).Append("\n"); + sb.Append(" EnableTransactionReferenceNumber: ").Append(EnableTransactionReferenceNumber).Append("\n"); + sb.Append(" EnableAutoAuthReversalAfterVoid: ").Append(EnableAutoAuthReversalAfterVoid).Append("\n"); + sb.Append(" EnableExpresspayPanTranslation: ").Append(EnableExpresspayPanTranslation).Append("\n"); + sb.Append(" EnableCreditAuth: ").Append(EnableCreditAuth).Append("\n"); + sb.Append(" IndustryCode: ").Append(IndustryCode).Append("\n"); + sb.Append(" SendAmexLevel2Data: ").Append(SendAmexLevel2Data).Append("\n"); + sb.Append(" SoftDescriptorType: ").Append(SoftDescriptorType).Append("\n"); + sb.Append(" VitalNumber: ").Append(VitalNumber).Append("\n"); + sb.Append(" BankNumber: ").Append(BankNumber).Append("\n"); + sb.Append(" ChainNumber: ").Append(ChainNumber).Append("\n"); + sb.Append(" MerchantBinNumber: ").Append(MerchantBinNumber).Append("\n"); + sb.Append(" MerchantLocationNumber: ").Append(MerchantLocationNumber).Append("\n"); + sb.Append(" StoreID: ").Append(StoreID).Append("\n"); + sb.Append(" TravelAgencyCode: ").Append(TravelAgencyCode).Append("\n"); + sb.Append(" TravelAgencyName: ").Append(TravelAgencyName).Append("\n"); + sb.Append(" SettlementCurrency: ").Append(SettlementCurrency).Append("\n"); + sb.Append(" EnableLeastCostRouting: ").Append(EnableLeastCostRouting).Append("\n"); + sb.Append(" EnableCVVResponseIndicator: ").Append(EnableCVVResponseIndicator).Append("\n"); + sb.Append(" EnableMultiCurrencyProcessing: ").Append(EnableMultiCurrencyProcessing).Append("\n"); + sb.Append(" EnablePosNetworkSwitching: ").Append(EnablePosNetworkSwitching).Append("\n"); + sb.Append(" EnableDynamicCurrencyConversion: ").Append(EnableDynamicCurrencyConversion).Append("\n"); + sb.Append(" MerchantTier: ").Append(MerchantTier).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.BatchGroup == other.BatchGroup || + this.BatchGroup != null && + this.BatchGroup.Equals(other.BatchGroup) + ) && + ( + this.BusinessApplicationId == other.BusinessApplicationId || + this.BusinessApplicationId != null && + this.BusinessApplicationId.Equals(other.BusinessApplicationId) + ) && + ( + this.MerchantVerificationValue == other.MerchantVerificationValue || + this.MerchantVerificationValue != null && + this.MerchantVerificationValue.Equals(other.MerchantVerificationValue) + ) && + ( + this.AbaNumber == other.AbaNumber || + this.AbaNumber != null && + this.AbaNumber.Equals(other.AbaNumber) + ) && + ( + this.Acquirer == other.Acquirer || + this.Acquirer != null && + this.Acquirer.Equals(other.Acquirer) + ) && + ( + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) + ) && + ( + this.TerminalId == other.TerminalId || + this.TerminalId != null && + this.TerminalId.Equals(other.TerminalId) + ) && + ( + this.PaymentTypes == other.PaymentTypes || + this.PaymentTypes != null && + this.PaymentTypes.SequenceEqual(other.PaymentTypes) + ) && + ( + this.Currencies == other.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(other.Currencies) + ) && + ( + this.SicCode == other.SicCode || + this.SicCode != null && + this.SicCode.Equals(other.SicCode) + ) && + ( + this.AllowMultipleBills == other.AllowMultipleBills || + this.AllowMultipleBills != null && + this.AllowMultipleBills.Equals(other.AllowMultipleBills) + ) && + ( + this.AllowMerchantDescriptorOverride == other.AllowMerchantDescriptorOverride || + this.AllowMerchantDescriptorOverride != null && + this.AllowMerchantDescriptorOverride.Equals(other.AllowMerchantDescriptorOverride) + ) && + ( + this.EnhancedData == other.EnhancedData || + this.EnhancedData != null && + this.EnhancedData.Equals(other.EnhancedData) + ) && + ( + this.FireSafetyIndicator == other.FireSafetyIndicator || + this.FireSafetyIndicator != null && + this.FireSafetyIndicator.Equals(other.FireSafetyIndicator) + ) && + ( + this.QuasiCash == other.QuasiCash || + this.QuasiCash != null && + this.QuasiCash.Equals(other.QuasiCash) + ) && + ( + this.AcquirerMerchantId == other.AcquirerMerchantId || + this.AcquirerMerchantId != null && + this.AcquirerMerchantId.Equals(other.AcquirerMerchantId) + ) && + ( + this.AvsFormat == other.AvsFormat || + this.AvsFormat != null && + this.AvsFormat.Equals(other.AvsFormat) + ) && + ( + this.EnableLongTransRefNo == other.EnableLongTransRefNo || + this.EnableLongTransRefNo != null && + this.EnableLongTransRefNo.Equals(other.EnableLongTransRefNo) + ) && + ( + this.EnableLevel2 == other.EnableLevel2 || + this.EnableLevel2 != null && + this.EnableLevel2.Equals(other.EnableLevel2) + ) && + ( + this.EnableMultipleTransactionAdviceAddendum == other.EnableMultipleTransactionAdviceAddendum || + this.EnableMultipleTransactionAdviceAddendum != null && + this.EnableMultipleTransactionAdviceAddendum.Equals(other.EnableMultipleTransactionAdviceAddendum) + ) && + ( + this.AmexTransactionAdviceAddendum1 == other.AmexTransactionAdviceAddendum1 || + this.AmexTransactionAdviceAddendum1 != null && + this.AmexTransactionAdviceAddendum1.Equals(other.AmexTransactionAdviceAddendum1) + ) && + ( + this.EnableMultiLineItems == other.EnableMultiLineItems || + this.EnableMultiLineItems != null && + this.EnableMultiLineItems.Equals(other.EnableMultiLineItems) + ) && + ( + this.EnableTransactionReferenceNumber == other.EnableTransactionReferenceNumber || + this.EnableTransactionReferenceNumber != null && + this.EnableTransactionReferenceNumber.Equals(other.EnableTransactionReferenceNumber) + ) && + ( + this.EnableAutoAuthReversalAfterVoid == other.EnableAutoAuthReversalAfterVoid || + this.EnableAutoAuthReversalAfterVoid != null && + this.EnableAutoAuthReversalAfterVoid.Equals(other.EnableAutoAuthReversalAfterVoid) + ) && + ( + this.EnableExpresspayPanTranslation == other.EnableExpresspayPanTranslation || + this.EnableExpresspayPanTranslation != null && + this.EnableExpresspayPanTranslation.Equals(other.EnableExpresspayPanTranslation) + ) && + ( + this.EnableCreditAuth == other.EnableCreditAuth || + this.EnableCreditAuth != null && + this.EnableCreditAuth.Equals(other.EnableCreditAuth) + ) && + ( + this.IndustryCode == other.IndustryCode || + this.IndustryCode != null && + this.IndustryCode.Equals(other.IndustryCode) + ) && + ( + this.SendAmexLevel2Data == other.SendAmexLevel2Data || + this.SendAmexLevel2Data != null && + this.SendAmexLevel2Data.Equals(other.SendAmexLevel2Data) + ) && + ( + this.SoftDescriptorType == other.SoftDescriptorType || + this.SoftDescriptorType != null && + this.SoftDescriptorType.Equals(other.SoftDescriptorType) + ) && + ( + this.VitalNumber == other.VitalNumber || + this.VitalNumber != null && + this.VitalNumber.Equals(other.VitalNumber) + ) && + ( + this.BankNumber == other.BankNumber || + this.BankNumber != null && + this.BankNumber.Equals(other.BankNumber) + ) && + ( + this.ChainNumber == other.ChainNumber || + this.ChainNumber != null && + this.ChainNumber.Equals(other.ChainNumber) + ) && + ( + this.MerchantBinNumber == other.MerchantBinNumber || + this.MerchantBinNumber != null && + this.MerchantBinNumber.Equals(other.MerchantBinNumber) + ) && + ( + this.MerchantLocationNumber == other.MerchantLocationNumber || + this.MerchantLocationNumber != null && + this.MerchantLocationNumber.Equals(other.MerchantLocationNumber) + ) && + ( + this.StoreID == other.StoreID || + this.StoreID != null && + this.StoreID.Equals(other.StoreID) + ) && + ( + this.TravelAgencyCode == other.TravelAgencyCode || + this.TravelAgencyCode != null && + this.TravelAgencyCode.Equals(other.TravelAgencyCode) + ) && + ( + this.TravelAgencyName == other.TravelAgencyName || + this.TravelAgencyName != null && + this.TravelAgencyName.Equals(other.TravelAgencyName) + ) && + ( + this.SettlementCurrency == other.SettlementCurrency || + this.SettlementCurrency != null && + this.SettlementCurrency.Equals(other.SettlementCurrency) + ) && + ( + this.EnableLeastCostRouting == other.EnableLeastCostRouting || + this.EnableLeastCostRouting != null && + this.EnableLeastCostRouting.Equals(other.EnableLeastCostRouting) + ) && + ( + this.EnableCVVResponseIndicator == other.EnableCVVResponseIndicator || + this.EnableCVVResponseIndicator != null && + this.EnableCVVResponseIndicator.Equals(other.EnableCVVResponseIndicator) + ) && + ( + this.EnableMultiCurrencyProcessing == other.EnableMultiCurrencyProcessing || + this.EnableMultiCurrencyProcessing != null && + this.EnableMultiCurrencyProcessing.Equals(other.EnableMultiCurrencyProcessing) + ) && + ( + this.EnablePosNetworkSwitching == other.EnablePosNetworkSwitching || + this.EnablePosNetworkSwitching != null && + this.EnablePosNetworkSwitching.Equals(other.EnablePosNetworkSwitching) + ) && + ( + this.EnableDynamicCurrencyConversion == other.EnableDynamicCurrencyConversion || + this.EnableDynamicCurrencyConversion != null && + this.EnableDynamicCurrencyConversion.Equals(other.EnableDynamicCurrencyConversion) + ) && + ( + this.MerchantTier == other.MerchantTier || + this.MerchantTier != null && + this.MerchantTier.Equals(other.MerchantTier) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.BatchGroup != null) + hash = hash * 59 + this.BatchGroup.GetHashCode(); + if (this.BusinessApplicationId != null) + hash = hash * 59 + this.BusinessApplicationId.GetHashCode(); + if (this.MerchantVerificationValue != null) + hash = hash * 59 + this.MerchantVerificationValue.GetHashCode(); + if (this.AbaNumber != null) + hash = hash * 59 + this.AbaNumber.GetHashCode(); + if (this.Acquirer != null) + hash = hash * 59 + this.Acquirer.GetHashCode(); + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.TerminalId != null) + hash = hash * 59 + this.TerminalId.GetHashCode(); + if (this.PaymentTypes != null) + hash = hash * 59 + this.PaymentTypes.GetHashCode(); + if (this.Currencies != null) + hash = hash * 59 + this.Currencies.GetHashCode(); + if (this.SicCode != null) + hash = hash * 59 + this.SicCode.GetHashCode(); + if (this.AllowMultipleBills != null) + hash = hash * 59 + this.AllowMultipleBills.GetHashCode(); + if (this.AllowMerchantDescriptorOverride != null) + hash = hash * 59 + this.AllowMerchantDescriptorOverride.GetHashCode(); + if (this.EnhancedData != null) + hash = hash * 59 + this.EnhancedData.GetHashCode(); + if (this.FireSafetyIndicator != null) + hash = hash * 59 + this.FireSafetyIndicator.GetHashCode(); + if (this.QuasiCash != null) + hash = hash * 59 + this.QuasiCash.GetHashCode(); + if (this.AcquirerMerchantId != null) + hash = hash * 59 + this.AcquirerMerchantId.GetHashCode(); + if (this.AvsFormat != null) + hash = hash * 59 + this.AvsFormat.GetHashCode(); + if (this.EnableLongTransRefNo != null) + hash = hash * 59 + this.EnableLongTransRefNo.GetHashCode(); + if (this.EnableLevel2 != null) + hash = hash * 59 + this.EnableLevel2.GetHashCode(); + if (this.EnableMultipleTransactionAdviceAddendum != null) + hash = hash * 59 + this.EnableMultipleTransactionAdviceAddendum.GetHashCode(); + if (this.AmexTransactionAdviceAddendum1 != null) + hash = hash * 59 + this.AmexTransactionAdviceAddendum1.GetHashCode(); + if (this.EnableMultiLineItems != null) + hash = hash * 59 + this.EnableMultiLineItems.GetHashCode(); + if (this.EnableTransactionReferenceNumber != null) + hash = hash * 59 + this.EnableTransactionReferenceNumber.GetHashCode(); + if (this.EnableAutoAuthReversalAfterVoid != null) + hash = hash * 59 + this.EnableAutoAuthReversalAfterVoid.GetHashCode(); + if (this.EnableExpresspayPanTranslation != null) + hash = hash * 59 + this.EnableExpresspayPanTranslation.GetHashCode(); + if (this.EnableCreditAuth != null) + hash = hash * 59 + this.EnableCreditAuth.GetHashCode(); + if (this.IndustryCode != null) + hash = hash * 59 + this.IndustryCode.GetHashCode(); + if (this.SendAmexLevel2Data != null) + hash = hash * 59 + this.SendAmexLevel2Data.GetHashCode(); + if (this.SoftDescriptorType != null) + hash = hash * 59 + this.SoftDescriptorType.GetHashCode(); + if (this.VitalNumber != null) + hash = hash * 59 + this.VitalNumber.GetHashCode(); + if (this.BankNumber != null) + hash = hash * 59 + this.BankNumber.GetHashCode(); + if (this.ChainNumber != null) + hash = hash * 59 + this.ChainNumber.GetHashCode(); + if (this.MerchantBinNumber != null) + hash = hash * 59 + this.MerchantBinNumber.GetHashCode(); + if (this.MerchantLocationNumber != null) + hash = hash * 59 + this.MerchantLocationNumber.GetHashCode(); + if (this.StoreID != null) + hash = hash * 59 + this.StoreID.GetHashCode(); + if (this.TravelAgencyCode != null) + hash = hash * 59 + this.TravelAgencyCode.GetHashCode(); + if (this.TravelAgencyName != null) + hash = hash * 59 + this.TravelAgencyName.GetHashCode(); + if (this.SettlementCurrency != null) + hash = hash * 59 + this.SettlementCurrency.GetHashCode(); + if (this.EnableLeastCostRouting != null) + hash = hash * 59 + this.EnableLeastCostRouting.GetHashCode(); + if (this.EnableCVVResponseIndicator != null) + hash = hash * 59 + this.EnableCVVResponseIndicator.GetHashCode(); + if (this.EnableMultiCurrencyProcessing != null) + hash = hash * 59 + this.EnableMultiCurrencyProcessing.GetHashCode(); + if (this.EnablePosNetworkSwitching != null) + hash = hash * 59 + this.EnablePosNetworkSwitching.GetHashCode(); + if (this.EnableDynamicCurrencyConversion != null) + hash = hash * 59 + this.EnableDynamicCurrencyConversion.GetHashCode(); + if (this.MerchantTier != null) + hash = hash * 59 + this.MerchantTier.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // MerchantTier (string) pattern + Regex regexMerchantTier = new Regex(@"^[0-9]+$", RegexOptions.CultureInvariant); + if (false == regexMerchantTier.Match(this.MerchantTier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for MerchantTier, must match a pattern of " + regexMerchantTier, new [] { "MerchantTier" }); + } + + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.cs new file mode 100644 index 00000000..8797dd59 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardNotPresent. + /// CardPresent. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent CardNotPresent = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent), PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent CardPresent = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent)) + { + this.CardNotPresent = CardNotPresent; + this.CardPresent = CardPresent; + } + + /// + /// Gets or Sets CardNotPresent + /// + [DataMember(Name="cardNotPresent", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent CardNotPresent { get; set; } + + /// + /// Gets or Sets CardPresent + /// + [DataMember(Name="cardPresent", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent CardPresent { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures {\n"); + sb.Append(" CardNotPresent: ").Append(CardNotPresent).Append("\n"); + sb.Append(" CardPresent: ").Append(CardPresent).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardNotPresent == other.CardNotPresent || + this.CardNotPresent != null && + this.CardNotPresent.Equals(other.CardNotPresent) + ) && + ( + this.CardPresent == other.CardPresent || + this.CardPresent != null && + this.CardPresent.Equals(other.CardPresent) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CardNotPresent != null) + hash = hash * 59 + this.CardNotPresent.GetHashCode(); + if (this.CardPresent != null) + hash = hash * 59 + this.CardPresent.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.cs new file mode 100644 index 00000000..84be5866 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.cs @@ -0,0 +1,196 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; . + /// Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline. Applicable for VPC, FDI Global (fdiglobal), GPX (gpx) and GPN (gpn) processors.. + /// Indicates if a merchant is enabled for Straight Through Processing - B2B invoice payments. Applicable for FDI Global (fdiglobal), TSYS (tsys), VPC and GPX (gpx) processors.. + /// Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors.. + /// Installment. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent(Dictionary Processors = default(Dictionary), bool? IgnoreAddressVerificationSystem = default(bool?), bool? VisaStraightThroughProcessingOnly = default(bool?), string AmexTransactionAdviceAddendum1 = default(string), PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment Installment = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment)) + { + this.Processors = Processors; + this.IgnoreAddressVerificationSystem = IgnoreAddressVerificationSystem; + this.VisaStraightThroughProcessingOnly = VisaStraightThroughProcessingOnly; + this.AmexTransactionAdviceAddendum1 = AmexTransactionAdviceAddendum1; + this.Installment = Installment; + } + + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline. Applicable for VPC, FDI Global (fdiglobal), GPX (gpx) and GPN (gpn) processors. + /// + /// Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline. Applicable for VPC, FDI Global (fdiglobal), GPX (gpx) and GPN (gpn) processors. + [DataMember(Name="ignoreAddressVerificationSystem", EmitDefaultValue=false)] + public bool? IgnoreAddressVerificationSystem { get; set; } + + /// + /// Indicates if a merchant is enabled for Straight Through Processing - B2B invoice payments. Applicable for FDI Global (fdiglobal), TSYS (tsys), VPC and GPX (gpx) processors. + /// + /// Indicates if a merchant is enabled for Straight Through Processing - B2B invoice payments. Applicable for FDI Global (fdiglobal), TSYS (tsys), VPC and GPX (gpx) processors. + [DataMember(Name="visaStraightThroughProcessingOnly", EmitDefaultValue=false)] + public bool? VisaStraightThroughProcessingOnly { get; set; } + + /// + /// Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. + /// + /// Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. + [DataMember(Name="amexTransactionAdviceAddendum1", EmitDefaultValue=false)] + public string AmexTransactionAdviceAddendum1 { get; set; } + + /// + /// Gets or Sets Installment + /// + [DataMember(Name="installment", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment Installment { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent {\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append(" IgnoreAddressVerificationSystem: ").Append(IgnoreAddressVerificationSystem).Append("\n"); + sb.Append(" VisaStraightThroughProcessingOnly: ").Append(VisaStraightThroughProcessingOnly).Append("\n"); + sb.Append(" AmexTransactionAdviceAddendum1: ").Append(AmexTransactionAdviceAddendum1).Append("\n"); + sb.Append(" Installment: ").Append(Installment).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ) && + ( + this.IgnoreAddressVerificationSystem == other.IgnoreAddressVerificationSystem || + this.IgnoreAddressVerificationSystem != null && + this.IgnoreAddressVerificationSystem.Equals(other.IgnoreAddressVerificationSystem) + ) && + ( + this.VisaStraightThroughProcessingOnly == other.VisaStraightThroughProcessingOnly || + this.VisaStraightThroughProcessingOnly != null && + this.VisaStraightThroughProcessingOnly.Equals(other.VisaStraightThroughProcessingOnly) + ) && + ( + this.AmexTransactionAdviceAddendum1 == other.AmexTransactionAdviceAddendum1 || + this.AmexTransactionAdviceAddendum1 != null && + this.AmexTransactionAdviceAddendum1.Equals(other.AmexTransactionAdviceAddendum1) + ) && + ( + this.Installment == other.Installment || + this.Installment != null && + this.Installment.Equals(other.Installment) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + if (this.IgnoreAddressVerificationSystem != null) + hash = hash * 59 + this.IgnoreAddressVerificationSystem.GetHashCode(); + if (this.VisaStraightThroughProcessingOnly != null) + hash = hash * 59 + this.VisaStraightThroughProcessingOnly.GetHashCode(); + if (this.AmexTransactionAdviceAddendum1 != null) + hash = hash * 59 + this.AmexTransactionAdviceAddendum1.GetHashCode(); + if (this.Installment != null) + hash = hash * 59 + this.Installment.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.cs new file mode 100644 index 00000000..8f327286 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// This flag is to enable for installment plan programs. Applicable for Fiserv (fiserv), Vero (vero) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> . + /// This indicates the type of funding for the installment plan associated with the payment. Valid values: \"merchant\" - Merchant-funded installment plan \"issuer\" - Issuer-funded installment plan Applicable for Fiserv (fiserv), American Express Direct (amexdirect) and Vero (vero) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td></tr> </table> . + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment(bool? EnableInstallment = default(bool?), string InstallmentPlan = default(string)) + { + this.EnableInstallment = EnableInstallment; + this.InstallmentPlan = InstallmentPlan; + } + + /// + /// This flag is to enable for installment plan programs. Applicable for Fiserv (fiserv), Vero (vero) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + /// + /// This flag is to enable for installment plan programs. Applicable for Fiserv (fiserv), Vero (vero) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="enableInstallment", EmitDefaultValue=false)] + public bool? EnableInstallment { get; set; } + + /// + /// This indicates the type of funding for the installment plan associated with the payment. Valid values: \"merchant\" - Merchant-funded installment plan \"issuer\" - Issuer-funded installment plan Applicable for Fiserv (fiserv), American Express Direct (amexdirect) and Vero (vero) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td></tr> </table> + /// + /// This indicates the type of funding for the installment plan associated with the payment. Valid values: \"merchant\" - Merchant-funded installment plan \"issuer\" - Issuer-funded installment plan Applicable for Fiserv (fiserv), American Express Direct (amexdirect) and Vero (vero) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td></tr> </table> + [DataMember(Name="installmentPlan", EmitDefaultValue=false)] + public string InstallmentPlan { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment {\n"); + sb.Append(" EnableInstallment: ").Append(EnableInstallment).Append("\n"); + sb.Append(" InstallmentPlan: ").Append(InstallmentPlan).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.EnableInstallment == other.EnableInstallment || + this.EnableInstallment != null && + this.EnableInstallment.Equals(other.EnableInstallment) + ) && + ( + this.InstallmentPlan == other.InstallmentPlan || + this.InstallmentPlan != null && + this.InstallmentPlan.Equals(other.InstallmentPlan) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.EnableInstallment != null) + hash = hash * 59 + this.EnableInstallment.GetHashCode(); + if (this.InstallmentPlan != null) + hash = hash * 59 + this.InstallmentPlan.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.cs new file mode 100644 index 00000000..b0c81af3 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.cs @@ -0,0 +1,265 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Applicable for VPC processors.. + /// This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. This number is usually a Visa-assigned. Applicable for VPC processors.. + /// Transaction type. List of supported identifiers documented in the Developer Guide. Applicable for GPX (gpx) and VPC processors.. + /// Applicable for GPX (gpx) and VPC processors.. + /// Routing Number to identify banks within the United States. Applicable for VPC processors.. + /// Order of the networks in which Visa should make routing decisions. Applicable for VPC processors.. + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). + /// Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>11</td><td>^[0-9]+$</td></tr> </table> . + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>255</td><td>^[0-9:&#92;-]+$</td></tr> </table> . + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts(string ReimbursementCode = default(string), string AcquiringInstitutionId = default(string), string BusinessApplicationId = default(string), string FinancialInstitutionId = default(string), string MerchantAbaNumber = default(string), string NetworkOrder = default(string), Dictionary Currencies = default(Dictionary), string MerchantId = default(string), string TerminalId = default(string)) + { + this.ReimbursementCode = ReimbursementCode; + this.AcquiringInstitutionId = AcquiringInstitutionId; + this.BusinessApplicationId = BusinessApplicationId; + this.FinancialInstitutionId = FinancialInstitutionId; + this.MerchantAbaNumber = MerchantAbaNumber; + this.NetworkOrder = NetworkOrder; + this.Currencies = Currencies; + this.MerchantId = MerchantId; + this.TerminalId = TerminalId; + } + + /// + /// Applicable for VPC processors. + /// + /// Applicable for VPC processors. + [DataMember(Name="reimbursementCode", EmitDefaultValue=false)] + public string ReimbursementCode { get; set; } + + /// + /// This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. This number is usually a Visa-assigned. Applicable for VPC processors. + /// + /// This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. This number is usually a Visa-assigned. Applicable for VPC processors. + [DataMember(Name="acquiringInstitutionId", EmitDefaultValue=false)] + public string AcquiringInstitutionId { get; set; } + + /// + /// Transaction type. List of supported identifiers documented in the Developer Guide. Applicable for GPX (gpx) and VPC processors. + /// + /// Transaction type. List of supported identifiers documented in the Developer Guide. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="businessApplicationId", EmitDefaultValue=false)] + public string BusinessApplicationId { get; set; } + + /// + /// Applicable for GPX (gpx) and VPC processors. + /// + /// Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="financialInstitutionId", EmitDefaultValue=false)] + public string FinancialInstitutionId { get; set; } + + /// + /// Routing Number to identify banks within the United States. Applicable for VPC processors. + /// + /// Routing Number to identify banks within the United States. Applicable for VPC processors. + [DataMember(Name="merchantAbaNumber", EmitDefaultValue=false)] + public string MerchantAbaNumber { get; set; } + + /// + /// Order of the networks in which Visa should make routing decisions. Applicable for VPC processors. + /// + /// Order of the networks in which Visa should make routing decisions. Applicable for VPC processors. + [DataMember(Name="networkOrder", EmitDefaultValue=false)] + public string NetworkOrder { get; set; } + + /// + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + /// + /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + [DataMember(Name="currencies", EmitDefaultValue=false)] + public Dictionary Currencies { get; set; } + + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>11</td><td>^[0-9]+$</td></tr> </table> + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>11</td><td>^[0-9]+$</td></tr> </table> + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>255</td><td>^[0-9:&#92;-]+$</td></tr> </table> + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>255</td><td>^[0-9:&#92;-]+$</td></tr> </table> + [DataMember(Name="terminalId", EmitDefaultValue=false)] + public string TerminalId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts {\n"); + sb.Append(" ReimbursementCode: ").Append(ReimbursementCode).Append("\n"); + sb.Append(" AcquiringInstitutionId: ").Append(AcquiringInstitutionId).Append("\n"); + sb.Append(" BusinessApplicationId: ").Append(BusinessApplicationId).Append("\n"); + sb.Append(" FinancialInstitutionId: ").Append(FinancialInstitutionId).Append("\n"); + sb.Append(" MerchantAbaNumber: ").Append(MerchantAbaNumber).Append("\n"); + sb.Append(" NetworkOrder: ").Append(NetworkOrder).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ReimbursementCode == other.ReimbursementCode || + this.ReimbursementCode != null && + this.ReimbursementCode.Equals(other.ReimbursementCode) + ) && + ( + this.AcquiringInstitutionId == other.AcquiringInstitutionId || + this.AcquiringInstitutionId != null && + this.AcquiringInstitutionId.Equals(other.AcquiringInstitutionId) + ) && + ( + this.BusinessApplicationId == other.BusinessApplicationId || + this.BusinessApplicationId != null && + this.BusinessApplicationId.Equals(other.BusinessApplicationId) + ) && + ( + this.FinancialInstitutionId == other.FinancialInstitutionId || + this.FinancialInstitutionId != null && + this.FinancialInstitutionId.Equals(other.FinancialInstitutionId) + ) && + ( + this.MerchantAbaNumber == other.MerchantAbaNumber || + this.MerchantAbaNumber != null && + this.MerchantAbaNumber.Equals(other.MerchantAbaNumber) + ) && + ( + this.NetworkOrder == other.NetworkOrder || + this.NetworkOrder != null && + this.NetworkOrder.Equals(other.NetworkOrder) + ) && + ( + this.Currencies == other.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(other.Currencies) + ) && + ( + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) + ) && + ( + this.TerminalId == other.TerminalId || + this.TerminalId != null && + this.TerminalId.Equals(other.TerminalId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ReimbursementCode != null) + hash = hash * 59 + this.ReimbursementCode.GetHashCode(); + if (this.AcquiringInstitutionId != null) + hash = hash * 59 + this.AcquiringInstitutionId.GetHashCode(); + if (this.BusinessApplicationId != null) + hash = hash * 59 + this.BusinessApplicationId.GetHashCode(); + if (this.FinancialInstitutionId != null) + hash = hash * 59 + this.FinancialInstitutionId.GetHashCode(); + if (this.MerchantAbaNumber != null) + hash = hash * 59 + this.MerchantAbaNumber.GetHashCode(); + if (this.NetworkOrder != null) + hash = hash * 59 + this.NetworkOrder.GetHashCode(); + if (this.Currencies != null) + hash = hash * 59 + this.Currencies.GetHashCode(); + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.TerminalId != null) + hash = hash * 59 + this.TerminalId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.cs new file mode 100644 index 00000000..800c6339 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.cs @@ -0,0 +1,230 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. . + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. . + /// Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party.. + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. . + /// Applicable for Prisma (prisma) processor.. + /// Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. . + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies(bool? Enabled = default(bool?), bool? EnabledCardPresent = default(bool?), bool? EnabledCardNotPresent = default(bool?), string MerchantId = default(string), string TerminalId = default(string), List TerminalIds = default(List), string ServiceEnablementNumber = default(string)) + { + this.Enabled = Enabled; + this.EnabledCardPresent = EnabledCardPresent; + this.EnabledCardNotPresent = EnabledCardNotPresent; + this.MerchantId = MerchantId; + this.TerminalId = TerminalId; + this.TerminalIds = TerminalIds; + this.ServiceEnablementNumber = ServiceEnablementNumber; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. + [DataMember(Name="enabledCardPresent", EmitDefaultValue=false)] + public bool? EnabledCardPresent { get; set; } + + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. + /// + /// Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. + [DataMember(Name="enabledCardNotPresent", EmitDefaultValue=false)] + public bool? EnabledCardNotPresent { get; set; } + + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. + /// + /// Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. + /// + /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. + [DataMember(Name="terminalId", EmitDefaultValue=false)] + public string TerminalId { get; set; } + + /// + /// Applicable for Prisma (prisma) processor. + /// + /// Applicable for Prisma (prisma) processor. + [DataMember(Name="terminalIds", EmitDefaultValue=false)] + public List TerminalIds { get; set; } + + /// + /// Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. + /// + /// Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. + [DataMember(Name="serviceEnablementNumber", EmitDefaultValue=false)] + public string ServiceEnablementNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" EnabledCardPresent: ").Append(EnabledCardPresent).Append("\n"); + sb.Append(" EnabledCardNotPresent: ").Append(EnabledCardNotPresent).Append("\n"); + sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); + sb.Append(" TerminalIds: ").Append(TerminalIds).Append("\n"); + sb.Append(" ServiceEnablementNumber: ").Append(ServiceEnablementNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.EnabledCardPresent == other.EnabledCardPresent || + this.EnabledCardPresent != null && + this.EnabledCardPresent.Equals(other.EnabledCardPresent) + ) && + ( + this.EnabledCardNotPresent == other.EnabledCardNotPresent || + this.EnabledCardNotPresent != null && + this.EnabledCardNotPresent.Equals(other.EnabledCardNotPresent) + ) && + ( + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) + ) && + ( + this.TerminalId == other.TerminalId || + this.TerminalId != null && + this.TerminalId.Equals(other.TerminalId) + ) && + ( + this.TerminalIds == other.TerminalIds || + this.TerminalIds != null && + this.TerminalIds.SequenceEqual(other.TerminalIds) + ) && + ( + this.ServiceEnablementNumber == other.ServiceEnablementNumber || + this.ServiceEnablementNumber != null && + this.ServiceEnablementNumber.Equals(other.ServiceEnablementNumber) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.EnabledCardPresent != null) + hash = hash * 59 + this.EnabledCardPresent.GetHashCode(); + if (this.EnabledCardNotPresent != null) + hash = hash * 59 + this.EnabledCardNotPresent.GetHashCode(); + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.TerminalId != null) + hash = hash * 59 + this.TerminalId.GetHashCode(); + if (this.TerminalIds != null) + hash = hash * 59 + this.TerminalIds.GetHashCode(); + if (this.ServiceEnablementNumber != null) + hash = hash * 59 + this.ServiceEnablementNumber.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.cs new file mode 100644 index 00000000..d2b42487 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.cs @@ -0,0 +1,213 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enables you to submit the payment transaction without one or more of the fields for the billTo or card_expiration. Applicable for Elavon Americas (elavonamericas), CB2A, Six (six), CMCIC (cmcic), GPX (gpx), GPN (gpn), VPC, Vero (vero), Fiserv (fiserv), American Express Direct (amexdirect), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, FDI Global (fdiglobal) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>hybrid</td><td>Yes</td><td>Yes</td></tr> </table> . + /// Allows Zip code without country. Applicable for American Express Direct (amexdirect), GPX (gpx), VPC, FDI Global (fdiglobal), Elavon Americas (elavonamericas), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, GPN (gpn) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, both</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> . + /// Allows transactions that use an expired card. Applicable for American Express Direct (amexdirect), GPN (gpn), Barclays HISO (barclayshiso), Elavon Americas (elavonamericas), VPC, FDI Global (fdiglobal), GPX (gpx), RUPAY, Six (six), Chase Paymentech Salem (chasepaymentechsalem) and CB2A processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> . + /// MasterCard Expert Monitoring Solutions (EMS) provides a predictive, behavior-based fraud score in real time during authorizations for card-not-present (CNP) transactions on cards issued in the U.S. Applicable for GPX (gpx) and VPC processors.. + /// Applicable for VPC processors.. + /// Payouts. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors(bool? RelaxAddressVerificationSystem = default(bool?), bool? RelaxAddressVerificationSystemAllowZipWithoutCountry = default(bool?), bool? RelaxAddressVerificationSystemAllowExpiredCard = default(bool?), bool? EnableEmsTransactionRiskScore = default(bool?), string PrestigiousPropertyIndicator = default(string), PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts Payouts = default(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts)) + { + this.RelaxAddressVerificationSystem = RelaxAddressVerificationSystem; + this.RelaxAddressVerificationSystemAllowZipWithoutCountry = RelaxAddressVerificationSystemAllowZipWithoutCountry; + this.RelaxAddressVerificationSystemAllowExpiredCard = RelaxAddressVerificationSystemAllowExpiredCard; + this.EnableEmsTransactionRiskScore = EnableEmsTransactionRiskScore; + this.PrestigiousPropertyIndicator = PrestigiousPropertyIndicator; + this.Payouts = Payouts; + } + + /// + /// Enables you to submit the payment transaction without one or more of the fields for the billTo or card_expiration. Applicable for Elavon Americas (elavonamericas), CB2A, Six (six), CMCIC (cmcic), GPX (gpx), GPN (gpn), VPC, Vero (vero), Fiserv (fiserv), American Express Direct (amexdirect), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, FDI Global (fdiglobal) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>hybrid</td><td>Yes</td><td>Yes</td></tr> </table> + /// + /// Enables you to submit the payment transaction without one or more of the fields for the billTo or card_expiration. Applicable for Elavon Americas (elavonamericas), CB2A, Six (six), CMCIC (cmcic), GPX (gpx), GPN (gpn), VPC, Vero (vero), Fiserv (fiserv), American Express Direct (amexdirect), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, FDI Global (fdiglobal) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>hybrid</td><td>Yes</td><td>Yes</td></tr> </table> + [DataMember(Name="relaxAddressVerificationSystem", EmitDefaultValue=false)] + public bool? RelaxAddressVerificationSystem { get; set; } + + /// + /// Allows Zip code without country. Applicable for American Express Direct (amexdirect), GPX (gpx), VPC, FDI Global (fdiglobal), Elavon Americas (elavonamericas), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, GPN (gpn) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, both</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + /// + /// Allows Zip code without country. Applicable for American Express Direct (amexdirect), GPX (gpx), VPC, FDI Global (fdiglobal), Elavon Americas (elavonamericas), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, GPN (gpn) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, both</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="relaxAddressVerificationSystemAllowZipWithoutCountry", EmitDefaultValue=false)] + public bool? RelaxAddressVerificationSystemAllowZipWithoutCountry { get; set; } + + /// + /// Allows transactions that use an expired card. Applicable for American Express Direct (amexdirect), GPN (gpn), Barclays HISO (barclayshiso), Elavon Americas (elavonamericas), VPC, FDI Global (fdiglobal), GPX (gpx), RUPAY, Six (six), Chase Paymentech Salem (chasepaymentechsalem) and CB2A processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + /// + /// Allows transactions that use an expired card. Applicable for American Express Direct (amexdirect), GPN (gpn), Barclays HISO (barclayshiso), Elavon Americas (elavonamericas), VPC, FDI Global (fdiglobal), GPX (gpx), RUPAY, Six (six), Chase Paymentech Salem (chasepaymentechsalem) and CB2A processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> + [DataMember(Name="relaxAddressVerificationSystemAllowExpiredCard", EmitDefaultValue=false)] + public bool? RelaxAddressVerificationSystemAllowExpiredCard { get; set; } + + /// + /// MasterCard Expert Monitoring Solutions (EMS) provides a predictive, behavior-based fraud score in real time during authorizations for card-not-present (CNP) transactions on cards issued in the U.S. Applicable for GPX (gpx) and VPC processors. + /// + /// MasterCard Expert Monitoring Solutions (EMS) provides a predictive, behavior-based fraud score in real time during authorizations for card-not-present (CNP) transactions on cards issued in the U.S. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="enableEmsTransactionRiskScore", EmitDefaultValue=false)] + public bool? EnableEmsTransactionRiskScore { get; set; } + + /// + /// Applicable for VPC processors. + /// + /// Applicable for VPC processors. + [DataMember(Name="prestigiousPropertyIndicator", EmitDefaultValue=false)] + public string PrestigiousPropertyIndicator { get; set; } + + /// + /// Gets or Sets Payouts + /// + [DataMember(Name="payouts", EmitDefaultValue=false)] + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts Payouts { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors {\n"); + sb.Append(" RelaxAddressVerificationSystem: ").Append(RelaxAddressVerificationSystem).Append("\n"); + sb.Append(" RelaxAddressVerificationSystemAllowZipWithoutCountry: ").Append(RelaxAddressVerificationSystemAllowZipWithoutCountry).Append("\n"); + sb.Append(" RelaxAddressVerificationSystemAllowExpiredCard: ").Append(RelaxAddressVerificationSystemAllowExpiredCard).Append("\n"); + sb.Append(" EnableEmsTransactionRiskScore: ").Append(EnableEmsTransactionRiskScore).Append("\n"); + sb.Append(" PrestigiousPropertyIndicator: ").Append(PrestigiousPropertyIndicator).Append("\n"); + sb.Append(" Payouts: ").Append(Payouts).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.RelaxAddressVerificationSystem == other.RelaxAddressVerificationSystem || + this.RelaxAddressVerificationSystem != null && + this.RelaxAddressVerificationSystem.Equals(other.RelaxAddressVerificationSystem) + ) && + ( + this.RelaxAddressVerificationSystemAllowZipWithoutCountry == other.RelaxAddressVerificationSystemAllowZipWithoutCountry || + this.RelaxAddressVerificationSystemAllowZipWithoutCountry != null && + this.RelaxAddressVerificationSystemAllowZipWithoutCountry.Equals(other.RelaxAddressVerificationSystemAllowZipWithoutCountry) + ) && + ( + this.RelaxAddressVerificationSystemAllowExpiredCard == other.RelaxAddressVerificationSystemAllowExpiredCard || + this.RelaxAddressVerificationSystemAllowExpiredCard != null && + this.RelaxAddressVerificationSystemAllowExpiredCard.Equals(other.RelaxAddressVerificationSystemAllowExpiredCard) + ) && + ( + this.EnableEmsTransactionRiskScore == other.EnableEmsTransactionRiskScore || + this.EnableEmsTransactionRiskScore != null && + this.EnableEmsTransactionRiskScore.Equals(other.EnableEmsTransactionRiskScore) + ) && + ( + this.PrestigiousPropertyIndicator == other.PrestigiousPropertyIndicator || + this.PrestigiousPropertyIndicator != null && + this.PrestigiousPropertyIndicator.Equals(other.PrestigiousPropertyIndicator) + ) && + ( + this.Payouts == other.Payouts || + this.Payouts != null && + this.Payouts.Equals(other.Payouts) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.RelaxAddressVerificationSystem != null) + hash = hash * 59 + this.RelaxAddressVerificationSystem.GetHashCode(); + if (this.RelaxAddressVerificationSystemAllowZipWithoutCountry != null) + hash = hash * 59 + this.RelaxAddressVerificationSystemAllowZipWithoutCountry.GetHashCode(); + if (this.RelaxAddressVerificationSystemAllowExpiredCard != null) + hash = hash * 59 + this.RelaxAddressVerificationSystemAllowExpiredCard.GetHashCode(); + if (this.EnableEmsTransactionRiskScore != null) + hash = hash * 59 + this.EnableEmsTransactionRiskScore.GetHashCode(); + if (this.PrestigiousPropertyIndicator != null) + hash = hash * 59 + this.PrestigiousPropertyIndicator.GetHashCode(); + if (this.Payouts != null) + hash = hash * 59 + this.Payouts.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.cs new file mode 100644 index 00000000..f9686c13 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; . + /// Used for Card Present and Virtual Terminal Transactions for Terminal ID lookup. Applicable for GPX (gpx) processor.. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent(Dictionary Processors = default(Dictionary), bool? EnableTerminalIdLookup = default(bool?)) + { + this.Processors = Processors; + this.EnableTerminalIdLookup = EnableTerminalIdLookup; + } + + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + /// + /// e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Used for Card Present and Virtual Terminal Transactions for Terminal ID lookup. Applicable for GPX (gpx) processor. + /// + /// Used for Card Present and Virtual Terminal Transactions for Terminal ID lookup. Applicable for GPX (gpx) processor. + [DataMember(Name="enableTerminalIdLookup", EmitDefaultValue=false)] + public bool? EnableTerminalIdLookup { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent {\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append(" EnableTerminalIdLookup: ").Append(EnableTerminalIdLookup).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ) && + ( + this.EnableTerminalIdLookup == other.EnableTerminalIdLookup || + this.EnableTerminalIdLookup != null && + this.EnableTerminalIdLookup.Equals(other.EnableTerminalIdLookup) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + if (this.EnableTerminalIdLookup != null) + hash = hash * 59 + this.EnableTerminalIdLookup.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.cs b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.cs new file mode 100644 index 00000000..13459214 --- /dev/null +++ b/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.cs @@ -0,0 +1,231 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors + /// + [DataContract] + public partial class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp</td><td>Yes</td><td>4</td><td>8</td><td>^[0-9a-zA-Z]+$</td><td>1111</td></tr> </table> . + /// For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors.. + /// Disables terminal ID validation. Applicable for VPC processors.. + /// Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors.. + /// This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors.. + /// Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors.. + /// Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors.. + public PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors(string DefaultPointOfSaleTerminalId = default(string), List PointOfSaleTerminalIds = default(List), bool? DisablePointOfSaleTerminalIdValidation = default(bool?), string PinDebitNetworkOrder = default(string), string PinDebitReimbursementCode = default(string), string FinancialInstitutionId = default(string), bool? EnablePinTranslation = default(bool?)) + { + this.DefaultPointOfSaleTerminalId = DefaultPointOfSaleTerminalId; + this.PointOfSaleTerminalIds = PointOfSaleTerminalIds; + this.DisablePointOfSaleTerminalIdValidation = DisablePointOfSaleTerminalIdValidation; + this.PinDebitNetworkOrder = PinDebitNetworkOrder; + this.PinDebitReimbursementCode = PinDebitReimbursementCode; + this.FinancialInstitutionId = FinancialInstitutionId; + this.EnablePinTranslation = EnablePinTranslation; + } + + /// + /// Default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp</td><td>Yes</td><td>4</td><td>8</td><td>^[0-9a-zA-Z]+$</td><td>1111</td></tr> </table> + /// + /// Default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp</td><td>Yes</td><td>4</td><td>8</td><td>^[0-9a-zA-Z]+$</td><td>1111</td></tr> </table> + [DataMember(Name="defaultPointOfSaleTerminalId", EmitDefaultValue=false)] + public string DefaultPointOfSaleTerminalId { get; set; } + + /// + /// For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors. + /// + /// For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors. + [DataMember(Name="pointOfSaleTerminalIds", EmitDefaultValue=false)] + public List PointOfSaleTerminalIds { get; set; } + + /// + /// Disables terminal ID validation. Applicable for VPC processors. + /// + /// Disables terminal ID validation. Applicable for VPC processors. + [DataMember(Name="disablePointOfSaleTerminalIdValidation", EmitDefaultValue=false)] + public bool? DisablePointOfSaleTerminalIdValidation { get; set; } + + /// + /// Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors. + /// + /// Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="pinDebitNetworkOrder", EmitDefaultValue=false)] + public string PinDebitNetworkOrder { get; set; } + + /// + /// This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors. + /// + /// This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="pinDebitReimbursementCode", EmitDefaultValue=false)] + public string PinDebitReimbursementCode { get; set; } + + /// + /// Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors. + /// + /// Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors. + [DataMember(Name="financialInstitutionId", EmitDefaultValue=false)] + public string FinancialInstitutionId { get; set; } + + /// + /// Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors. + /// + /// Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors. + [DataMember(Name="enablePinTranslation", EmitDefaultValue=false)] + public bool? EnablePinTranslation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors {\n"); + sb.Append(" DefaultPointOfSaleTerminalId: ").Append(DefaultPointOfSaleTerminalId).Append("\n"); + sb.Append(" PointOfSaleTerminalIds: ").Append(PointOfSaleTerminalIds).Append("\n"); + sb.Append(" DisablePointOfSaleTerminalIdValidation: ").Append(DisablePointOfSaleTerminalIdValidation).Append("\n"); + sb.Append(" PinDebitNetworkOrder: ").Append(PinDebitNetworkOrder).Append("\n"); + sb.Append(" PinDebitReimbursementCode: ").Append(PinDebitReimbursementCode).Append("\n"); + sb.Append(" FinancialInstitutionId: ").Append(FinancialInstitutionId).Append("\n"); + sb.Append(" EnablePinTranslation: ").Append(EnablePinTranslation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors); + } + + /// + /// Returns true if PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors instances are equal + /// + /// Instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DefaultPointOfSaleTerminalId == other.DefaultPointOfSaleTerminalId || + this.DefaultPointOfSaleTerminalId != null && + this.DefaultPointOfSaleTerminalId.Equals(other.DefaultPointOfSaleTerminalId) + ) && + ( + this.PointOfSaleTerminalIds == other.PointOfSaleTerminalIds || + this.PointOfSaleTerminalIds != null && + this.PointOfSaleTerminalIds.SequenceEqual(other.PointOfSaleTerminalIds) + ) && + ( + this.DisablePointOfSaleTerminalIdValidation == other.DisablePointOfSaleTerminalIdValidation || + this.DisablePointOfSaleTerminalIdValidation != null && + this.DisablePointOfSaleTerminalIdValidation.Equals(other.DisablePointOfSaleTerminalIdValidation) + ) && + ( + this.PinDebitNetworkOrder == other.PinDebitNetworkOrder || + this.PinDebitNetworkOrder != null && + this.PinDebitNetworkOrder.Equals(other.PinDebitNetworkOrder) + ) && + ( + this.PinDebitReimbursementCode == other.PinDebitReimbursementCode || + this.PinDebitReimbursementCode != null && + this.PinDebitReimbursementCode.Equals(other.PinDebitReimbursementCode) + ) && + ( + this.FinancialInstitutionId == other.FinancialInstitutionId || + this.FinancialInstitutionId != null && + this.FinancialInstitutionId.Equals(other.FinancialInstitutionId) + ) && + ( + this.EnablePinTranslation == other.EnablePinTranslation || + this.EnablePinTranslation != null && + this.EnablePinTranslation.Equals(other.EnablePinTranslation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DefaultPointOfSaleTerminalId != null) + hash = hash * 59 + this.DefaultPointOfSaleTerminalId.GetHashCode(); + if (this.PointOfSaleTerminalIds != null) + hash = hash * 59 + this.PointOfSaleTerminalIds.GetHashCode(); + if (this.DisablePointOfSaleTerminalIdValidation != null) + hash = hash * 59 + this.DisablePointOfSaleTerminalIdValidation.GetHashCode(); + if (this.PinDebitNetworkOrder != null) + hash = hash * 59 + this.PinDebitNetworkOrder.GetHashCode(); + if (this.PinDebitReimbursementCode != null) + hash = hash * 59 + this.PinDebitReimbursementCode.GetHashCode(); + if (this.FinancialInstitutionId != null) + hash = hash * 59 + this.FinancialInstitutionId.GetHashCode(); + if (this.EnablePinTranslation != null) + hash = hash * 59 + this.EnablePinTranslation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingSubscriptionInformation.cs b/Model/PaymentProductsCardProcessingSubscriptionInformation.cs new file mode 100644 index 00000000..c220605e --- /dev/null +++ b/Model/PaymentProductsCardProcessingSubscriptionInformation.cs @@ -0,0 +1,197 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingSubscriptionInformation + /// + [DataContract] + public partial class PaymentProductsCardProcessingSubscriptionInformation : IEquatable, IValidatableObject + { + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [JsonConverter(typeof(StringEnumConverter))] + public enum SelfServiceabilityEnum + { + + /// + /// Enum SELFSERVICEABLE for "SELF_SERVICEABLE" + /// + [EnumMember(Value = "SELF_SERVICEABLE")] + SELFSERVICEABLE, + + /// + /// Enum NOTSELFSERVICEABLE for "NOT_SELF_SERVICEABLE" + /// + [EnumMember(Value = "NOT_SELF_SERVICEABLE")] + NOTSELFSERVICEABLE, + + /// + /// Enum SELFSERVICEONLY for "SELF_SERVICE_ONLY" + /// + [EnumMember(Value = "SELF_SERVICE_ONLY")] + SELFSERVICEONLY + } + + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [DataMember(Name="selfServiceability", EmitDefaultValue=false)] + public SelfServiceabilityEnum? SelfServiceability { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates if the organization can enable this product using self service. (default to SelfServiceabilityEnum.NOTSELFSERVICEABLE). + /// This is a map. The allowed keys are below. Value should be an object containing a sole boolean property - enabled. <table> <tr> <td>cardPresent</td> </tr> <tr> <td>cardNotPresent</td> </tr> </table> . + public PaymentProductsCardProcessingSubscriptionInformation(bool? Enabled = default(bool?), SelfServiceabilityEnum? SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE, Dictionary Features = default(Dictionary)) + { + this.Enabled = Enabled; + // use default value if no "SelfServiceability" provided + if (SelfServiceability == null) + { + this.SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE; + } + else + { + this.SelfServiceability = SelfServiceability; + } + this.Features = Features; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// This is a map. The allowed keys are below. Value should be an object containing a sole boolean property - enabled. <table> <tr> <td>cardPresent</td> </tr> <tr> <td>cardNotPresent</td> </tr> </table> + /// + /// This is a map. The allowed keys are below. Value should be an object containing a sole boolean property - enabled. <table> <tr> <td>cardPresent</td> </tr> <tr> <td>cardNotPresent</td> </tr> </table> + [DataMember(Name="features", EmitDefaultValue=false)] + public Dictionary Features { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingSubscriptionInformation {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" SelfServiceability: ").Append(SelfServiceability).Append("\n"); + sb.Append(" Features: ").Append(Features).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingSubscriptionInformation); + } + + /// + /// Returns true if PaymentProductsCardProcessingSubscriptionInformation instances are equal + /// + /// Instance of PaymentProductsCardProcessingSubscriptionInformation to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingSubscriptionInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.SelfServiceability == other.SelfServiceability || + this.SelfServiceability != null && + this.SelfServiceability.Equals(other.SelfServiceability) + ) && + ( + this.Features == other.Features || + this.Features != null && + this.Features.SequenceEqual(other.Features) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.SelfServiceability != null) + hash = hash * 59 + this.SelfServiceability.GetHashCode(); + if (this.Features != null) + hash = hash * 59 + this.Features.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCardProcessingSubscriptionInformationFeatures.cs b/Model/PaymentProductsCardProcessingSubscriptionInformationFeatures.cs new file mode 100644 index 00000000..c4af7cfe --- /dev/null +++ b/Model/PaymentProductsCardProcessingSubscriptionInformationFeatures.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCardProcessingSubscriptionInformationFeatures + /// + [DataContract] + public partial class PaymentProductsCardProcessingSubscriptionInformationFeatures : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + public PaymentProductsCardProcessingSubscriptionInformationFeatures(bool? Enabled = default(bool?)) + { + this.Enabled = Enabled; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCardProcessingSubscriptionInformationFeatures {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCardProcessingSubscriptionInformationFeatures); + } + + /// + /// Returns true if PaymentProductsCardProcessingSubscriptionInformationFeatures instances are equal + /// + /// Instance of PaymentProductsCardProcessingSubscriptionInformationFeatures to be compared + /// Boolean + public bool Equals(PaymentProductsCardProcessingSubscriptionInformationFeatures other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCurrencyConversion.cs b/Model/PaymentProductsCurrencyConversion.cs new file mode 100644 index 00000000..ebd9936e --- /dev/null +++ b/Model/PaymentProductsCurrencyConversion.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCurrencyConversion + /// + [DataContract] + public partial class PaymentProductsCurrencyConversion : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsCurrencyConversion(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), PaymentProductsCurrencyConversionConfigurationInformation ConfigurationInformation = default(PaymentProductsCurrencyConversionConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsCurrencyConversionConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCurrencyConversion {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCurrencyConversion); + } + + /// + /// Returns true if PaymentProductsCurrencyConversion instances are equal + /// + /// Instance of PaymentProductsCurrencyConversion to be compared + /// Boolean + public bool Equals(PaymentProductsCurrencyConversion other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCurrencyConversionConfigurationInformation.cs b/Model/PaymentProductsCurrencyConversionConfigurationInformation.cs new file mode 100644 index 00000000..9d7e3ed7 --- /dev/null +++ b/Model/PaymentProductsCurrencyConversionConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCurrencyConversionConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsCurrencyConversionConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public PaymentProductsCurrencyConversionConfigurationInformation(Guid? TemplateId = default(Guid?), PaymentProductsCurrencyConversionConfigurationInformationConfigurations Configurations = default(PaymentProductsCurrencyConversionConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsCurrencyConversionConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCurrencyConversionConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCurrencyConversionConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsCurrencyConversionConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsCurrencyConversionConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsCurrencyConversionConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.cs b/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..95b0d642 --- /dev/null +++ b/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCurrencyConversionConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsCurrencyConversionConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Processors. + public PaymentProductsCurrencyConversionConfigurationInformationConfigurations(Dictionary Processors = default(Dictionary)) + { + this.Processors = Processors; + } + + /// + /// Gets or Sets Processors + /// + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCurrencyConversionConfigurationInformationConfigurations {\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCurrencyConversionConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsCurrencyConversionConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsCurrencyConversionConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsCurrencyConversionConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.cs b/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.cs new file mode 100644 index 00000000..5c354acb --- /dev/null +++ b/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors + /// + [DataContract] + public partial class PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The merchant identifier for the Currency Conversion service. Check with your Currency Conversion Provider for details.. + /// AcquirerId. + public PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors(string MerchantId = default(string), string AcquirerId = default(string)) + { + this.MerchantId = MerchantId; + this.AcquirerId = AcquirerId; + } + + /// + /// The merchant identifier for the Currency Conversion service. Check with your Currency Conversion Provider for details. + /// + /// The merchant identifier for the Currency Conversion service. Check with your Currency Conversion Provider for details. + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// Gets or Sets AcquirerId + /// + [DataMember(Name="acquirerId", EmitDefaultValue=false)] + public string AcquirerId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors {\n"); + sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + sb.Append(" AcquirerId: ").Append(AcquirerId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors); + } + + /// + /// Returns true if PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors instances are equal + /// + /// Instance of PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors to be compared + /// Boolean + public bool Equals(PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) + ) && + ( + this.AcquirerId == other.AcquirerId || + this.AcquirerId != null && + this.AcquirerId.Equals(other.AcquirerId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.AcquirerId != null) + hash = hash * 59 + this.AcquirerId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsCybsReadyTerminal.cs b/Model/PaymentProductsCybsReadyTerminal.cs new file mode 100644 index 00000000..95bb5ab0 --- /dev/null +++ b/Model/PaymentProductsCybsReadyTerminal.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsCybsReadyTerminal + /// + [DataContract] + public partial class PaymentProductsCybsReadyTerminal : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + public PaymentProductsCybsReadyTerminal(PaymentProductsCardPresentConnectSubscriptionInformation SubscriptionInformation = default(PaymentProductsCardPresentConnectSubscriptionInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsCardPresentConnectSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsCybsReadyTerminal {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsCybsReadyTerminal); + } + + /// + /// Returns true if PaymentProductsCybsReadyTerminal instances are equal + /// + /// Instance of PaymentProductsCybsReadyTerminal to be compared + /// Boolean + public bool Equals(PaymentProductsCybsReadyTerminal other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsDifferentialFee.cs b/Model/PaymentProductsDifferentialFee.cs new file mode 100644 index 00000000..d821e0a7 --- /dev/null +++ b/Model/PaymentProductsDifferentialFee.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsDifferentialFee + /// + [DataContract] + public partial class PaymentProductsDifferentialFee : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + public PaymentProductsDifferentialFee(PaymentProductsDifferentialFeeSubscriptionInformation SubscriptionInformation = default(PaymentProductsDifferentialFeeSubscriptionInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsDifferentialFeeSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsDifferentialFee {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsDifferentialFee); + } + + /// + /// Returns true if PaymentProductsDifferentialFee instances are equal + /// + /// Instance of PaymentProductsDifferentialFee to be compared + /// Boolean + public bool Equals(PaymentProductsDifferentialFee other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsDifferentialFeeSubscriptionInformation.cs b/Model/PaymentProductsDifferentialFeeSubscriptionInformation.cs new file mode 100644 index 00000000..68ad6e32 --- /dev/null +++ b/Model/PaymentProductsDifferentialFeeSubscriptionInformation.cs @@ -0,0 +1,196 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsDifferentialFeeSubscriptionInformation + /// + [DataContract] + public partial class PaymentProductsDifferentialFeeSubscriptionInformation : IEquatable, IValidatableObject + { + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [JsonConverter(typeof(StringEnumConverter))] + public enum SelfServiceabilityEnum + { + + /// + /// Enum SELFSERVICEABLE for "SELF_SERVICEABLE" + /// + [EnumMember(Value = "SELF_SERVICEABLE")] + SELFSERVICEABLE, + + /// + /// Enum NOTSELFSERVICEABLE for "NOT_SELF_SERVICEABLE" + /// + [EnumMember(Value = "NOT_SELF_SERVICEABLE")] + NOTSELFSERVICEABLE, + + /// + /// Enum SELFSERVICEONLY for "SELF_SERVICE_ONLY" + /// + [EnumMember(Value = "SELF_SERVICE_ONLY")] + SELFSERVICEONLY + } + + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [DataMember(Name="selfServiceability", EmitDefaultValue=false)] + public SelfServiceabilityEnum? SelfServiceability { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates if the organization can enable this product using self service. (default to SelfServiceabilityEnum.NOTSELFSERVICEABLE). + /// Features. + public PaymentProductsDifferentialFeeSubscriptionInformation(bool? Enabled = default(bool?), SelfServiceabilityEnum? SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE, PaymentProductsDifferentialFeeSubscriptionInformationFeatures Features = default(PaymentProductsDifferentialFeeSubscriptionInformationFeatures)) + { + this.Enabled = Enabled; + // use default value if no "SelfServiceability" provided + if (SelfServiceability == null) + { + this.SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE; + } + else + { + this.SelfServiceability = SelfServiceability; + } + this.Features = Features; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// Gets or Sets Features + /// + [DataMember(Name="features", EmitDefaultValue=false)] + public PaymentProductsDifferentialFeeSubscriptionInformationFeatures Features { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsDifferentialFeeSubscriptionInformation {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" SelfServiceability: ").Append(SelfServiceability).Append("\n"); + sb.Append(" Features: ").Append(Features).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsDifferentialFeeSubscriptionInformation); + } + + /// + /// Returns true if PaymentProductsDifferentialFeeSubscriptionInformation instances are equal + /// + /// Instance of PaymentProductsDifferentialFeeSubscriptionInformation to be compared + /// Boolean + public bool Equals(PaymentProductsDifferentialFeeSubscriptionInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.SelfServiceability == other.SelfServiceability || + this.SelfServiceability != null && + this.SelfServiceability.Equals(other.SelfServiceability) + ) && + ( + this.Features == other.Features || + this.Features != null && + this.Features.Equals(other.Features) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.SelfServiceability != null) + hash = hash * 59 + this.SelfServiceability.GetHashCode(); + if (this.Features != null) + hash = hash * 59 + this.Features.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.cs b/Model/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.cs new file mode 100644 index 00000000..a2842e47 --- /dev/null +++ b/Model/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsDifferentialFeeSubscriptionInformationFeatures + /// + [DataContract] + public partial class PaymentProductsDifferentialFeeSubscriptionInformationFeatures : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Surcharge. + public PaymentProductsDifferentialFeeSubscriptionInformationFeatures(PaymentProductsCardProcessingSubscriptionInformationFeatures Surcharge = default(PaymentProductsCardProcessingSubscriptionInformationFeatures)) + { + this.Surcharge = Surcharge; + } + + /// + /// Gets or Sets Surcharge + /// + [DataMember(Name="surcharge", EmitDefaultValue=false)] + public PaymentProductsCardProcessingSubscriptionInformationFeatures Surcharge { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsDifferentialFeeSubscriptionInformationFeatures {\n"); + sb.Append(" Surcharge: ").Append(Surcharge).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsDifferentialFeeSubscriptionInformationFeatures); + } + + /// + /// Returns true if PaymentProductsDifferentialFeeSubscriptionInformationFeatures instances are equal + /// + /// Instance of PaymentProductsDifferentialFeeSubscriptionInformationFeatures to be compared + /// Boolean + public bool Equals(PaymentProductsDifferentialFeeSubscriptionInformationFeatures other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Surcharge == other.Surcharge || + this.Surcharge != null && + this.Surcharge.Equals(other.Surcharge) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Surcharge != null) + hash = hash * 59 + this.Surcharge.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsDigitalPayments.cs b/Model/PaymentProductsDigitalPayments.cs new file mode 100644 index 00000000..804f6adf --- /dev/null +++ b/Model/PaymentProductsDigitalPayments.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsDigitalPayments + /// + [DataContract] + public partial class PaymentProductsDigitalPayments : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + public PaymentProductsDigitalPayments(PaymentProductsDigitalPaymentsSubscriptionInformation SubscriptionInformation = default(PaymentProductsDigitalPaymentsSubscriptionInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsDigitalPaymentsSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsDigitalPayments {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsDigitalPayments); + } + + /// + /// Returns true if PaymentProductsDigitalPayments instances are equal + /// + /// Instance of PaymentProductsDigitalPayments to be compared + /// Boolean + public bool Equals(PaymentProductsDigitalPayments other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsDigitalPaymentsSubscriptionInformation.cs b/Model/PaymentProductsDigitalPaymentsSubscriptionInformation.cs new file mode 100644 index 00000000..1a4d47af --- /dev/null +++ b/Model/PaymentProductsDigitalPaymentsSubscriptionInformation.cs @@ -0,0 +1,197 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsDigitalPaymentsSubscriptionInformation + /// + [DataContract] + public partial class PaymentProductsDigitalPaymentsSubscriptionInformation : IEquatable, IValidatableObject + { + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [JsonConverter(typeof(StringEnumConverter))] + public enum SelfServiceabilityEnum + { + + /// + /// Enum SELFSERVICEABLE for "SELF_SERVICEABLE" + /// + [EnumMember(Value = "SELF_SERVICEABLE")] + SELFSERVICEABLE, + + /// + /// Enum NOTSELFSERVICEABLE for "NOT_SELF_SERVICEABLE" + /// + [EnumMember(Value = "NOT_SELF_SERVICEABLE")] + NOTSELFSERVICEABLE, + + /// + /// Enum SELFSERVICEONLY for "SELF_SERVICE_ONLY" + /// + [EnumMember(Value = "SELF_SERVICE_ONLY")] + SELFSERVICEONLY + } + + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [DataMember(Name="selfServiceability", EmitDefaultValue=false)] + public SelfServiceabilityEnum? SelfServiceability { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates if the organization can enable this product using self service. (default to SelfServiceabilityEnum.NOTSELFSERVICEABLE). + /// Allowed values are; <table> <tr> <td>visaCheckout</td> </tr> <tr> <td>applePay</td> </tr> <tr> <td>samsungPay</td> </tr> <tr> <td>googlePay</td> </tr> </table> . + public PaymentProductsDigitalPaymentsSubscriptionInformation(bool? Enabled = default(bool?), SelfServiceabilityEnum? SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE, Dictionary Features = default(Dictionary)) + { + this.Enabled = Enabled; + // use default value if no "SelfServiceability" provided + if (SelfServiceability == null) + { + this.SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE; + } + else + { + this.SelfServiceability = SelfServiceability; + } + this.Features = Features; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// Allowed values are; <table> <tr> <td>visaCheckout</td> </tr> <tr> <td>applePay</td> </tr> <tr> <td>samsungPay</td> </tr> <tr> <td>googlePay</td> </tr> </table> + /// + /// Allowed values are; <table> <tr> <td>visaCheckout</td> </tr> <tr> <td>applePay</td> </tr> <tr> <td>samsungPay</td> </tr> <tr> <td>googlePay</td> </tr> </table> + [DataMember(Name="features", EmitDefaultValue=false)] + public Dictionary Features { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsDigitalPaymentsSubscriptionInformation {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" SelfServiceability: ").Append(SelfServiceability).Append("\n"); + sb.Append(" Features: ").Append(Features).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsDigitalPaymentsSubscriptionInformation); + } + + /// + /// Returns true if PaymentProductsDigitalPaymentsSubscriptionInformation instances are equal + /// + /// Instance of PaymentProductsDigitalPaymentsSubscriptionInformation to be compared + /// Boolean + public bool Equals(PaymentProductsDigitalPaymentsSubscriptionInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.SelfServiceability == other.SelfServiceability || + this.SelfServiceability != null && + this.SelfServiceability.Equals(other.SelfServiceability) + ) && + ( + this.Features == other.Features || + this.Features != null && + this.Features.SequenceEqual(other.Features) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.SelfServiceability != null) + hash = hash * 59 + this.SelfServiceability.GetHashCode(); + if (this.Features != null) + hash = hash * 59 + this.Features.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheck.cs b/Model/PaymentProductsECheck.cs new file mode 100644 index 00000000..9973fc33 --- /dev/null +++ b/Model/PaymentProductsECheck.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheck + /// + [DataContract] + public partial class PaymentProductsECheck : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsECheck(PaymentProductsECheckSubscriptionInformation SubscriptionInformation = default(PaymentProductsECheckSubscriptionInformation), PaymentProductsECheckConfigurationInformation ConfigurationInformation = default(PaymentProductsECheckConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsECheckSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheck {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheck); + } + + /// + /// Returns true if PaymentProductsECheck instances are equal + /// + /// Instance of PaymentProductsECheck to be compared + /// Boolean + public bool Equals(PaymentProductsECheck other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformation.cs b/Model/PaymentProductsECheckConfigurationInformation.cs new file mode 100644 index 00000000..9592be49 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public PaymentProductsECheckConfigurationInformation(Guid? TemplateId = default(Guid?), PaymentProductsECheckConfigurationInformationConfigurations Configurations = default(PaymentProductsECheckConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurations.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..ead8dcf1 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurations.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Common. + /// Underwriting. + /// Features. + public PaymentProductsECheckConfigurationInformationConfigurations(PaymentProductsECheckConfigurationInformationConfigurationsCommon Common = default(PaymentProductsECheckConfigurationInformationConfigurationsCommon), PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting Underwriting = default(PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting), PaymentProductsECheckConfigurationInformationConfigurationsFeatures Features = default(PaymentProductsECheckConfigurationInformationConfigurationsFeatures)) + { + this.Common = Common; + this.Underwriting = Underwriting; + this.Features = Features; + } + + /// + /// Gets or Sets Common + /// + [DataMember(Name="common", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformationConfigurationsCommon Common { get; set; } + + /// + /// Gets or Sets Underwriting + /// + [DataMember(Name="underwriting", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting Underwriting { get; set; } + + /// + /// Gets or Sets Features + /// + [DataMember(Name="features", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformationConfigurationsFeatures Features { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurations {\n"); + sb.Append(" Common: ").Append(Common).Append("\n"); + sb.Append(" Underwriting: ").Append(Underwriting).Append("\n"); + sb.Append(" Features: ").Append(Features).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Common == other.Common || + this.Common != null && + this.Common.Equals(other.Common) + ) && + ( + this.Underwriting == other.Underwriting || + this.Underwriting != null && + this.Underwriting.Equals(other.Underwriting) + ) && + ( + this.Features == other.Features || + this.Features != null && + this.Features.Equals(other.Features) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Common != null) + hash = hash * 59 + this.Common.GetHashCode(); + if (this.Underwriting != null) + hash = hash * 59 + this.Underwriting.GetHashCode(); + if (this.Features != null) + hash = hash * 59 + this.Features.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommon.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommon.cs new file mode 100644 index 00000000..993d83c7 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommon.cs @@ -0,0 +1,249 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformationConfigurationsCommon + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsCommon : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PaymentProductsECheckConfigurationInformationConfigurationsCommon() { } + /// + /// Initializes a new instance of the class. + /// + /// Processors. + /// InternalOnly. + /// Mandatory Name on Merchant's Bank Account Only ASCII (Hex 20 to Hex 7E) (required). + /// Mandatory Type of account for Merchant's Bank Account Possible values: - checking - savings - corporatechecking - corporatesavings (required). + /// Mandatory Routing number for Merchant's Bank Account US Account Routing Number (required). + /// Mandatory Account number for Merchant's Bank Account (required). + public PaymentProductsECheckConfigurationInformationConfigurationsCommon(Dictionary Processors = default(Dictionary), PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly InternalOnly = default(PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly), string AccountHolderName = default(string), string AccountType = default(string), string AccountRoutingNumber = default(string), string AccountNumber = default(string)) + { + // to ensure "AccountHolderName" is required (not null) + if (AccountHolderName == null) + { + throw new InvalidDataException("AccountHolderName is a required property for PaymentProductsECheckConfigurationInformationConfigurationsCommon and cannot be null"); + } + else + { + this.AccountHolderName = AccountHolderName; + } + // to ensure "AccountType" is required (not null) + if (AccountType == null) + { + throw new InvalidDataException("AccountType is a required property for PaymentProductsECheckConfigurationInformationConfigurationsCommon and cannot be null"); + } + else + { + this.AccountType = AccountType; + } + // to ensure "AccountRoutingNumber" is required (not null) + if (AccountRoutingNumber == null) + { + throw new InvalidDataException("AccountRoutingNumber is a required property for PaymentProductsECheckConfigurationInformationConfigurationsCommon and cannot be null"); + } + else + { + this.AccountRoutingNumber = AccountRoutingNumber; + } + // to ensure "AccountNumber" is required (not null) + if (AccountNumber == null) + { + throw new InvalidDataException("AccountNumber is a required property for PaymentProductsECheckConfigurationInformationConfigurationsCommon and cannot be null"); + } + else + { + this.AccountNumber = AccountNumber; + } + this.Processors = Processors; + this.InternalOnly = InternalOnly; + } + + /// + /// Gets or Sets Processors + /// + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Gets or Sets InternalOnly + /// + [DataMember(Name="internalOnly", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly InternalOnly { get; set; } + + /// + /// Mandatory Name on Merchant's Bank Account Only ASCII (Hex 20 to Hex 7E) + /// + /// Mandatory Name on Merchant's Bank Account Only ASCII (Hex 20 to Hex 7E) + [DataMember(Name="accountHolderName", EmitDefaultValue=false)] + public string AccountHolderName { get; set; } + + /// + /// Mandatory Type of account for Merchant's Bank Account Possible values: - checking - savings - corporatechecking - corporatesavings + /// + /// Mandatory Type of account for Merchant's Bank Account Possible values: - checking - savings - corporatechecking - corporatesavings + [DataMember(Name="accountType", EmitDefaultValue=false)] + public string AccountType { get; set; } + + /// + /// Mandatory Routing number for Merchant's Bank Account US Account Routing Number + /// + /// Mandatory Routing number for Merchant's Bank Account US Account Routing Number + [DataMember(Name="accountRoutingNumber", EmitDefaultValue=false)] + public string AccountRoutingNumber { get; set; } + + /// + /// Mandatory Account number for Merchant's Bank Account + /// + /// Mandatory Account number for Merchant's Bank Account + [DataMember(Name="accountNumber", EmitDefaultValue=false)] + public string AccountNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsCommon {\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append(" InternalOnly: ").Append(InternalOnly).Append("\n"); + sb.Append(" AccountHolderName: ").Append(AccountHolderName).Append("\n"); + sb.Append(" AccountType: ").Append(AccountType).Append("\n"); + sb.Append(" AccountRoutingNumber: ").Append(AccountRoutingNumber).Append("\n"); + sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsCommon); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsCommon instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsCommon to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsCommon other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ) && + ( + this.InternalOnly == other.InternalOnly || + this.InternalOnly != null && + this.InternalOnly.Equals(other.InternalOnly) + ) && + ( + this.AccountHolderName == other.AccountHolderName || + this.AccountHolderName != null && + this.AccountHolderName.Equals(other.AccountHolderName) + ) && + ( + this.AccountType == other.AccountType || + this.AccountType != null && + this.AccountType.Equals(other.AccountType) + ) && + ( + this.AccountRoutingNumber == other.AccountRoutingNumber || + this.AccountRoutingNumber != null && + this.AccountRoutingNumber.Equals(other.AccountRoutingNumber) + ) && + ( + this.AccountNumber == other.AccountNumber || + this.AccountNumber != null && + this.AccountNumber.Equals(other.AccountNumber) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + if (this.InternalOnly != null) + hash = hash * 59 + this.InternalOnly.GetHashCode(); + if (this.AccountHolderName != null) + hash = hash * 59 + this.AccountHolderName.GetHashCode(); + if (this.AccountType != null) + hash = hash * 59 + this.AccountType.GetHashCode(); + if (this.AccountRoutingNumber != null) + hash = hash * 59 + this.AccountRoutingNumber.GetHashCode(); + if (this.AccountNumber != null) + hash = hash * 59 + this.AccountNumber.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.cs new file mode 100644 index 00000000..16b8f531 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.cs @@ -0,0 +1,154 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// *NEW* Used by EBC UI always set to true (default to true). + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" . + public PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly(bool? DisplayEcheckInfo = true, Dictionary Processors = default(Dictionary)) + { + // use default value if no "DisplayEcheckInfo" provided + if (DisplayEcheckInfo == null) + { + this.DisplayEcheckInfo = true; + } + else + { + this.DisplayEcheckInfo = DisplayEcheckInfo; + } + this.Processors = Processors; + } + + /// + /// *NEW* Used by EBC UI always set to true + /// + /// *NEW* Used by EBC UI always set to true + [DataMember(Name="displayEcheckInfo", EmitDefaultValue=false)] + public bool? DisplayEcheckInfo { get; set; } + + /// + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" + /// + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly {\n"); + sb.Append(" DisplayEcheckInfo: ").Append(DisplayEcheckInfo).Append("\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DisplayEcheckInfo == other.DisplayEcheckInfo || + this.DisplayEcheckInfo != null && + this.DisplayEcheckInfo.Equals(other.DisplayEcheckInfo) + ) && + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DisplayEcheckInfo != null) + hash = hash * 59 + this.DisplayEcheckInfo.GetHashCode(); + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.cs new file mode 100644 index 00000000..8de3b035 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.cs @@ -0,0 +1,221 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Name of the payment processor. Example - \"wellsfargoach\" + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// *NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform. Applicable for VPC and amexdirect processors. . + /// *NEW* The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC processors. . + /// *NEW* This ensures the transaction reference # contains an identifier that can be viewed in CYBS (default to true). + /// *NEW* This is used by the EBC2 application (default to "CHECK"). + /// *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. (default to false). + public PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors(bool? EnableCCS = default(bool?), string TerminalId = default(string), bool? Enable15anTransactionReferenceNumber = true, string PortalSupportedPaytypes = "CHECK", bool? SetCompletedState = false) + { + this.EnableCCS = EnableCCS; + this.TerminalId = TerminalId; + // use default value if no "Enable15anTransactionReferenceNumber" provided + if (Enable15anTransactionReferenceNumber == null) + { + this.Enable15anTransactionReferenceNumber = true; + } + else + { + this.Enable15anTransactionReferenceNumber = Enable15anTransactionReferenceNumber; + } + // use default value if no "PortalSupportedPaytypes" provided + if (PortalSupportedPaytypes == null) + { + this.PortalSupportedPaytypes = "CHECK"; + } + else + { + this.PortalSupportedPaytypes = PortalSupportedPaytypes; + } + // use default value if no "SetCompletedState" provided + if (SetCompletedState == null) + { + this.SetCompletedState = false; + } + else + { + this.SetCompletedState = SetCompletedState; + } + } + + /// + /// *NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform. Applicable for VPC and amexdirect processors. + /// + /// *NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform. Applicable for VPC and amexdirect processors. + [DataMember(Name="enableCCS", EmitDefaultValue=false)] + public bool? EnableCCS { get; set; } + + /// + /// *NEW* The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC processors. + /// + /// *NEW* The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC processors. + [DataMember(Name="terminalId", EmitDefaultValue=false)] + public string TerminalId { get; set; } + + /// + /// *NEW* This ensures the transaction reference # contains an identifier that can be viewed in CYBS + /// + /// *NEW* This ensures the transaction reference # contains an identifier that can be viewed in CYBS + [DataMember(Name="enable15anTransactionReferenceNumber", EmitDefaultValue=false)] + public bool? Enable15anTransactionReferenceNumber { get; set; } + + /// + /// *NEW* This is used by the EBC2 application + /// + /// *NEW* This is used by the EBC2 application + [DataMember(Name="portalSupportedPaytypes", EmitDefaultValue=false)] + public string PortalSupportedPaytypes { get; set; } + + /// + /// *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. + /// + /// *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. + [DataMember(Name="setCompletedState", EmitDefaultValue=false)] + public bool? SetCompletedState { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors {\n"); + sb.Append(" EnableCCS: ").Append(EnableCCS).Append("\n"); + sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); + sb.Append(" Enable15anTransactionReferenceNumber: ").Append(Enable15anTransactionReferenceNumber).Append("\n"); + sb.Append(" PortalSupportedPaytypes: ").Append(PortalSupportedPaytypes).Append("\n"); + sb.Append(" SetCompletedState: ").Append(SetCompletedState).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.EnableCCS == other.EnableCCS || + this.EnableCCS != null && + this.EnableCCS.Equals(other.EnableCCS) + ) && + ( + this.TerminalId == other.TerminalId || + this.TerminalId != null && + this.TerminalId.Equals(other.TerminalId) + ) && + ( + this.Enable15anTransactionReferenceNumber == other.Enable15anTransactionReferenceNumber || + this.Enable15anTransactionReferenceNumber != null && + this.Enable15anTransactionReferenceNumber.Equals(other.Enable15anTransactionReferenceNumber) + ) && + ( + this.PortalSupportedPaytypes == other.PortalSupportedPaytypes || + this.PortalSupportedPaytypes != null && + this.PortalSupportedPaytypes.Equals(other.PortalSupportedPaytypes) + ) && + ( + this.SetCompletedState == other.SetCompletedState || + this.SetCompletedState != null && + this.SetCompletedState.Equals(other.SetCompletedState) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.EnableCCS != null) + hash = hash * 59 + this.EnableCCS.GetHashCode(); + if (this.TerminalId != null) + hash = hash * 59 + this.TerminalId.GetHashCode(); + if (this.Enable15anTransactionReferenceNumber != null) + hash = hash * 59 + this.Enable15anTransactionReferenceNumber.GetHashCode(); + if (this.PortalSupportedPaytypes != null) + hash = hash * 59 + this.PortalSupportedPaytypes.GetHashCode(); + if (this.SetCompletedState != null) + hash = hash * 59 + this.SetCompletedState.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.cs new file mode 100644 index 00000000..4869cd31 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.cs @@ -0,0 +1,226 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Payment Processing connection used to support eCheck, aka ACH, payment methods. Example - \"bofaach\" + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors() { } + /// + /// Initializes a new instance of the class. + /// + /// *EXISTING* Company (merchant) defined description of entry to receive. For e.g. PAYROLL, GAS BILL, INS PREM. This field is alphanumeric (required). + /// *EXISTING* company ID assigned to merchant by Acquiring bank. This field is alphanumeric. + /// *EXISTING* Capture requests are grouped into a batch bound for your payment processor. The batch time can be identified by reading the last 2-digits as military time. E.g., <processor>_16 = your processing cutoff is 4PM PST. Please note if you are in a different location you may then need to convert time zone as well.. + /// *NEW* Accuity is the original validation service that checks the account/routing number for formatting issues. Used by WF and set to \"Yes\" unless told otherwise (default to true). + /// *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. (default to false). + public PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors(string CompanyEntryDescription = default(string), string CompanyId = default(string), string BatchGroup = default(string), bool? EnableAccuityForAvs = true, bool? SetCompletedState = false) + { + // to ensure "CompanyEntryDescription" is required (not null) + if (CompanyEntryDescription == null) + { + throw new InvalidDataException("CompanyEntryDescription is a required property for PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors and cannot be null"); + } + else + { + this.CompanyEntryDescription = CompanyEntryDescription; + } + this.CompanyId = CompanyId; + this.BatchGroup = BatchGroup; + // use default value if no "EnableAccuityForAvs" provided + if (EnableAccuityForAvs == null) + { + this.EnableAccuityForAvs = true; + } + else + { + this.EnableAccuityForAvs = EnableAccuityForAvs; + } + // use default value if no "SetCompletedState" provided + if (SetCompletedState == null) + { + this.SetCompletedState = false; + } + else + { + this.SetCompletedState = SetCompletedState; + } + } + + /// + /// *EXISTING* Company (merchant) defined description of entry to receive. For e.g. PAYROLL, GAS BILL, INS PREM. This field is alphanumeric + /// + /// *EXISTING* Company (merchant) defined description of entry to receive. For e.g. PAYROLL, GAS BILL, INS PREM. This field is alphanumeric + [DataMember(Name="companyEntryDescription", EmitDefaultValue=false)] + public string CompanyEntryDescription { get; set; } + + /// + /// *EXISTING* company ID assigned to merchant by Acquiring bank. This field is alphanumeric + /// + /// *EXISTING* company ID assigned to merchant by Acquiring bank. This field is alphanumeric + [DataMember(Name="companyId", EmitDefaultValue=false)] + public string CompanyId { get; set; } + + /// + /// *EXISTING* Capture requests are grouped into a batch bound for your payment processor. The batch time can be identified by reading the last 2-digits as military time. E.g., <processor>_16 = your processing cutoff is 4PM PST. Please note if you are in a different location you may then need to convert time zone as well. + /// + /// *EXISTING* Capture requests are grouped into a batch bound for your payment processor. The batch time can be identified by reading the last 2-digits as military time. E.g., <processor>_16 = your processing cutoff is 4PM PST. Please note if you are in a different location you may then need to convert time zone as well. + [DataMember(Name="batchGroup", EmitDefaultValue=false)] + public string BatchGroup { get; set; } + + /// + /// *NEW* Accuity is the original validation service that checks the account/routing number for formatting issues. Used by WF and set to \"Yes\" unless told otherwise + /// + /// *NEW* Accuity is the original validation service that checks the account/routing number for formatting issues. Used by WF and set to \"Yes\" unless told otherwise + [DataMember(Name="enableAccuityForAvs", EmitDefaultValue=false)] + public bool? EnableAccuityForAvs { get; set; } + + /// + /// *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. + /// + /// *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. + [DataMember(Name="setCompletedState", EmitDefaultValue=false)] + public bool? SetCompletedState { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors {\n"); + sb.Append(" CompanyEntryDescription: ").Append(CompanyEntryDescription).Append("\n"); + sb.Append(" CompanyId: ").Append(CompanyId).Append("\n"); + sb.Append(" BatchGroup: ").Append(BatchGroup).Append("\n"); + sb.Append(" EnableAccuityForAvs: ").Append(EnableAccuityForAvs).Append("\n"); + sb.Append(" SetCompletedState: ").Append(SetCompletedState).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CompanyEntryDescription == other.CompanyEntryDescription || + this.CompanyEntryDescription != null && + this.CompanyEntryDescription.Equals(other.CompanyEntryDescription) + ) && + ( + this.CompanyId == other.CompanyId || + this.CompanyId != null && + this.CompanyId.Equals(other.CompanyId) + ) && + ( + this.BatchGroup == other.BatchGroup || + this.BatchGroup != null && + this.BatchGroup.Equals(other.BatchGroup) + ) && + ( + this.EnableAccuityForAvs == other.EnableAccuityForAvs || + this.EnableAccuityForAvs != null && + this.EnableAccuityForAvs.Equals(other.EnableAccuityForAvs) + ) && + ( + this.SetCompletedState == other.SetCompletedState || + this.SetCompletedState != null && + this.SetCompletedState.Equals(other.SetCompletedState) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CompanyEntryDescription != null) + hash = hash * 59 + this.CompanyEntryDescription.GetHashCode(); + if (this.CompanyId != null) + hash = hash * 59 + this.CompanyId.GetHashCode(); + if (this.BatchGroup != null) + hash = hash * 59 + this.BatchGroup.GetHashCode(); + if (this.EnableAccuityForAvs != null) + hash = hash * 59 + this.EnableAccuityForAvs.GetHashCode(); + if (this.SetCompletedState != null) + hash = hash * 59 + this.SetCompletedState.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.cs new file mode 100644 index 00000000..f7118bd7 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformationConfigurationsFeatures + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsFeatures : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// AccountValidationService. + public PaymentProductsECheckConfigurationInformationConfigurationsFeatures(PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService AccountValidationService = default(PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService)) + { + this.AccountValidationService = AccountValidationService; + } + + /// + /// Gets or Sets AccountValidationService + /// + [DataMember(Name="accountValidationService", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService AccountValidationService { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsFeatures {\n"); + sb.Append(" AccountValidationService: ").Append(AccountValidationService).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsFeatures); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsFeatures instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsFeatures to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsFeatures other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AccountValidationService == other.AccountValidationService || + this.AccountValidationService != null && + this.AccountValidationService.Equals(other.AccountValidationService) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.AccountValidationService != null) + hash = hash * 59 + this.AccountValidationService.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.cs new file mode 100644 index 00000000..3e92b81f --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.cs @@ -0,0 +1,145 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// InternalOnly. + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" . + public PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService(PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly InternalOnly = default(PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly), Dictionary Processors = default(Dictionary)) + { + this.InternalOnly = InternalOnly; + this.Processors = Processors; + } + + /// + /// Gets or Sets InternalOnly + /// + [DataMember(Name="internalOnly", EmitDefaultValue=false)] + public PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly InternalOnly { get; set; } + + /// + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" + /// + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService {\n"); + sb.Append(" InternalOnly: ").Append(InternalOnly).Append("\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.InternalOnly == other.InternalOnly || + this.InternalOnly != null && + this.InternalOnly.Equals(other.InternalOnly) + ) && + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.InternalOnly != null) + hash = hash * 59 + this.InternalOnly.GetHashCode(); + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.cs new file mode 100644 index 00000000..1a5166cd --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" . + public PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly(Dictionary Processors = default(Dictionary)) + { + this.Processors = Processors; + } + + /// + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" + /// + /// *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" + [DataMember(Name="processors", EmitDefaultValue=false)] + public Dictionary Processors { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly {\n"); + sb.Append(" Processors: ").Append(Processors).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Processors == other.Processors || + this.Processors != null && + this.Processors.SequenceEqual(other.Processors) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Processors != null) + hash = hash * 59 + this.Processors.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.cs new file mode 100644 index 00000000..62f773c6 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.cs @@ -0,0 +1,247 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// *NEW* Name of the payment processor. Example - \"wellsfargoach\" + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// *NEW* Determined in WF eTicket if account has opted into the Account Ownership Service.. + /// *NEW* Determined in WF eTicket if account has opted into the Account Status Service.. + /// *NEW* Taken from Addendum Agreement Column in boarding form.. + /// *NEW* Also known as the Additional ID. Taken from the boarding form.. + /// *NEW* (default to true). + /// *NEW* Also known as the AVS Gateway Entity ID.. + /// *NEW* Applicable if the merchant wants to run AVS on token creation requests only. (default to false). + public PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors(bool? AvsAccountOwnershipService = default(bool?), bool? AvsAccountStatusService = default(bool?), bool? AvsSignedAgreement = default(bool?), string AvsAdditionalId = default(string), bool? EnableAvs = true, string AvsEntityId = default(string), bool? EnableAvsTokenCreation = false) + { + this.AvsAccountOwnershipService = AvsAccountOwnershipService; + this.AvsAccountStatusService = AvsAccountStatusService; + this.AvsSignedAgreement = AvsSignedAgreement; + this.AvsAdditionalId = AvsAdditionalId; + // use default value if no "EnableAvs" provided + if (EnableAvs == null) + { + this.EnableAvs = true; + } + else + { + this.EnableAvs = EnableAvs; + } + this.AvsEntityId = AvsEntityId; + // use default value if no "EnableAvsTokenCreation" provided + if (EnableAvsTokenCreation == null) + { + this.EnableAvsTokenCreation = false; + } + else + { + this.EnableAvsTokenCreation = EnableAvsTokenCreation; + } + } + + /// + /// *NEW* Determined in WF eTicket if account has opted into the Account Ownership Service. + /// + /// *NEW* Determined in WF eTicket if account has opted into the Account Ownership Service. + [DataMember(Name="avsAccountOwnershipService", EmitDefaultValue=false)] + public bool? AvsAccountOwnershipService { get; set; } + + /// + /// *NEW* Determined in WF eTicket if account has opted into the Account Status Service. + /// + /// *NEW* Determined in WF eTicket if account has opted into the Account Status Service. + [DataMember(Name="avsAccountStatusService", EmitDefaultValue=false)] + public bool? AvsAccountStatusService { get; set; } + + /// + /// *NEW* Taken from Addendum Agreement Column in boarding form. + /// + /// *NEW* Taken from Addendum Agreement Column in boarding form. + [DataMember(Name="avsSignedAgreement", EmitDefaultValue=false)] + public bool? AvsSignedAgreement { get; set; } + + /// + /// *NEW* Also known as the Additional ID. Taken from the boarding form. + /// + /// *NEW* Also known as the Additional ID. Taken from the boarding form. + [DataMember(Name="avsAdditionalId", EmitDefaultValue=false)] + public string AvsAdditionalId { get; set; } + + /// + /// *NEW* + /// + /// *NEW* + [DataMember(Name="enableAvs", EmitDefaultValue=false)] + public bool? EnableAvs { get; set; } + + /// + /// *NEW* Also known as the AVS Gateway Entity ID. + /// + /// *NEW* Also known as the AVS Gateway Entity ID. + [DataMember(Name="avsEntityId", EmitDefaultValue=false)] + public string AvsEntityId { get; set; } + + /// + /// *NEW* Applicable if the merchant wants to run AVS on token creation requests only. + /// + /// *NEW* Applicable if the merchant wants to run AVS on token creation requests only. + [DataMember(Name="enableAvsTokenCreation", EmitDefaultValue=false)] + public bool? EnableAvsTokenCreation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors {\n"); + sb.Append(" AvsAccountOwnershipService: ").Append(AvsAccountOwnershipService).Append("\n"); + sb.Append(" AvsAccountStatusService: ").Append(AvsAccountStatusService).Append("\n"); + sb.Append(" AvsSignedAgreement: ").Append(AvsSignedAgreement).Append("\n"); + sb.Append(" AvsAdditionalId: ").Append(AvsAdditionalId).Append("\n"); + sb.Append(" EnableAvs: ").Append(EnableAvs).Append("\n"); + sb.Append(" AvsEntityId: ").Append(AvsEntityId).Append("\n"); + sb.Append(" EnableAvsTokenCreation: ").Append(EnableAvsTokenCreation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AvsAccountOwnershipService == other.AvsAccountOwnershipService || + this.AvsAccountOwnershipService != null && + this.AvsAccountOwnershipService.Equals(other.AvsAccountOwnershipService) + ) && + ( + this.AvsAccountStatusService == other.AvsAccountStatusService || + this.AvsAccountStatusService != null && + this.AvsAccountStatusService.Equals(other.AvsAccountStatusService) + ) && + ( + this.AvsSignedAgreement == other.AvsSignedAgreement || + this.AvsSignedAgreement != null && + this.AvsSignedAgreement.Equals(other.AvsSignedAgreement) + ) && + ( + this.AvsAdditionalId == other.AvsAdditionalId || + this.AvsAdditionalId != null && + this.AvsAdditionalId.Equals(other.AvsAdditionalId) + ) && + ( + this.EnableAvs == other.EnableAvs || + this.EnableAvs != null && + this.EnableAvs.Equals(other.EnableAvs) + ) && + ( + this.AvsEntityId == other.AvsEntityId || + this.AvsEntityId != null && + this.AvsEntityId.Equals(other.AvsEntityId) + ) && + ( + this.EnableAvsTokenCreation == other.EnableAvsTokenCreation || + this.EnableAvsTokenCreation != null && + this.EnableAvsTokenCreation.Equals(other.EnableAvsTokenCreation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.AvsAccountOwnershipService != null) + hash = hash * 59 + this.AvsAccountOwnershipService.GetHashCode(); + if (this.AvsAccountStatusService != null) + hash = hash * 59 + this.AvsAccountStatusService.GetHashCode(); + if (this.AvsSignedAgreement != null) + hash = hash * 59 + this.AvsSignedAgreement.GetHashCode(); + if (this.AvsAdditionalId != null) + hash = hash * 59 + this.AvsAdditionalId.GetHashCode(); + if (this.EnableAvs != null) + hash = hash * 59 + this.EnableAvs.GetHashCode(); + if (this.AvsEntityId != null) + hash = hash * 59 + this.AvsEntityId.GetHashCode(); + if (this.EnableAvsTokenCreation != null) + hash = hash * 59 + this.EnableAvsTokenCreation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.cs b/Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.cs new file mode 100644 index 00000000..c77b6675 --- /dev/null +++ b/Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.cs @@ -0,0 +1,351 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting + /// + [DataContract] + public partial class PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting() { } + /// + /// Initializes a new instance of the class. + /// + /// Mandatory Free-text (csv) Possible values (combination): CCD — Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions. PPD — Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customer’s checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions. TEL — Telephone-Initiated Entry, or TEL, is a one-time charge against a customer’s checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone. WEB — Internet-Initiated Entry or WEB is a charge against a customer’s checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet. (required) (default to "CCD,PPD,TEL,WEB"). + /// Mandatory Determines whether CYBS has placed the merchant on a funding hold This will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant. (required) (default to true). + /// Mandatory Monthly Maximum total Transaction Amount 12 digit including decimal (required). + /// Mandatory Funds Hold Days (Number of days funds will be held before it will be deposited into merchant account) 3 digits (required). + /// Optional Allow Credits (True/False) . + /// Mandatory Maximum total Transaction Amount This is a per transaction limit. For example, the merchant is limited to processing transactions under $100 12 digits (including decimal - USD only) (required). + /// Mandatory Reserve Method Possible value: - fixed - none Most merchants do not have a reserve attached to their account so the default value would be \"none.\" For a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump sum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for the account from each batch settlement until the reserve balance is equal to a set Reserve Target. A Fixed Reserve may also be established by a combination of lump sum deposit and withholding of settlement funds. A Rolling Reserve balance is established by withholding from a merchant’s available settlement funds at a Reserve Rate (percentage) and no Reserve Target is specified. Rather, each amount withheld is retained for a specified number of Reserve Holding Days and then released back to the merchant. (required). + /// Mandatory Reserve Rate (% of TPV)=> Relevant for Rolling Reserve and Fixed Reserve The percentage rate at which risk funds are withheld from each eCheck.Net batch settlement. (required). + /// Mandatory Reserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY The maximum dollar amount that can be held in Risk Reserve for a fixed reserve. Once risk withholdings reach the Reserve Target established for the eCheck.Net account, a portion of available funds will be deposited to the merchant’s bank account 12 digit including decimal (required). + /// Solution organization id. + public PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting(string StandardEntryClassCodes = "CCD,PPD,TEL,WEB", bool? EnableHold = true, decimal? MonthlyTotalTransactionAmountLimit = default(decimal?), decimal? HoldingDays = default(decimal?), bool? EnableCredits = default(bool?), decimal? TransactionAmountLimit = default(decimal?), string RiskReserveMethod = default(string), decimal? RiskReserveRate = default(decimal?), decimal? RiskReserveTargetAmount = default(decimal?), string SolutionOrganizationId = default(string)) + { + // to ensure "StandardEntryClassCodes" is required (not null) + if (StandardEntryClassCodes == null) + { + throw new InvalidDataException("StandardEntryClassCodes is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.StandardEntryClassCodes = StandardEntryClassCodes; + } + // to ensure "EnableHold" is required (not null) + if (EnableHold == null) + { + throw new InvalidDataException("EnableHold is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.EnableHold = EnableHold; + } + // to ensure "MonthlyTotalTransactionAmountLimit" is required (not null) + if (MonthlyTotalTransactionAmountLimit == null) + { + throw new InvalidDataException("MonthlyTotalTransactionAmountLimit is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.MonthlyTotalTransactionAmountLimit = MonthlyTotalTransactionAmountLimit; + } + // to ensure "HoldingDays" is required (not null) + if (HoldingDays == null) + { + throw new InvalidDataException("HoldingDays is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.HoldingDays = HoldingDays; + } + // to ensure "TransactionAmountLimit" is required (not null) + if (TransactionAmountLimit == null) + { + throw new InvalidDataException("TransactionAmountLimit is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.TransactionAmountLimit = TransactionAmountLimit; + } + // to ensure "RiskReserveMethod" is required (not null) + if (RiskReserveMethod == null) + { + throw new InvalidDataException("RiskReserveMethod is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.RiskReserveMethod = RiskReserveMethod; + } + // to ensure "RiskReserveRate" is required (not null) + if (RiskReserveRate == null) + { + throw new InvalidDataException("RiskReserveRate is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.RiskReserveRate = RiskReserveRate; + } + // to ensure "RiskReserveTargetAmount" is required (not null) + if (RiskReserveTargetAmount == null) + { + throw new InvalidDataException("RiskReserveTargetAmount is a required property for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting and cannot be null"); + } + else + { + this.RiskReserveTargetAmount = RiskReserveTargetAmount; + } + this.EnableCredits = EnableCredits; + this.SolutionOrganizationId = SolutionOrganizationId; + } + + /// + /// Mandatory Free-text (csv) Possible values (combination): CCD — Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions. PPD — Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customer’s checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions. TEL — Telephone-Initiated Entry, or TEL, is a one-time charge against a customer’s checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone. WEB — Internet-Initiated Entry or WEB is a charge against a customer’s checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet. + /// + /// Mandatory Free-text (csv) Possible values (combination): CCD — Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions. PPD — Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customer’s checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions. TEL — Telephone-Initiated Entry, or TEL, is a one-time charge against a customer’s checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone. WEB — Internet-Initiated Entry or WEB is a charge against a customer’s checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet. + [DataMember(Name="standardEntryClassCodes", EmitDefaultValue=false)] + public string StandardEntryClassCodes { get; set; } + + /// + /// Mandatory Determines whether CYBS has placed the merchant on a funding hold This will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant. + /// + /// Mandatory Determines whether CYBS has placed the merchant on a funding hold This will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant. + [DataMember(Name="enableHold", EmitDefaultValue=false)] + public bool? EnableHold { get; set; } + + /// + /// Mandatory Monthly Maximum total Transaction Amount 12 digit including decimal + /// + /// Mandatory Monthly Maximum total Transaction Amount 12 digit including decimal + [DataMember(Name="monthlyTotalTransactionAmountLimit", EmitDefaultValue=false)] + public decimal? MonthlyTotalTransactionAmountLimit { get; set; } + + /// + /// Mandatory Funds Hold Days (Number of days funds will be held before it will be deposited into merchant account) 3 digits + /// + /// Mandatory Funds Hold Days (Number of days funds will be held before it will be deposited into merchant account) 3 digits + [DataMember(Name="holdingDays", EmitDefaultValue=false)] + public decimal? HoldingDays { get; set; } + + /// + /// Optional Allow Credits (True/False) + /// + /// Optional Allow Credits (True/False) + [DataMember(Name="enableCredits", EmitDefaultValue=false)] + public bool? EnableCredits { get; set; } + + /// + /// Mandatory Maximum total Transaction Amount This is a per transaction limit. For example, the merchant is limited to processing transactions under $100 12 digits (including decimal - USD only) + /// + /// Mandatory Maximum total Transaction Amount This is a per transaction limit. For example, the merchant is limited to processing transactions under $100 12 digits (including decimal - USD only) + [DataMember(Name="transactionAmountLimit", EmitDefaultValue=false)] + public decimal? TransactionAmountLimit { get; set; } + + /// + /// Mandatory Reserve Method Possible value: - fixed - none Most merchants do not have a reserve attached to their account so the default value would be \"none.\" For a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump sum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for the account from each batch settlement until the reserve balance is equal to a set Reserve Target. A Fixed Reserve may also be established by a combination of lump sum deposit and withholding of settlement funds. A Rolling Reserve balance is established by withholding from a merchant’s available settlement funds at a Reserve Rate (percentage) and no Reserve Target is specified. Rather, each amount withheld is retained for a specified number of Reserve Holding Days and then released back to the merchant. + /// + /// Mandatory Reserve Method Possible value: - fixed - none Most merchants do not have a reserve attached to their account so the default value would be \"none.\" For a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump sum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for the account from each batch settlement until the reserve balance is equal to a set Reserve Target. A Fixed Reserve may also be established by a combination of lump sum deposit and withholding of settlement funds. A Rolling Reserve balance is established by withholding from a merchant’s available settlement funds at a Reserve Rate (percentage) and no Reserve Target is specified. Rather, each amount withheld is retained for a specified number of Reserve Holding Days and then released back to the merchant. + [DataMember(Name="riskReserveMethod", EmitDefaultValue=false)] + public string RiskReserveMethod { get; set; } + + /// + /// Mandatory Reserve Rate (% of TPV)=> Relevant for Rolling Reserve and Fixed Reserve The percentage rate at which risk funds are withheld from each eCheck.Net batch settlement. + /// + /// Mandatory Reserve Rate (% of TPV)=> Relevant for Rolling Reserve and Fixed Reserve The percentage rate at which risk funds are withheld from each eCheck.Net batch settlement. + [DataMember(Name="riskReserveRate", EmitDefaultValue=false)] + public decimal? RiskReserveRate { get; set; } + + /// + /// Mandatory Reserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY The maximum dollar amount that can be held in Risk Reserve for a fixed reserve. Once risk withholdings reach the Reserve Target established for the eCheck.Net account, a portion of available funds will be deposited to the merchant’s bank account 12 digit including decimal + /// + /// Mandatory Reserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY The maximum dollar amount that can be held in Risk Reserve for a fixed reserve. Once risk withholdings reach the Reserve Target established for the eCheck.Net account, a portion of available funds will be deposited to the merchant’s bank account 12 digit including decimal + [DataMember(Name="riskReserveTargetAmount", EmitDefaultValue=false)] + public decimal? RiskReserveTargetAmount { get; set; } + + /// + /// Solution organization id + /// + /// Solution organization id + [DataMember(Name="solutionOrganizationId", EmitDefaultValue=false)] + public string SolutionOrganizationId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting {\n"); + sb.Append(" StandardEntryClassCodes: ").Append(StandardEntryClassCodes).Append("\n"); + sb.Append(" EnableHold: ").Append(EnableHold).Append("\n"); + sb.Append(" MonthlyTotalTransactionAmountLimit: ").Append(MonthlyTotalTransactionAmountLimit).Append("\n"); + sb.Append(" HoldingDays: ").Append(HoldingDays).Append("\n"); + sb.Append(" EnableCredits: ").Append(EnableCredits).Append("\n"); + sb.Append(" TransactionAmountLimit: ").Append(TransactionAmountLimit).Append("\n"); + sb.Append(" RiskReserveMethod: ").Append(RiskReserveMethod).Append("\n"); + sb.Append(" RiskReserveRate: ").Append(RiskReserveRate).Append("\n"); + sb.Append(" RiskReserveTargetAmount: ").Append(RiskReserveTargetAmount).Append("\n"); + sb.Append(" SolutionOrganizationId: ").Append(SolutionOrganizationId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting); + } + + /// + /// Returns true if PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting instances are equal + /// + /// Instance of PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting to be compared + /// Boolean + public bool Equals(PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.StandardEntryClassCodes == other.StandardEntryClassCodes || + this.StandardEntryClassCodes != null && + this.StandardEntryClassCodes.Equals(other.StandardEntryClassCodes) + ) && + ( + this.EnableHold == other.EnableHold || + this.EnableHold != null && + this.EnableHold.Equals(other.EnableHold) + ) && + ( + this.MonthlyTotalTransactionAmountLimit == other.MonthlyTotalTransactionAmountLimit || + this.MonthlyTotalTransactionAmountLimit != null && + this.MonthlyTotalTransactionAmountLimit.Equals(other.MonthlyTotalTransactionAmountLimit) + ) && + ( + this.HoldingDays == other.HoldingDays || + this.HoldingDays != null && + this.HoldingDays.Equals(other.HoldingDays) + ) && + ( + this.EnableCredits == other.EnableCredits || + this.EnableCredits != null && + this.EnableCredits.Equals(other.EnableCredits) + ) && + ( + this.TransactionAmountLimit == other.TransactionAmountLimit || + this.TransactionAmountLimit != null && + this.TransactionAmountLimit.Equals(other.TransactionAmountLimit) + ) && + ( + this.RiskReserveMethod == other.RiskReserveMethod || + this.RiskReserveMethod != null && + this.RiskReserveMethod.Equals(other.RiskReserveMethod) + ) && + ( + this.RiskReserveRate == other.RiskReserveRate || + this.RiskReserveRate != null && + this.RiskReserveRate.Equals(other.RiskReserveRate) + ) && + ( + this.RiskReserveTargetAmount == other.RiskReserveTargetAmount || + this.RiskReserveTargetAmount != null && + this.RiskReserveTargetAmount.Equals(other.RiskReserveTargetAmount) + ) && + ( + this.SolutionOrganizationId == other.SolutionOrganizationId || + this.SolutionOrganizationId != null && + this.SolutionOrganizationId.Equals(other.SolutionOrganizationId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.StandardEntryClassCodes != null) + hash = hash * 59 + this.StandardEntryClassCodes.GetHashCode(); + if (this.EnableHold != null) + hash = hash * 59 + this.EnableHold.GetHashCode(); + if (this.MonthlyTotalTransactionAmountLimit != null) + hash = hash * 59 + this.MonthlyTotalTransactionAmountLimit.GetHashCode(); + if (this.HoldingDays != null) + hash = hash * 59 + this.HoldingDays.GetHashCode(); + if (this.EnableCredits != null) + hash = hash * 59 + this.EnableCredits.GetHashCode(); + if (this.TransactionAmountLimit != null) + hash = hash * 59 + this.TransactionAmountLimit.GetHashCode(); + if (this.RiskReserveMethod != null) + hash = hash * 59 + this.RiskReserveMethod.GetHashCode(); + if (this.RiskReserveRate != null) + hash = hash * 59 + this.RiskReserveRate.GetHashCode(); + if (this.RiskReserveTargetAmount != null) + hash = hash * 59 + this.RiskReserveTargetAmount.GetHashCode(); + if (this.SolutionOrganizationId != null) + hash = hash * 59 + this.SolutionOrganizationId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsECheckSubscriptionInformation.cs b/Model/PaymentProductsECheckSubscriptionInformation.cs new file mode 100644 index 00000000..7c795976 --- /dev/null +++ b/Model/PaymentProductsECheckSubscriptionInformation.cs @@ -0,0 +1,197 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsECheckSubscriptionInformation + /// + [DataContract] + public partial class PaymentProductsECheckSubscriptionInformation : IEquatable, IValidatableObject + { + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [JsonConverter(typeof(StringEnumConverter))] + public enum SelfServiceabilityEnum + { + + /// + /// Enum SELFSERVICEABLE for "SELF_SERVICEABLE" + /// + [EnumMember(Value = "SELF_SERVICEABLE")] + SELFSERVICEABLE, + + /// + /// Enum NOTSELFSERVICEABLE for "NOT_SELF_SERVICEABLE" + /// + [EnumMember(Value = "NOT_SELF_SERVICEABLE")] + NOTSELFSERVICEABLE, + + /// + /// Enum SELFSERVICEONLY for "SELF_SERVICE_ONLY" + /// + [EnumMember(Value = "SELF_SERVICE_ONLY")] + SELFSERVICEONLY + } + + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [DataMember(Name="selfServiceability", EmitDefaultValue=false)] + public SelfServiceabilityEnum? SelfServiceability { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates if the organization can enable this product using self service. (default to SelfServiceabilityEnum.NOTSELFSERVICEABLE). + /// Indicates what mode the product is expected to behave at boarding and transaction flows. Ex, Acquirer/Gateway/Other.. + public PaymentProductsECheckSubscriptionInformation(bool? Enabled = default(bool?), SelfServiceabilityEnum? SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE, List Mode = default(List)) + { + this.Enabled = Enabled; + // use default value if no "SelfServiceability" provided + if (SelfServiceability == null) + { + this.SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE; + } + else + { + this.SelfServiceability = SelfServiceability; + } + this.Mode = Mode; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// Indicates what mode the product is expected to behave at boarding and transaction flows. Ex, Acquirer/Gateway/Other. + /// + /// Indicates what mode the product is expected to behave at boarding and transaction flows. Ex, Acquirer/Gateway/Other. + [DataMember(Name="mode", EmitDefaultValue=false)] + public List Mode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsECheckSubscriptionInformation {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" SelfServiceability: ").Append(SelfServiceability).Append("\n"); + sb.Append(" Mode: ").Append(Mode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsECheckSubscriptionInformation); + } + + /// + /// Returns true if PaymentProductsECheckSubscriptionInformation instances are equal + /// + /// Instance of PaymentProductsECheckSubscriptionInformation to be compared + /// Boolean + public bool Equals(PaymentProductsECheckSubscriptionInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.SelfServiceability == other.SelfServiceability || + this.SelfServiceability != null && + this.SelfServiceability.Equals(other.SelfServiceability) + ) && + ( + this.Mode == other.Mode || + this.Mode != null && + this.Mode.SequenceEqual(other.Mode) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.SelfServiceability != null) + hash = hash * 59 + this.SelfServiceability.GetHashCode(); + if (this.Mode != null) + hash = hash * 59 + this.Mode.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthentication.cs b/Model/PaymentProductsPayerAuthentication.cs new file mode 100644 index 00000000..be1eece2 --- /dev/null +++ b/Model/PaymentProductsPayerAuthentication.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthentication + /// + [DataContract] + public partial class PaymentProductsPayerAuthentication : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsPayerAuthentication(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), PaymentProductsPayerAuthenticationConfigurationInformation ConfigurationInformation = default(PaymentProductsPayerAuthenticationConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthentication {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthentication); + } + + /// + /// Returns true if PaymentProductsPayerAuthentication instances are equal + /// + /// Instance of PaymentProductsPayerAuthentication to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthentication other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationConfigurationInformation.cs b/Model/PaymentProductsPayerAuthenticationConfigurationInformation.cs new file mode 100644 index 00000000..afdc6fbb --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public PaymentProductsPayerAuthenticationConfigurationInformation(Guid? TemplateId = default(Guid?), PaymentProductsPayerAuthenticationConfigurationInformationConfigurations Configurations = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.cs b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..333df5a5 --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardTypes. + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurations(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes CardTypes = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes)) + { + this.CardTypes = CardTypes; + } + + /// + /// Gets or Sets CardTypes + /// + [DataMember(Name="cardTypes", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes CardTypes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationConfigurationInformationConfigurations {\n"); + sb.Append(" CardTypes: ").Append(CardTypes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardTypes == other.CardTypes || + this.CardTypes != null && + this.CardTypes.Equals(other.CardTypes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CardTypes != null) + hash = hash * 59 + this.CardTypes.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.cs b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.cs new file mode 100644 index 00000000..d35abf70 --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.cs @@ -0,0 +1,240 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// VerifiedByVisa. + /// MasterCardSecureCode. + /// AmexSafeKey. + /// JCBJSecure. + /// DinersClubInternationalProtectBuy. + /// ELO. + /// UPI. + /// CB. + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa VerifiedByVisa = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa), PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa MasterCardSecureCode = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa), PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa AmexSafeKey = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa), PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure JCBJSecure = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure), PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa DinersClubInternationalProtectBuy = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa), PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa ELO = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa), PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa UPI = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa), PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB CB = default(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB)) + { + this.VerifiedByVisa = VerifiedByVisa; + this.MasterCardSecureCode = MasterCardSecureCode; + this.AmexSafeKey = AmexSafeKey; + this.JCBJSecure = JCBJSecure; + this.DinersClubInternationalProtectBuy = DinersClubInternationalProtectBuy; + this.ELO = ELO; + this.UPI = UPI; + this.CB = CB; + } + + /// + /// Gets or Sets VerifiedByVisa + /// + [DataMember(Name="verifiedByVisa", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa VerifiedByVisa { get; set; } + + /// + /// Gets or Sets MasterCardSecureCode + /// + [DataMember(Name="masterCardSecureCode", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa MasterCardSecureCode { get; set; } + + /// + /// Gets or Sets AmexSafeKey + /// + [DataMember(Name="amexSafeKey", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa AmexSafeKey { get; set; } + + /// + /// Gets or Sets JCBJSecure + /// + [DataMember(Name="jCBJSecure", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure JCBJSecure { get; set; } + + /// + /// Gets or Sets DinersClubInternationalProtectBuy + /// + [DataMember(Name="dinersClubInternationalProtectBuy", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa DinersClubInternationalProtectBuy { get; set; } + + /// + /// Gets or Sets ELO + /// + [DataMember(Name="ELO", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa ELO { get; set; } + + /// + /// Gets or Sets UPI + /// + [DataMember(Name="UPI", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa UPI { get; set; } + + /// + /// Gets or Sets CB + /// + [DataMember(Name="CB", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB CB { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes {\n"); + sb.Append(" VerifiedByVisa: ").Append(VerifiedByVisa).Append("\n"); + sb.Append(" MasterCardSecureCode: ").Append(MasterCardSecureCode).Append("\n"); + sb.Append(" AmexSafeKey: ").Append(AmexSafeKey).Append("\n"); + sb.Append(" JCBJSecure: ").Append(JCBJSecure).Append("\n"); + sb.Append(" DinersClubInternationalProtectBuy: ").Append(DinersClubInternationalProtectBuy).Append("\n"); + sb.Append(" ELO: ").Append(ELO).Append("\n"); + sb.Append(" UPI: ").Append(UPI).Append("\n"); + sb.Append(" CB: ").Append(CB).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.VerifiedByVisa == other.VerifiedByVisa || + this.VerifiedByVisa != null && + this.VerifiedByVisa.Equals(other.VerifiedByVisa) + ) && + ( + this.MasterCardSecureCode == other.MasterCardSecureCode || + this.MasterCardSecureCode != null && + this.MasterCardSecureCode.Equals(other.MasterCardSecureCode) + ) && + ( + this.AmexSafeKey == other.AmexSafeKey || + this.AmexSafeKey != null && + this.AmexSafeKey.Equals(other.AmexSafeKey) + ) && + ( + this.JCBJSecure == other.JCBJSecure || + this.JCBJSecure != null && + this.JCBJSecure.Equals(other.JCBJSecure) + ) && + ( + this.DinersClubInternationalProtectBuy == other.DinersClubInternationalProtectBuy || + this.DinersClubInternationalProtectBuy != null && + this.DinersClubInternationalProtectBuy.Equals(other.DinersClubInternationalProtectBuy) + ) && + ( + this.ELO == other.ELO || + this.ELO != null && + this.ELO.Equals(other.ELO) + ) && + ( + this.UPI == other.UPI || + this.UPI != null && + this.UPI.Equals(other.UPI) + ) && + ( + this.CB == other.CB || + this.CB != null && + this.CB.Equals(other.CB) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.VerifiedByVisa != null) + hash = hash * 59 + this.VerifiedByVisa.GetHashCode(); + if (this.MasterCardSecureCode != null) + hash = hash * 59 + this.MasterCardSecureCode.GetHashCode(); + if (this.AmexSafeKey != null) + hash = hash * 59 + this.AmexSafeKey.GetHashCode(); + if (this.JCBJSecure != null) + hash = hash * 59 + this.JCBJSecure.GetHashCode(); + if (this.DinersClubInternationalProtectBuy != null) + hash = hash * 59 + this.DinersClubInternationalProtectBuy.GetHashCode(); + if (this.ELO != null) + hash = hash * 59 + this.ELO.GetHashCode(); + if (this.UPI != null) + hash = hash * 59 + this.UPI.GetHashCode(); + if (this.CB != null) + hash = hash * 59 + this.CB.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.cs b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.cs new file mode 100644 index 00000000..77cef5b7 --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.cs @@ -0,0 +1,169 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The value is for 3DS2.0 and is a Directory Server assigned 3DS Requestor ID value. If this field is passed in request, it will override Requestor Id value that is configured on the Merchant's profile.. + /// Enabled (default to true). + /// Currencies. + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB(string RequestorId = default(string), bool? Enabled = true, List Currencies = default(List)) + { + this.RequestorId = RequestorId; + // use default value if no "Enabled" provided + if (Enabled == null) + { + this.Enabled = true; + } + else + { + this.Enabled = Enabled; + } + this.Currencies = Currencies; + } + + /// + /// The value is for 3DS2.0 and is a Directory Server assigned 3DS Requestor ID value. If this field is passed in request, it will override Requestor Id value that is configured on the Merchant's profile. + /// + /// The value is for 3DS2.0 and is a Directory Server assigned 3DS Requestor ID value. If this field is passed in request, it will override Requestor Id value that is configured on the Merchant's profile. + [DataMember(Name="requestorId", EmitDefaultValue=false)] + public string RequestorId { get; set; } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets Currencies + /// + [DataMember(Name="currencies", EmitDefaultValue=false)] + public List Currencies { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB {\n"); + sb.Append(" RequestorId: ").Append(RequestorId).Append("\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.RequestorId == other.RequestorId || + this.RequestorId != null && + this.RequestorId.Equals(other.RequestorId) + ) && + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Currencies == other.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(other.Currencies) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.RequestorId != null) + hash = hash * 59 + this.RequestorId.GetHashCode(); + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.Currencies != null) + hash = hash * 59 + this.Currencies.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.cs b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.cs new file mode 100644 index 00000000..16d916eb --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.cs @@ -0,0 +1,169 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// JSecure currency password for Japan Credit Bureau. + /// Enabled (default to true). + /// Currencies. + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure(string SecurePasswordForJCB = default(string), bool? Enabled = true, List Currencies = default(List)) + { + this.SecurePasswordForJCB = SecurePasswordForJCB; + // use default value if no "Enabled" provided + if (Enabled == null) + { + this.Enabled = true; + } + else + { + this.Enabled = Enabled; + } + this.Currencies = Currencies; + } + + /// + /// JSecure currency password for Japan Credit Bureau + /// + /// JSecure currency password for Japan Credit Bureau + [DataMember(Name="securePasswordForJCB", EmitDefaultValue=false)] + public string SecurePasswordForJCB { get; set; } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets Currencies + /// + [DataMember(Name="currencies", EmitDefaultValue=false)] + public List Currencies { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure {\n"); + sb.Append(" SecurePasswordForJCB: ").Append(SecurePasswordForJCB).Append("\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SecurePasswordForJCB == other.SecurePasswordForJCB || + this.SecurePasswordForJCB != null && + this.SecurePasswordForJCB.Equals(other.SecurePasswordForJCB) + ) && + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Currencies == other.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(other.Currencies) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SecurePasswordForJCB != null) + hash = hash * 59 + this.SecurePasswordForJCB.GetHashCode(); + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.Currencies != null) + hash = hash * 59 + this.Currencies.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.cs b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.cs new file mode 100644 index 00000000..427c4d0a --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.cs @@ -0,0 +1,152 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled (default to true). + /// Currencies. + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa(bool? Enabled = true, List Currencies = default(List)) + { + // use default value if no "Enabled" provided + if (Enabled == null) + { + this.Enabled = true; + } + else + { + this.Enabled = Enabled; + } + this.Currencies = Currencies; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets Currencies + /// + [DataMember(Name="currencies", EmitDefaultValue=false)] + public List Currencies { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Currencies == other.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(other.Currencies) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.Currencies != null) + hash = hash * 59 + this.Currencies.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.cs b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.cs new file mode 100644 index 00000000..d0656f4a --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CurrencyCodes. + /// The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer. The value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN. It is most often the Acquiring BIN + \"-1000\" but the trailing character can be different. **Note** We will need to double check with Cardinal before setting up the Portfolio Template in production. . + /// Processor Merchant ID is the Merchant ID assigned by your acquiring bank. This Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services. . + public PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies(List CurrencyCodes = default(List), string AcquirerId = default(string), string ProcessorMerchantId = default(string)) + { + this.CurrencyCodes = CurrencyCodes; + this.AcquirerId = AcquirerId; + this.ProcessorMerchantId = ProcessorMerchantId; + } + + /// + /// Gets or Sets CurrencyCodes + /// + [DataMember(Name="currencyCodes", EmitDefaultValue=false)] + public List CurrencyCodes { get; set; } + + /// + /// The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer. The value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN. It is most often the Acquiring BIN + \"-1000\" but the trailing character can be different. **Note** We will need to double check with Cardinal before setting up the Portfolio Template in production. + /// + /// The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer. The value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN. It is most often the Acquiring BIN + \"-1000\" but the trailing character can be different. **Note** We will need to double check with Cardinal before setting up the Portfolio Template in production. + [DataMember(Name="acquirerId", EmitDefaultValue=false)] + public string AcquirerId { get; set; } + + /// + /// Processor Merchant ID is the Merchant ID assigned by your acquiring bank. This Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services. + /// + /// Processor Merchant ID is the Merchant ID assigned by your acquiring bank. This Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services. + [DataMember(Name="processorMerchantId", EmitDefaultValue=false)] + public string ProcessorMerchantId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies {\n"); + sb.Append(" CurrencyCodes: ").Append(CurrencyCodes).Append("\n"); + sb.Append(" AcquirerId: ").Append(AcquirerId).Append("\n"); + sb.Append(" ProcessorMerchantId: ").Append(ProcessorMerchantId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CurrencyCodes == other.CurrencyCodes || + this.CurrencyCodes != null && + this.CurrencyCodes.SequenceEqual(other.CurrencyCodes) + ) && + ( + this.AcquirerId == other.AcquirerId || + this.AcquirerId != null && + this.AcquirerId.Equals(other.AcquirerId) + ) && + ( + this.ProcessorMerchantId == other.ProcessorMerchantId || + this.ProcessorMerchantId != null && + this.ProcessorMerchantId.Equals(other.ProcessorMerchantId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CurrencyCodes != null) + hash = hash * 59 + this.CurrencyCodes.GetHashCode(); + if (this.AcquirerId != null) + hash = hash * 59 + this.AcquirerId.GetHashCode(); + if (this.ProcessorMerchantId != null) + hash = hash * 59 + this.ProcessorMerchantId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // AcquirerId (string) pattern + Regex regexAcquirerId = new Regex(@"^[a-zA-Z0-9]{6,20}$", RegexOptions.CultureInvariant); + if (false == regexAcquirerId.Match(this.AcquirerId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for AcquirerId, must match a pattern of " + regexAcquirerId, new [] { "AcquirerId" }); + } + + // ProcessorMerchantId (string) pattern + Regex regexProcessorMerchantId = new Regex(@"^[a-zA-Z0-9]{6,35}$", RegexOptions.CultureInvariant); + if (false == regexProcessorMerchantId.Match(this.ProcessorMerchantId).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ProcessorMerchantId, must match a pattern of " + regexProcessorMerchantId, new [] { "ProcessorMerchantId" }); + } + + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayerAuthenticationSubscriptionInformation.cs b/Model/PaymentProductsPayerAuthenticationSubscriptionInformation.cs new file mode 100644 index 00000000..3482a6fe --- /dev/null +++ b/Model/PaymentProductsPayerAuthenticationSubscriptionInformation.cs @@ -0,0 +1,180 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayerAuthenticationSubscriptionInformation + /// + [DataContract] + public partial class PaymentProductsPayerAuthenticationSubscriptionInformation : IEquatable, IValidatableObject + { + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [JsonConverter(typeof(StringEnumConverter))] + public enum SelfServiceabilityEnum + { + + /// + /// Enum SELFSERVICEABLE for "SELF_SERVICEABLE" + /// + [EnumMember(Value = "SELF_SERVICEABLE")] + SELFSERVICEABLE, + + /// + /// Enum NOTSELFSERVICEABLE for "NOT_SELF_SERVICEABLE" + /// + [EnumMember(Value = "NOT_SELF_SERVICEABLE")] + NOTSELFSERVICEABLE, + + /// + /// Enum SELFSERVICEONLY for "SELF_SERVICE_ONLY" + /// + [EnumMember(Value = "SELF_SERVICE_ONLY")] + SELFSERVICEONLY + } + + /// + /// Indicates if the organization can enable this product using self service. + /// + /// Indicates if the organization can enable this product using self service. + [DataMember(Name="selfServiceability", EmitDefaultValue=false)] + public SelfServiceabilityEnum? SelfServiceability { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Indicates if the organization can enable this product using self service. (default to SelfServiceabilityEnum.NOTSELFSERVICEABLE). + public PaymentProductsPayerAuthenticationSubscriptionInformation(bool? Enabled = default(bool?), SelfServiceabilityEnum? SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE) + { + this.Enabled = Enabled; + // use default value if no "SelfServiceability" provided + if (SelfServiceability == null) + { + this.SelfServiceability = SelfServiceabilityEnum.NOTSELFSERVICEABLE; + } + else + { + this.SelfServiceability = SelfServiceability; + } + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayerAuthenticationSubscriptionInformation {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" SelfServiceability: ").Append(SelfServiceability).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayerAuthenticationSubscriptionInformation); + } + + /// + /// Returns true if PaymentProductsPayerAuthenticationSubscriptionInformation instances are equal + /// + /// Instance of PaymentProductsPayerAuthenticationSubscriptionInformation to be compared + /// Boolean + public bool Equals(PaymentProductsPayerAuthenticationSubscriptionInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.SelfServiceability == other.SelfServiceability || + this.SelfServiceability != null && + this.SelfServiceability.Equals(other.SelfServiceability) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.SelfServiceability != null) + hash = hash * 59 + this.SelfServiceability.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayouts.cs b/Model/PaymentProductsPayouts.cs new file mode 100644 index 00000000..4633de13 --- /dev/null +++ b/Model/PaymentProductsPayouts.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayouts + /// + [DataContract] + public partial class PaymentProductsPayouts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsPayouts(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), PaymentProductsPayoutsConfigurationInformation ConfigurationInformation = default(PaymentProductsPayoutsConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsPayoutsConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayouts {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayouts); + } + + /// + /// Returns true if PaymentProductsPayouts instances are equal + /// + /// Instance of PaymentProductsPayouts to be compared + /// Boolean + public bool Equals(PaymentProductsPayouts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayoutsConfigurationInformation.cs b/Model/PaymentProductsPayoutsConfigurationInformation.cs new file mode 100644 index 00000000..5137e71f --- /dev/null +++ b/Model/PaymentProductsPayoutsConfigurationInformation.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayoutsConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsPayoutsConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Configurations. + public PaymentProductsPayoutsConfigurationInformation(PaymentProductsPayoutsConfigurationInformationConfigurations Configurations = default(PaymentProductsPayoutsConfigurationInformationConfigurations)) + { + this.Configurations = Configurations; + } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsPayoutsConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayoutsConfigurationInformation {\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayoutsConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsPayoutsConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsPayoutsConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsPayoutsConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayoutsConfigurationInformationConfigurations.cs b/Model/PaymentProductsPayoutsConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..b840f490 --- /dev/null +++ b/Model/PaymentProductsPayoutsConfigurationInformationConfigurations.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayoutsConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsPayoutsConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Pullfunds. + /// Pushfunds. + public PaymentProductsPayoutsConfigurationInformationConfigurations(Dictionary Pullfunds = default(Dictionary), Dictionary Pushfunds = default(Dictionary)) + { + this.Pullfunds = Pullfunds; + this.Pushfunds = Pushfunds; + } + + /// + /// Gets or Sets Pullfunds + /// + [DataMember(Name="pullfunds", EmitDefaultValue=false)] + public Dictionary Pullfunds { get; set; } + + /// + /// Gets or Sets Pushfunds + /// + [DataMember(Name="pushfunds", EmitDefaultValue=false)] + public Dictionary Pushfunds { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayoutsConfigurationInformationConfigurations {\n"); + sb.Append(" Pullfunds: ").Append(Pullfunds).Append("\n"); + sb.Append(" Pushfunds: ").Append(Pushfunds).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayoutsConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsPayoutsConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsPayoutsConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsPayoutsConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Pullfunds == other.Pullfunds || + this.Pullfunds != null && + this.Pullfunds.SequenceEqual(other.Pullfunds) + ) && + ( + this.Pushfunds == other.Pushfunds || + this.Pushfunds != null && + this.Pushfunds.SequenceEqual(other.Pushfunds) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Pullfunds != null) + hash = hash * 59 + this.Pullfunds.GetHashCode(); + if (this.Pushfunds != null) + hash = hash * 59 + this.Pushfunds.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.cs b/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.cs new file mode 100644 index 00000000..ef88425e --- /dev/null +++ b/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.cs @@ -0,0 +1,184 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount + /// + [DataContract] + public partial class PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount() { } + /// + /// Initializes a new instance of the class. + /// + /// TBD (required). + /// TBD (required). + /// Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). + public PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount(string OriginatorMerchantId = default(string), List OriginatorTerminalId = default(List), List SupportedCurrencies = default(List)) + { + // to ensure "OriginatorMerchantId" is required (not null) + if (OriginatorMerchantId == null) + { + throw new InvalidDataException("OriginatorMerchantId is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount and cannot be null"); + } + else + { + this.OriginatorMerchantId = OriginatorMerchantId; + } + // to ensure "OriginatorTerminalId" is required (not null) + if (OriginatorTerminalId == null) + { + throw new InvalidDataException("OriginatorTerminalId is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount and cannot be null"); + } + else + { + this.OriginatorTerminalId = OriginatorTerminalId; + } + this.SupportedCurrencies = SupportedCurrencies; + } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="originatorMerchantId", EmitDefaultValue=false)] + public string OriginatorMerchantId { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="originatorTerminalId", EmitDefaultValue=false)] + public List OriginatorTerminalId { get; set; } + + /// + /// Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + /// + /// Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + [DataMember(Name="supportedCurrencies", EmitDefaultValue=false)] + public List SupportedCurrencies { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount {\n"); + sb.Append(" OriginatorMerchantId: ").Append(OriginatorMerchantId).Append("\n"); + sb.Append(" OriginatorTerminalId: ").Append(OriginatorTerminalId).Append("\n"); + sb.Append(" SupportedCurrencies: ").Append(SupportedCurrencies).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount); + } + + /// + /// Returns true if PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount instances are equal + /// + /// Instance of PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount to be compared + /// Boolean + public bool Equals(PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.OriginatorMerchantId == other.OriginatorMerchantId || + this.OriginatorMerchantId != null && + this.OriginatorMerchantId.Equals(other.OriginatorMerchantId) + ) && + ( + this.OriginatorTerminalId == other.OriginatorTerminalId || + this.OriginatorTerminalId != null && + this.OriginatorTerminalId.SequenceEqual(other.OriginatorTerminalId) + ) && + ( + this.SupportedCurrencies == other.SupportedCurrencies || + this.SupportedCurrencies != null && + this.SupportedCurrencies.SequenceEqual(other.SupportedCurrencies) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.OriginatorMerchantId != null) + hash = hash * 59 + this.OriginatorMerchantId.GetHashCode(); + if (this.OriginatorTerminalId != null) + hash = hash * 59 + this.OriginatorTerminalId.GetHashCode(); + if (this.SupportedCurrencies != null) + hash = hash * 59 + this.SupportedCurrencies.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.cs b/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.cs new file mode 100644 index 00000000..5b73eabd --- /dev/null +++ b/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.cs @@ -0,0 +1,260 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Formatted as *{payoutsAcquirerName}. The property name field should be the same as the processor name for which the pull funds or push funds feature is being configured. Here is the list of valid processor names [TBD] + /// + [DataContract] + public partial class PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds() { } + /// + /// Initializes a new instance of the class. + /// + /// Valid organization in OMS with an organizationInformation.type as \"acquirer\".. + /// This code identifies the financial institution acting as the acquirer of this transaction. The acquirer is the client or system user that signed the originator or installed the unattended cardholder- activated environment. When a processing center operates for multiple acquirers, this code is for the individual client or system user, not a code for the center. (required). + /// This configuration allows a transaction to be flagged for cryptocurrency funds transfer.. + /// A unique identifier number for the originator of transfers that is unique to the processor or acquirer. (required). + /// Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant.. + /// A 4 character max name abbreviation for the originator.. + /// This field contains a code that identifies a terminal at the card acceptor location. This field is used in all messages related to a transaction. If sending transactions from a card not present environment, use the same value for all transactions. (required). + public PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds(string AcquirerOrganizationId = default(string), int? AcquiringBIN = default(int?), bool? AllowCryptoCurrencyPurchase = default(bool?), string CardAcceptorId = default(string), string OriginatorMvv = default(string), string OriginatorNameAbbreviation = default(string), string CardTerminalId = default(string)) + { + // to ensure "AcquiringBIN" is required (not null) + if (AcquiringBIN == null) + { + throw new InvalidDataException("AcquiringBIN is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds and cannot be null"); + } + else + { + this.AcquiringBIN = AcquiringBIN; + } + // to ensure "CardAcceptorId" is required (not null) + if (CardAcceptorId == null) + { + throw new InvalidDataException("CardAcceptorId is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds and cannot be null"); + } + else + { + this.CardAcceptorId = CardAcceptorId; + } + // to ensure "CardTerminalId" is required (not null) + if (CardTerminalId == null) + { + throw new InvalidDataException("CardTerminalId is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds and cannot be null"); + } + else + { + this.CardTerminalId = CardTerminalId; + } + this.AcquirerOrganizationId = AcquirerOrganizationId; + this.AllowCryptoCurrencyPurchase = AllowCryptoCurrencyPurchase; + this.OriginatorMvv = OriginatorMvv; + this.OriginatorNameAbbreviation = OriginatorNameAbbreviation; + } + + /// + /// Valid organization in OMS with an organizationInformation.type as \"acquirer\". + /// + /// Valid organization in OMS with an organizationInformation.type as \"acquirer\". + [DataMember(Name="acquirerOrganizationId", EmitDefaultValue=false)] + public string AcquirerOrganizationId { get; set; } + + /// + /// This code identifies the financial institution acting as the acquirer of this transaction. The acquirer is the client or system user that signed the originator or installed the unattended cardholder- activated environment. When a processing center operates for multiple acquirers, this code is for the individual client or system user, not a code for the center. + /// + /// This code identifies the financial institution acting as the acquirer of this transaction. The acquirer is the client or system user that signed the originator or installed the unattended cardholder- activated environment. When a processing center operates for multiple acquirers, this code is for the individual client or system user, not a code for the center. + [DataMember(Name="acquiringBIN", EmitDefaultValue=false)] + public int? AcquiringBIN { get; set; } + + /// + /// This configuration allows a transaction to be flagged for cryptocurrency funds transfer. + /// + /// This configuration allows a transaction to be flagged for cryptocurrency funds transfer. + [DataMember(Name="allowCryptoCurrencyPurchase", EmitDefaultValue=false)] + public bool? AllowCryptoCurrencyPurchase { get; set; } + + /// + /// A unique identifier number for the originator of transfers that is unique to the processor or acquirer. + /// + /// A unique identifier number for the originator of transfers that is unique to the processor or acquirer. + [DataMember(Name="cardAcceptorId", EmitDefaultValue=false)] + public string CardAcceptorId { get; set; } + + /// + /// Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant. + /// + /// Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant. + [DataMember(Name="originatorMvv", EmitDefaultValue=false)] + public string OriginatorMvv { get; set; } + + /// + /// A 4 character max name abbreviation for the originator. + /// + /// A 4 character max name abbreviation for the originator. + [DataMember(Name="originatorNameAbbreviation", EmitDefaultValue=false)] + public string OriginatorNameAbbreviation { get; set; } + + /// + /// This field contains a code that identifies a terminal at the card acceptor location. This field is used in all messages related to a transaction. If sending transactions from a card not present environment, use the same value for all transactions. + /// + /// This field contains a code that identifies a terminal at the card acceptor location. This field is used in all messages related to a transaction. If sending transactions from a card not present environment, use the same value for all transactions. + [DataMember(Name="cardTerminalId", EmitDefaultValue=false)] + public string CardTerminalId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds {\n"); + sb.Append(" AcquirerOrganizationId: ").Append(AcquirerOrganizationId).Append("\n"); + sb.Append(" AcquiringBIN: ").Append(AcquiringBIN).Append("\n"); + sb.Append(" AllowCryptoCurrencyPurchase: ").Append(AllowCryptoCurrencyPurchase).Append("\n"); + sb.Append(" CardAcceptorId: ").Append(CardAcceptorId).Append("\n"); + sb.Append(" OriginatorMvv: ").Append(OriginatorMvv).Append("\n"); + sb.Append(" OriginatorNameAbbreviation: ").Append(OriginatorNameAbbreviation).Append("\n"); + sb.Append(" CardTerminalId: ").Append(CardTerminalId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds); + } + + /// + /// Returns true if PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds instances are equal + /// + /// Instance of PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds to be compared + /// Boolean + public bool Equals(PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AcquirerOrganizationId == other.AcquirerOrganizationId || + this.AcquirerOrganizationId != null && + this.AcquirerOrganizationId.Equals(other.AcquirerOrganizationId) + ) && + ( + this.AcquiringBIN == other.AcquiringBIN || + this.AcquiringBIN != null && + this.AcquiringBIN.Equals(other.AcquiringBIN) + ) && + ( + this.AllowCryptoCurrencyPurchase == other.AllowCryptoCurrencyPurchase || + this.AllowCryptoCurrencyPurchase != null && + this.AllowCryptoCurrencyPurchase.Equals(other.AllowCryptoCurrencyPurchase) + ) && + ( + this.CardAcceptorId == other.CardAcceptorId || + this.CardAcceptorId != null && + this.CardAcceptorId.Equals(other.CardAcceptorId) + ) && + ( + this.OriginatorMvv == other.OriginatorMvv || + this.OriginatorMvv != null && + this.OriginatorMvv.Equals(other.OriginatorMvv) + ) && + ( + this.OriginatorNameAbbreviation == other.OriginatorNameAbbreviation || + this.OriginatorNameAbbreviation != null && + this.OriginatorNameAbbreviation.Equals(other.OriginatorNameAbbreviation) + ) && + ( + this.CardTerminalId == other.CardTerminalId || + this.CardTerminalId != null && + this.CardTerminalId.Equals(other.CardTerminalId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.AcquirerOrganizationId != null) + hash = hash * 59 + this.AcquirerOrganizationId.GetHashCode(); + if (this.AcquiringBIN != null) + hash = hash * 59 + this.AcquiringBIN.GetHashCode(); + if (this.AllowCryptoCurrencyPurchase != null) + hash = hash * 59 + this.AllowCryptoCurrencyPurchase.GetHashCode(); + if (this.CardAcceptorId != null) + hash = hash * 59 + this.CardAcceptorId.GetHashCode(); + if (this.OriginatorMvv != null) + hash = hash * 59 + this.OriginatorMvv.GetHashCode(); + if (this.OriginatorNameAbbreviation != null) + hash = hash * 59 + this.OriginatorNameAbbreviation.GetHashCode(); + if (this.CardTerminalId != null) + hash = hash * 59 + this.CardTerminalId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.cs b/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.cs new file mode 100644 index 00000000..1dcf39c2 --- /dev/null +++ b/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.cs @@ -0,0 +1,302 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Formatted as *{payoutsAcquirerName}. The property name field should be the same as the processor name for which the pull funds or push funds feature is being configured. Here is the list of valid processor names [TBD] + /// + [DataContract] + public partial class PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds() { } + /// + /// Initializes a new instance of the class. + /// + /// TBD (required). + /// TBD (required). + /// This configuration allows a transaction to be flagged for cryptocurrency funds transfer.. + /// TBD. + /// TBD. + /// TBD. + /// TBD (required). + /// TBD. + /// TBD (required). + public PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds(int? AcquirerCountryCode = default(int?), int? AcquiringBIN = default(int?), bool? AllowCryptoCurrencyPurchase = default(bool?), string FinancialInstitutionId = default(string), string NetworkOrder = default(string), string NationalReimbursementFee = default(string), string OriginatorBusinessApplicationId = default(string), string OriginatorPseudoAbaNumber = default(string), List ProcessorAccount = default(List)) + { + // to ensure "AcquirerCountryCode" is required (not null) + if (AcquirerCountryCode == null) + { + throw new InvalidDataException("AcquirerCountryCode is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds and cannot be null"); + } + else + { + this.AcquirerCountryCode = AcquirerCountryCode; + } + // to ensure "AcquiringBIN" is required (not null) + if (AcquiringBIN == null) + { + throw new InvalidDataException("AcquiringBIN is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds and cannot be null"); + } + else + { + this.AcquiringBIN = AcquiringBIN; + } + // to ensure "OriginatorBusinessApplicationId" is required (not null) + if (OriginatorBusinessApplicationId == null) + { + throw new InvalidDataException("OriginatorBusinessApplicationId is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds and cannot be null"); + } + else + { + this.OriginatorBusinessApplicationId = OriginatorBusinessApplicationId; + } + // to ensure "ProcessorAccount" is required (not null) + if (ProcessorAccount == null) + { + throw new InvalidDataException("ProcessorAccount is a required property for PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds and cannot be null"); + } + else + { + this.ProcessorAccount = ProcessorAccount; + } + this.AllowCryptoCurrencyPurchase = AllowCryptoCurrencyPurchase; + this.FinancialInstitutionId = FinancialInstitutionId; + this.NetworkOrder = NetworkOrder; + this.NationalReimbursementFee = NationalReimbursementFee; + this.OriginatorPseudoAbaNumber = OriginatorPseudoAbaNumber; + } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="acquirerCountryCode", EmitDefaultValue=false)] + public int? AcquirerCountryCode { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="acquiringBIN", EmitDefaultValue=false)] + public int? AcquiringBIN { get; set; } + + /// + /// This configuration allows a transaction to be flagged for cryptocurrency funds transfer. + /// + /// This configuration allows a transaction to be flagged for cryptocurrency funds transfer. + [DataMember(Name="allowCryptoCurrencyPurchase", EmitDefaultValue=false)] + public bool? AllowCryptoCurrencyPurchase { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="financialInstitutionId", EmitDefaultValue=false)] + public string FinancialInstitutionId { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="networkOrder", EmitDefaultValue=false)] + public string NetworkOrder { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="nationalReimbursementFee", EmitDefaultValue=false)] + public string NationalReimbursementFee { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="originatorBusinessApplicationId", EmitDefaultValue=false)] + public string OriginatorBusinessApplicationId { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="originatorPseudoAbaNumber", EmitDefaultValue=false)] + public string OriginatorPseudoAbaNumber { get; set; } + + /// + /// TBD + /// + /// TBD + [DataMember(Name="processorAccount", EmitDefaultValue=false)] + public List ProcessorAccount { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds {\n"); + sb.Append(" AcquirerCountryCode: ").Append(AcquirerCountryCode).Append("\n"); + sb.Append(" AcquiringBIN: ").Append(AcquiringBIN).Append("\n"); + sb.Append(" AllowCryptoCurrencyPurchase: ").Append(AllowCryptoCurrencyPurchase).Append("\n"); + sb.Append(" FinancialInstitutionId: ").Append(FinancialInstitutionId).Append("\n"); + sb.Append(" NetworkOrder: ").Append(NetworkOrder).Append("\n"); + sb.Append(" NationalReimbursementFee: ").Append(NationalReimbursementFee).Append("\n"); + sb.Append(" OriginatorBusinessApplicationId: ").Append(OriginatorBusinessApplicationId).Append("\n"); + sb.Append(" OriginatorPseudoAbaNumber: ").Append(OriginatorPseudoAbaNumber).Append("\n"); + sb.Append(" ProcessorAccount: ").Append(ProcessorAccount).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds); + } + + /// + /// Returns true if PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds instances are equal + /// + /// Instance of PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds to be compared + /// Boolean + public bool Equals(PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AcquirerCountryCode == other.AcquirerCountryCode || + this.AcquirerCountryCode != null && + this.AcquirerCountryCode.Equals(other.AcquirerCountryCode) + ) && + ( + this.AcquiringBIN == other.AcquiringBIN || + this.AcquiringBIN != null && + this.AcquiringBIN.Equals(other.AcquiringBIN) + ) && + ( + this.AllowCryptoCurrencyPurchase == other.AllowCryptoCurrencyPurchase || + this.AllowCryptoCurrencyPurchase != null && + this.AllowCryptoCurrencyPurchase.Equals(other.AllowCryptoCurrencyPurchase) + ) && + ( + this.FinancialInstitutionId == other.FinancialInstitutionId || + this.FinancialInstitutionId != null && + this.FinancialInstitutionId.Equals(other.FinancialInstitutionId) + ) && + ( + this.NetworkOrder == other.NetworkOrder || + this.NetworkOrder != null && + this.NetworkOrder.Equals(other.NetworkOrder) + ) && + ( + this.NationalReimbursementFee == other.NationalReimbursementFee || + this.NationalReimbursementFee != null && + this.NationalReimbursementFee.Equals(other.NationalReimbursementFee) + ) && + ( + this.OriginatorBusinessApplicationId == other.OriginatorBusinessApplicationId || + this.OriginatorBusinessApplicationId != null && + this.OriginatorBusinessApplicationId.Equals(other.OriginatorBusinessApplicationId) + ) && + ( + this.OriginatorPseudoAbaNumber == other.OriginatorPseudoAbaNumber || + this.OriginatorPseudoAbaNumber != null && + this.OriginatorPseudoAbaNumber.Equals(other.OriginatorPseudoAbaNumber) + ) && + ( + this.ProcessorAccount == other.ProcessorAccount || + this.ProcessorAccount != null && + this.ProcessorAccount.SequenceEqual(other.ProcessorAccount) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.AcquirerCountryCode != null) + hash = hash * 59 + this.AcquirerCountryCode.GetHashCode(); + if (this.AcquiringBIN != null) + hash = hash * 59 + this.AcquiringBIN.GetHashCode(); + if (this.AllowCryptoCurrencyPurchase != null) + hash = hash * 59 + this.AllowCryptoCurrencyPurchase.GetHashCode(); + if (this.FinancialInstitutionId != null) + hash = hash * 59 + this.FinancialInstitutionId.GetHashCode(); + if (this.NetworkOrder != null) + hash = hash * 59 + this.NetworkOrder.GetHashCode(); + if (this.NationalReimbursementFee != null) + hash = hash * 59 + this.NationalReimbursementFee.GetHashCode(); + if (this.OriginatorBusinessApplicationId != null) + hash = hash * 59 + this.OriginatorBusinessApplicationId.GetHashCode(); + if (this.OriginatorPseudoAbaNumber != null) + hash = hash * 59 + this.OriginatorPseudoAbaNumber.GetHashCode(); + if (this.ProcessorAccount != null) + hash = hash * 59 + this.ProcessorAccount.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptance.cs b/Model/PaymentProductsSecureAcceptance.cs new file mode 100644 index 00000000..74af16b3 --- /dev/null +++ b/Model/PaymentProductsSecureAcceptance.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptance + /// + [DataContract] + public partial class PaymentProductsSecureAcceptance : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsSecureAcceptance(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), PaymentProductsSecureAcceptanceConfigurationInformation ConfigurationInformation = default(PaymentProductsSecureAcceptanceConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptance {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptance); + } + + /// + /// Returns true if PaymentProductsSecureAcceptance instances are equal + /// + /// Instance of PaymentProductsSecureAcceptance to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptance other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformation.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformation.cs new file mode 100644 index 00000000..97326987 --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public PaymentProductsSecureAcceptanceConfigurationInformation(Guid? TemplateId = default(Guid?), PaymentProductsSecureAcceptanceConfigurationInformationConfigurations Configurations = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..c62cc0d2 --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.cs @@ -0,0 +1,225 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here.. + /// ContactInformation. + /// Notifications. + /// Service. + /// PaymentMethods. + /// Checkout. + /// PaymentTypes. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurations(string ParentProfileId = default(string), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation ContactInformation = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications Notifications = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService Service = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods PaymentMethods = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout Checkout = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes PaymentTypes = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes)) + { + this.ParentProfileId = ParentProfileId; + this.ContactInformation = ContactInformation; + this.Notifications = Notifications; + this.Service = Service; + this.PaymentMethods = PaymentMethods; + this.Checkout = Checkout; + this.PaymentTypes = PaymentTypes; + } + + /// + /// You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here. + /// + /// You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here. + [DataMember(Name="parentProfileId", EmitDefaultValue=false)] + public string ParentProfileId { get; set; } + + /// + /// Gets or Sets ContactInformation + /// + [DataMember(Name="contactInformation", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation ContactInformation { get; set; } + + /// + /// Gets or Sets Notifications + /// + [DataMember(Name="notifications", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications Notifications { get; set; } + + /// + /// Gets or Sets Service + /// + [DataMember(Name="service", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService Service { get; set; } + + /// + /// Gets or Sets PaymentMethods + /// + [DataMember(Name="paymentMethods", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods PaymentMethods { get; set; } + + /// + /// Gets or Sets Checkout + /// + [DataMember(Name="checkout", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout Checkout { get; set; } + + /// + /// Gets or Sets PaymentTypes + /// + [DataMember(Name="paymentTypes", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes PaymentTypes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurations {\n"); + sb.Append(" ParentProfileId: ").Append(ParentProfileId).Append("\n"); + sb.Append(" ContactInformation: ").Append(ContactInformation).Append("\n"); + sb.Append(" Notifications: ").Append(Notifications).Append("\n"); + sb.Append(" Service: ").Append(Service).Append("\n"); + sb.Append(" PaymentMethods: ").Append(PaymentMethods).Append("\n"); + sb.Append(" Checkout: ").Append(Checkout).Append("\n"); + sb.Append(" PaymentTypes: ").Append(PaymentTypes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ParentProfileId == other.ParentProfileId || + this.ParentProfileId != null && + this.ParentProfileId.Equals(other.ParentProfileId) + ) && + ( + this.ContactInformation == other.ContactInformation || + this.ContactInformation != null && + this.ContactInformation.Equals(other.ContactInformation) + ) && + ( + this.Notifications == other.Notifications || + this.Notifications != null && + this.Notifications.Equals(other.Notifications) + ) && + ( + this.Service == other.Service || + this.Service != null && + this.Service.Equals(other.Service) + ) && + ( + this.PaymentMethods == other.PaymentMethods || + this.PaymentMethods != null && + this.PaymentMethods.Equals(other.PaymentMethods) + ) && + ( + this.Checkout == other.Checkout || + this.Checkout != null && + this.Checkout.Equals(other.Checkout) + ) && + ( + this.PaymentTypes == other.PaymentTypes || + this.PaymentTypes != null && + this.PaymentTypes.Equals(other.PaymentTypes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ParentProfileId != null) + hash = hash * 59 + this.ParentProfileId.GetHashCode(); + if (this.ContactInformation != null) + hash = hash * 59 + this.ContactInformation.GetHashCode(); + if (this.Notifications != null) + hash = hash * 59 + this.Notifications.GetHashCode(); + if (this.Service != null) + hash = hash * 59 + this.Service.GetHashCode(); + if (this.PaymentMethods != null) + hash = hash * 59 + this.PaymentMethods.GetHashCode(); + if (this.Checkout != null) + hash = hash * 59 + this.Checkout.GetHashCode(); + if (this.PaymentTypes != null) + hash = hash * 59 + this.PaymentTypes.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.cs new file mode 100644 index 00000000..06c88c14 --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.cs @@ -0,0 +1,163 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Toggles whether or not the tax amount is displayed on the Hosted Checkout.. + /// Specifies whether the Hosted Checkout is displayed as a single page form or multi page checkout. Valid values: `multi` `single` . + /// URL of the website linked to from the Secure Acceptance receipt page. Only used if the profile does not have custom receipt pages configured.. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout(bool? DisplayTaxAmount = default(bool?), string TemplateType = default(string), string ReturnToMerchantSiteUrl = default(string)) + { + this.DisplayTaxAmount = DisplayTaxAmount; + this.TemplateType = TemplateType; + this.ReturnToMerchantSiteUrl = ReturnToMerchantSiteUrl; + } + + /// + /// Toggles whether or not the tax amount is displayed on the Hosted Checkout. + /// + /// Toggles whether or not the tax amount is displayed on the Hosted Checkout. + [DataMember(Name="displayTaxAmount", EmitDefaultValue=false)] + public bool? DisplayTaxAmount { get; set; } + + /// + /// Specifies whether the Hosted Checkout is displayed as a single page form or multi page checkout. Valid values: `multi` `single` + /// + /// Specifies whether the Hosted Checkout is displayed as a single page form or multi page checkout. Valid values: `multi` `single` + [DataMember(Name="templateType", EmitDefaultValue=false)] + public string TemplateType { get; set; } + + /// + /// URL of the website linked to from the Secure Acceptance receipt page. Only used if the profile does not have custom receipt pages configured. + /// + /// URL of the website linked to from the Secure Acceptance receipt page. Only used if the profile does not have custom receipt pages configured. + [DataMember(Name="returnToMerchantSiteUrl", EmitDefaultValue=false)] + public string ReturnToMerchantSiteUrl { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout {\n"); + sb.Append(" DisplayTaxAmount: ").Append(DisplayTaxAmount).Append("\n"); + sb.Append(" TemplateType: ").Append(TemplateType).Append("\n"); + sb.Append(" ReturnToMerchantSiteUrl: ").Append(ReturnToMerchantSiteUrl).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DisplayTaxAmount == other.DisplayTaxAmount || + this.DisplayTaxAmount != null && + this.DisplayTaxAmount.Equals(other.DisplayTaxAmount) + ) && + ( + this.TemplateType == other.TemplateType || + this.TemplateType != null && + this.TemplateType.Equals(other.TemplateType) + ) && + ( + this.ReturnToMerchantSiteUrl == other.ReturnToMerchantSiteUrl || + this.ReturnToMerchantSiteUrl != null && + this.ReturnToMerchantSiteUrl.Equals(other.ReturnToMerchantSiteUrl) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DisplayTaxAmount != null) + hash = hash * 59 + this.DisplayTaxAmount.GetHashCode(); + if (this.TemplateType != null) + hash = hash * 59 + this.TemplateType.GetHashCode(); + if (this.ReturnToMerchantSiteUrl != null) + hash = hash * 59 + this.ReturnToMerchantSiteUrl.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.cs new file mode 100644 index 00000000..16e1898e --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Optional contact information to be associated with the Secure Acceptance profile - for example the developer of the integration to the Hosted Checkout. + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Phone. + /// CompanyName. + /// Email. + /// Name. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation(string Phone = default(string), string CompanyName = default(string), string Email = default(string), string Name = default(string)) + { + this.Phone = Phone; + this.CompanyName = CompanyName; + this.Email = Email; + this.Name = Name; + } + + /// + /// Gets or Sets Phone + /// + [DataMember(Name="phone", EmitDefaultValue=false)] + public string Phone { get; set; } + + /// + /// Gets or Sets CompanyName + /// + [DataMember(Name="companyName", EmitDefaultValue=false)] + public string CompanyName { get; set; } + + /// + /// Gets or Sets Email + /// + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + + /// + /// Gets or Sets Name + /// + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation {\n"); + sb.Append(" Phone: ").Append(Phone).Append("\n"); + sb.Append(" CompanyName: ").Append(CompanyName).Append("\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Phone == other.Phone || + this.Phone != null && + this.Phone.Equals(other.Phone) + ) && + ( + this.CompanyName == other.CompanyName || + this.CompanyName != null && + this.CompanyName.Equals(other.CompanyName) + ) && + ( + this.Email == other.Email || + this.Email != null && + this.Email.Equals(other.Email) + ) && + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Phone != null) + hash = hash * 59 + this.Phone.GetHashCode(); + if (this.CompanyName != null) + hash = hash * 59 + this.CompanyName.GetHashCode(); + if (this.Email != null) + hash = hash * 59 + this.Email.GetHashCode(); + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.cs new file mode 100644 index 00000000..83ebd65c --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// MerchantNotifications. + /// CustomerNotifications. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications MerchantNotifications = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications CustomerNotifications = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications)) + { + this.MerchantNotifications = MerchantNotifications; + this.CustomerNotifications = CustomerNotifications; + } + + /// + /// Gets or Sets MerchantNotifications + /// + [DataMember(Name="merchantNotifications", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications MerchantNotifications { get; set; } + + /// + /// Gets or Sets CustomerNotifications + /// + [DataMember(Name="customerNotifications", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications CustomerNotifications { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications {\n"); + sb.Append(" MerchantNotifications: ").Append(MerchantNotifications).Append("\n"); + sb.Append(" CustomerNotifications: ").Append(CustomerNotifications).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.MerchantNotifications == other.MerchantNotifications || + this.MerchantNotifications != null && + this.MerchantNotifications.Equals(other.MerchantNotifications) + ) && + ( + this.CustomerNotifications == other.CustomerNotifications || + this.CustomerNotifications != null && + this.CustomerNotifications.Equals(other.CustomerNotifications) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.MerchantNotifications != null) + hash = hash * 59 + this.MerchantNotifications.GetHashCode(); + if (this.CustomerNotifications != null) + hash = hash * 59 + this.CustomerNotifications.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.cs new file mode 100644 index 00000000..dda141ea --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.cs @@ -0,0 +1,231 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Features relating to notifications being sent directly to the payer using the Hosted Checkout. + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance.. + /// Email address where a copy of the payer's receipt email is sent, when notificationReceiptEmailEnabled is true.. + /// Toggles an email receipt sent to the payer's email address on payment success.. + /// URL to which transaction results are POSTed when the payer clicks 'Cancel' on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance.. + /// URL to which transaction results are POSTed when the payer requests a payment on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance.. + /// Toggles the custom cancel page, where merchants can receive notice that the payer has canceled, and display appropriate messaging and direction. Usually set by web developers integrating to Secure Acceptance.. + /// Toggles whether merchant receives a copy of the payer's receipt email.. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications(bool? CustomReceiptPageEnabled = default(bool?), string ReceiptEmailAddress = default(string), bool? CustomerReceiptEmailEnabled = default(bool?), string CustomCancelPage = default(string), string CustomReceiptPage = default(string), bool? CustomCancelPageEnabled = default(bool?), bool? NotificationReceiptEmailEnabled = default(bool?)) + { + this.CustomReceiptPageEnabled = CustomReceiptPageEnabled; + this.ReceiptEmailAddress = ReceiptEmailAddress; + this.CustomerReceiptEmailEnabled = CustomerReceiptEmailEnabled; + this.CustomCancelPage = CustomCancelPage; + this.CustomReceiptPage = CustomReceiptPage; + this.CustomCancelPageEnabled = CustomCancelPageEnabled; + this.NotificationReceiptEmailEnabled = NotificationReceiptEmailEnabled; + } + + /// + /// Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance. + /// + /// Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance. + [DataMember(Name="customReceiptPageEnabled", EmitDefaultValue=false)] + public bool? CustomReceiptPageEnabled { get; set; } + + /// + /// Email address where a copy of the payer's receipt email is sent, when notificationReceiptEmailEnabled is true. + /// + /// Email address where a copy of the payer's receipt email is sent, when notificationReceiptEmailEnabled is true. + [DataMember(Name="receiptEmailAddress", EmitDefaultValue=false)] + public string ReceiptEmailAddress { get; set; } + + /// + /// Toggles an email receipt sent to the payer's email address on payment success. + /// + /// Toggles an email receipt sent to the payer's email address on payment success. + [DataMember(Name="customerReceiptEmailEnabled", EmitDefaultValue=false)] + public bool? CustomerReceiptEmailEnabled { get; set; } + + /// + /// URL to which transaction results are POSTed when the payer clicks 'Cancel' on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance. + /// + /// URL to which transaction results are POSTed when the payer clicks 'Cancel' on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance. + [DataMember(Name="customCancelPage", EmitDefaultValue=false)] + public string CustomCancelPage { get; set; } + + /// + /// URL to which transaction results are POSTed when the payer requests a payment on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance. + /// + /// URL to which transaction results are POSTed when the payer requests a payment on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance. + [DataMember(Name="customReceiptPage", EmitDefaultValue=false)] + public string CustomReceiptPage { get; set; } + + /// + /// Toggles the custom cancel page, where merchants can receive notice that the payer has canceled, and display appropriate messaging and direction. Usually set by web developers integrating to Secure Acceptance. + /// + /// Toggles the custom cancel page, where merchants can receive notice that the payer has canceled, and display appropriate messaging and direction. Usually set by web developers integrating to Secure Acceptance. + [DataMember(Name="customCancelPageEnabled", EmitDefaultValue=false)] + public bool? CustomCancelPageEnabled { get; set; } + + /// + /// Toggles whether merchant receives a copy of the payer's receipt email. + /// + /// Toggles whether merchant receives a copy of the payer's receipt email. + [DataMember(Name="notificationReceiptEmailEnabled", EmitDefaultValue=false)] + public bool? NotificationReceiptEmailEnabled { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications {\n"); + sb.Append(" CustomReceiptPageEnabled: ").Append(CustomReceiptPageEnabled).Append("\n"); + sb.Append(" ReceiptEmailAddress: ").Append(ReceiptEmailAddress).Append("\n"); + sb.Append(" CustomerReceiptEmailEnabled: ").Append(CustomerReceiptEmailEnabled).Append("\n"); + sb.Append(" CustomCancelPage: ").Append(CustomCancelPage).Append("\n"); + sb.Append(" CustomReceiptPage: ").Append(CustomReceiptPage).Append("\n"); + sb.Append(" CustomCancelPageEnabled: ").Append(CustomCancelPageEnabled).Append("\n"); + sb.Append(" NotificationReceiptEmailEnabled: ").Append(NotificationReceiptEmailEnabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CustomReceiptPageEnabled == other.CustomReceiptPageEnabled || + this.CustomReceiptPageEnabled != null && + this.CustomReceiptPageEnabled.Equals(other.CustomReceiptPageEnabled) + ) && + ( + this.ReceiptEmailAddress == other.ReceiptEmailAddress || + this.ReceiptEmailAddress != null && + this.ReceiptEmailAddress.Equals(other.ReceiptEmailAddress) + ) && + ( + this.CustomerReceiptEmailEnabled == other.CustomerReceiptEmailEnabled || + this.CustomerReceiptEmailEnabled != null && + this.CustomerReceiptEmailEnabled.Equals(other.CustomerReceiptEmailEnabled) + ) && + ( + this.CustomCancelPage == other.CustomCancelPage || + this.CustomCancelPage != null && + this.CustomCancelPage.Equals(other.CustomCancelPage) + ) && + ( + this.CustomReceiptPage == other.CustomReceiptPage || + this.CustomReceiptPage != null && + this.CustomReceiptPage.Equals(other.CustomReceiptPage) + ) && + ( + this.CustomCancelPageEnabled == other.CustomCancelPageEnabled || + this.CustomCancelPageEnabled != null && + this.CustomCancelPageEnabled.Equals(other.CustomCancelPageEnabled) + ) && + ( + this.NotificationReceiptEmailEnabled == other.NotificationReceiptEmailEnabled || + this.NotificationReceiptEmailEnabled != null && + this.NotificationReceiptEmailEnabled.Equals(other.NotificationReceiptEmailEnabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CustomReceiptPageEnabled != null) + hash = hash * 59 + this.CustomReceiptPageEnabled.GetHashCode(); + if (this.ReceiptEmailAddress != null) + hash = hash * 59 + this.ReceiptEmailAddress.GetHashCode(); + if (this.CustomerReceiptEmailEnabled != null) + hash = hash * 59 + this.CustomerReceiptEmailEnabled.GetHashCode(); + if (this.CustomCancelPage != null) + hash = hash * 59 + this.CustomCancelPage.GetHashCode(); + if (this.CustomReceiptPage != null) + hash = hash * 59 + this.CustomReceiptPage.GetHashCode(); + if (this.CustomCancelPageEnabled != null) + hash = hash * 59 + this.CustomCancelPageEnabled.GetHashCode(); + if (this.NotificationReceiptEmailEnabled != null) + hash = hash * 59 + this.NotificationReceiptEmailEnabled.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.cs new file mode 100644 index 00000000..3320ac8a --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.cs @@ -0,0 +1,197 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance.. + /// Email address to receive transaction confirmation messages.. + /// Enables email transaction confirmation messages, sent to the address specified in backofficeEmailAddress.. + /// Webhook URL to which transaction confirmation is sent. Usually completed by the web developers integrating to Secure Acceptance.. + /// Format in which the card number should be masked in the notifications. Valid values: `1` - Display first 6 digits only (e.g. \"444433**********\") `2` - Display last four digits only (e.g. \"************1111\") `3` - Display First six and last four digits (e.g. \"444433******1111\") . + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications(bool? BackofficePostEnabled = default(bool?), string BackofficeEmailAddress = default(string), bool? BackofficeEmailEnabled = default(bool?), string BackofficePostUrl = default(string), string CardNumberFormat = default(string)) + { + this.BackofficePostEnabled = BackofficePostEnabled; + this.BackofficeEmailAddress = BackofficeEmailAddress; + this.BackofficeEmailEnabled = BackofficeEmailEnabled; + this.BackofficePostUrl = BackofficePostUrl; + this.CardNumberFormat = CardNumberFormat; + } + + /// + /// Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance. + /// + /// Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance. + [DataMember(Name="backofficePostEnabled", EmitDefaultValue=false)] + public bool? BackofficePostEnabled { get; set; } + + /// + /// Email address to receive transaction confirmation messages. + /// + /// Email address to receive transaction confirmation messages. + [DataMember(Name="backofficeEmailAddress", EmitDefaultValue=false)] + public string BackofficeEmailAddress { get; set; } + + /// + /// Enables email transaction confirmation messages, sent to the address specified in backofficeEmailAddress. + /// + /// Enables email transaction confirmation messages, sent to the address specified in backofficeEmailAddress. + [DataMember(Name="backofficeEmailEnabled", EmitDefaultValue=false)] + public bool? BackofficeEmailEnabled { get; set; } + + /// + /// Webhook URL to which transaction confirmation is sent. Usually completed by the web developers integrating to Secure Acceptance. + /// + /// Webhook URL to which transaction confirmation is sent. Usually completed by the web developers integrating to Secure Acceptance. + [DataMember(Name="backofficePostUrl", EmitDefaultValue=false)] + public string BackofficePostUrl { get; set; } + + /// + /// Format in which the card number should be masked in the notifications. Valid values: `1` - Display first 6 digits only (e.g. \"444433**********\") `2` - Display last four digits only (e.g. \"************1111\") `3` - Display First six and last four digits (e.g. \"444433******1111\") + /// + /// Format in which the card number should be masked in the notifications. Valid values: `1` - Display first 6 digits only (e.g. \"444433**********\") `2` - Display last four digits only (e.g. \"************1111\") `3` - Display First six and last four digits (e.g. \"444433******1111\") + [DataMember(Name="cardNumberFormat", EmitDefaultValue=false)] + public string CardNumberFormat { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications {\n"); + sb.Append(" BackofficePostEnabled: ").Append(BackofficePostEnabled).Append("\n"); + sb.Append(" BackofficeEmailAddress: ").Append(BackofficeEmailAddress).Append("\n"); + sb.Append(" BackofficeEmailEnabled: ").Append(BackofficeEmailEnabled).Append("\n"); + sb.Append(" BackofficePostUrl: ").Append(BackofficePostUrl).Append("\n"); + sb.Append(" CardNumberFormat: ").Append(CardNumberFormat).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.BackofficePostEnabled == other.BackofficePostEnabled || + this.BackofficePostEnabled != null && + this.BackofficePostEnabled.Equals(other.BackofficePostEnabled) + ) && + ( + this.BackofficeEmailAddress == other.BackofficeEmailAddress || + this.BackofficeEmailAddress != null && + this.BackofficeEmailAddress.Equals(other.BackofficeEmailAddress) + ) && + ( + this.BackofficeEmailEnabled == other.BackofficeEmailEnabled || + this.BackofficeEmailEnabled != null && + this.BackofficeEmailEnabled.Equals(other.BackofficeEmailEnabled) + ) && + ( + this.BackofficePostUrl == other.BackofficePostUrl || + this.BackofficePostUrl != null && + this.BackofficePostUrl.Equals(other.BackofficePostUrl) + ) && + ( + this.CardNumberFormat == other.CardNumberFormat || + this.CardNumberFormat != null && + this.CardNumberFormat.Equals(other.CardNumberFormat) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.BackofficePostEnabled != null) + hash = hash * 59 + this.BackofficePostEnabled.GetHashCode(); + if (this.BackofficeEmailAddress != null) + hash = hash * 59 + this.BackofficeEmailAddress.GetHashCode(); + if (this.BackofficeEmailEnabled != null) + hash = hash * 59 + this.BackofficeEmailEnabled.GetHashCode(); + if (this.BackofficePostUrl != null) + hash = hash * 59 + this.BackofficePostUrl.GetHashCode(); + if (this.CardNumberFormat != null) + hash = hash * 59 + this.CardNumberFormat.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.cs new file mode 100644 index 00000000..b74ecceb --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.cs @@ -0,0 +1,161 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods : IEquatable, IValidatableObject + { + + /// + /// Gets or Sets EnabledPaymentMethods + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum EnabledPaymentMethodsEnum + { + + /// + /// Enum CARD for "CARD" + /// + [EnumMember(Value = "CARD")] + CARD, + + /// + /// Enum ECHECK for "ECHECK" + /// + [EnumMember(Value = "ECHECK")] + ECHECK, + + /// + /// Enum VISACHECKOUT for "VISACHECKOUT" + /// + [EnumMember(Value = "VISACHECKOUT")] + VISACHECKOUT, + + /// + /// Enum PAYPAL for "PAYPAL" + /// + [EnumMember(Value = "PAYPAL")] + PAYPAL + } + + /// + /// Gets or Sets EnabledPaymentMethods + /// + [DataMember(Name="enabledPaymentMethods", EmitDefaultValue=false)] + public List EnabledPaymentMethods { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// EnabledPaymentMethods. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods(List EnabledPaymentMethods = default(List)) + { + this.EnabledPaymentMethods = EnabledPaymentMethods; + } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods {\n"); + sb.Append(" EnabledPaymentMethods: ").Append(EnabledPaymentMethods).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.EnabledPaymentMethods == other.EnabledPaymentMethods || + this.EnabledPaymentMethods != null && + this.EnabledPaymentMethods.SequenceEqual(other.EnabledPaymentMethods) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.EnabledPaymentMethods != null) + hash = hash * 59 + this.EnabledPaymentMethods.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.cs new file mode 100644 index 00000000..57048d50 --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Object containing Payment Types supported + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardTypes. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes CardTypes = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes)) + { + this.CardTypes = CardTypes; + } + + /// + /// Gets or Sets CardTypes + /// + [DataMember(Name="cardTypes", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes CardTypes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes {\n"); + sb.Append(" CardTypes: ").Append(CardTypes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardTypes == other.CardTypes || + this.CardTypes != null && + this.CardTypes.Equals(other.CardTypes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CardTypes != null) + hash = hash * 59 + this.CardTypes.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.cs new file mode 100644 index 00000000..bc95e03d --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Discover. + /// Amex. + /// MasterCard. + /// Visa. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover Discover = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover Amex = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover MasterCard = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover), PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover Visa = default(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover)) + { + this.Discover = Discover; + this.Amex = Amex; + this.MasterCard = MasterCard; + this.Visa = Visa; + } + + /// + /// Gets or Sets Discover + /// + [DataMember(Name="discover", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover Discover { get; set; } + + /// + /// Gets or Sets Amex + /// + [DataMember(Name="amex", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover Amex { get; set; } + + /// + /// Gets or Sets MasterCard + /// + [DataMember(Name="masterCard", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover MasterCard { get; set; } + + /// + /// Gets or Sets Visa + /// + [DataMember(Name="visa", EmitDefaultValue=false)] + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover Visa { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes {\n"); + sb.Append(" Discover: ").Append(Discover).Append("\n"); + sb.Append(" Amex: ").Append(Amex).Append("\n"); + sb.Append(" MasterCard: ").Append(MasterCard).Append("\n"); + sb.Append(" Visa: ").Append(Visa).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Discover == other.Discover || + this.Discover != null && + this.Discover.Equals(other.Discover) + ) && + ( + this.Amex == other.Amex || + this.Amex != null && + this.Amex.Equals(other.Amex) + ) && + ( + this.MasterCard == other.MasterCard || + this.MasterCard != null && + this.MasterCard.Equals(other.MasterCard) + ) && + ( + this.Visa == other.Visa || + this.Visa != null && + this.Visa.Equals(other.Visa) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Discover != null) + hash = hash * 59 + this.Discover.GetHashCode(); + if (this.Amex != null) + hash = hash * 59 + this.Amex.GetHashCode(); + if (this.MasterCard != null) + hash = hash * 59 + this.MasterCard.GetHashCode(); + if (this.Visa != null) + hash = hash * 59 + this.Visa.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.cs new file mode 100644 index 00000000..b0c829c8 --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.cs @@ -0,0 +1,228 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Object containing supported Card Types and settings + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level.. + /// Toggles whether or Card Verification Number is displayed on the Hosted Checkout.. + /// Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level.. + /// Array of the supported ISO 4217 alphabetic currency codes.. + /// Method. + /// CardVerificationNumberRequired. + /// PayerAuthenticationEnabled. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover(bool? CardVerificationNumberSupported = default(bool?), bool? CardVerificationNumberDisplay = default(bool?), bool? PayerAuthenticationSupported = default(bool?), List SupportedCurrencies = default(List), string Method = default(string), bool? CardVerificationNumberRequired = default(bool?), bool? PayerAuthenticationEnabled = default(bool?)) + { + this.CardVerificationNumberSupported = CardVerificationNumberSupported; + this.CardVerificationNumberDisplay = CardVerificationNumberDisplay; + this.PayerAuthenticationSupported = PayerAuthenticationSupported; + this.SupportedCurrencies = SupportedCurrencies; + this.Method = Method; + this.CardVerificationNumberRequired = CardVerificationNumberRequired; + this.PayerAuthenticationEnabled = PayerAuthenticationEnabled; + } + + /// + /// Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level. + /// + /// Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level. + [DataMember(Name="cardVerificationNumberSupported", EmitDefaultValue=false)] + public bool? CardVerificationNumberSupported { get; set; } + + /// + /// Toggles whether or Card Verification Number is displayed on the Hosted Checkout. + /// + /// Toggles whether or Card Verification Number is displayed on the Hosted Checkout. + [DataMember(Name="cardVerificationNumberDisplay", EmitDefaultValue=false)] + public bool? CardVerificationNumberDisplay { get; set; } + + /// + /// Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level. + /// + /// Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level. + [DataMember(Name="payerAuthenticationSupported", EmitDefaultValue=false)] + public bool? PayerAuthenticationSupported { get; set; } + + /// + /// Array of the supported ISO 4217 alphabetic currency codes. + /// + /// Array of the supported ISO 4217 alphabetic currency codes. + [DataMember(Name="supportedCurrencies", EmitDefaultValue=false)] + public List SupportedCurrencies { get; set; } + + /// + /// Gets or Sets Method + /// + [DataMember(Name="method", EmitDefaultValue=false)] + public string Method { get; set; } + + /// + /// Gets or Sets CardVerificationNumberRequired + /// + [DataMember(Name="cardVerificationNumberRequired", EmitDefaultValue=false)] + public bool? CardVerificationNumberRequired { get; set; } + + /// + /// Gets or Sets PayerAuthenticationEnabled + /// + [DataMember(Name="payerAuthenticationEnabled", EmitDefaultValue=false)] + public bool? PayerAuthenticationEnabled { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover {\n"); + sb.Append(" CardVerificationNumberSupported: ").Append(CardVerificationNumberSupported).Append("\n"); + sb.Append(" CardVerificationNumberDisplay: ").Append(CardVerificationNumberDisplay).Append("\n"); + sb.Append(" PayerAuthenticationSupported: ").Append(PayerAuthenticationSupported).Append("\n"); + sb.Append(" SupportedCurrencies: ").Append(SupportedCurrencies).Append("\n"); + sb.Append(" Method: ").Append(Method).Append("\n"); + sb.Append(" CardVerificationNumberRequired: ").Append(CardVerificationNumberRequired).Append("\n"); + sb.Append(" PayerAuthenticationEnabled: ").Append(PayerAuthenticationEnabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardVerificationNumberSupported == other.CardVerificationNumberSupported || + this.CardVerificationNumberSupported != null && + this.CardVerificationNumberSupported.Equals(other.CardVerificationNumberSupported) + ) && + ( + this.CardVerificationNumberDisplay == other.CardVerificationNumberDisplay || + this.CardVerificationNumberDisplay != null && + this.CardVerificationNumberDisplay.Equals(other.CardVerificationNumberDisplay) + ) && + ( + this.PayerAuthenticationSupported == other.PayerAuthenticationSupported || + this.PayerAuthenticationSupported != null && + this.PayerAuthenticationSupported.Equals(other.PayerAuthenticationSupported) + ) && + ( + this.SupportedCurrencies == other.SupportedCurrencies || + this.SupportedCurrencies != null && + this.SupportedCurrencies.SequenceEqual(other.SupportedCurrencies) + ) && + ( + this.Method == other.Method || + this.Method != null && + this.Method.Equals(other.Method) + ) && + ( + this.CardVerificationNumberRequired == other.CardVerificationNumberRequired || + this.CardVerificationNumberRequired != null && + this.CardVerificationNumberRequired.Equals(other.CardVerificationNumberRequired) + ) && + ( + this.PayerAuthenticationEnabled == other.PayerAuthenticationEnabled || + this.PayerAuthenticationEnabled != null && + this.PayerAuthenticationEnabled.Equals(other.PayerAuthenticationEnabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CardVerificationNumberSupported != null) + hash = hash * 59 + this.CardVerificationNumberSupported.GetHashCode(); + if (this.CardVerificationNumberDisplay != null) + hash = hash * 59 + this.CardVerificationNumberDisplay.GetHashCode(); + if (this.PayerAuthenticationSupported != null) + hash = hash * 59 + this.PayerAuthenticationSupported.GetHashCode(); + if (this.SupportedCurrencies != null) + hash = hash * 59 + this.SupportedCurrencies.GetHashCode(); + if (this.Method != null) + hash = hash * 59 + this.Method.GetHashCode(); + if (this.CardVerificationNumberRequired != null) + hash = hash * 59 + this.CardVerificationNumberRequired.GetHashCode(); + if (this.PayerAuthenticationEnabled != null) + hash = hash * 59 + this.PayerAuthenticationEnabled.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.cs b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.cs new file mode 100644 index 00000000..e0e6638a --- /dev/null +++ b/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.cs @@ -0,0 +1,231 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService + /// + [DataContract] + public partial class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging.. + /// Defines the number of retries a payer is presented with on payment declines on Hosted Checkout. Valid values are between 0 and 5.. + /// Toggles whether Decision Manager is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Decicion Manager.. + /// Toggles whether Tokenization is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Tokenization.. + /// Toggles whether or not an approved Authorization that fails AVS should be automatically reversed.. + /// Toggles whether or not fraud Device Fingerprinting is enabled on the Hosted Checkout. This simplifies enablement for Decision Manager.. + /// Toggles whether or not an approved Authorization that fails CVN check that should be automatically reversed.. + public PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService(bool? DecisionManagerVerboseEnabled = default(bool?), decimal? DeclinedRetryLimit = default(decimal?), bool? DecisionManagerEnabled = default(bool?), bool? TokenizationEnabled = default(bool?), bool? ReverseAuthOnAddressVerificationSystemFailure = default(bool?), bool? DeviceFingerprintEnabled = default(bool?), bool? ReverseAuthOnCardVerificationNumberFailure = default(bool?)) + { + this.DecisionManagerVerboseEnabled = DecisionManagerVerboseEnabled; + this.DeclinedRetryLimit = DeclinedRetryLimit; + this.DecisionManagerEnabled = DecisionManagerEnabled; + this.TokenizationEnabled = TokenizationEnabled; + this.ReverseAuthOnAddressVerificationSystemFailure = ReverseAuthOnAddressVerificationSystemFailure; + this.DeviceFingerprintEnabled = DeviceFingerprintEnabled; + this.ReverseAuthOnCardVerificationNumberFailure = ReverseAuthOnCardVerificationNumberFailure; + } + + /// + /// Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging. + /// + /// Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging. + [DataMember(Name="decisionManagerVerboseEnabled", EmitDefaultValue=false)] + public bool? DecisionManagerVerboseEnabled { get; set; } + + /// + /// Defines the number of retries a payer is presented with on payment declines on Hosted Checkout. Valid values are between 0 and 5. + /// + /// Defines the number of retries a payer is presented with on payment declines on Hosted Checkout. Valid values are between 0 and 5. + [DataMember(Name="declinedRetryLimit", EmitDefaultValue=false)] + public decimal? DeclinedRetryLimit { get; set; } + + /// + /// Toggles whether Decision Manager is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Decicion Manager. + /// + /// Toggles whether Decision Manager is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Decicion Manager. + [DataMember(Name="decisionManagerEnabled", EmitDefaultValue=false)] + public bool? DecisionManagerEnabled { get; set; } + + /// + /// Toggles whether Tokenization is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Tokenization. + /// + /// Toggles whether Tokenization is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Tokenization. + [DataMember(Name="tokenizationEnabled", EmitDefaultValue=false)] + public bool? TokenizationEnabled { get; set; } + + /// + /// Toggles whether or not an approved Authorization that fails AVS should be automatically reversed. + /// + /// Toggles whether or not an approved Authorization that fails AVS should be automatically reversed. + [DataMember(Name="reverseAuthOnAddressVerificationSystemFailure", EmitDefaultValue=false)] + public bool? ReverseAuthOnAddressVerificationSystemFailure { get; set; } + + /// + /// Toggles whether or not fraud Device Fingerprinting is enabled on the Hosted Checkout. This simplifies enablement for Decision Manager. + /// + /// Toggles whether or not fraud Device Fingerprinting is enabled on the Hosted Checkout. This simplifies enablement for Decision Manager. + [DataMember(Name="deviceFingerprintEnabled", EmitDefaultValue=false)] + public bool? DeviceFingerprintEnabled { get; set; } + + /// + /// Toggles whether or not an approved Authorization that fails CVN check that should be automatically reversed. + /// + /// Toggles whether or not an approved Authorization that fails CVN check that should be automatically reversed. + [DataMember(Name="reverseAuthOnCardVerificationNumberFailure", EmitDefaultValue=false)] + public bool? ReverseAuthOnCardVerificationNumberFailure { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService {\n"); + sb.Append(" DecisionManagerVerboseEnabled: ").Append(DecisionManagerVerboseEnabled).Append("\n"); + sb.Append(" DeclinedRetryLimit: ").Append(DeclinedRetryLimit).Append("\n"); + sb.Append(" DecisionManagerEnabled: ").Append(DecisionManagerEnabled).Append("\n"); + sb.Append(" TokenizationEnabled: ").Append(TokenizationEnabled).Append("\n"); + sb.Append(" ReverseAuthOnAddressVerificationSystemFailure: ").Append(ReverseAuthOnAddressVerificationSystemFailure).Append("\n"); + sb.Append(" DeviceFingerprintEnabled: ").Append(DeviceFingerprintEnabled).Append("\n"); + sb.Append(" ReverseAuthOnCardVerificationNumberFailure: ").Append(ReverseAuthOnCardVerificationNumberFailure).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService); + } + + /// + /// Returns true if PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService instances are equal + /// + /// Instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService to be compared + /// Boolean + public bool Equals(PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DecisionManagerVerboseEnabled == other.DecisionManagerVerboseEnabled || + this.DecisionManagerVerboseEnabled != null && + this.DecisionManagerVerboseEnabled.Equals(other.DecisionManagerVerboseEnabled) + ) && + ( + this.DeclinedRetryLimit == other.DeclinedRetryLimit || + this.DeclinedRetryLimit != null && + this.DeclinedRetryLimit.Equals(other.DeclinedRetryLimit) + ) && + ( + this.DecisionManagerEnabled == other.DecisionManagerEnabled || + this.DecisionManagerEnabled != null && + this.DecisionManagerEnabled.Equals(other.DecisionManagerEnabled) + ) && + ( + this.TokenizationEnabled == other.TokenizationEnabled || + this.TokenizationEnabled != null && + this.TokenizationEnabled.Equals(other.TokenizationEnabled) + ) && + ( + this.ReverseAuthOnAddressVerificationSystemFailure == other.ReverseAuthOnAddressVerificationSystemFailure || + this.ReverseAuthOnAddressVerificationSystemFailure != null && + this.ReverseAuthOnAddressVerificationSystemFailure.Equals(other.ReverseAuthOnAddressVerificationSystemFailure) + ) && + ( + this.DeviceFingerprintEnabled == other.DeviceFingerprintEnabled || + this.DeviceFingerprintEnabled != null && + this.DeviceFingerprintEnabled.Equals(other.DeviceFingerprintEnabled) + ) && + ( + this.ReverseAuthOnCardVerificationNumberFailure == other.ReverseAuthOnCardVerificationNumberFailure || + this.ReverseAuthOnCardVerificationNumberFailure != null && + this.ReverseAuthOnCardVerificationNumberFailure.Equals(other.ReverseAuthOnCardVerificationNumberFailure) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DecisionManagerVerboseEnabled != null) + hash = hash * 59 + this.DecisionManagerVerboseEnabled.GetHashCode(); + if (this.DeclinedRetryLimit != null) + hash = hash * 59 + this.DeclinedRetryLimit.GetHashCode(); + if (this.DecisionManagerEnabled != null) + hash = hash * 59 + this.DecisionManagerEnabled.GetHashCode(); + if (this.TokenizationEnabled != null) + hash = hash * 59 + this.TokenizationEnabled.GetHashCode(); + if (this.ReverseAuthOnAddressVerificationSystemFailure != null) + hash = hash * 59 + this.ReverseAuthOnAddressVerificationSystemFailure.GetHashCode(); + if (this.DeviceFingerprintEnabled != null) + hash = hash * 59 + this.DeviceFingerprintEnabled.GetHashCode(); + if (this.ReverseAuthOnCardVerificationNumberFailure != null) + hash = hash * 59 + this.ReverseAuthOnCardVerificationNumberFailure.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsTax.cs b/Model/PaymentProductsTax.cs new file mode 100644 index 00000000..a31a7ee3 --- /dev/null +++ b/Model/PaymentProductsTax.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsTax + /// + [DataContract] + public partial class PaymentProductsTax : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + public PaymentProductsTax(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsTax {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsTax); + } + + /// + /// Returns true if PaymentProductsTax instances are equal + /// + /// Instance of PaymentProductsTax to be compared + /// Boolean + public bool Equals(PaymentProductsTax other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminal.cs b/Model/PaymentProductsVirtualTerminal.cs new file mode 100644 index 00000000..68cd9f04 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminal.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminal + /// + [DataContract] + public partial class PaymentProductsVirtualTerminal : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public PaymentProductsVirtualTerminal(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), PaymentProductsVirtualTerminalConfigurationInformation ConfigurationInformation = default(PaymentProductsVirtualTerminalConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminal {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminal); + } + + /// + /// Returns true if PaymentProductsVirtualTerminal instances are equal + /// + /// Instance of PaymentProductsVirtualTerminal to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminal other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalConfigurationInformation.cs b/Model/PaymentProductsVirtualTerminalConfigurationInformation.cs new file mode 100644 index 00000000..e90bc618 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformation + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public PaymentProductsVirtualTerminalConfigurationInformation(Guid? TemplateId = default(Guid?), PaymentProductsVirtualTerminalConfigurationInformationConfigurations Configurations = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformation); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformation instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformation to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.cs b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..597204a0 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurations + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardNotPresent. + /// CardPresent. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurations(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent CardNotPresent = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent), PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent CardPresent = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent)) + { + this.CardNotPresent = CardNotPresent; + this.CardPresent = CardPresent; + } + + /// + /// Gets or Sets CardNotPresent + /// + [DataMember(Name="cardNotPresent", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent CardNotPresent { get; set; } + + /// + /// Gets or Sets CardPresent + /// + [DataMember(Name="cardPresent", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent CardPresent { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurations {\n"); + sb.Append(" CardNotPresent: ").Append(CardNotPresent).Append("\n"); + sb.Append(" CardPresent: ").Append(CardPresent).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurations); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurations instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardNotPresent == other.CardNotPresent || + this.CardNotPresent != null && + this.CardNotPresent.Equals(other.CardNotPresent) + ) && + ( + this.CardPresent == other.CardPresent || + this.CardPresent != null && + this.CardPresent.Equals(other.CardPresent) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.CardNotPresent != null) + hash = hash * 59 + this.CardNotPresent.GetHashCode(); + if (this.CardPresent != null) + hash = hash * 59 + this.CardPresent.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.cs b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.cs new file mode 100644 index 00000000..91c798ce --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// GlobalPaymentInformation. + /// ReceiptInformation. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation GlobalPaymentInformation = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation), PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation ReceiptInformation = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation)) + { + this.GlobalPaymentInformation = GlobalPaymentInformation; + this.ReceiptInformation = ReceiptInformation; + } + + /// + /// Gets or Sets GlobalPaymentInformation + /// + [DataMember(Name="globalPaymentInformation", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation GlobalPaymentInformation { get; set; } + + /// + /// Gets or Sets ReceiptInformation + /// + [DataMember(Name="receiptInformation", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation ReceiptInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent {\n"); + sb.Append(" GlobalPaymentInformation: ").Append(GlobalPaymentInformation).Append("\n"); + sb.Append(" ReceiptInformation: ").Append(ReceiptInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.GlobalPaymentInformation == other.GlobalPaymentInformation || + this.GlobalPaymentInformation != null && + this.GlobalPaymentInformation.Equals(other.GlobalPaymentInformation) + ) && + ( + this.ReceiptInformation == other.ReceiptInformation || + this.ReceiptInformation != null && + this.ReceiptInformation.Equals(other.ReceiptInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.GlobalPaymentInformation != null) + hash = hash * 59 + this.GlobalPaymentInformation.GetHashCode(); + if (this.ReceiptInformation != null) + hash = hash * 59 + this.ReceiptInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.cs b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.cs new file mode 100644 index 00000000..94f36cc2 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// BasicInformation. + /// PaymentInformation. + /// MerchantDefinedDataFields. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation BasicInformation = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation), PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation PaymentInformation = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation), PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields MerchantDefinedDataFields = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields)) + { + this.BasicInformation = BasicInformation; + this.PaymentInformation = PaymentInformation; + this.MerchantDefinedDataFields = MerchantDefinedDataFields; + } + + /// + /// Gets or Sets BasicInformation + /// + [DataMember(Name="basicInformation", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation BasicInformation { get; set; } + + /// + /// Gets or Sets PaymentInformation + /// + [DataMember(Name="paymentInformation", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation PaymentInformation { get; set; } + + /// + /// Gets or Sets MerchantDefinedDataFields + /// + [DataMember(Name="merchantDefinedDataFields", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields MerchantDefinedDataFields { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation {\n"); + sb.Append(" BasicInformation: ").Append(BasicInformation).Append("\n"); + sb.Append(" PaymentInformation: ").Append(PaymentInformation).Append("\n"); + sb.Append(" MerchantDefinedDataFields: ").Append(MerchantDefinedDataFields).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.BasicInformation == other.BasicInformation || + this.BasicInformation != null && + this.BasicInformation.Equals(other.BasicInformation) + ) && + ( + this.PaymentInformation == other.PaymentInformation || + this.PaymentInformation != null && + this.PaymentInformation.Equals(other.PaymentInformation) + ) && + ( + this.MerchantDefinedDataFields == other.MerchantDefinedDataFields || + this.MerchantDefinedDataFields != null && + this.MerchantDefinedDataFields.Equals(other.MerchantDefinedDataFields) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.BasicInformation != null) + hash = hash * 59 + this.BasicInformation.GetHashCode(); + if (this.PaymentInformation != null) + hash = hash * 59 + this.PaymentInformation.GetHashCode(); + if (this.MerchantDefinedDataFields != null) + hash = hash * 59 + this.MerchantDefinedDataFields.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.cs b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.cs new file mode 100644 index 00000000..5d0b6d81 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Header. + /// OrderInformation. + /// EmailReceipt. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader Header = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader), PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation OrderInformation = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation), PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt EmailReceipt = default(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt)) + { + this.Header = Header; + this.OrderInformation = OrderInformation; + this.EmailReceipt = EmailReceipt; + } + + /// + /// Gets or Sets Header + /// + [DataMember(Name="header", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader Header { get; set; } + + /// + /// Gets or Sets OrderInformation + /// + [DataMember(Name="orderInformation", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation OrderInformation { get; set; } + + /// + /// Gets or Sets EmailReceipt + /// + [DataMember(Name="emailReceipt", EmitDefaultValue=false)] + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt EmailReceipt { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation {\n"); + sb.Append(" Header: ").Append(Header).Append("\n"); + sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n"); + sb.Append(" EmailReceipt: ").Append(EmailReceipt).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Header == other.Header || + this.Header != null && + this.Header.Equals(other.Header) + ) && + ( + this.OrderInformation == other.OrderInformation || + this.OrderInformation != null && + this.OrderInformation.Equals(other.OrderInformation) + ) && + ( + this.EmailReceipt == other.EmailReceipt || + this.EmailReceipt != null && + this.EmailReceipt.Equals(other.EmailReceipt) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Header != null) + hash = hash * 59 + this.Header.GetHashCode(); + if (this.OrderInformation != null) + hash = hash * 59 + this.OrderInformation.GetHashCode(); + if (this.EmailReceipt != null) + hash = hash * 59 + this.EmailReceipt.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.cs b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.cs new file mode 100644 index 00000000..1ceabc47 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// VirtualTerminalReceiptHeader. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader(string VirtualTerminalReceiptHeader = default(string)) + { + this.VirtualTerminalReceiptHeader = VirtualTerminalReceiptHeader; + } + + /// + /// Gets or Sets VirtualTerminalReceiptHeader + /// + [DataMember(Name="virtualTerminalReceiptHeader", EmitDefaultValue=false)] + public string VirtualTerminalReceiptHeader { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader {\n"); + sb.Append(" VirtualTerminalReceiptHeader: ").Append(VirtualTerminalReceiptHeader).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.VirtualTerminalReceiptHeader == other.VirtualTerminalReceiptHeader || + this.VirtualTerminalReceiptHeader != null && + this.VirtualTerminalReceiptHeader.Equals(other.VirtualTerminalReceiptHeader) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.VirtualTerminalReceiptHeader != null) + hash = hash * 59 + this.VirtualTerminalReceiptHeader.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalMerchantDefinedDataFields.cs b/Model/PaymentProductsVirtualTerminalMerchantDefinedDataFields.cs new file mode 100644 index 00000000..77504a08 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalMerchantDefinedDataFields.cs @@ -0,0 +1,512 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// DisplayMerchantDefinedData1. + /// DisplayMerchantDefinedData2. + /// DisplayMerchantDefinedData3. + /// DisplayMerchantDefinedData4. + /// DisplayMerchantDefinedData5. + /// MerchantDefinedData1DefaultValue. + /// MerchantDefinedData1Label. + /// RequireMerchantDefinedData1. + /// MerchantDefinedData2DefaultValue. + /// MerchantDefinedData2Label. + /// RequireMerchantDefinedData2. + /// MerchantDefinedData3DefaultValue. + /// MerchantDefinedData3Label. + /// RequireMerchantDefinedData3. + /// MerchantDefinedData4DefaultValue. + /// MerchantDefinedData4Label. + /// RequireMerchantDefinedData4. + /// MerchantDefinedData5DefaultValue. + /// MerchantDefinedData5Label. + /// RequireMerchantDefinedData5. + /// MerchantDefinedData1DisplayOnReceipt. + /// MerchantDefinedData2DisplayOnReceipt. + /// MerchantDefinedData3DisplayOnReceipt. + /// MerchantDefinedData4DisplayOnReceipt. + /// MerchantDefinedData5DisplayOnReceipt. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields(bool? DisplayMerchantDefinedData1 = default(bool?), bool? DisplayMerchantDefinedData2 = default(bool?), bool? DisplayMerchantDefinedData3 = default(bool?), bool? DisplayMerchantDefinedData4 = default(bool?), bool? DisplayMerchantDefinedData5 = default(bool?), string MerchantDefinedData1DefaultValue = default(string), string MerchantDefinedData1Label = default(string), bool? RequireMerchantDefinedData1 = default(bool?), string MerchantDefinedData2DefaultValue = default(string), string MerchantDefinedData2Label = default(string), bool? RequireMerchantDefinedData2 = default(bool?), string MerchantDefinedData3DefaultValue = default(string), string MerchantDefinedData3Label = default(string), bool? RequireMerchantDefinedData3 = default(bool?), string MerchantDefinedData4DefaultValue = default(string), string MerchantDefinedData4Label = default(string), bool? RequireMerchantDefinedData4 = default(bool?), string MerchantDefinedData5DefaultValue = default(string), string MerchantDefinedData5Label = default(string), bool? RequireMerchantDefinedData5 = default(bool?), bool? MerchantDefinedData1DisplayOnReceipt = default(bool?), bool? MerchantDefinedData2DisplayOnReceipt = default(bool?), bool? MerchantDefinedData3DisplayOnReceipt = default(bool?), bool? MerchantDefinedData4DisplayOnReceipt = default(bool?), bool? MerchantDefinedData5DisplayOnReceipt = default(bool?)) + { + this.DisplayMerchantDefinedData1 = DisplayMerchantDefinedData1; + this.DisplayMerchantDefinedData2 = DisplayMerchantDefinedData2; + this.DisplayMerchantDefinedData3 = DisplayMerchantDefinedData3; + this.DisplayMerchantDefinedData4 = DisplayMerchantDefinedData4; + this.DisplayMerchantDefinedData5 = DisplayMerchantDefinedData5; + this.MerchantDefinedData1DefaultValue = MerchantDefinedData1DefaultValue; + this.MerchantDefinedData1Label = MerchantDefinedData1Label; + this.RequireMerchantDefinedData1 = RequireMerchantDefinedData1; + this.MerchantDefinedData2DefaultValue = MerchantDefinedData2DefaultValue; + this.MerchantDefinedData2Label = MerchantDefinedData2Label; + this.RequireMerchantDefinedData2 = RequireMerchantDefinedData2; + this.MerchantDefinedData3DefaultValue = MerchantDefinedData3DefaultValue; + this.MerchantDefinedData3Label = MerchantDefinedData3Label; + this.RequireMerchantDefinedData3 = RequireMerchantDefinedData3; + this.MerchantDefinedData4DefaultValue = MerchantDefinedData4DefaultValue; + this.MerchantDefinedData4Label = MerchantDefinedData4Label; + this.RequireMerchantDefinedData4 = RequireMerchantDefinedData4; + this.MerchantDefinedData5DefaultValue = MerchantDefinedData5DefaultValue; + this.MerchantDefinedData5Label = MerchantDefinedData5Label; + this.RequireMerchantDefinedData5 = RequireMerchantDefinedData5; + this.MerchantDefinedData1DisplayOnReceipt = MerchantDefinedData1DisplayOnReceipt; + this.MerchantDefinedData2DisplayOnReceipt = MerchantDefinedData2DisplayOnReceipt; + this.MerchantDefinedData3DisplayOnReceipt = MerchantDefinedData3DisplayOnReceipt; + this.MerchantDefinedData4DisplayOnReceipt = MerchantDefinedData4DisplayOnReceipt; + this.MerchantDefinedData5DisplayOnReceipt = MerchantDefinedData5DisplayOnReceipt; + } + + /// + /// Gets or Sets DisplayMerchantDefinedData1 + /// + [DataMember(Name="displayMerchantDefinedData1", EmitDefaultValue=false)] + public bool? DisplayMerchantDefinedData1 { get; set; } + + /// + /// Gets or Sets DisplayMerchantDefinedData2 + /// + [DataMember(Name="displayMerchantDefinedData2", EmitDefaultValue=false)] + public bool? DisplayMerchantDefinedData2 { get; set; } + + /// + /// Gets or Sets DisplayMerchantDefinedData3 + /// + [DataMember(Name="displayMerchantDefinedData3", EmitDefaultValue=false)] + public bool? DisplayMerchantDefinedData3 { get; set; } + + /// + /// Gets or Sets DisplayMerchantDefinedData4 + /// + [DataMember(Name="displayMerchantDefinedData4", EmitDefaultValue=false)] + public bool? DisplayMerchantDefinedData4 { get; set; } + + /// + /// Gets or Sets DisplayMerchantDefinedData5 + /// + [DataMember(Name="displayMerchantDefinedData5", EmitDefaultValue=false)] + public bool? DisplayMerchantDefinedData5 { get; set; } + + /// + /// Gets or Sets MerchantDefinedData1DefaultValue + /// + [DataMember(Name="merchantDefinedData1DefaultValue", EmitDefaultValue=false)] + public string MerchantDefinedData1DefaultValue { get; set; } + + /// + /// Gets or Sets MerchantDefinedData1Label + /// + [DataMember(Name="merchantDefinedData1Label", EmitDefaultValue=false)] + public string MerchantDefinedData1Label { get; set; } + + /// + /// Gets or Sets RequireMerchantDefinedData1 + /// + [DataMember(Name="requireMerchantDefinedData1", EmitDefaultValue=false)] + public bool? RequireMerchantDefinedData1 { get; set; } + + /// + /// Gets or Sets MerchantDefinedData2DefaultValue + /// + [DataMember(Name="merchantDefinedData2DefaultValue", EmitDefaultValue=false)] + public string MerchantDefinedData2DefaultValue { get; set; } + + /// + /// Gets or Sets MerchantDefinedData2Label + /// + [DataMember(Name="merchantDefinedData2Label", EmitDefaultValue=false)] + public string MerchantDefinedData2Label { get; set; } + + /// + /// Gets or Sets RequireMerchantDefinedData2 + /// + [DataMember(Name="requireMerchantDefinedData2", EmitDefaultValue=false)] + public bool? RequireMerchantDefinedData2 { get; set; } + + /// + /// Gets or Sets MerchantDefinedData3DefaultValue + /// + [DataMember(Name="merchantDefinedData3DefaultValue", EmitDefaultValue=false)] + public string MerchantDefinedData3DefaultValue { get; set; } + + /// + /// Gets or Sets MerchantDefinedData3Label + /// + [DataMember(Name="merchantDefinedData3Label", EmitDefaultValue=false)] + public string MerchantDefinedData3Label { get; set; } + + /// + /// Gets or Sets RequireMerchantDefinedData3 + /// + [DataMember(Name="requireMerchantDefinedData3", EmitDefaultValue=false)] + public bool? RequireMerchantDefinedData3 { get; set; } + + /// + /// Gets or Sets MerchantDefinedData4DefaultValue + /// + [DataMember(Name="merchantDefinedData4DefaultValue", EmitDefaultValue=false)] + public string MerchantDefinedData4DefaultValue { get; set; } + + /// + /// Gets or Sets MerchantDefinedData4Label + /// + [DataMember(Name="merchantDefinedData4Label", EmitDefaultValue=false)] + public string MerchantDefinedData4Label { get; set; } + + /// + /// Gets or Sets RequireMerchantDefinedData4 + /// + [DataMember(Name="requireMerchantDefinedData4", EmitDefaultValue=false)] + public bool? RequireMerchantDefinedData4 { get; set; } + + /// + /// Gets or Sets MerchantDefinedData5DefaultValue + /// + [DataMember(Name="merchantDefinedData5DefaultValue", EmitDefaultValue=false)] + public string MerchantDefinedData5DefaultValue { get; set; } + + /// + /// Gets or Sets MerchantDefinedData5Label + /// + [DataMember(Name="merchantDefinedData5Label", EmitDefaultValue=false)] + public string MerchantDefinedData5Label { get; set; } + + /// + /// Gets or Sets RequireMerchantDefinedData5 + /// + [DataMember(Name="requireMerchantDefinedData5", EmitDefaultValue=false)] + public bool? RequireMerchantDefinedData5 { get; set; } + + /// + /// Gets or Sets MerchantDefinedData1DisplayOnReceipt + /// + [DataMember(Name="merchantDefinedData1DisplayOnReceipt", EmitDefaultValue=false)] + public bool? MerchantDefinedData1DisplayOnReceipt { get; set; } + + /// + /// Gets or Sets MerchantDefinedData2DisplayOnReceipt + /// + [DataMember(Name="merchantDefinedData2DisplayOnReceipt", EmitDefaultValue=false)] + public bool? MerchantDefinedData2DisplayOnReceipt { get; set; } + + /// + /// Gets or Sets MerchantDefinedData3DisplayOnReceipt + /// + [DataMember(Name="merchantDefinedData3DisplayOnReceipt", EmitDefaultValue=false)] + public bool? MerchantDefinedData3DisplayOnReceipt { get; set; } + + /// + /// Gets or Sets MerchantDefinedData4DisplayOnReceipt + /// + [DataMember(Name="merchantDefinedData4DisplayOnReceipt", EmitDefaultValue=false)] + public bool? MerchantDefinedData4DisplayOnReceipt { get; set; } + + /// + /// Gets or Sets MerchantDefinedData5DisplayOnReceipt + /// + [DataMember(Name="merchantDefinedData5DisplayOnReceipt", EmitDefaultValue=false)] + public bool? MerchantDefinedData5DisplayOnReceipt { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields {\n"); + sb.Append(" DisplayMerchantDefinedData1: ").Append(DisplayMerchantDefinedData1).Append("\n"); + sb.Append(" DisplayMerchantDefinedData2: ").Append(DisplayMerchantDefinedData2).Append("\n"); + sb.Append(" DisplayMerchantDefinedData3: ").Append(DisplayMerchantDefinedData3).Append("\n"); + sb.Append(" DisplayMerchantDefinedData4: ").Append(DisplayMerchantDefinedData4).Append("\n"); + sb.Append(" DisplayMerchantDefinedData5: ").Append(DisplayMerchantDefinedData5).Append("\n"); + sb.Append(" MerchantDefinedData1DefaultValue: ").Append(MerchantDefinedData1DefaultValue).Append("\n"); + sb.Append(" MerchantDefinedData1Label: ").Append(MerchantDefinedData1Label).Append("\n"); + sb.Append(" RequireMerchantDefinedData1: ").Append(RequireMerchantDefinedData1).Append("\n"); + sb.Append(" MerchantDefinedData2DefaultValue: ").Append(MerchantDefinedData2DefaultValue).Append("\n"); + sb.Append(" MerchantDefinedData2Label: ").Append(MerchantDefinedData2Label).Append("\n"); + sb.Append(" RequireMerchantDefinedData2: ").Append(RequireMerchantDefinedData2).Append("\n"); + sb.Append(" MerchantDefinedData3DefaultValue: ").Append(MerchantDefinedData3DefaultValue).Append("\n"); + sb.Append(" MerchantDefinedData3Label: ").Append(MerchantDefinedData3Label).Append("\n"); + sb.Append(" RequireMerchantDefinedData3: ").Append(RequireMerchantDefinedData3).Append("\n"); + sb.Append(" MerchantDefinedData4DefaultValue: ").Append(MerchantDefinedData4DefaultValue).Append("\n"); + sb.Append(" MerchantDefinedData4Label: ").Append(MerchantDefinedData4Label).Append("\n"); + sb.Append(" RequireMerchantDefinedData4: ").Append(RequireMerchantDefinedData4).Append("\n"); + sb.Append(" MerchantDefinedData5DefaultValue: ").Append(MerchantDefinedData5DefaultValue).Append("\n"); + sb.Append(" MerchantDefinedData5Label: ").Append(MerchantDefinedData5Label).Append("\n"); + sb.Append(" RequireMerchantDefinedData5: ").Append(RequireMerchantDefinedData5).Append("\n"); + sb.Append(" MerchantDefinedData1DisplayOnReceipt: ").Append(MerchantDefinedData1DisplayOnReceipt).Append("\n"); + sb.Append(" MerchantDefinedData2DisplayOnReceipt: ").Append(MerchantDefinedData2DisplayOnReceipt).Append("\n"); + sb.Append(" MerchantDefinedData3DisplayOnReceipt: ").Append(MerchantDefinedData3DisplayOnReceipt).Append("\n"); + sb.Append(" MerchantDefinedData4DisplayOnReceipt: ").Append(MerchantDefinedData4DisplayOnReceipt).Append("\n"); + sb.Append(" MerchantDefinedData5DisplayOnReceipt: ").Append(MerchantDefinedData5DisplayOnReceipt).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DisplayMerchantDefinedData1 == other.DisplayMerchantDefinedData1 || + this.DisplayMerchantDefinedData1 != null && + this.DisplayMerchantDefinedData1.Equals(other.DisplayMerchantDefinedData1) + ) && + ( + this.DisplayMerchantDefinedData2 == other.DisplayMerchantDefinedData2 || + this.DisplayMerchantDefinedData2 != null && + this.DisplayMerchantDefinedData2.Equals(other.DisplayMerchantDefinedData2) + ) && + ( + this.DisplayMerchantDefinedData3 == other.DisplayMerchantDefinedData3 || + this.DisplayMerchantDefinedData3 != null && + this.DisplayMerchantDefinedData3.Equals(other.DisplayMerchantDefinedData3) + ) && + ( + this.DisplayMerchantDefinedData4 == other.DisplayMerchantDefinedData4 || + this.DisplayMerchantDefinedData4 != null && + this.DisplayMerchantDefinedData4.Equals(other.DisplayMerchantDefinedData4) + ) && + ( + this.DisplayMerchantDefinedData5 == other.DisplayMerchantDefinedData5 || + this.DisplayMerchantDefinedData5 != null && + this.DisplayMerchantDefinedData5.Equals(other.DisplayMerchantDefinedData5) + ) && + ( + this.MerchantDefinedData1DefaultValue == other.MerchantDefinedData1DefaultValue || + this.MerchantDefinedData1DefaultValue != null && + this.MerchantDefinedData1DefaultValue.Equals(other.MerchantDefinedData1DefaultValue) + ) && + ( + this.MerchantDefinedData1Label == other.MerchantDefinedData1Label || + this.MerchantDefinedData1Label != null && + this.MerchantDefinedData1Label.Equals(other.MerchantDefinedData1Label) + ) && + ( + this.RequireMerchantDefinedData1 == other.RequireMerchantDefinedData1 || + this.RequireMerchantDefinedData1 != null && + this.RequireMerchantDefinedData1.Equals(other.RequireMerchantDefinedData1) + ) && + ( + this.MerchantDefinedData2DefaultValue == other.MerchantDefinedData2DefaultValue || + this.MerchantDefinedData2DefaultValue != null && + this.MerchantDefinedData2DefaultValue.Equals(other.MerchantDefinedData2DefaultValue) + ) && + ( + this.MerchantDefinedData2Label == other.MerchantDefinedData2Label || + this.MerchantDefinedData2Label != null && + this.MerchantDefinedData2Label.Equals(other.MerchantDefinedData2Label) + ) && + ( + this.RequireMerchantDefinedData2 == other.RequireMerchantDefinedData2 || + this.RequireMerchantDefinedData2 != null && + this.RequireMerchantDefinedData2.Equals(other.RequireMerchantDefinedData2) + ) && + ( + this.MerchantDefinedData3DefaultValue == other.MerchantDefinedData3DefaultValue || + this.MerchantDefinedData3DefaultValue != null && + this.MerchantDefinedData3DefaultValue.Equals(other.MerchantDefinedData3DefaultValue) + ) && + ( + this.MerchantDefinedData3Label == other.MerchantDefinedData3Label || + this.MerchantDefinedData3Label != null && + this.MerchantDefinedData3Label.Equals(other.MerchantDefinedData3Label) + ) && + ( + this.RequireMerchantDefinedData3 == other.RequireMerchantDefinedData3 || + this.RequireMerchantDefinedData3 != null && + this.RequireMerchantDefinedData3.Equals(other.RequireMerchantDefinedData3) + ) && + ( + this.MerchantDefinedData4DefaultValue == other.MerchantDefinedData4DefaultValue || + this.MerchantDefinedData4DefaultValue != null && + this.MerchantDefinedData4DefaultValue.Equals(other.MerchantDefinedData4DefaultValue) + ) && + ( + this.MerchantDefinedData4Label == other.MerchantDefinedData4Label || + this.MerchantDefinedData4Label != null && + this.MerchantDefinedData4Label.Equals(other.MerchantDefinedData4Label) + ) && + ( + this.RequireMerchantDefinedData4 == other.RequireMerchantDefinedData4 || + this.RequireMerchantDefinedData4 != null && + this.RequireMerchantDefinedData4.Equals(other.RequireMerchantDefinedData4) + ) && + ( + this.MerchantDefinedData5DefaultValue == other.MerchantDefinedData5DefaultValue || + this.MerchantDefinedData5DefaultValue != null && + this.MerchantDefinedData5DefaultValue.Equals(other.MerchantDefinedData5DefaultValue) + ) && + ( + this.MerchantDefinedData5Label == other.MerchantDefinedData5Label || + this.MerchantDefinedData5Label != null && + this.MerchantDefinedData5Label.Equals(other.MerchantDefinedData5Label) + ) && + ( + this.RequireMerchantDefinedData5 == other.RequireMerchantDefinedData5 || + this.RequireMerchantDefinedData5 != null && + this.RequireMerchantDefinedData5.Equals(other.RequireMerchantDefinedData5) + ) && + ( + this.MerchantDefinedData1DisplayOnReceipt == other.MerchantDefinedData1DisplayOnReceipt || + this.MerchantDefinedData1DisplayOnReceipt != null && + this.MerchantDefinedData1DisplayOnReceipt.Equals(other.MerchantDefinedData1DisplayOnReceipt) + ) && + ( + this.MerchantDefinedData2DisplayOnReceipt == other.MerchantDefinedData2DisplayOnReceipt || + this.MerchantDefinedData2DisplayOnReceipt != null && + this.MerchantDefinedData2DisplayOnReceipt.Equals(other.MerchantDefinedData2DisplayOnReceipt) + ) && + ( + this.MerchantDefinedData3DisplayOnReceipt == other.MerchantDefinedData3DisplayOnReceipt || + this.MerchantDefinedData3DisplayOnReceipt != null && + this.MerchantDefinedData3DisplayOnReceipt.Equals(other.MerchantDefinedData3DisplayOnReceipt) + ) && + ( + this.MerchantDefinedData4DisplayOnReceipt == other.MerchantDefinedData4DisplayOnReceipt || + this.MerchantDefinedData4DisplayOnReceipt != null && + this.MerchantDefinedData4DisplayOnReceipt.Equals(other.MerchantDefinedData4DisplayOnReceipt) + ) && + ( + this.MerchantDefinedData5DisplayOnReceipt == other.MerchantDefinedData5DisplayOnReceipt || + this.MerchantDefinedData5DisplayOnReceipt != null && + this.MerchantDefinedData5DisplayOnReceipt.Equals(other.MerchantDefinedData5DisplayOnReceipt) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DisplayMerchantDefinedData1 != null) + hash = hash * 59 + this.DisplayMerchantDefinedData1.GetHashCode(); + if (this.DisplayMerchantDefinedData2 != null) + hash = hash * 59 + this.DisplayMerchantDefinedData2.GetHashCode(); + if (this.DisplayMerchantDefinedData3 != null) + hash = hash * 59 + this.DisplayMerchantDefinedData3.GetHashCode(); + if (this.DisplayMerchantDefinedData4 != null) + hash = hash * 59 + this.DisplayMerchantDefinedData4.GetHashCode(); + if (this.DisplayMerchantDefinedData5 != null) + hash = hash * 59 + this.DisplayMerchantDefinedData5.GetHashCode(); + if (this.MerchantDefinedData1DefaultValue != null) + hash = hash * 59 + this.MerchantDefinedData1DefaultValue.GetHashCode(); + if (this.MerchantDefinedData1Label != null) + hash = hash * 59 + this.MerchantDefinedData1Label.GetHashCode(); + if (this.RequireMerchantDefinedData1 != null) + hash = hash * 59 + this.RequireMerchantDefinedData1.GetHashCode(); + if (this.MerchantDefinedData2DefaultValue != null) + hash = hash * 59 + this.MerchantDefinedData2DefaultValue.GetHashCode(); + if (this.MerchantDefinedData2Label != null) + hash = hash * 59 + this.MerchantDefinedData2Label.GetHashCode(); + if (this.RequireMerchantDefinedData2 != null) + hash = hash * 59 + this.RequireMerchantDefinedData2.GetHashCode(); + if (this.MerchantDefinedData3DefaultValue != null) + hash = hash * 59 + this.MerchantDefinedData3DefaultValue.GetHashCode(); + if (this.MerchantDefinedData3Label != null) + hash = hash * 59 + this.MerchantDefinedData3Label.GetHashCode(); + if (this.RequireMerchantDefinedData3 != null) + hash = hash * 59 + this.RequireMerchantDefinedData3.GetHashCode(); + if (this.MerchantDefinedData4DefaultValue != null) + hash = hash * 59 + this.MerchantDefinedData4DefaultValue.GetHashCode(); + if (this.MerchantDefinedData4Label != null) + hash = hash * 59 + this.MerchantDefinedData4Label.GetHashCode(); + if (this.RequireMerchantDefinedData4 != null) + hash = hash * 59 + this.RequireMerchantDefinedData4.GetHashCode(); + if (this.MerchantDefinedData5DefaultValue != null) + hash = hash * 59 + this.MerchantDefinedData5DefaultValue.GetHashCode(); + if (this.MerchantDefinedData5Label != null) + hash = hash * 59 + this.MerchantDefinedData5Label.GetHashCode(); + if (this.RequireMerchantDefinedData5 != null) + hash = hash * 59 + this.RequireMerchantDefinedData5.GetHashCode(); + if (this.MerchantDefinedData1DisplayOnReceipt != null) + hash = hash * 59 + this.MerchantDefinedData1DisplayOnReceipt.GetHashCode(); + if (this.MerchantDefinedData2DisplayOnReceipt != null) + hash = hash * 59 + this.MerchantDefinedData2DisplayOnReceipt.GetHashCode(); + if (this.MerchantDefinedData3DisplayOnReceipt != null) + hash = hash * 59 + this.MerchantDefinedData3DisplayOnReceipt.GetHashCode(); + if (this.MerchantDefinedData4DisplayOnReceipt != null) + hash = hash * 59 + this.MerchantDefinedData4DisplayOnReceipt.GetHashCode(); + if (this.MerchantDefinedData5DisplayOnReceipt != null) + hash = hash * 59 + this.MerchantDefinedData5DisplayOnReceipt.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalPaymentInformation.cs b/Model/PaymentProductsVirtualTerminalPaymentInformation.cs new file mode 100644 index 00000000..77a16fef --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalPaymentInformation.cs @@ -0,0 +1,707 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation : IEquatable, IValidatableObject + { + + /// + /// Gets or Sets DisplayCardVerificationValue + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum DisplayCardVerificationValueEnum + { + + /// + /// Enum VISA for "VISA" + /// + [EnumMember(Value = "VISA")] + VISA, + + /// + /// Enum MASTERCARD for "MASTER_CARD" + /// + [EnumMember(Value = "MASTER_CARD")] + MASTERCARD, + + /// + /// Enum AMEX for "AMEX" + /// + [EnumMember(Value = "AMEX")] + AMEX, + + /// + /// Enum DISCOVER for "DISCOVER" + /// + [EnumMember(Value = "DISCOVER")] + DISCOVER, + + /// + /// Enum DINERSCLUB for "DINERS_CLUB" + /// + [EnumMember(Value = "DINERS_CLUB")] + DINERSCLUB, + + /// + /// Enum CARTEBLANCHE for "CARTE_BLANCHE" + /// + [EnumMember(Value = "CARTE_BLANCHE")] + CARTEBLANCHE, + + /// + /// Enum JCB for "JCB" + /// + [EnumMember(Value = "JCB")] + JCB, + + /// + /// Enum ENROUTE for "ENROUTE" + /// + [EnumMember(Value = "ENROUTE")] + ENROUTE, + + /// + /// Enum JAL for "JAL" + /// + [EnumMember(Value = "JAL")] + JAL, + + /// + /// Enum SWITCHSOLO for "SWITCH_SOLO" + /// + [EnumMember(Value = "SWITCH_SOLO")] + SWITCHSOLO, + + /// + /// Enum DELTA for "DELTA" + /// + [EnumMember(Value = "DELTA")] + DELTA, + + /// + /// Enum VISAELECTRON for "VISA_ELECTRON" + /// + [EnumMember(Value = "VISA_ELECTRON")] + VISAELECTRON, + + /// + /// Enum DANKORT for "DANKORT" + /// + [EnumMember(Value = "DANKORT")] + DANKORT, + + /// + /// Enum LASER for "LASER" + /// + [EnumMember(Value = "LASER")] + LASER, + + /// + /// Enum CARTESBANCAIRES for "CARTE_SBANCAIRES" + /// + [EnumMember(Value = "CARTE_SBANCAIRES")] + CARTESBANCAIRES, + + /// + /// Enum CARTASI for "CARTASI" + /// + [EnumMember(Value = "CARTASI")] + CARTASI, + + /// + /// Enum MAESTROINTERNATIONAL for "MAESTRO_INTERNATIONAL" + /// + [EnumMember(Value = "MAESTRO_INTERNATIONAL")] + MAESTROINTERNATIONAL, + + /// + /// Enum GEMONEYUKCARD for "GE_MONEY_UK_CARD" + /// + [EnumMember(Value = "GE_MONEY_UK_CARD")] + GEMONEYUKCARD, + + /// + /// Enum HIPERCARD for "HIPER_CARD" + /// + [EnumMember(Value = "HIPER_CARD")] + HIPERCARD, + + /// + /// Enum ELO for "ELO" + /// + [EnumMember(Value = "ELO")] + ELO + } + + + /// + /// Gets or Sets RequireCardVerificationValue + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum RequireCardVerificationValueEnum + { + + /// + /// Enum VISA for "VISA" + /// + [EnumMember(Value = "VISA")] + VISA, + + /// + /// Enum MASTERCARD for "MASTER_CARD" + /// + [EnumMember(Value = "MASTER_CARD")] + MASTERCARD, + + /// + /// Enum AMEX for "AMEX" + /// + [EnumMember(Value = "AMEX")] + AMEX, + + /// + /// Enum DISCOVER for "DISCOVER" + /// + [EnumMember(Value = "DISCOVER")] + DISCOVER, + + /// + /// Enum DINERSCLUB for "DINERS_CLUB" + /// + [EnumMember(Value = "DINERS_CLUB")] + DINERSCLUB, + + /// + /// Enum CARTEBLANCHE for "CARTE_BLANCHE" + /// + [EnumMember(Value = "CARTE_BLANCHE")] + CARTEBLANCHE, + + /// + /// Enum JCB for "JCB" + /// + [EnumMember(Value = "JCB")] + JCB, + + /// + /// Enum ENROUTE for "ENROUTE" + /// + [EnumMember(Value = "ENROUTE")] + ENROUTE, + + /// + /// Enum JAL for "JAL" + /// + [EnumMember(Value = "JAL")] + JAL, + + /// + /// Enum SWITCHSOLO for "SWITCH_SOLO" + /// + [EnumMember(Value = "SWITCH_SOLO")] + SWITCHSOLO, + + /// + /// Enum DELTA for "DELTA" + /// + [EnumMember(Value = "DELTA")] + DELTA, + + /// + /// Enum VISAELECTRON for "VISA_ELECTRON" + /// + [EnumMember(Value = "VISA_ELECTRON")] + VISAELECTRON, + + /// + /// Enum DANKORT for "DANKORT" + /// + [EnumMember(Value = "DANKORT")] + DANKORT, + + /// + /// Enum LASER for "LASER" + /// + [EnumMember(Value = "LASER")] + LASER, + + /// + /// Enum CARTESBANCAIRES for "CARTE_SBANCAIRES" + /// + [EnumMember(Value = "CARTE_SBANCAIRES")] + CARTESBANCAIRES, + + /// + /// Enum CARTASI for "CARTASI" + /// + [EnumMember(Value = "CARTASI")] + CARTASI, + + /// + /// Enum MAESTROINTERNATIONAL for "MAESTRO_INTERNATIONAL" + /// + [EnumMember(Value = "MAESTRO_INTERNATIONAL")] + MAESTROINTERNATIONAL, + + /// + /// Enum GEMONEYUKCARD for "GE_MONEY_UK_CARD" + /// + [EnumMember(Value = "GE_MONEY_UK_CARD")] + GEMONEYUKCARD, + + /// + /// Enum HIPERCARD for "HIPER_CARD" + /// + [EnumMember(Value = "HIPER_CARD")] + HIPERCARD, + + /// + /// Enum ELO for "ELO" + /// + [EnumMember(Value = "ELO")] + ELO + } + + + /// + /// Gets or Sets AcceptedCardTypes + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum AcceptedCardTypesEnum + { + + /// + /// Enum VISA for "VISA" + /// + [EnumMember(Value = "VISA")] + VISA, + + /// + /// Enum MASTERCARD for "MASTER_CARD" + /// + [EnumMember(Value = "MASTER_CARD")] + MASTERCARD, + + /// + /// Enum AMEX for "AMEX" + /// + [EnumMember(Value = "AMEX")] + AMEX, + + /// + /// Enum DISCOVER for "DISCOVER" + /// + [EnumMember(Value = "DISCOVER")] + DISCOVER, + + /// + /// Enum DINERSCLUB for "DINERS_CLUB" + /// + [EnumMember(Value = "DINERS_CLUB")] + DINERSCLUB, + + /// + /// Enum CARTEBLANCHE for "CARTE_BLANCHE" + /// + [EnumMember(Value = "CARTE_BLANCHE")] + CARTEBLANCHE, + + /// + /// Enum JCB for "JCB" + /// + [EnumMember(Value = "JCB")] + JCB, + + /// + /// Enum ENROUTE for "ENROUTE" + /// + [EnumMember(Value = "ENROUTE")] + ENROUTE, + + /// + /// Enum JAL for "JAL" + /// + [EnumMember(Value = "JAL")] + JAL, + + /// + /// Enum SWITCHSOLO for "SWITCH_SOLO" + /// + [EnumMember(Value = "SWITCH_SOLO")] + SWITCHSOLO, + + /// + /// Enum DELTA for "DELTA" + /// + [EnumMember(Value = "DELTA")] + DELTA, + + /// + /// Enum VISAELECTRON for "VISA_ELECTRON" + /// + [EnumMember(Value = "VISA_ELECTRON")] + VISAELECTRON, + + /// + /// Enum DANKORT for "DANKORT" + /// + [EnumMember(Value = "DANKORT")] + DANKORT, + + /// + /// Enum LASER for "LASER" + /// + [EnumMember(Value = "LASER")] + LASER, + + /// + /// Enum CARTESBANCAIRES for "CARTE_SBANCAIRES" + /// + [EnumMember(Value = "CARTE_SBANCAIRES")] + CARTESBANCAIRES, + + /// + /// Enum CARTASI for "CARTASI" + /// + [EnumMember(Value = "CARTASI")] + CARTASI, + + /// + /// Enum MAESTROINTERNATIONAL for "MAESTRO_INTERNATIONAL" + /// + [EnumMember(Value = "MAESTRO_INTERNATIONAL")] + MAESTROINTERNATIONAL, + + /// + /// Enum GEMONEYUKCARD for "GE_MONEY_UK_CARD" + /// + [EnumMember(Value = "GE_MONEY_UK_CARD")] + GEMONEYUKCARD, + + /// + /// Enum HIPERCARD for "HIPER_CARD" + /// + [EnumMember(Value = "HIPER_CARD")] + HIPERCARD, + + /// + /// Enum ELO for "ELO" + /// + [EnumMember(Value = "ELO")] + ELO + } + + /// + /// Gets or Sets DisplayCardVerificationValue + /// + [DataMember(Name="displayCardVerificationValue", EmitDefaultValue=false)] + public List DisplayCardVerificationValue { get; set; } + /// + /// Gets or Sets RequireCardVerificationValue + /// + [DataMember(Name="requireCardVerificationValue", EmitDefaultValue=false)] + public List RequireCardVerificationValue { get; set; } + /// + /// Gets or Sets AcceptedCardTypes + /// + [DataMember(Name="acceptedCardTypes", EmitDefaultValue=false)] + public List AcceptedCardTypes { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// DisplayCardVerificationValue. + /// RequireCardVerificationValue. + /// AcceptedCardTypes. + /// DisplayCreditCards. + /// DisplayEchecks. + /// DisplayDebtIndicator. + /// DisplayBillPayment. + /// EnableEchecks. + /// DisplayIgnoreECheckAvsCheckbox. + /// FirstNameRequired. + /// LastNameRequired. + /// DisplayFirstName. + /// DisplayLastName. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation(List DisplayCardVerificationValue = default(List), List RequireCardVerificationValue = default(List), List AcceptedCardTypes = default(List), bool? DisplayCreditCards = default(bool?), bool? DisplayEchecks = default(bool?), bool? DisplayDebtIndicator = default(bool?), bool? DisplayBillPayment = default(bool?), bool? EnableEchecks = default(bool?), bool? DisplayIgnoreECheckAvsCheckbox = default(bool?), bool? FirstNameRequired = default(bool?), bool? LastNameRequired = default(bool?), bool? DisplayFirstName = default(bool?), bool? DisplayLastName = default(bool?)) + { + this.DisplayCardVerificationValue = DisplayCardVerificationValue; + this.RequireCardVerificationValue = RequireCardVerificationValue; + this.AcceptedCardTypes = AcceptedCardTypes; + this.DisplayCreditCards = DisplayCreditCards; + this.DisplayEchecks = DisplayEchecks; + this.DisplayDebtIndicator = DisplayDebtIndicator; + this.DisplayBillPayment = DisplayBillPayment; + this.EnableEchecks = EnableEchecks; + this.DisplayIgnoreECheckAvsCheckbox = DisplayIgnoreECheckAvsCheckbox; + this.FirstNameRequired = FirstNameRequired; + this.LastNameRequired = LastNameRequired; + this.DisplayFirstName = DisplayFirstName; + this.DisplayLastName = DisplayLastName; + } + + + + + /// + /// Gets or Sets DisplayCreditCards + /// + [DataMember(Name="displayCreditCards", EmitDefaultValue=false)] + public bool? DisplayCreditCards { get; set; } + + /// + /// Gets or Sets DisplayEchecks + /// + [DataMember(Name="displayEchecks", EmitDefaultValue=false)] + public bool? DisplayEchecks { get; set; } + + /// + /// Gets or Sets DisplayDebtIndicator + /// + [DataMember(Name="displayDebtIndicator", EmitDefaultValue=false)] + public bool? DisplayDebtIndicator { get; set; } + + /// + /// Gets or Sets DisplayBillPayment + /// + [DataMember(Name="displayBillPayment", EmitDefaultValue=false)] + public bool? DisplayBillPayment { get; set; } + + /// + /// Gets or Sets EnableEchecks + /// + [DataMember(Name="enableEchecks", EmitDefaultValue=false)] + public bool? EnableEchecks { get; set; } + + /// + /// Gets or Sets DisplayIgnoreECheckAvsCheckbox + /// + [DataMember(Name="displayIgnoreECheckAvsCheckbox", EmitDefaultValue=false)] + public bool? DisplayIgnoreECheckAvsCheckbox { get; set; } + + /// + /// Gets or Sets FirstNameRequired + /// + [DataMember(Name="firstNameRequired", EmitDefaultValue=false)] + public bool? FirstNameRequired { get; set; } + + /// + /// Gets or Sets LastNameRequired + /// + [DataMember(Name="lastNameRequired", EmitDefaultValue=false)] + public bool? LastNameRequired { get; set; } + + /// + /// Gets or Sets DisplayFirstName + /// + [DataMember(Name="displayFirstName", EmitDefaultValue=false)] + public bool? DisplayFirstName { get; set; } + + /// + /// Gets or Sets DisplayLastName + /// + [DataMember(Name="displayLastName", EmitDefaultValue=false)] + public bool? DisplayLastName { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation {\n"); + sb.Append(" DisplayCardVerificationValue: ").Append(DisplayCardVerificationValue).Append("\n"); + sb.Append(" RequireCardVerificationValue: ").Append(RequireCardVerificationValue).Append("\n"); + sb.Append(" AcceptedCardTypes: ").Append(AcceptedCardTypes).Append("\n"); + sb.Append(" DisplayCreditCards: ").Append(DisplayCreditCards).Append("\n"); + sb.Append(" DisplayEchecks: ").Append(DisplayEchecks).Append("\n"); + sb.Append(" DisplayDebtIndicator: ").Append(DisplayDebtIndicator).Append("\n"); + sb.Append(" DisplayBillPayment: ").Append(DisplayBillPayment).Append("\n"); + sb.Append(" EnableEchecks: ").Append(EnableEchecks).Append("\n"); + sb.Append(" DisplayIgnoreECheckAvsCheckbox: ").Append(DisplayIgnoreECheckAvsCheckbox).Append("\n"); + sb.Append(" FirstNameRequired: ").Append(FirstNameRequired).Append("\n"); + sb.Append(" LastNameRequired: ").Append(LastNameRequired).Append("\n"); + sb.Append(" DisplayFirstName: ").Append(DisplayFirstName).Append("\n"); + sb.Append(" DisplayLastName: ").Append(DisplayLastName).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DisplayCardVerificationValue == other.DisplayCardVerificationValue || + this.DisplayCardVerificationValue != null && + this.DisplayCardVerificationValue.SequenceEqual(other.DisplayCardVerificationValue) + ) && + ( + this.RequireCardVerificationValue == other.RequireCardVerificationValue || + this.RequireCardVerificationValue != null && + this.RequireCardVerificationValue.SequenceEqual(other.RequireCardVerificationValue) + ) && + ( + this.AcceptedCardTypes == other.AcceptedCardTypes || + this.AcceptedCardTypes != null && + this.AcceptedCardTypes.SequenceEqual(other.AcceptedCardTypes) + ) && + ( + this.DisplayCreditCards == other.DisplayCreditCards || + this.DisplayCreditCards != null && + this.DisplayCreditCards.Equals(other.DisplayCreditCards) + ) && + ( + this.DisplayEchecks == other.DisplayEchecks || + this.DisplayEchecks != null && + this.DisplayEchecks.Equals(other.DisplayEchecks) + ) && + ( + this.DisplayDebtIndicator == other.DisplayDebtIndicator || + this.DisplayDebtIndicator != null && + this.DisplayDebtIndicator.Equals(other.DisplayDebtIndicator) + ) && + ( + this.DisplayBillPayment == other.DisplayBillPayment || + this.DisplayBillPayment != null && + this.DisplayBillPayment.Equals(other.DisplayBillPayment) + ) && + ( + this.EnableEchecks == other.EnableEchecks || + this.EnableEchecks != null && + this.EnableEchecks.Equals(other.EnableEchecks) + ) && + ( + this.DisplayIgnoreECheckAvsCheckbox == other.DisplayIgnoreECheckAvsCheckbox || + this.DisplayIgnoreECheckAvsCheckbox != null && + this.DisplayIgnoreECheckAvsCheckbox.Equals(other.DisplayIgnoreECheckAvsCheckbox) + ) && + ( + this.FirstNameRequired == other.FirstNameRequired || + this.FirstNameRequired != null && + this.FirstNameRequired.Equals(other.FirstNameRequired) + ) && + ( + this.LastNameRequired == other.LastNameRequired || + this.LastNameRequired != null && + this.LastNameRequired.Equals(other.LastNameRequired) + ) && + ( + this.DisplayFirstName == other.DisplayFirstName || + this.DisplayFirstName != null && + this.DisplayFirstName.Equals(other.DisplayFirstName) + ) && + ( + this.DisplayLastName == other.DisplayLastName || + this.DisplayLastName != null && + this.DisplayLastName.Equals(other.DisplayLastName) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DisplayCardVerificationValue != null) + hash = hash * 59 + this.DisplayCardVerificationValue.GetHashCode(); + if (this.RequireCardVerificationValue != null) + hash = hash * 59 + this.RequireCardVerificationValue.GetHashCode(); + if (this.AcceptedCardTypes != null) + hash = hash * 59 + this.AcceptedCardTypes.GetHashCode(); + if (this.DisplayCreditCards != null) + hash = hash * 59 + this.DisplayCreditCards.GetHashCode(); + if (this.DisplayEchecks != null) + hash = hash * 59 + this.DisplayEchecks.GetHashCode(); + if (this.DisplayDebtIndicator != null) + hash = hash * 59 + this.DisplayDebtIndicator.GetHashCode(); + if (this.DisplayBillPayment != null) + hash = hash * 59 + this.DisplayBillPayment.GetHashCode(); + if (this.EnableEchecks != null) + hash = hash * 59 + this.EnableEchecks.GetHashCode(); + if (this.DisplayIgnoreECheckAvsCheckbox != null) + hash = hash * 59 + this.DisplayIgnoreECheckAvsCheckbox.GetHashCode(); + if (this.FirstNameRequired != null) + hash = hash * 59 + this.FirstNameRequired.GetHashCode(); + if (this.LastNameRequired != null) + hash = hash * 59 + this.LastNameRequired.GetHashCode(); + if (this.DisplayFirstName != null) + hash = hash * 59 + this.DisplayFirstName.GetHashCode(); + if (this.DisplayLastName != null) + hash = hash * 59 + this.DisplayLastName.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.cs b/Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.cs new file mode 100644 index 00000000..dc7d6b5b --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.cs @@ -0,0 +1,298 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation : IEquatable, IValidatableObject + { + /// + /// Gets or Sets DefaultTransactionType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum DefaultTransactionTypeEnum + { + + /// + /// Enum AUTHORIZATION for "AUTHORIZATION" + /// + [EnumMember(Value = "AUTHORIZATION")] + AUTHORIZATION, + + /// + /// Enum SALE for "SALE" + /// + [EnumMember(Value = "SALE")] + SALE + } + + /// + /// Gets or Sets DefaultPaymentType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum DefaultPaymentTypeEnum + { + + /// + /// Enum CREDITCARD for "CREDIT_CARD" + /// + [EnumMember(Value = "CREDIT_CARD")] + CREDITCARD, + + /// + /// Enum ECHECK for "ECHECK" + /// + [EnumMember(Value = "ECHECK")] + ECHECK + } + + /// + /// Gets or Sets DefaultTransactionType + /// + [DataMember(Name="defaultTransactionType", EmitDefaultValue=false)] + public DefaultTransactionTypeEnum? DefaultTransactionType { get; set; } + /// + /// Gets or Sets DefaultPaymentType + /// + [DataMember(Name="defaultPaymentType", EmitDefaultValue=false)] + public DefaultPaymentTypeEnum? DefaultPaymentType { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// DefaultStandardEntryClassCode. + /// ISO 4217 format. + /// Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). + /// DefaultTransactionType. + /// DefaultPaymentType. + /// DefaultTransactionSource. + /// DisplayRetail. + /// DisplayMoto. + /// DisplayInternet. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation(string DefaultStandardEntryClassCode = default(string), string DefaultCountryCode = default(string), string DefaultCurrencyCode = default(string), DefaultTransactionTypeEnum? DefaultTransactionType = default(DefaultTransactionTypeEnum?), DefaultPaymentTypeEnum? DefaultPaymentType = default(DefaultPaymentTypeEnum?), string DefaultTransactionSource = default(string), bool? DisplayRetail = default(bool?), bool? DisplayMoto = default(bool?), bool? DisplayInternet = default(bool?)) + { + this.DefaultStandardEntryClassCode = DefaultStandardEntryClassCode; + this.DefaultCountryCode = DefaultCountryCode; + this.DefaultCurrencyCode = DefaultCurrencyCode; + this.DefaultTransactionType = DefaultTransactionType; + this.DefaultPaymentType = DefaultPaymentType; + this.DefaultTransactionSource = DefaultTransactionSource; + this.DisplayRetail = DisplayRetail; + this.DisplayMoto = DisplayMoto; + this.DisplayInternet = DisplayInternet; + } + + /// + /// Gets or Sets DefaultStandardEntryClassCode + /// + [DataMember(Name="defaultStandardEntryClassCode", EmitDefaultValue=false)] + public string DefaultStandardEntryClassCode { get; set; } + + /// + /// ISO 4217 format + /// + /// ISO 4217 format + [DataMember(Name="defaultCountryCode", EmitDefaultValue=false)] + public string DefaultCountryCode { get; set; } + + /// + /// Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + /// + /// Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + [DataMember(Name="defaultCurrencyCode", EmitDefaultValue=false)] + public string DefaultCurrencyCode { get; set; } + + + + /// + /// Gets or Sets DefaultTransactionSource + /// + [DataMember(Name="defaultTransactionSource", EmitDefaultValue=false)] + public string DefaultTransactionSource { get; set; } + + /// + /// Gets or Sets DisplayRetail + /// + [DataMember(Name="displayRetail", EmitDefaultValue=false)] + public bool? DisplayRetail { get; set; } + + /// + /// Gets or Sets DisplayMoto + /// + [DataMember(Name="displayMoto", EmitDefaultValue=false)] + public bool? DisplayMoto { get; set; } + + /// + /// Gets or Sets DisplayInternet + /// + [DataMember(Name="displayInternet", EmitDefaultValue=false)] + public bool? DisplayInternet { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation {\n"); + sb.Append(" DefaultStandardEntryClassCode: ").Append(DefaultStandardEntryClassCode).Append("\n"); + sb.Append(" DefaultCountryCode: ").Append(DefaultCountryCode).Append("\n"); + sb.Append(" DefaultCurrencyCode: ").Append(DefaultCurrencyCode).Append("\n"); + sb.Append(" DefaultTransactionType: ").Append(DefaultTransactionType).Append("\n"); + sb.Append(" DefaultPaymentType: ").Append(DefaultPaymentType).Append("\n"); + sb.Append(" DefaultTransactionSource: ").Append(DefaultTransactionSource).Append("\n"); + sb.Append(" DisplayRetail: ").Append(DisplayRetail).Append("\n"); + sb.Append(" DisplayMoto: ").Append(DisplayMoto).Append("\n"); + sb.Append(" DisplayInternet: ").Append(DisplayInternet).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.DefaultStandardEntryClassCode == other.DefaultStandardEntryClassCode || + this.DefaultStandardEntryClassCode != null && + this.DefaultStandardEntryClassCode.Equals(other.DefaultStandardEntryClassCode) + ) && + ( + this.DefaultCountryCode == other.DefaultCountryCode || + this.DefaultCountryCode != null && + this.DefaultCountryCode.Equals(other.DefaultCountryCode) + ) && + ( + this.DefaultCurrencyCode == other.DefaultCurrencyCode || + this.DefaultCurrencyCode != null && + this.DefaultCurrencyCode.Equals(other.DefaultCurrencyCode) + ) && + ( + this.DefaultTransactionType == other.DefaultTransactionType || + this.DefaultTransactionType != null && + this.DefaultTransactionType.Equals(other.DefaultTransactionType) + ) && + ( + this.DefaultPaymentType == other.DefaultPaymentType || + this.DefaultPaymentType != null && + this.DefaultPaymentType.Equals(other.DefaultPaymentType) + ) && + ( + this.DefaultTransactionSource == other.DefaultTransactionSource || + this.DefaultTransactionSource != null && + this.DefaultTransactionSource.Equals(other.DefaultTransactionSource) + ) && + ( + this.DisplayRetail == other.DisplayRetail || + this.DisplayRetail != null && + this.DisplayRetail.Equals(other.DisplayRetail) + ) && + ( + this.DisplayMoto == other.DisplayMoto || + this.DisplayMoto != null && + this.DisplayMoto.Equals(other.DisplayMoto) + ) && + ( + this.DisplayInternet == other.DisplayInternet || + this.DisplayInternet != null && + this.DisplayInternet.Equals(other.DisplayInternet) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DefaultStandardEntryClassCode != null) + hash = hash * 59 + this.DefaultStandardEntryClassCode.GetHashCode(); + if (this.DefaultCountryCode != null) + hash = hash * 59 + this.DefaultCountryCode.GetHashCode(); + if (this.DefaultCurrencyCode != null) + hash = hash * 59 + this.DefaultCurrencyCode.GetHashCode(); + if (this.DefaultTransactionType != null) + hash = hash * 59 + this.DefaultTransactionType.GetHashCode(); + if (this.DefaultPaymentType != null) + hash = hash * 59 + this.DefaultPaymentType.GetHashCode(); + if (this.DefaultTransactionSource != null) + hash = hash * 59 + this.DefaultTransactionSource.GetHashCode(); + if (this.DisplayRetail != null) + hash = hash * 59 + this.DisplayRetail.GetHashCode(); + if (this.DisplayMoto != null) + hash = hash * 59 + this.DisplayMoto.GetHashCode(); + if (this.DisplayInternet != null) + hash = hash * 59 + this.DisplayInternet.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.cs b/Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.cs new file mode 100644 index 00000000..0af70b68 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SendersEmailAddress. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt(string SendersEmailAddress = default(string)) + { + this.SendersEmailAddress = SendersEmailAddress; + } + + /// + /// Gets or Sets SendersEmailAddress + /// + [DataMember(Name="sendersEmailAddress", EmitDefaultValue=false)] + public string SendersEmailAddress { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt {\n"); + sb.Append(" SendersEmailAddress: ").Append(SendersEmailAddress).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SendersEmailAddress == other.SendersEmailAddress || + this.SendersEmailAddress != null && + this.SendersEmailAddress.Equals(other.SendersEmailAddress) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SendersEmailAddress != null) + hash = hash * 59 + this.SendersEmailAddress.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.cs b/Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.cs new file mode 100644 index 00000000..77e36f73 --- /dev/null +++ b/Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation + /// + [DataContract] + public partial class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// EmailAliasName. + /// CustomReplyToEmailAddress. + public PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation(string EmailAliasName = default(string), string CustomReplyToEmailAddress = default(string)) + { + this.EmailAliasName = EmailAliasName; + this.CustomReplyToEmailAddress = CustomReplyToEmailAddress; + } + + /// + /// Gets or Sets EmailAliasName + /// + [DataMember(Name="emailAliasName", EmitDefaultValue=false)] + public string EmailAliasName { get; set; } + + /// + /// Gets or Sets CustomReplyToEmailAddress + /// + [DataMember(Name="customReplyToEmailAddress", EmitDefaultValue=false)] + public string CustomReplyToEmailAddress { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation {\n"); + sb.Append(" EmailAliasName: ").Append(EmailAliasName).Append("\n"); + sb.Append(" CustomReplyToEmailAddress: ").Append(CustomReplyToEmailAddress).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation); + } + + /// + /// Returns true if PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation instances are equal + /// + /// Instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation to be compared + /// Boolean + public bool Equals(PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.EmailAliasName == other.EmailAliasName || + this.EmailAliasName != null && + this.EmailAliasName.Equals(other.EmailAliasName) + ) && + ( + this.CustomReplyToEmailAddress == other.CustomReplyToEmailAddress || + this.CustomReplyToEmailAddress != null && + this.CustomReplyToEmailAddress.Equals(other.CustomReplyToEmailAddress) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.EmailAliasName != null) + hash = hash * 59 + this.EmailAliasName.GetHashCode(); + if (this.CustomReplyToEmailAddress != null) + hash = hash * 59 + this.CustomReplyToEmailAddress.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PostRegistrationBody.cs b/Model/PostRegistrationBody.cs new file mode 100644 index 00000000..fb1a356b --- /dev/null +++ b/Model/PostRegistrationBody.cs @@ -0,0 +1,192 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PostRegistrationBody + /// + [DataContract] + public partial class PostRegistrationBody : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// RegistrationInformation. + /// IntegrationInformation. + /// OrganizationInformation. + /// ProductInformation. + /// DocumentInformation. + public PostRegistrationBody(Boardingv1registrationsRegistrationInformation RegistrationInformation = default(Boardingv1registrationsRegistrationInformation), Boardingv1registrationsIntegrationInformation IntegrationInformation = default(Boardingv1registrationsIntegrationInformation), Boardingv1registrationsOrganizationInformation OrganizationInformation = default(Boardingv1registrationsOrganizationInformation), Boardingv1registrationsProductInformation ProductInformation = default(Boardingv1registrationsProductInformation), Boardingv1registrationsDocumentInformation DocumentInformation = default(Boardingv1registrationsDocumentInformation)) + { + this.RegistrationInformation = RegistrationInformation; + this.IntegrationInformation = IntegrationInformation; + this.OrganizationInformation = OrganizationInformation; + this.ProductInformation = ProductInformation; + this.DocumentInformation = DocumentInformation; + } + + /// + /// Gets or Sets RegistrationInformation + /// + [DataMember(Name="registrationInformation", EmitDefaultValue=false)] + public Boardingv1registrationsRegistrationInformation RegistrationInformation { get; set; } + + /// + /// Gets or Sets IntegrationInformation + /// + [DataMember(Name="integrationInformation", EmitDefaultValue=false)] + public Boardingv1registrationsIntegrationInformation IntegrationInformation { get; set; } + + /// + /// Gets or Sets OrganizationInformation + /// + [DataMember(Name="organizationInformation", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformation OrganizationInformation { get; set; } + + /// + /// Gets or Sets ProductInformation + /// + [DataMember(Name="productInformation", EmitDefaultValue=false)] + public Boardingv1registrationsProductInformation ProductInformation { get; set; } + + /// + /// Gets or Sets DocumentInformation + /// + [DataMember(Name="documentInformation", EmitDefaultValue=false)] + public Boardingv1registrationsDocumentInformation DocumentInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PostRegistrationBody {\n"); + sb.Append(" RegistrationInformation: ").Append(RegistrationInformation).Append("\n"); + sb.Append(" IntegrationInformation: ").Append(IntegrationInformation).Append("\n"); + sb.Append(" OrganizationInformation: ").Append(OrganizationInformation).Append("\n"); + sb.Append(" ProductInformation: ").Append(ProductInformation).Append("\n"); + sb.Append(" DocumentInformation: ").Append(DocumentInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PostRegistrationBody); + } + + /// + /// Returns true if PostRegistrationBody instances are equal + /// + /// Instance of PostRegistrationBody to be compared + /// Boolean + public bool Equals(PostRegistrationBody other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.RegistrationInformation == other.RegistrationInformation || + this.RegistrationInformation != null && + this.RegistrationInformation.Equals(other.RegistrationInformation) + ) && + ( + this.IntegrationInformation == other.IntegrationInformation || + this.IntegrationInformation != null && + this.IntegrationInformation.Equals(other.IntegrationInformation) + ) && + ( + this.OrganizationInformation == other.OrganizationInformation || + this.OrganizationInformation != null && + this.OrganizationInformation.Equals(other.OrganizationInformation) + ) && + ( + this.ProductInformation == other.ProductInformation || + this.ProductInformation != null && + this.ProductInformation.Equals(other.ProductInformation) + ) && + ( + this.DocumentInformation == other.DocumentInformation || + this.DocumentInformation != null && + this.DocumentInformation.Equals(other.DocumentInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.RegistrationInformation != null) + hash = hash * 59 + this.RegistrationInformation.GetHashCode(); + if (this.IntegrationInformation != null) + hash = hash * 59 + this.IntegrationInformation.GetHashCode(); + if (this.OrganizationInformation != null) + hash = hash * 59 + this.OrganizationInformation.GetHashCode(); + if (this.ProductInformation != null) + hash = hash * 59 + this.ProductInformation.GetHashCode(); + if (this.DocumentInformation != null) + hash = hash * 59 + this.DocumentInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PtsV2PaymentsPost201ResponseIssuerInformation.cs b/Model/PtsV2PaymentsPost201ResponseIssuerInformation.cs index 7f37cba2..3513fb75 100644 --- a/Model/PtsV2PaymentsPost201ResponseIssuerInformation.cs +++ b/Model/PtsV2PaymentsPost201ResponseIssuerInformation.cs @@ -37,12 +37,14 @@ public partial class PtsV2PaymentsPost201ResponseIssuerInformation : IEquatable /// Data defined by the issuer. The value for this reply field will probably be the same as the value that you submitted in the authorization request, but it is possible for the processor, issuer, or acquirer to modify the value. This field is supported only for Visa transactions on **CyberSource through VisaNet**. For details, see `issuer_additional_data` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Data defined by the issuer. This national use field contains two subfields for information unique to the processing of Visa transactions by members in Japan. This subfield contains the Katakana text to be printed on the receipt. For details, see `jpo_issuer_message` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Additional authorization code that must be printed on the receipt when returned by the processor. This value is generated by the processor and is returned only for a successful transaction. This reply field is supported only for these processors: - FDC Nashville Global - SIX . - public PtsV2PaymentsPost201ResponseIssuerInformation(string Country = default(string), string DiscretionaryData = default(string), string CountrySpecificDiscretionaryData = default(string), string ResponseCode = default(string)) + /// This field contains value ‘1’ which is sent by Issuer in the response when PIN is requested by issuer, This field is only supported for Visa Platform Connect. . + public PtsV2PaymentsPost201ResponseIssuerInformation(string Country = default(string), string DiscretionaryData = default(string), string CountrySpecificDiscretionaryData = default(string), string ResponseCode = default(string), string PinRequestIndicator = default(string)) { this.Country = Country; this.DiscretionaryData = DiscretionaryData; this.CountrySpecificDiscretionaryData = CountrySpecificDiscretionaryData; this.ResponseCode = ResponseCode; + this.PinRequestIndicator = PinRequestIndicator; } /// @@ -73,6 +75,13 @@ public partial class PtsV2PaymentsPost201ResponseIssuerInformation : IEquatable [DataMember(Name="responseCode", EmitDefaultValue=false)] public string ResponseCode { get; set; } + /// + /// This field contains value ‘1’ which is sent by Issuer in the response when PIN is requested by issuer, This field is only supported for Visa Platform Connect. + /// + /// This field contains value ‘1’ which is sent by Issuer in the response when PIN is requested by issuer, This field is only supported for Visa Platform Connect. + [DataMember(Name="pinRequestIndicator", EmitDefaultValue=false)] + public string PinRequestIndicator { get; set; } + /// /// Returns the string presentation of the object /// @@ -85,6 +94,7 @@ public override string ToString() sb.Append(" DiscretionaryData: ").Append(DiscretionaryData).Append("\n"); sb.Append(" CountrySpecificDiscretionaryData: ").Append(CountrySpecificDiscretionaryData).Append("\n"); sb.Append(" ResponseCode: ").Append(ResponseCode).Append("\n"); + sb.Append(" PinRequestIndicator: ").Append(PinRequestIndicator).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -140,6 +150,11 @@ public bool Equals(PtsV2PaymentsPost201ResponseIssuerInformation other) this.ResponseCode == other.ResponseCode || this.ResponseCode != null && this.ResponseCode.Equals(other.ResponseCode) + ) && + ( + this.PinRequestIndicator == other.PinRequestIndicator || + this.PinRequestIndicator != null && + this.PinRequestIndicator.Equals(other.PinRequestIndicator) ); } @@ -162,6 +177,8 @@ public override int GetHashCode() hash = hash * 59 + this.CountrySpecificDiscretionaryData.GetHashCode(); if (this.ResponseCode != null) hash = hash * 59 + this.ResponseCode.GetHashCode(); + if (this.PinRequestIndicator != null) + hash = hash * 59 + this.PinRequestIndicator.GetHashCode(); return hash; } } diff --git a/Model/PtsV2PaymentsReversalsPost201Response.cs b/Model/PtsV2PaymentsReversalsPost201Response.cs index 2f86d3f9..fc19b302 100644 --- a/Model/PtsV2PaymentsReversalsPost201Response.cs +++ b/Model/PtsV2PaymentsReversalsPost201Response.cs @@ -36,7 +36,7 @@ public partial class PtsV2PaymentsReversalsPost201Response : IEquatableLinks. /// An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. . /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. . - /// The status of the submitted transaction. Possible values: - REVERSED . + /// The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED . /// Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. . /// ClientReferenceInformation. /// ReversalAmountDetails. @@ -80,9 +80,9 @@ public partial class PtsV2PaymentsReversalsPost201Response : IEquatable - /// The status of the submitted transaction. Possible values: - REVERSED + /// The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED /// - /// The status of the submitted transaction. Possible values: - REVERSED + /// The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED [DataMember(Name="status", EmitDefaultValue=false)] public string Status { get; set; } diff --git a/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.cs b/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.cs index ee3b06c1..a9e04741 100644 --- a/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.cs +++ b/Model/Ptsv2billingagreementsPaymentInformationTokenizedCard.cs @@ -37,7 +37,7 @@ public partial class Ptsv2billingagreementsPaymentInformationTokenizedCard : IE /// One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . /// One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . /// Customer’s payment network token value. . - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. . /// Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International . public Ptsv2billingagreementsPaymentInformationTokenizedCard(string Cryptogram = default(string), string ExpirationMonth = default(string), string ExpirationYear = default(string), string Number = default(string), string TransactionType = default(string), string Type = default(string)) { @@ -78,9 +78,9 @@ public partial class Ptsv2billingagreementsPaymentInformationTokenizedCard : IE public string Number { get; set; } /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. [DataMember(Name="transactionType", EmitDefaultValue=false)] public string TransactionType { get; set; } diff --git a/Model/Ptsv2paymentsConsumerAuthenticationInformation.cs b/Model/Ptsv2paymentsConsumerAuthenticationInformation.cs index 59ec4ca3..958fc10d 100644 --- a/Model/Ptsv2paymentsConsumerAuthenticationInformation.cs +++ b/Model/Ptsv2paymentsConsumerAuthenticationInformation.cs @@ -34,6 +34,7 @@ public partial class Ptsv2paymentsConsumerAuthenticationInformation : IEquatabl /// Initializes a new instance of the class. /// /// Cardholder authentication verification value (CAVV).. + /// This field details out the type of transaction. Below are the possible values. 08:GC- Guest Checkout. . /// Algorithm used to generate the CAVV for Visa Secure or the UCAF authentication data for Mastercard Identity Check. . /// Raw electronic commerce indicator (ECI). For details, see `eci_raw` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Payer authentication response status. For details, see `pares_status` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . @@ -89,9 +90,10 @@ public partial class Ptsv2paymentsConsumerAuthenticationInformation : IEquatabl /// This field describes the type of 3DS transaction flow that took place. It can be one of three possible flows; CH - Challenge FR - Frictionless FD - Frictionless with delegation, (challenge not generated by the issuer but by the scheme on behalf of the issuer). . /// Provides additional information as to why the PAResStatus has a specific value. . /// Payer authentication result (PARes) message returned by the card-issuing bank. If you need to show proof of enrollment checking, you may need to decrypt and parse the string for the information required by the payment card company. For more information, see \"Storing Payer Authentication Data,\" page 160. Important The value is in base64. You must remove all carriage returns and line feeds before adding the PARes to the request. . - public Ptsv2paymentsConsumerAuthenticationInformation(string Cavv = default(string), string CavvAlgorithm = default(string), string EciRaw = default(string), string ParesStatus = default(string), string VeresEnrolled = default(string), string Xid = default(string), string UcafCollectionIndicator = default(string), string UcafAuthenticationData = default(string), Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication StrongAuthentication = default(Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication), string DirectoryServerTransactionId = default(string), string PaSpecificationVersion = default(string), string AuthenticationType = default(string), string ResponseAccessToken = default(string), string AcsTransactionId = default(string), string AcsWindowSize = default(string), string AlternateAuthenticationData = default(string), string AlternateAuthenticationDate = default(string), string AlternateAuthenticationMethod = default(string), string AuthenticationDate = default(string), string AuthenticationTransactionId = default(string), string ChallengeCancelCode = default(string), string ChallengeCode = default(string), string ChallengeStatus = default(string), string CustomerCardAlias = default(string), string DecoupledAuthenticationIndicator = default(string), string DecoupledAuthenticationMaxTime = default(string), bool? DefaultCard = default(bool?), string DeviceChannel = default(string), int? InstallmentTotalCount = default(int?), string MerchantFraudRate = default(string), bool? MarketingOptIn = default(bool?), string MarketingSource = default(string), string Mcc = default(string), int? MerchantScore = default(int?), string MessageCategory = default(string), string NetworkScore = default(string), string NpaCode = default(string), string OverridePaymentMethod = default(string), string OverrideCountryCode = default(string), string PriorAuthenticationData = default(string), string PriorAuthenticationMethod = default(string), string PriorAuthenticationReferenceId = default(string), string PriorAuthenticationTime = default(string), string ProductCode = default(string), string ReturnUrl = default(string), string RequestorId = default(string), string RequestorInitiatedAuthenticationIndicator = default(string), string RequestorName = default(string), string ReferenceId = default(string), string SdkMaxTimeout = default(string), string SecureCorporatePaymentIndicator = default(string), string TransactionMode = default(string), string WhiteListStatus = default(string), string EffectiveAuthenticationType = default(string), string SignedParesStatusReason = default(string), string SignedPares = default(string)) + public Ptsv2paymentsConsumerAuthenticationInformation(string Cavv = default(string), string TransactionFlowIndicator = default(string), string CavvAlgorithm = default(string), string EciRaw = default(string), string ParesStatus = default(string), string VeresEnrolled = default(string), string Xid = default(string), string UcafCollectionIndicator = default(string), string UcafAuthenticationData = default(string), Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication StrongAuthentication = default(Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication), string DirectoryServerTransactionId = default(string), string PaSpecificationVersion = default(string), string AuthenticationType = default(string), string ResponseAccessToken = default(string), string AcsTransactionId = default(string), string AcsWindowSize = default(string), string AlternateAuthenticationData = default(string), string AlternateAuthenticationDate = default(string), string AlternateAuthenticationMethod = default(string), string AuthenticationDate = default(string), string AuthenticationTransactionId = default(string), string ChallengeCancelCode = default(string), string ChallengeCode = default(string), string ChallengeStatus = default(string), string CustomerCardAlias = default(string), string DecoupledAuthenticationIndicator = default(string), string DecoupledAuthenticationMaxTime = default(string), bool? DefaultCard = default(bool?), string DeviceChannel = default(string), int? InstallmentTotalCount = default(int?), string MerchantFraudRate = default(string), bool? MarketingOptIn = default(bool?), string MarketingSource = default(string), string Mcc = default(string), int? MerchantScore = default(int?), string MessageCategory = default(string), string NetworkScore = default(string), string NpaCode = default(string), string OverridePaymentMethod = default(string), string OverrideCountryCode = default(string), string PriorAuthenticationData = default(string), string PriorAuthenticationMethod = default(string), string PriorAuthenticationReferenceId = default(string), string PriorAuthenticationTime = default(string), string ProductCode = default(string), string ReturnUrl = default(string), string RequestorId = default(string), string RequestorInitiatedAuthenticationIndicator = default(string), string RequestorName = default(string), string ReferenceId = default(string), string SdkMaxTimeout = default(string), string SecureCorporatePaymentIndicator = default(string), string TransactionMode = default(string), string WhiteListStatus = default(string), string EffectiveAuthenticationType = default(string), string SignedParesStatusReason = default(string), string SignedPares = default(string)) { this.Cavv = Cavv; + this.TransactionFlowIndicator = TransactionFlowIndicator; this.CavvAlgorithm = CavvAlgorithm; this.EciRaw = EciRaw; this.ParesStatus = ParesStatus; @@ -156,6 +158,13 @@ public partial class Ptsv2paymentsConsumerAuthenticationInformation : IEquatabl [DataMember(Name="cavv", EmitDefaultValue=false)] public string Cavv { get; set; } + /// + /// This field details out the type of transaction. Below are the possible values. 08:GC- Guest Checkout. + /// + /// This field details out the type of transaction. Below are the possible values. 08:GC- Guest Checkout. + [DataMember(Name="transactionFlowIndicator", EmitDefaultValue=false)] + public string TransactionFlowIndicator { get; set; } + /// /// Algorithm used to generate the CAVV for Visa Secure or the UCAF authentication data for Mastercard Identity Check. /// @@ -549,6 +558,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class Ptsv2paymentsConsumerAuthenticationInformation {\n"); sb.Append(" Cavv: ").Append(Cavv).Append("\n"); + sb.Append(" TransactionFlowIndicator: ").Append(TransactionFlowIndicator).Append("\n"); sb.Append(" CavvAlgorithm: ").Append(CavvAlgorithm).Append("\n"); sb.Append(" EciRaw: ").Append(EciRaw).Append("\n"); sb.Append(" ParesStatus: ").Append(ParesStatus).Append("\n"); @@ -645,6 +655,11 @@ public bool Equals(Ptsv2paymentsConsumerAuthenticationInformation other) this.Cavv != null && this.Cavv.Equals(other.Cavv) ) && + ( + this.TransactionFlowIndicator == other.TransactionFlowIndicator || + this.TransactionFlowIndicator != null && + this.TransactionFlowIndicator.Equals(other.TransactionFlowIndicator) + ) && ( this.CavvAlgorithm == other.CavvAlgorithm || this.CavvAlgorithm != null && @@ -935,6 +950,8 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.Cavv != null) hash = hash * 59 + this.Cavv.GetHashCode(); + if (this.TransactionFlowIndicator != null) + hash = hash * 59 + this.TransactionFlowIndicator.GetHashCode(); if (this.CavvAlgorithm != null) hash = hash * 59 + this.CavvAlgorithm.GetHashCode(); if (this.EciRaw != null) diff --git a/Model/Ptsv2paymentsMerchantDefinedSecureInformation.cs b/Model/Ptsv2paymentsMerchantDefinedSecureInformation.cs new file mode 100644 index 00000000..06bfb735 --- /dev/null +++ b/Model/Ptsv2paymentsMerchantDefinedSecureInformation.cs @@ -0,0 +1,180 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// The object containing the secure data that the merchant defines. + /// + [DataContract] + public partial class Ptsv2paymentsMerchantDefinedSecureInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The value you assign for your merchant-secure data field 1. . + /// The value you assign for your merchant-secure data field 2. . + /// The value you assign for your merchant-secure data field 3. . + /// The value you assign for your merchant-secure data field 4. . + public Ptsv2paymentsMerchantDefinedSecureInformation(string Secure1 = default(string), string Secure2 = default(string), string Secure3 = default(string), string Secure4 = default(string)) + { + this.Secure1 = Secure1; + this.Secure2 = Secure2; + this.Secure3 = Secure3; + this.Secure4 = Secure4; + } + + /// + /// The value you assign for your merchant-secure data field 1. + /// + /// The value you assign for your merchant-secure data field 1. + [DataMember(Name="secure1", EmitDefaultValue=false)] + public string Secure1 { get; set; } + + /// + /// The value you assign for your merchant-secure data field 2. + /// + /// The value you assign for your merchant-secure data field 2. + [DataMember(Name="secure2", EmitDefaultValue=false)] + public string Secure2 { get; set; } + + /// + /// The value you assign for your merchant-secure data field 3. + /// + /// The value you assign for your merchant-secure data field 3. + [DataMember(Name="secure3", EmitDefaultValue=false)] + public string Secure3 { get; set; } + + /// + /// The value you assign for your merchant-secure data field 4. + /// + /// The value you assign for your merchant-secure data field 4. + [DataMember(Name="secure4", EmitDefaultValue=false)] + public string Secure4 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Ptsv2paymentsMerchantDefinedSecureInformation {\n"); + sb.Append(" Secure1: ").Append(Secure1).Append("\n"); + sb.Append(" Secure2: ").Append(Secure2).Append("\n"); + sb.Append(" Secure3: ").Append(Secure3).Append("\n"); + sb.Append(" Secure4: ").Append(Secure4).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Ptsv2paymentsMerchantDefinedSecureInformation); + } + + /// + /// Returns true if Ptsv2paymentsMerchantDefinedSecureInformation instances are equal + /// + /// Instance of Ptsv2paymentsMerchantDefinedSecureInformation to be compared + /// Boolean + public bool Equals(Ptsv2paymentsMerchantDefinedSecureInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Secure1 == other.Secure1 || + this.Secure1 != null && + this.Secure1.Equals(other.Secure1) + ) && + ( + this.Secure2 == other.Secure2 || + this.Secure2 != null && + this.Secure2.Equals(other.Secure2) + ) && + ( + this.Secure3 == other.Secure3 || + this.Secure3 != null && + this.Secure3.Equals(other.Secure3) + ) && + ( + this.Secure4 == other.Secure4 || + this.Secure4 != null && + this.Secure4.Equals(other.Secure4) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Secure1 != null) + hash = hash * 59 + this.Secure1.GetHashCode(); + if (this.Secure2 != null) + hash = hash * 59 + this.Secure2.GetHashCode(); + if (this.Secure3 != null) + hash = hash * 59 + this.Secure3.GetHashCode(); + if (this.Secure4 != null) + hash = hash * 59 + this.Secure4.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs b/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs index fbba2d57..452af060 100644 --- a/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs +++ b/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs @@ -39,7 +39,7 @@ public partial class Ptsv2paymentsPaymentInformationTokenizedCard : IEquatable< /// Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International . /// This field contains token information.. /// Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. . /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. . /// Type of technology used in the device to store token data. Possible values: - `001`: Secure Element (SE). Smart card or memory with restricted access and encryption to prevent data tampering. For storing payment credentials, a SE is tested against a set of requirements defined by the payment networks. **Note** This field is supported only for _FDC Compass_. - 002: Host Card Emulation (HCE). Emulation of a smart card by using software to create a virtual and exact representation of the card. Sensitive data is stored in a database that is hosted in the cloud. For storing payment credentials, a database must meet very stringent security requirements that exceed PCI DSS. **Note** This field is supported only for _FDC Compass_. . /// Card Verification Number (CVN). #### Ingenico ePayments Do not include this field when **commerceIndicator=recurring**. **Note** Ingenico ePayments was previously called _Global Collect_. For details, see `customer_cc_cv_number` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . @@ -104,9 +104,9 @@ public partial class Ptsv2paymentsPaymentInformationTokenizedCard : IEquatable< public string RequestorId { get; set; } /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. [DataMember(Name="transactionType", EmitDefaultValue=false)] public string TransactionType { get; set; } diff --git a/Model/Ptsv2paymentsProcessingInformation.cs b/Model/Ptsv2paymentsProcessingInformation.cs index c170d9ef..cf39a64e 100644 --- a/Model/Ptsv2paymentsProcessingInformation.cs +++ b/Model/Ptsv2paymentsProcessingInformation.cs @@ -65,7 +65,8 @@ public partial class Ptsv2paymentsProcessingInformation : IEquatableOn PIN Debit Gateways: This U.S.-only field is optionally used by participants (merchants and acquirers) to specify the network access priority. VisaNet checks to determine if there are issuer routing preferences for any of the networks specified by the sharing group code. If an issuer preference exists for one of the specified debit networks, VisaNet makes a routing selection based on the issuer’s preference. If an issuer preference exists for more than one of the specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on the acquirer’s routing priorities. #### PIN debit Priority order of the networks through which he transaction will be routed. Set this value to a series of one-character network codes in your preferred order. This is a list of the network codes: | Network | Code | | - -- | - -- | | Accel | E | | AFFN | U | | Alaska Option | 3 | | CU24 | C | | Interlink | G | | Maestro | 8 | | NETS | P | | NYCE | F | | Pulse | H | | Shazam | 7 | | Star | M | | Visa | V | For example, if the Star network is your first preference and Pulse is your second preference, set this field to a value of `MH`. When you do not include this value in your PIN debit request, the list of network codes from your account is used. **Note** This field is supported only for businesses located in the U.S. Optional field for PIN debit credit or PIN debit purchase. . /// Flag that indicates if the transaction is pay by points transaction true: Transaction uses loyalty points false: Transaction does not use loyalty points Default: false . /// Flag that indicates the functionality we are having for merchants for which auth is done through Cybersource but settlement is done by themselves. true: functionality is supported. Processor should send raw processor auth response to Merchant. false: functionality is not supported. Default: false . - public Ptsv2paymentsProcessingInformation(List ActionList = default(List), bool? EnableEscrowOption = default(bool?), List ActionTokenTypes = default(List), string BinSource = default(string), bool? Capture = false, string ProcessorId = default(string), string BusinessApplicationId = default(string), string CommerceIndicator = default(string), string CommerceIndicatorLabel = default(string), string PaymentSolution = default(string), string ReconciliationId = default(string), string LinkId = default(string), string PurchaseLevel = default(string), string PaymentId = default(string), string ReportGroup = default(string), string VisaCheckoutId = default(string), string IndustryDataType = default(string), Ptsv2paymentsProcessingInformationAuthorizationOptions AuthorizationOptions = default(Ptsv2paymentsProcessingInformationAuthorizationOptions), Ptsv2paymentsProcessingInformationCaptureOptions CaptureOptions = default(Ptsv2paymentsProcessingInformationCaptureOptions), Ptsv2paymentsProcessingInformationRecurringOptions RecurringOptions = default(Ptsv2paymentsProcessingInformationRecurringOptions), Ptsv2paymentsProcessingInformationBankTransferOptions BankTransferOptions = default(Ptsv2paymentsProcessingInformationBankTransferOptions), Ptsv2paymentsProcessingInformationPurchaseOptions PurchaseOptions = default(Ptsv2paymentsProcessingInformationPurchaseOptions), Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer ElectronicBenefitsTransfer = default(Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer), Ptsv2paymentsProcessingInformationLoanOptions LoanOptions = default(Ptsv2paymentsProcessingInformationLoanOptions), string WalletType = default(string), string NationalNetDomesticData = default(string), Ptsv2paymentsProcessingInformationJapanPaymentOptions JapanPaymentOptions = default(Ptsv2paymentsProcessingInformationJapanPaymentOptions), string MobileRemotePaymentType = default(string), string ExtendedCreditTotalCount = default(string), string NetworkRoutingOrder = default(string), bool? PayByPointsIndicator = default(bool?), bool? IsReturnAuthRecordEnabled = default(bool?)) + /// Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction. This field is supported for Visa Platform Connect. . + public Ptsv2paymentsProcessingInformation(List ActionList = default(List), bool? EnableEscrowOption = default(bool?), List ActionTokenTypes = default(List), string BinSource = default(string), bool? Capture = false, string ProcessorId = default(string), string BusinessApplicationId = default(string), string CommerceIndicator = default(string), string CommerceIndicatorLabel = default(string), string PaymentSolution = default(string), string ReconciliationId = default(string), string LinkId = default(string), string PurchaseLevel = default(string), string PaymentId = default(string), string ReportGroup = default(string), string VisaCheckoutId = default(string), string IndustryDataType = default(string), Ptsv2paymentsProcessingInformationAuthorizationOptions AuthorizationOptions = default(Ptsv2paymentsProcessingInformationAuthorizationOptions), Ptsv2paymentsProcessingInformationCaptureOptions CaptureOptions = default(Ptsv2paymentsProcessingInformationCaptureOptions), Ptsv2paymentsProcessingInformationRecurringOptions RecurringOptions = default(Ptsv2paymentsProcessingInformationRecurringOptions), Ptsv2paymentsProcessingInformationBankTransferOptions BankTransferOptions = default(Ptsv2paymentsProcessingInformationBankTransferOptions), Ptsv2paymentsProcessingInformationPurchaseOptions PurchaseOptions = default(Ptsv2paymentsProcessingInformationPurchaseOptions), Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer ElectronicBenefitsTransfer = default(Ptsv2paymentsProcessingInformationElectronicBenefitsTransfer), Ptsv2paymentsProcessingInformationLoanOptions LoanOptions = default(Ptsv2paymentsProcessingInformationLoanOptions), string WalletType = default(string), string NationalNetDomesticData = default(string), Ptsv2paymentsProcessingInformationJapanPaymentOptions JapanPaymentOptions = default(Ptsv2paymentsProcessingInformationJapanPaymentOptions), string MobileRemotePaymentType = default(string), string ExtendedCreditTotalCount = default(string), string NetworkRoutingOrder = default(string), bool? PayByPointsIndicator = default(bool?), bool? IsReturnAuthRecordEnabled = default(bool?), string NetworkPartnerId = default(string)) { this.ActionList = ActionList; this.EnableEscrowOption = EnableEscrowOption; @@ -107,6 +108,7 @@ public partial class Ptsv2paymentsProcessingInformation : IEquatable @@ -325,6 +327,13 @@ public partial class Ptsv2paymentsProcessingInformation : IEquatable + /// Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction. This field is supported for Visa Platform Connect. + /// + /// Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction. This field is supported for Visa Platform Connect. + [DataMember(Name="networkPartnerId", EmitDefaultValue=false)] + public string NetworkPartnerId { get; set; } + /// /// Returns the string presentation of the object /// @@ -365,6 +374,7 @@ public override string ToString() sb.Append(" NetworkRoutingOrder: ").Append(NetworkRoutingOrder).Append("\n"); sb.Append(" PayByPointsIndicator: ").Append(PayByPointsIndicator).Append("\n"); sb.Append(" IsReturnAuthRecordEnabled: ").Append(IsReturnAuthRecordEnabled).Append("\n"); + sb.Append(" NetworkPartnerId: ").Append(NetworkPartnerId).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -560,6 +570,11 @@ public bool Equals(Ptsv2paymentsProcessingInformation other) this.IsReturnAuthRecordEnabled == other.IsReturnAuthRecordEnabled || this.IsReturnAuthRecordEnabled != null && this.IsReturnAuthRecordEnabled.Equals(other.IsReturnAuthRecordEnabled) + ) && + ( + this.NetworkPartnerId == other.NetworkPartnerId || + this.NetworkPartnerId != null && + this.NetworkPartnerId.Equals(other.NetworkPartnerId) ); } @@ -638,6 +653,8 @@ public override int GetHashCode() hash = hash * 59 + this.PayByPointsIndicator.GetHashCode(); if (this.IsReturnAuthRecordEnabled != null) hash = hash * 59 + this.IsReturnAuthRecordEnabled.GetHashCode(); + if (this.NetworkPartnerId != null) + hash = hash * 59 + this.NetworkPartnerId.GetHashCode(); return hash; } } diff --git a/Model/Ptsv2paymentsTravelInformation.cs b/Model/Ptsv2paymentsTravelInformation.cs index bec4a55d..3357153d 100644 --- a/Model/Ptsv2paymentsTravelInformation.cs +++ b/Model/Ptsv2paymentsTravelInformation.cs @@ -38,13 +38,15 @@ public partial class Ptsv2paymentsTravelInformation : IEquatableAutoRental. /// Lodging. /// Transit. - public Ptsv2paymentsTravelInformation(string Duration = default(string), Ptsv2paymentsTravelInformationAgency Agency = default(Ptsv2paymentsTravelInformationAgency), Ptsv2paymentsTravelInformationAutoRental AutoRental = default(Ptsv2paymentsTravelInformationAutoRental), Ptsv2paymentsTravelInformationLodging Lodging = default(Ptsv2paymentsTravelInformationLodging), Ptsv2paymentsTravelInformationTransit Transit = default(Ptsv2paymentsTravelInformationTransit)) + /// VehicleData. + public Ptsv2paymentsTravelInformation(string Duration = default(string), Ptsv2paymentsTravelInformationAgency Agency = default(Ptsv2paymentsTravelInformationAgency), Ptsv2paymentsTravelInformationAutoRental AutoRental = default(Ptsv2paymentsTravelInformationAutoRental), Ptsv2paymentsTravelInformationLodging Lodging = default(Ptsv2paymentsTravelInformationLodging), Ptsv2paymentsTravelInformationTransit Transit = default(Ptsv2paymentsTravelInformationTransit), Ptsv2paymentsTravelInformationVehicleData VehicleData = default(Ptsv2paymentsTravelInformationVehicleData)) { this.Duration = Duration; this.Agency = Agency; this.AutoRental = AutoRental; this.Lodging = Lodging; this.Transit = Transit; + this.VehicleData = VehicleData; } /// @@ -78,6 +80,12 @@ public partial class Ptsv2paymentsTravelInformation : IEquatable + /// Gets or Sets VehicleData + /// + [DataMember(Name="vehicleData", EmitDefaultValue=false)] + public Ptsv2paymentsTravelInformationVehicleData VehicleData { get; set; } + /// /// Returns the string presentation of the object /// @@ -91,6 +99,7 @@ public override string ToString() sb.Append(" AutoRental: ").Append(AutoRental).Append("\n"); sb.Append(" Lodging: ").Append(Lodging).Append("\n"); sb.Append(" Transit: ").Append(Transit).Append("\n"); + sb.Append(" VehicleData: ").Append(VehicleData).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -151,6 +160,11 @@ public bool Equals(Ptsv2paymentsTravelInformation other) this.Transit == other.Transit || this.Transit != null && this.Transit.Equals(other.Transit) + ) && + ( + this.VehicleData == other.VehicleData || + this.VehicleData != null && + this.VehicleData.Equals(other.VehicleData) ); } @@ -175,6 +189,8 @@ public override int GetHashCode() hash = hash * 59 + this.Lodging.GetHashCode(); if (this.Transit != null) hash = hash * 59 + this.Transit.GetHashCode(); + if (this.VehicleData != null) + hash = hash * 59 + this.VehicleData.GetHashCode(); return hash; } } diff --git a/Model/Ptsv2paymentsTravelInformationVehicleData.cs b/Model/Ptsv2paymentsTravelInformationVehicleData.cs new file mode 100644 index 00000000..c28f7cf9 --- /dev/null +++ b/Model/Ptsv2paymentsTravelInformationVehicleData.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Ptsv2paymentsTravelInformationVehicleData + /// + [DataContract] + public partial class Ptsv2paymentsTravelInformationVehicleData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// This field will contain connector type values for electric vehicle transactions. Possible Values: 001 (AC - J1772 Type 1) 002 (AC - Mennekes - Type 2) 003 (AC - GB/T) 100 (DC - CCS1) 101 (DC - CHAdeMO) 102 (DC - CCS2) 103 (DC - GB/T) 200 (NACS – Tesla) . + /// This field will contain charging reason code values for electric vehicle transactions. Possible Values: 010 (Other Error) 011 (Connector Lock Failure) 012 (EV Communication Error) 013 (Ground Failure) 014 (High Temperature) 015 (Internal Error) 016 (Over Current Failure) 017 (Over Voltage) 018 (Power Meter Failure) 019 (Power Switch Failure) 020 (Reader Failure) 021 (Reset Failure) 022 (Under Voltage) 023 (Weak Signal) 100 (No Error) 200 (Payment Related Error) . + public Ptsv2paymentsTravelInformationVehicleData(string ConnectorType = default(string), string ChargingReasonCode = default(string)) + { + this.ConnectorType = ConnectorType; + this.ChargingReasonCode = ChargingReasonCode; + } + + /// + /// This field will contain connector type values for electric vehicle transactions. Possible Values: 001 (AC - J1772 Type 1) 002 (AC - Mennekes - Type 2) 003 (AC - GB/T) 100 (DC - CCS1) 101 (DC - CHAdeMO) 102 (DC - CCS2) 103 (DC - GB/T) 200 (NACS – Tesla) + /// + /// This field will contain connector type values for electric vehicle transactions. Possible Values: 001 (AC - J1772 Type 1) 002 (AC - Mennekes - Type 2) 003 (AC - GB/T) 100 (DC - CCS1) 101 (DC - CHAdeMO) 102 (DC - CCS2) 103 (DC - GB/T) 200 (NACS – Tesla) + [DataMember(Name="connectorType", EmitDefaultValue=false)] + public string ConnectorType { get; set; } + + /// + /// This field will contain charging reason code values for electric vehicle transactions. Possible Values: 010 (Other Error) 011 (Connector Lock Failure) 012 (EV Communication Error) 013 (Ground Failure) 014 (High Temperature) 015 (Internal Error) 016 (Over Current Failure) 017 (Over Voltage) 018 (Power Meter Failure) 019 (Power Switch Failure) 020 (Reader Failure) 021 (Reset Failure) 022 (Under Voltage) 023 (Weak Signal) 100 (No Error) 200 (Payment Related Error) + /// + /// This field will contain charging reason code values for electric vehicle transactions. Possible Values: 010 (Other Error) 011 (Connector Lock Failure) 012 (EV Communication Error) 013 (Ground Failure) 014 (High Temperature) 015 (Internal Error) 016 (Over Current Failure) 017 (Over Voltage) 018 (Power Meter Failure) 019 (Power Switch Failure) 020 (Reader Failure) 021 (Reset Failure) 022 (Under Voltage) 023 (Weak Signal) 100 (No Error) 200 (Payment Related Error) + [DataMember(Name="chargingReasonCode", EmitDefaultValue=false)] + public string ChargingReasonCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Ptsv2paymentsTravelInformationVehicleData {\n"); + sb.Append(" ConnectorType: ").Append(ConnectorType).Append("\n"); + sb.Append(" ChargingReasonCode: ").Append(ChargingReasonCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Ptsv2paymentsTravelInformationVehicleData); + } + + /// + /// Returns true if Ptsv2paymentsTravelInformationVehicleData instances are equal + /// + /// Instance of Ptsv2paymentsTravelInformationVehicleData to be compared + /// Boolean + public bool Equals(Ptsv2paymentsTravelInformationVehicleData other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ConnectorType == other.ConnectorType || + this.ConnectorType != null && + this.ConnectorType.Equals(other.ConnectorType) + ) && + ( + this.ChargingReasonCode == other.ChargingReasonCode || + this.ChargingReasonCode != null && + this.ChargingReasonCode.Equals(other.ChargingReasonCode) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ConnectorType != null) + hash = hash * 59 + this.ConnectorType.GetHashCode(); + if (this.ChargingReasonCode != null) + hash = hash * 59 + this.ChargingReasonCode.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.cs b/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.cs index eb262703..eeb415ad 100644 --- a/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.cs +++ b/Model/Ptsv2payoutsMerchantInformationMerchantDescriptor.cs @@ -39,7 +39,8 @@ public partial class Ptsv2payoutsMerchantInformationMerchantDescriptor : IEquat /// The state where the merchant is located. #### PIN debit State code or region code for your business. Use the Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) This value might be displayed on the cardholder’s statement. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. Optional field for PIN debit credit or PIN debit purchase. . /// Merchant's postal code. #### PIN debit Postal code for your business location. This value might be displayed on the cardholder’s statement. If your business is domiciled in the U.S., you can use a 5-digit or 9-digit postal code. A 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example: `12345-6789` If your business is domiciled in Canada, you can use a 6-digit or 9-digit postal code. A 6-digit postal code must follow this format: [alpha][numeric][alpha][space] [numeric][alpha][numeric] Example: `A1B 2C3` When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. **Important** Mastercard requires a postal code for any country that uses postal codes. You can provide the postal code in your account or you can include this field in your request. Optional field for PIN debit credit or PIN debit purchase. . /// For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_contact` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)- -> Contact information for the merchant. **Note** These are the maximum data lengths for the following payment processors: - FDCCompass (13) - Paymentech (13) . - public Ptsv2payoutsMerchantInformationMerchantDescriptor(string Name = default(string), string Locality = default(string), string Country = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string Contact = default(string)) + /// First line of merchant's address. For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_street` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . + public Ptsv2payoutsMerchantInformationMerchantDescriptor(string Name = default(string), string Locality = default(string), string Country = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string Contact = default(string), string Address1 = default(string)) { this.Name = Name; this.Locality = Locality; @@ -47,6 +48,7 @@ public partial class Ptsv2payoutsMerchantInformationMerchantDescriptor : IEquat this.AdministrativeArea = AdministrativeArea; this.PostalCode = PostalCode; this.Contact = Contact; + this.Address1 = Address1; } /// @@ -91,6 +93,13 @@ public partial class Ptsv2payoutsMerchantInformationMerchantDescriptor : IEquat [DataMember(Name="contact", EmitDefaultValue=false)] public string Contact { get; set; } + /// + /// First line of merchant's address. For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_street` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + /// + /// First line of merchant's address. For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_street` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) + [DataMember(Name="address1", EmitDefaultValue=false)] + public string Address1 { get; set; } + /// /// Returns the string presentation of the object /// @@ -105,6 +114,7 @@ public override string ToString() sb.Append(" AdministrativeArea: ").Append(AdministrativeArea).Append("\n"); sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); sb.Append(" Contact: ").Append(Contact).Append("\n"); + sb.Append(" Address1: ").Append(Address1).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -170,6 +180,11 @@ public bool Equals(Ptsv2payoutsMerchantInformationMerchantDescriptor other) this.Contact == other.Contact || this.Contact != null && this.Contact.Equals(other.Contact) + ) && + ( + this.Address1 == other.Address1 || + this.Address1 != null && + this.Address1.Equals(other.Address1) ); } @@ -196,6 +211,8 @@ public override int GetHashCode() hash = hash * 59 + this.PostalCode.GetHashCode(); if (this.Contact != null) hash = hash * 59 + this.Contact.GetHashCode(); + if (this.Address1 != null) + hash = hash * 59 + this.Address1.GetHashCode(); return hash; } } diff --git a/Model/ReplayWebhooks.cs b/Model/ReplayWebhooks.cs new file mode 100644 index 00000000..a6918aae --- /dev/null +++ b/Model/ReplayWebhooks.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// ReplayWebhooks + /// + [DataContract] + public partial class ReplayWebhooks : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ByTransactionTraceIdentifiers. + /// ByDeliveryStatus. + public ReplayWebhooks(List ByTransactionTraceIdentifiers = default(List), Nrtfv1webhookswebhookIdreplaysByDeliveryStatus ByDeliveryStatus = default(Nrtfv1webhookswebhookIdreplaysByDeliveryStatus)) + { + this.ByTransactionTraceIdentifiers = ByTransactionTraceIdentifiers; + this.ByDeliveryStatus = ByDeliveryStatus; + } + + /// + /// Gets or Sets ByTransactionTraceIdentifiers + /// + [DataMember(Name="byTransactionTraceIdentifiers", EmitDefaultValue=false)] + public List ByTransactionTraceIdentifiers { get; set; } + + /// + /// Gets or Sets ByDeliveryStatus + /// + [DataMember(Name="byDeliveryStatus", EmitDefaultValue=false)] + public Nrtfv1webhookswebhookIdreplaysByDeliveryStatus ByDeliveryStatus { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ReplayWebhooks {\n"); + sb.Append(" ByTransactionTraceIdentifiers: ").Append(ByTransactionTraceIdentifiers).Append("\n"); + sb.Append(" ByDeliveryStatus: ").Append(ByDeliveryStatus).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as ReplayWebhooks); + } + + /// + /// Returns true if ReplayWebhooks instances are equal + /// + /// Instance of ReplayWebhooks to be compared + /// Boolean + public bool Equals(ReplayWebhooks other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ByTransactionTraceIdentifiers == other.ByTransactionTraceIdentifiers || + this.ByTransactionTraceIdentifiers != null && + this.ByTransactionTraceIdentifiers.SequenceEqual(other.ByTransactionTraceIdentifiers) + ) && + ( + this.ByDeliveryStatus == other.ByDeliveryStatus || + this.ByDeliveryStatus != null && + this.ByDeliveryStatus.Equals(other.ByDeliveryStatus) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ByTransactionTraceIdentifiers != null) + hash = hash * 59 + this.ByTransactionTraceIdentifiers.GetHashCode(); + if (this.ByDeliveryStatus != null) + hash = hash * 59 + this.ByDeliveryStatus.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/ReportingV3PurchaseRefundDetailsGet200Response.cs b/Model/ReportingV3PurchaseRefundDetailsGet200Response.cs index ae1874a1..978c50e3 100644 --- a/Model/ReportingV3PurchaseRefundDetailsGet200Response.cs +++ b/Model/ReportingV3PurchaseRefundDetailsGet200Response.cs @@ -25,7 +25,7 @@ namespace CyberSource.Model { /// - /// ReportingV3PurchaseRefundDetailsGet200Response + /// PurchaseAndRefundDetails /// [DataContract] public partial class ReportingV3PurchaseRefundDetailsGet200Response : IEquatable, IValidatableObject diff --git a/Model/RiskProducts.cs b/Model/RiskProducts.cs new file mode 100644 index 00000000..96558217 --- /dev/null +++ b/Model/RiskProducts.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProducts + /// + [DataContract] + public partial class RiskProducts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// FraudManagementEssentials. + /// DecisionManager. + public RiskProducts(RiskProductsFraudManagementEssentials FraudManagementEssentials = default(RiskProductsFraudManagementEssentials), RiskProductsDecisionManager DecisionManager = default(RiskProductsDecisionManager)) + { + this.FraudManagementEssentials = FraudManagementEssentials; + this.DecisionManager = DecisionManager; + } + + /// + /// Gets or Sets FraudManagementEssentials + /// + [DataMember(Name="fraudManagementEssentials", EmitDefaultValue=false)] + public RiskProductsFraudManagementEssentials FraudManagementEssentials { get; set; } + + /// + /// Gets or Sets DecisionManager + /// + [DataMember(Name="decisionManager", EmitDefaultValue=false)] + public RiskProductsDecisionManager DecisionManager { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProducts {\n"); + sb.Append(" FraudManagementEssentials: ").Append(FraudManagementEssentials).Append("\n"); + sb.Append(" DecisionManager: ").Append(DecisionManager).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProducts); + } + + /// + /// Returns true if RiskProducts instances are equal + /// + /// Instance of RiskProducts to be compared + /// Boolean + public bool Equals(RiskProducts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.FraudManagementEssentials == other.FraudManagementEssentials || + this.FraudManagementEssentials != null && + this.FraudManagementEssentials.Equals(other.FraudManagementEssentials) + ) && + ( + this.DecisionManager == other.DecisionManager || + this.DecisionManager != null && + this.DecisionManager.Equals(other.DecisionManager) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.FraudManagementEssentials != null) + hash = hash * 59 + this.FraudManagementEssentials.GetHashCode(); + if (this.DecisionManager != null) + hash = hash * 59 + this.DecisionManager.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManager.cs b/Model/RiskProductsDecisionManager.cs new file mode 100644 index 00000000..ce5b3e3f --- /dev/null +++ b/Model/RiskProductsDecisionManager.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManager + /// + [DataContract] + public partial class RiskProductsDecisionManager : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public RiskProductsDecisionManager(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), RiskProductsDecisionManagerConfigurationInformation ConfigurationInformation = default(RiskProductsDecisionManagerConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManager {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManager); + } + + /// + /// Returns true if RiskProductsDecisionManager instances are equal + /// + /// Instance of RiskProductsDecisionManager to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManager other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformation.cs b/Model/RiskProductsDecisionManagerConfigurationInformation.cs new file mode 100644 index 00000000..b3c831e4 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformation.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformation + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + /// Configurations. + public RiskProductsDecisionManagerConfigurationInformation(Guid? TemplateId = default(Guid?), RiskProductsDecisionManagerConfigurationInformationConfigurations Configurations = default(RiskProductsDecisionManagerConfigurationInformationConfigurations)) + { + this.TemplateId = TemplateId; + this.Configurations = Configurations; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Gets or Sets Configurations + /// + [DataMember(Name="configurations", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurations Configurations { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append(" Configurations: ").Append(Configurations).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformation); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformation instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformation to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ) && + ( + this.Configurations == other.Configurations || + this.Configurations != null && + this.Configurations.Equals(other.Configurations) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + if (this.Configurations != null) + hash = hash * 59 + this.Configurations.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurations.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurations.cs new file mode 100644 index 00000000..06d373ae --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurations.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurations + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurations : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ProcessingOptions. + /// Organization. + /// PortfolioControls. + /// Thirdparty. + public RiskProductsDecisionManagerConfigurationInformationConfigurations(RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions ProcessingOptions = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions), RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization Organization = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization), RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls PortfolioControls = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty Thirdparty = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty)) + { + this.ProcessingOptions = ProcessingOptions; + this.Organization = Organization; + this.PortfolioControls = PortfolioControls; + this.Thirdparty = Thirdparty; + } + + /// + /// Gets or Sets ProcessingOptions + /// + [DataMember(Name="processingOptions", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions ProcessingOptions { get; set; } + + /// + /// Gets or Sets Organization + /// + [DataMember(Name="organization", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization Organization { get; set; } + + /// + /// Gets or Sets PortfolioControls + /// + [DataMember(Name="portfolioControls", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls PortfolioControls { get; set; } + + /// + /// Gets or Sets Thirdparty + /// + [DataMember(Name="thirdparty", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty Thirdparty { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurations {\n"); + sb.Append(" ProcessingOptions: ").Append(ProcessingOptions).Append("\n"); + sb.Append(" Organization: ").Append(Organization).Append("\n"); + sb.Append(" PortfolioControls: ").Append(PortfolioControls).Append("\n"); + sb.Append(" Thirdparty: ").Append(Thirdparty).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurations); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurations instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurations to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurations other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ProcessingOptions == other.ProcessingOptions || + this.ProcessingOptions != null && + this.ProcessingOptions.Equals(other.ProcessingOptions) + ) && + ( + this.Organization == other.Organization || + this.Organization != null && + this.Organization.Equals(other.Organization) + ) && + ( + this.PortfolioControls == other.PortfolioControls || + this.PortfolioControls != null && + this.PortfolioControls.Equals(other.PortfolioControls) + ) && + ( + this.Thirdparty == other.Thirdparty || + this.Thirdparty != null && + this.Thirdparty.Equals(other.Thirdparty) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ProcessingOptions != null) + hash = hash * 59 + this.ProcessingOptions.GetHashCode(); + if (this.Organization != null) + hash = hash * 59 + this.Organization.GetHashCode(); + if (this.PortfolioControls != null) + hash = hash * 59 + this.PortfolioControls.GetHashCode(); + if (this.Thirdparty != null) + hash = hash * 59 + this.Thirdparty.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.cs new file mode 100644 index 00000000..cc90e9f9 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.cs @@ -0,0 +1,129 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Must be one of the following : NO_GROUP, INCLUDE_IN_PARENTS_GROUP . + public RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization(string HierarchyGroup = default(string)) + { + this.HierarchyGroup = HierarchyGroup; + } + + /// + /// Must be one of the following : NO_GROUP, INCLUDE_IN_PARENTS_GROUP + /// + /// Must be one of the following : NO_GROUP, INCLUDE_IN_PARENTS_GROUP + [DataMember(Name="hierarchyGroup", EmitDefaultValue=false)] + public string HierarchyGroup { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization {\n"); + sb.Append(" HierarchyGroup: ").Append(HierarchyGroup).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.HierarchyGroup == other.HierarchyGroup || + this.HierarchyGroup != null && + this.HierarchyGroup.Equals(other.HierarchyGroup) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.HierarchyGroup != null) + hash = hash * 59 + this.HierarchyGroup.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.cs new file mode 100644 index 00000000..30f0382d --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// HideRiskMenus. + /// HideRiskTransactionData. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls(bool? HideRiskMenus = default(bool?), bool? HideRiskTransactionData = default(bool?)) + { + this.HideRiskMenus = HideRiskMenus; + this.HideRiskTransactionData = HideRiskTransactionData; + } + + /// + /// Gets or Sets HideRiskMenus + /// + [DataMember(Name="hideRiskMenus", EmitDefaultValue=false)] + public bool? HideRiskMenus { get; set; } + + /// + /// Gets or Sets HideRiskTransactionData + /// + [DataMember(Name="hideRiskTransactionData", EmitDefaultValue=false)] + public bool? HideRiskTransactionData { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls {\n"); + sb.Append(" HideRiskMenus: ").Append(HideRiskMenus).Append("\n"); + sb.Append(" HideRiskTransactionData: ").Append(HideRiskTransactionData).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.HideRiskMenus == other.HideRiskMenus || + this.HideRiskMenus != null && + this.HideRiskMenus.Equals(other.HideRiskMenus) + ) && + ( + this.HideRiskTransactionData == other.HideRiskTransactionData || + this.HideRiskTransactionData != null && + this.HideRiskTransactionData.Equals(other.HideRiskTransactionData) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.HideRiskMenus != null) + hash = hash * 59 + this.HideRiskMenus.GetHashCode(); + if (this.HideRiskTransactionData != null) + hash = hash * 59 + this.HideRiskTransactionData.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.cs new file mode 100644 index 00000000..e0d959a6 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// StepUpAuthEnabled. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions(bool? StepUpAuthEnabled = default(bool?)) + { + this.StepUpAuthEnabled = StepUpAuthEnabled; + } + + /// + /// Gets or Sets StepUpAuthEnabled + /// + [DataMember(Name="stepUpAuthEnabled", EmitDefaultValue=false)] + public bool? StepUpAuthEnabled { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions {\n"); + sb.Append(" StepUpAuthEnabled: ").Append(StepUpAuthEnabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.StepUpAuthEnabled == other.StepUpAuthEnabled || + this.StepUpAuthEnabled != null && + this.StepUpAuthEnabled.Equals(other.StepUpAuthEnabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.StepUpAuthEnabled != null) + hash = hash * 59 + this.StepUpAuthEnabled.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.cs new file mode 100644 index 00000000..fed45154 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Provider. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider Provider = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider)) + { + this.Provider = Provider; + } + + /// + /// Gets or Sets Provider + /// + [DataMember(Name="provider", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider Provider { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty {\n"); + sb.Append(" Provider: ").Append(Provider).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Provider == other.Provider || + this.Provider != null && + this.Provider.Equals(other.Provider) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Provider != null) + hash = hash * 59 + this.Provider.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.cs new file mode 100644 index 00000000..9b77db8d --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.cs @@ -0,0 +1,224 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Accurint. + /// Credilink. + /// Ekata. + /// Emailage. + /// Perseuss. + /// Signifyd. + /// Targus. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint Accurint = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink Credilink = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata Ekata = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage Emailage = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss Perseuss = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd Signifyd = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus Targus = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus)) + { + this.Accurint = Accurint; + this.Credilink = Credilink; + this.Ekata = Ekata; + this.Emailage = Emailage; + this.Perseuss = Perseuss; + this.Signifyd = Signifyd; + this.Targus = Targus; + } + + /// + /// Gets or Sets Accurint + /// + [DataMember(Name="accurint", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint Accurint { get; set; } + + /// + /// Gets or Sets Credilink + /// + [DataMember(Name="credilink", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink Credilink { get; set; } + + /// + /// Gets or Sets Ekata + /// + [DataMember(Name="ekata", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata Ekata { get; set; } + + /// + /// Gets or Sets Emailage + /// + [DataMember(Name="emailage", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage Emailage { get; set; } + + /// + /// Gets or Sets Perseuss + /// + [DataMember(Name="perseuss", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss Perseuss { get; set; } + + /// + /// Gets or Sets Signifyd + /// + [DataMember(Name="signifyd", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd Signifyd { get; set; } + + /// + /// Gets or Sets Targus + /// + [DataMember(Name="targus", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus Targus { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider {\n"); + sb.Append(" Accurint: ").Append(Accurint).Append("\n"); + sb.Append(" Credilink: ").Append(Credilink).Append("\n"); + sb.Append(" Ekata: ").Append(Ekata).Append("\n"); + sb.Append(" Emailage: ").Append(Emailage).Append("\n"); + sb.Append(" Perseuss: ").Append(Perseuss).Append("\n"); + sb.Append(" Signifyd: ").Append(Signifyd).Append("\n"); + sb.Append(" Targus: ").Append(Targus).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Accurint == other.Accurint || + this.Accurint != null && + this.Accurint.Equals(other.Accurint) + ) && + ( + this.Credilink == other.Credilink || + this.Credilink != null && + this.Credilink.Equals(other.Credilink) + ) && + ( + this.Ekata == other.Ekata || + this.Ekata != null && + this.Ekata.Equals(other.Ekata) + ) && + ( + this.Emailage == other.Emailage || + this.Emailage != null && + this.Emailage.Equals(other.Emailage) + ) && + ( + this.Perseuss == other.Perseuss || + this.Perseuss != null && + this.Perseuss.Equals(other.Perseuss) + ) && + ( + this.Signifyd == other.Signifyd || + this.Signifyd != null && + this.Signifyd.Equals(other.Signifyd) + ) && + ( + this.Targus == other.Targus || + this.Targus != null && + this.Targus.Equals(other.Targus) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Accurint != null) + hash = hash * 59 + this.Accurint.GetHashCode(); + if (this.Credilink != null) + hash = hash * 59 + this.Credilink.GetHashCode(); + if (this.Ekata != null) + hash = hash * 59 + this.Ekata.GetHashCode(); + if (this.Emailage != null) + hash = hash * 59 + this.Emailage.GetHashCode(); + if (this.Perseuss != null) + hash = hash * 59 + this.Perseuss.GetHashCode(); + if (this.Signifyd != null) + hash = hash * 59 + this.Signifyd.GetHashCode(); + if (this.Targus != null) + hash = hash * 59 + this.Targus.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.cs new file mode 100644 index 00000000..7ea60ccc --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Credentials. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint(bool? Enabled = default(bool?), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials Credentials = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials)) + { + this.Enabled = Enabled; + this.Credentials = Credentials; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets Credentials + /// + [DataMember(Name="credentials", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials Credentials { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Credentials: ").Append(Credentials).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Credentials == other.Credentials || + this.Credentials != null && + this.Credentials.Equals(other.Credentials) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.Credentials != null) + hash = hash * 59 + this.Credentials.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.cs new file mode 100644 index 00000000..e9b7df4b --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Username. + /// Password. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials(string Username = default(string), string Password = default(string)) + { + this.Username = Username; + this.Password = Password; + } + + /// + /// Gets or Sets Username + /// + [DataMember(Name="username", EmitDefaultValue=false)] + public string Username { get; set; } + + /// + /// Gets or Sets Password + /// + [DataMember(Name="password", EmitDefaultValue=false)] + public string Password { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials {\n"); + sb.Append(" Username: ").Append(Username).Append("\n"); + sb.Append(" Password: ").Append(Password).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Username == other.Username || + this.Username != null && + this.Username.Equals(other.Username) + ) && + ( + this.Password == other.Password || + this.Password != null && + this.Password.Equals(other.Password) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Username != null) + hash = hash * 59 + this.Username.GetHashCode(); + if (this.Password != null) + hash = hash * 59 + this.Password.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.cs new file mode 100644 index 00000000..e38edb1f --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// EnableRealTime. + /// UseCybsCredentials. + /// Credentials. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink(bool? Enabled = default(bool?), bool? EnableRealTime = default(bool?), bool? UseCybsCredentials = default(bool?), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials Credentials = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials)) + { + this.Enabled = Enabled; + this.EnableRealTime = EnableRealTime; + this.UseCybsCredentials = UseCybsCredentials; + this.Credentials = Credentials; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets EnableRealTime + /// + [DataMember(Name="enableRealTime", EmitDefaultValue=false)] + public bool? EnableRealTime { get; set; } + + /// + /// Gets or Sets UseCybsCredentials + /// + [DataMember(Name="useCybsCredentials", EmitDefaultValue=false)] + public bool? UseCybsCredentials { get; set; } + + /// + /// Gets or Sets Credentials + /// + [DataMember(Name="credentials", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials Credentials { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" EnableRealTime: ").Append(EnableRealTime).Append("\n"); + sb.Append(" UseCybsCredentials: ").Append(UseCybsCredentials).Append("\n"); + sb.Append(" Credentials: ").Append(Credentials).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.EnableRealTime == other.EnableRealTime || + this.EnableRealTime != null && + this.EnableRealTime.Equals(other.EnableRealTime) + ) && + ( + this.UseCybsCredentials == other.UseCybsCredentials || + this.UseCybsCredentials != null && + this.UseCybsCredentials.Equals(other.UseCybsCredentials) + ) && + ( + this.Credentials == other.Credentials || + this.Credentials != null && + this.Credentials.Equals(other.Credentials) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.EnableRealTime != null) + hash = hash * 59 + this.EnableRealTime.GetHashCode(); + if (this.UseCybsCredentials != null) + hash = hash * 59 + this.UseCybsCredentials.GetHashCode(); + if (this.Credentials != null) + hash = hash * 59 + this.Credentials.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.cs new file mode 100644 index 00000000..cdfe6276 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Username. + /// Password. + /// Sigla. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials(string Username = default(string), string Password = default(string), string Sigla = default(string)) + { + this.Username = Username; + this.Password = Password; + this.Sigla = Sigla; + } + + /// + /// Gets or Sets Username + /// + [DataMember(Name="username", EmitDefaultValue=false)] + public string Username { get; set; } + + /// + /// Gets or Sets Password + /// + [DataMember(Name="password", EmitDefaultValue=false)] + public string Password { get; set; } + + /// + /// Gets or Sets Sigla + /// + [DataMember(Name="sigla", EmitDefaultValue=false)] + public string Sigla { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials {\n"); + sb.Append(" Username: ").Append(Username).Append("\n"); + sb.Append(" Password: ").Append(Password).Append("\n"); + sb.Append(" Sigla: ").Append(Sigla).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Username == other.Username || + this.Username != null && + this.Username.Equals(other.Username) + ) && + ( + this.Password == other.Password || + this.Password != null && + this.Password.Equals(other.Password) + ) && + ( + this.Sigla == other.Sigla || + this.Sigla != null && + this.Sigla.Equals(other.Sigla) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Username != null) + hash = hash * 59 + this.Username.GetHashCode(); + if (this.Password != null) + hash = hash * 59 + this.Password.GetHashCode(); + if (this.Sigla != null) + hash = hash * 59 + this.Sigla.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.cs new file mode 100644 index 00000000..fb5d5ecd --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// EnableRealTime. + /// UseCybsCredentials. + /// Credentials. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata(bool? Enabled = default(bool?), bool? EnableRealTime = default(bool?), bool? UseCybsCredentials = default(bool?), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials Credentials = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials)) + { + this.Enabled = Enabled; + this.EnableRealTime = EnableRealTime; + this.UseCybsCredentials = UseCybsCredentials; + this.Credentials = Credentials; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets EnableRealTime + /// + [DataMember(Name="enableRealTime", EmitDefaultValue=false)] + public bool? EnableRealTime { get; set; } + + /// + /// Gets or Sets UseCybsCredentials + /// + [DataMember(Name="useCybsCredentials", EmitDefaultValue=false)] + public bool? UseCybsCredentials { get; set; } + + /// + /// Gets or Sets Credentials + /// + [DataMember(Name="credentials", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials Credentials { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" EnableRealTime: ").Append(EnableRealTime).Append("\n"); + sb.Append(" UseCybsCredentials: ").Append(UseCybsCredentials).Append("\n"); + sb.Append(" Credentials: ").Append(Credentials).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.EnableRealTime == other.EnableRealTime || + this.EnableRealTime != null && + this.EnableRealTime.Equals(other.EnableRealTime) + ) && + ( + this.UseCybsCredentials == other.UseCybsCredentials || + this.UseCybsCredentials != null && + this.UseCybsCredentials.Equals(other.UseCybsCredentials) + ) && + ( + this.Credentials == other.Credentials || + this.Credentials != null && + this.Credentials.Equals(other.Credentials) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.EnableRealTime != null) + hash = hash * 59 + this.EnableRealTime.GetHashCode(); + if (this.UseCybsCredentials != null) + hash = hash * 59 + this.UseCybsCredentials.GetHashCode(); + if (this.Credentials != null) + hash = hash * 59 + this.Credentials.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.cs new file mode 100644 index 00000000..e23f731a --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ApiKey. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials(string ApiKey = default(string)) + { + this.ApiKey = ApiKey; + } + + /// + /// Gets or Sets ApiKey + /// + [DataMember(Name="apiKey", EmitDefaultValue=false)] + public string ApiKey { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials {\n"); + sb.Append(" ApiKey: ").Append(ApiKey).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ApiKey == other.ApiKey || + this.ApiKey != null && + this.ApiKey.Equals(other.ApiKey) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ApiKey != null) + hash = hash * 59 + this.ApiKey.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.cs new file mode 100644 index 00000000..409a46ca --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// EnableRealTime. + /// UseCybsCredentials. + /// Credentials. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage(bool? Enabled = default(bool?), bool? EnableRealTime = default(bool?), bool? UseCybsCredentials = default(bool?), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials Credentials = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials)) + { + this.Enabled = Enabled; + this.EnableRealTime = EnableRealTime; + this.UseCybsCredentials = UseCybsCredentials; + this.Credentials = Credentials; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets EnableRealTime + /// + [DataMember(Name="enableRealTime", EmitDefaultValue=false)] + public bool? EnableRealTime { get; set; } + + /// + /// Gets or Sets UseCybsCredentials + /// + [DataMember(Name="useCybsCredentials", EmitDefaultValue=false)] + public bool? UseCybsCredentials { get; set; } + + /// + /// Gets or Sets Credentials + /// + [DataMember(Name="credentials", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials Credentials { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" EnableRealTime: ").Append(EnableRealTime).Append("\n"); + sb.Append(" UseCybsCredentials: ").Append(UseCybsCredentials).Append("\n"); + sb.Append(" Credentials: ").Append(Credentials).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.EnableRealTime == other.EnableRealTime || + this.EnableRealTime != null && + this.EnableRealTime.Equals(other.EnableRealTime) + ) && + ( + this.UseCybsCredentials == other.UseCybsCredentials || + this.UseCybsCredentials != null && + this.UseCybsCredentials.Equals(other.UseCybsCredentials) + ) && + ( + this.Credentials == other.Credentials || + this.Credentials != null && + this.Credentials.Equals(other.Credentials) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.EnableRealTime != null) + hash = hash * 59 + this.EnableRealTime.GetHashCode(); + if (this.UseCybsCredentials != null) + hash = hash * 59 + this.UseCybsCredentials.GetHashCode(); + if (this.Credentials != null) + hash = hash * 59 + this.Credentials.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.cs new file mode 100644 index 00000000..696c4eef --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// EnableRealTime. + /// Credentials. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss(bool? Enabled = default(bool?), bool? EnableRealTime = default(bool?), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials Credentials = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials)) + { + this.Enabled = Enabled; + this.EnableRealTime = EnableRealTime; + this.Credentials = Credentials; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets EnableRealTime + /// + [DataMember(Name="enableRealTime", EmitDefaultValue=false)] + public bool? EnableRealTime { get; set; } + + /// + /// Gets or Sets Credentials + /// + [DataMember(Name="credentials", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials Credentials { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" EnableRealTime: ").Append(EnableRealTime).Append("\n"); + sb.Append(" Credentials: ").Append(Credentials).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.EnableRealTime == other.EnableRealTime || + this.EnableRealTime != null && + this.EnableRealTime.Equals(other.EnableRealTime) + ) && + ( + this.Credentials == other.Credentials || + this.Credentials != null && + this.Credentials.Equals(other.Credentials) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.EnableRealTime != null) + hash = hash * 59 + this.EnableRealTime.GetHashCode(); + if (this.Credentials != null) + hash = hash * 59 + this.Credentials.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.cs new file mode 100644 index 00000000..fb7a7cc9 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// Credentials. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd(bool? Enabled = default(bool?), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials Credentials = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials)) + { + this.Enabled = Enabled; + this.Credentials = Credentials; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets Credentials + /// + [DataMember(Name="credentials", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials Credentials { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Credentials: ").Append(Credentials).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Credentials == other.Credentials || + this.Credentials != null && + this.Credentials.Equals(other.Credentials) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.Credentials != null) + hash = hash * 59 + this.Credentials.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.cs new file mode 100644 index 00000000..e8b33121 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.cs @@ -0,0 +1,176 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TeamId. + /// ApiKey. + /// SecretKeyid. + /// SecretKey. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials(string TeamId = default(string), string ApiKey = default(string), string SecretKeyid = default(string), string SecretKey = default(string)) + { + this.TeamId = TeamId; + this.ApiKey = ApiKey; + this.SecretKeyid = SecretKeyid; + this.SecretKey = SecretKey; + } + + /// + /// Gets or Sets TeamId + /// + [DataMember(Name="teamId", EmitDefaultValue=false)] + public string TeamId { get; set; } + + /// + /// Gets or Sets ApiKey + /// + [DataMember(Name="apiKey", EmitDefaultValue=false)] + public string ApiKey { get; set; } + + /// + /// Gets or Sets SecretKeyid + /// + [DataMember(Name="secretKeyid", EmitDefaultValue=false)] + public string SecretKeyid { get; set; } + + /// + /// Gets or Sets SecretKey + /// + [DataMember(Name="secretKey", EmitDefaultValue=false)] + public string SecretKey { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials {\n"); + sb.Append(" TeamId: ").Append(TeamId).Append("\n"); + sb.Append(" ApiKey: ").Append(ApiKey).Append("\n"); + sb.Append(" SecretKeyid: ").Append(SecretKeyid).Append("\n"); + sb.Append(" SecretKey: ").Append(SecretKey).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TeamId == other.TeamId || + this.TeamId != null && + this.TeamId.Equals(other.TeamId) + ) && + ( + this.ApiKey == other.ApiKey || + this.ApiKey != null && + this.ApiKey.Equals(other.ApiKey) + ) && + ( + this.SecretKeyid == other.SecretKeyid || + this.SecretKeyid != null && + this.SecretKeyid.Equals(other.SecretKeyid) + ) && + ( + this.SecretKey == other.SecretKey || + this.SecretKey != null && + this.SecretKey.Equals(other.SecretKey) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TeamId != null) + hash = hash * 59 + this.TeamId.GetHashCode(); + if (this.ApiKey != null) + hash = hash * 59 + this.ApiKey.GetHashCode(); + if (this.SecretKeyid != null) + hash = hash * 59 + this.SecretKeyid.GetHashCode(); + if (this.SecretKey != null) + hash = hash * 59 + this.SecretKey.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.cs new file mode 100644 index 00000000..d91ae451 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Enabled. + /// UseCybsCredentials. + /// Credentials. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus(bool? Enabled = default(bool?), bool? UseCybsCredentials = default(bool?), RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials Credentials = default(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials)) + { + this.Enabled = Enabled; + this.UseCybsCredentials = UseCybsCredentials; + this.Credentials = Credentials; + } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets UseCybsCredentials + /// + [DataMember(Name="useCybsCredentials", EmitDefaultValue=false)] + public bool? UseCybsCredentials { get; set; } + + /// + /// Gets or Sets Credentials + /// + [DataMember(Name="credentials", EmitDefaultValue=false)] + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials Credentials { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus {\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" UseCybsCredentials: ").Append(UseCybsCredentials).Append("\n"); + sb.Append(" Credentials: ").Append(Credentials).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.UseCybsCredentials == other.UseCybsCredentials || + this.UseCybsCredentials != null && + this.UseCybsCredentials.Equals(other.UseCybsCredentials) + ) && + ( + this.Credentials == other.Credentials || + this.Credentials != null && + this.Credentials.Equals(other.Credentials) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + if (this.UseCybsCredentials != null) + hash = hash * 59 + this.UseCybsCredentials.GetHashCode(); + if (this.Credentials != null) + hash = hash * 59 + this.Credentials.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.cs b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.cs new file mode 100644 index 00000000..06ea2c64 --- /dev/null +++ b/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.cs @@ -0,0 +1,160 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials + /// + [DataContract] + public partial class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Username. + /// Password. + /// ServiceId. + public RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials(string Username = default(string), string Password = default(string), string ServiceId = default(string)) + { + this.Username = Username; + this.Password = Password; + this.ServiceId = ServiceId; + } + + /// + /// Gets or Sets Username + /// + [DataMember(Name="username", EmitDefaultValue=false)] + public string Username { get; set; } + + /// + /// Gets or Sets Password + /// + [DataMember(Name="password", EmitDefaultValue=false)] + public string Password { get; set; } + + /// + /// Gets or Sets ServiceId + /// + [DataMember(Name="serviceId", EmitDefaultValue=false)] + public string ServiceId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials {\n"); + sb.Append(" Username: ").Append(Username).Append("\n"); + sb.Append(" Password: ").Append(Password).Append("\n"); + sb.Append(" ServiceId: ").Append(ServiceId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials); + } + + /// + /// Returns true if RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials instances are equal + /// + /// Instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials to be compared + /// Boolean + public bool Equals(RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Username == other.Username || + this.Username != null && + this.Username.Equals(other.Username) + ) && + ( + this.Password == other.Password || + this.Password != null && + this.Password.Equals(other.Password) + ) && + ( + this.ServiceId == other.ServiceId || + this.ServiceId != null && + this.ServiceId.Equals(other.ServiceId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Username != null) + hash = hash * 59 + this.Username.GetHashCode(); + if (this.Password != null) + hash = hash * 59 + this.Password.GetHashCode(); + if (this.ServiceId != null) + hash = hash * 59 + this.ServiceId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsFraudManagementEssentials.cs b/Model/RiskProductsFraudManagementEssentials.cs new file mode 100644 index 00000000..8b95052c --- /dev/null +++ b/Model/RiskProductsFraudManagementEssentials.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsFraudManagementEssentials + /// + [DataContract] + public partial class RiskProductsFraudManagementEssentials : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// SubscriptionInformation. + /// ConfigurationInformation. + public RiskProductsFraudManagementEssentials(PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentProductsPayerAuthenticationSubscriptionInformation), RiskProductsFraudManagementEssentialsConfigurationInformation ConfigurationInformation = default(RiskProductsFraudManagementEssentialsConfigurationInformation)) + { + this.SubscriptionInformation = SubscriptionInformation; + this.ConfigurationInformation = ConfigurationInformation; + } + + /// + /// Gets or Sets SubscriptionInformation + /// + [DataMember(Name="subscriptionInformation", EmitDefaultValue=false)] + public PaymentProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; } + + /// + /// Gets or Sets ConfigurationInformation + /// + [DataMember(Name="configurationInformation", EmitDefaultValue=false)] + public RiskProductsFraudManagementEssentialsConfigurationInformation ConfigurationInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsFraudManagementEssentials {\n"); + sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + sb.Append(" ConfigurationInformation: ").Append(ConfigurationInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsFraudManagementEssentials); + } + + /// + /// Returns true if RiskProductsFraudManagementEssentials instances are equal + /// + /// Instance of RiskProductsFraudManagementEssentials to be compared + /// Boolean + public bool Equals(RiskProductsFraudManagementEssentials other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.SubscriptionInformation == other.SubscriptionInformation || + this.SubscriptionInformation != null && + this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ConfigurationInformation == other.ConfigurationInformation || + this.ConfigurationInformation != null && + this.ConfigurationInformation.Equals(other.ConfigurationInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.SubscriptionInformation != null) + hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ConfigurationInformation != null) + hash = hash * 59 + this.ConfigurationInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/RiskProductsFraudManagementEssentialsConfigurationInformation.cs b/Model/RiskProductsFraudManagementEssentialsConfigurationInformation.cs new file mode 100644 index 00000000..a626885d --- /dev/null +++ b/Model/RiskProductsFraudManagementEssentialsConfigurationInformation.cs @@ -0,0 +1,128 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// RiskProductsFraudManagementEssentialsConfigurationInformation + /// + [DataContract] + public partial class RiskProductsFraudManagementEssentialsConfigurationInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TemplateId. + public RiskProductsFraudManagementEssentialsConfigurationInformation(Guid? TemplateId = default(Guid?)) + { + this.TemplateId = TemplateId; + } + + /// + /// Gets or Sets TemplateId + /// + [DataMember(Name="templateId", EmitDefaultValue=false)] + public Guid? TemplateId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RiskProductsFraudManagementEssentialsConfigurationInformation {\n"); + sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RiskProductsFraudManagementEssentialsConfigurationInformation); + } + + /// + /// Returns true if RiskProductsFraudManagementEssentialsConfigurationInformation instances are equal + /// + /// Instance of RiskProductsFraudManagementEssentialsConfigurationInformation to be compared + /// Boolean + public bool Equals(RiskProductsFraudManagementEssentialsConfigurationInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TemplateId == other.TemplateId || + this.TemplateId != null && + this.TemplateId.Equals(other.TemplateId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.TemplateId != null) + hash = hash * 59 + this.TemplateId.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.cs b/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.cs index 5e5d8528..93c240dc 100644 --- a/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.cs +++ b/Model/Riskv1authenticationresultsPaymentInformationTokenizedCard.cs @@ -33,7 +33,7 @@ public partial class Riskv1authenticationresultsPaymentInformationTokenizedCard /// /// Initializes a new instance of the class. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. . /// Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International . /// One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . /// One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . @@ -48,9 +48,9 @@ public partial class Riskv1authenticationresultsPaymentInformationTokenizedCard } /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. [DataMember(Name="transactionType", EmitDefaultValue=false)] public string TransactionType { get; set; } diff --git a/Model/Riskv1authenticationsPaymentInformationTokenizedCard.cs b/Model/Riskv1authenticationsPaymentInformationTokenizedCard.cs index fea28d86..e5f611ed 100644 --- a/Model/Riskv1authenticationsPaymentInformationTokenizedCard.cs +++ b/Model/Riskv1authenticationsPaymentInformationTokenizedCard.cs @@ -38,7 +38,7 @@ protected Riskv1authenticationsPaymentInformationTokenizedCard() { } /// /// Initializes a new instance of the class. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. (required). + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. (required). /// Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International (required). /// One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) (required). /// One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) (required). @@ -113,9 +113,9 @@ protected Riskv1authenticationsPaymentInformationTokenizedCard() { } } /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. [DataMember(Name="transactionType", EmitDefaultValue=false)] public string TransactionType { get; set; } diff --git a/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.cs b/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.cs index c3328e7c..413ec7eb 100644 --- a/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.cs +++ b/Model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.cs @@ -38,7 +38,7 @@ protected Riskv1authenticationsetupsPaymentInformationTokenizedCard() { } /// /// Initializes a new instance of the class. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. (required). + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. (required). /// Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International (required). /// One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) (required). /// One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) (required). @@ -93,9 +93,9 @@ protected Riskv1authenticationsetupsPaymentInformationTokenizedCard() { } } /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. [DataMember(Name="transactionType", EmitDefaultValue=false)] public string TransactionType { get; set; } diff --git a/Model/Riskv1decisionsConsumerAuthenticationInformation.cs b/Model/Riskv1decisionsConsumerAuthenticationInformation.cs index 68930194..8ed5f706 100644 --- a/Model/Riskv1decisionsConsumerAuthenticationInformation.cs +++ b/Model/Riskv1decisionsConsumerAuthenticationInformation.cs @@ -41,7 +41,7 @@ public partial class Riskv1decisionsConsumerAuthenticationInformation : IEquata /// Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator . /// The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS . /// Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service. . - /// This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW – Transaction performed at domestic merchant. 02:TW - Transaction performed at domestic merchant along with Token provisioning. 03:IT – Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. . + /// This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning . /// An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK . /// Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. For details, see `pa_challenge_code` field description in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html) . /// The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used. . @@ -177,9 +177,9 @@ public partial class Riskv1decisionsConsumerAuthenticationInformation : IEquata public string AuthenticationTransactionId { get; set; } /// - /// This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW – Transaction performed at domestic merchant. 02:TW - Transaction performed at domestic merchant along with Token provisioning. 03:IT – Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. + /// This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning /// - /// This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW – Transaction performed at domestic merchant. 02:TW - Transaction performed at domestic merchant along with Token provisioning. 03:IT – Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. + /// This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning [DataMember(Name="transactionFlowIndicator", EmitDefaultValue=false)] public int? TransactionFlowIndicator { get; set; } diff --git a/Model/Riskv1decisionsPaymentInformationTokenizedCard.cs b/Model/Riskv1decisionsPaymentInformationTokenizedCard.cs index 6fea8454..4eda66dd 100644 --- a/Model/Riskv1decisionsPaymentInformationTokenizedCard.cs +++ b/Model/Riskv1decisionsPaymentInformationTokenizedCard.cs @@ -33,7 +33,7 @@ public partial class Riskv1decisionsPaymentInformationTokenizedCard : IEquatabl /// /// Initializes a new instance of the class. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. . /// Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International . /// Customer’s payment network token value. . /// One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . @@ -48,9 +48,9 @@ public partial class Riskv1decisionsPaymentInformationTokenizedCard : IEquatabl } /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. /// - /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. + /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. [DataMember(Name="transactionType", EmitDefaultValue=false)] public string TransactionType { get; set; } diff --git a/Model/SaveAsymEgressKey.cs b/Model/SaveAsymEgressKey.cs new file mode 100644 index 00000000..3e83009c --- /dev/null +++ b/Model/SaveAsymEgressKey.cs @@ -0,0 +1,174 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// SaveAsymEgressKey + /// + [DataContract] + public partial class SaveAsymEgressKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected SaveAsymEgressKey() { } + /// + /// Initializes a new instance of the class. + /// + /// ClientReferenceInformation. + /// Client request action. (required). + /// KeyInformation. + public SaveAsymEgressKey(Kmsegressv2keysasymClientReferenceInformation ClientReferenceInformation = default(Kmsegressv2keysasymClientReferenceInformation), string ClientRequestAction = default(string), Kmsegressv2keysasymKeyInformation KeyInformation = default(Kmsegressv2keysasymKeyInformation)) + { + // to ensure "ClientRequestAction" is required (not null) + if (ClientRequestAction == null) + { + throw new InvalidDataException("ClientRequestAction is a required property for SaveAsymEgressKey and cannot be null"); + } + else + { + this.ClientRequestAction = ClientRequestAction; + } + this.ClientReferenceInformation = ClientReferenceInformation; + this.KeyInformation = KeyInformation; + } + + /// + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public Kmsegressv2keysasymClientReferenceInformation ClientReferenceInformation { get; set; } + + /// + /// Client request action. + /// + /// Client request action. + [DataMember(Name="clientRequestAction", EmitDefaultValue=false)] + public string ClientRequestAction { get; set; } + + /// + /// Gets or Sets KeyInformation + /// + [DataMember(Name="keyInformation", EmitDefaultValue=false)] + public Kmsegressv2keysasymKeyInformation KeyInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class SaveAsymEgressKey {\n"); + sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); + sb.Append(" ClientRequestAction: ").Append(ClientRequestAction).Append("\n"); + sb.Append(" KeyInformation: ").Append(KeyInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as SaveAsymEgressKey); + } + + /// + /// Returns true if SaveAsymEgressKey instances are equal + /// + /// Instance of SaveAsymEgressKey to be compared + /// Boolean + public bool Equals(SaveAsymEgressKey other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && + ( + this.ClientRequestAction == other.ClientRequestAction || + this.ClientRequestAction != null && + this.ClientRequestAction.Equals(other.ClientRequestAction) + ) && + ( + this.KeyInformation == other.KeyInformation || + this.KeyInformation != null && + this.KeyInformation.Equals(other.KeyInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); + if (this.ClientRequestAction != null) + hash = hash * 59 + this.ClientRequestAction.GetHashCode(); + if (this.KeyInformation != null) + hash = hash * 59 + this.KeyInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/SaveSymEgressKey.cs b/Model/SaveSymEgressKey.cs new file mode 100644 index 00000000..d7e2c221 --- /dev/null +++ b/Model/SaveSymEgressKey.cs @@ -0,0 +1,174 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// SaveSymEgressKey + /// + [DataContract] + public partial class SaveSymEgressKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected SaveSymEgressKey() { } + /// + /// Initializes a new instance of the class. + /// + /// ClientReferenceInformation. + /// Client request action. (required). + /// KeyInformation. + public SaveSymEgressKey(Kmsegressv2keyssymClientReferenceInformation ClientReferenceInformation = default(Kmsegressv2keyssymClientReferenceInformation), string ClientRequestAction = default(string), Kmsegressv2keyssymKeyInformation KeyInformation = default(Kmsegressv2keyssymKeyInformation)) + { + // to ensure "ClientRequestAction" is required (not null) + if (ClientRequestAction == null) + { + throw new InvalidDataException("ClientRequestAction is a required property for SaveSymEgressKey and cannot be null"); + } + else + { + this.ClientRequestAction = ClientRequestAction; + } + this.ClientReferenceInformation = ClientReferenceInformation; + this.KeyInformation = KeyInformation; + } + + /// + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public Kmsegressv2keyssymClientReferenceInformation ClientReferenceInformation { get; set; } + + /// + /// Client request action. + /// + /// Client request action. + [DataMember(Name="clientRequestAction", EmitDefaultValue=false)] + public string ClientRequestAction { get; set; } + + /// + /// Gets or Sets KeyInformation + /// + [DataMember(Name="keyInformation", EmitDefaultValue=false)] + public Kmsegressv2keyssymKeyInformation KeyInformation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class SaveSymEgressKey {\n"); + sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); + sb.Append(" ClientRequestAction: ").Append(ClientRequestAction).Append("\n"); + sb.Append(" KeyInformation: ").Append(KeyInformation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as SaveSymEgressKey); + } + + /// + /// Returns true if SaveSymEgressKey instances are equal + /// + /// Instance of SaveSymEgressKey to be compared + /// Boolean + public bool Equals(SaveSymEgressKey other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && + ( + this.ClientRequestAction == other.ClientRequestAction || + this.ClientRequestAction != null && + this.ClientRequestAction.Equals(other.ClientRequestAction) + ) && + ( + this.KeyInformation == other.KeyInformation || + this.KeyInformation != null && + this.KeyInformation.Equals(other.KeyInformation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); + if (this.ClientRequestAction != null) + hash = hash * 59 + this.ClientRequestAction.GetHashCode(); + if (this.KeyInformation != null) + hash = hash * 59 + this.KeyInformation.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/UpdateWebhook.cs b/Model/UpdateWebhook.cs new file mode 100644 index 00000000..61cf20c4 --- /dev/null +++ b/Model/UpdateWebhook.cs @@ -0,0 +1,321 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// UpdateWebhook + /// + [DataContract] + public partial class UpdateWebhook : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Client friendly webhook name.. + /// Client friendly webhook description.\\. + /// Organization Id.. + /// The product you are receiving a webhook for.. + /// Array of the different events for a given product id.. + /// The client's endpoint (URL) to receive webhooks.. + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl.. + /// Webhook status. (default to "INACTIVE"). + /// NotificationScope. + /// RetryPolicy. + /// SecurityPolicy. + /// Additional, free form configuration data.. + public UpdateWebhook(string Name = default(string), string Description = default(string), string OrganizationId = default(string), string ProductId = default(string), List EventTypes = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), string Status = "INACTIVE", Notificationsubscriptionsv1webhooksNotificationScope NotificationScope = default(Notificationsubscriptionsv1webhooksNotificationScope), Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv1webhooksRetryPolicy), Notificationsubscriptionsv1webhooksSecurityPolicy SecurityPolicy = default(Notificationsubscriptionsv1webhooksSecurityPolicy), List> AdditionalAttributes = default(List>)) + { + this.Name = Name; + this.Description = Description; + this.OrganizationId = OrganizationId; + this.ProductId = ProductId; + this.EventTypes = EventTypes; + this.WebhookUrl = WebhookUrl; + this.HealthCheckUrl = HealthCheckUrl; + // use default value if no "Status" provided + if (Status == null) + { + this.Status = "INACTIVE"; + } + else + { + this.Status = Status; + } + this.NotificationScope = NotificationScope; + this.RetryPolicy = RetryPolicy; + this.SecurityPolicy = SecurityPolicy; + this.AdditionalAttributes = AdditionalAttributes; + } + + /// + /// Client friendly webhook name. + /// + /// Client friendly webhook name. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Client friendly webhook description.\\ + /// + /// Client friendly webhook description.\\ + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Organization Id. + /// + /// Organization Id. + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } + + /// + /// The product you are receiving a webhook for. + /// + /// The product you are receiving a webhook for. + [DataMember(Name="productId", EmitDefaultValue=false)] + public string ProductId { get; set; } + + /// + /// Array of the different events for a given product id. + /// + /// Array of the different events for a given product id. + [DataMember(Name="eventTypes", EmitDefaultValue=false)] + public List EventTypes { get; set; } + + /// + /// The client's endpoint (URL) to receive webhooks. + /// + /// The client's endpoint (URL) to receive webhooks. + [DataMember(Name="webhookUrl", EmitDefaultValue=false)] + public string WebhookUrl { get; set; } + + /// + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. + /// + /// The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. + [DataMember(Name="healthCheckUrl", EmitDefaultValue=false)] + public string HealthCheckUrl { get; set; } + + /// + /// Webhook status. + /// + /// Webhook status. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Gets or Sets NotificationScope + /// + [DataMember(Name="notificationScope", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksNotificationScope NotificationScope { get; set; } + + /// + /// Gets or Sets RetryPolicy + /// + [DataMember(Name="retryPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksRetryPolicy RetryPolicy { get; set; } + + /// + /// Gets or Sets SecurityPolicy + /// + [DataMember(Name="securityPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv1webhooksSecurityPolicy SecurityPolicy { get; set; } + + /// + /// Additional, free form configuration data. + /// + /// Additional, free form configuration data. + [DataMember(Name="additionalAttributes", EmitDefaultValue=false)] + public List> AdditionalAttributes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class UpdateWebhook {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" EventTypes: ").Append(EventTypes).Append("\n"); + sb.Append(" WebhookUrl: ").Append(WebhookUrl).Append("\n"); + sb.Append(" HealthCheckUrl: ").Append(HealthCheckUrl).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" NotificationScope: ").Append(NotificationScope).Append("\n"); + sb.Append(" RetryPolicy: ").Append(RetryPolicy).Append("\n"); + sb.Append(" SecurityPolicy: ").Append(SecurityPolicy).Append("\n"); + sb.Append(" AdditionalAttributes: ").Append(AdditionalAttributes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as UpdateWebhook); + } + + /// + /// Returns true if UpdateWebhook instances are equal + /// + /// Instance of UpdateWebhook to be compared + /// Boolean + public bool Equals(UpdateWebhook other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ) && + ( + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.ProductId == other.ProductId || + this.ProductId != null && + this.ProductId.Equals(other.ProductId) + ) && + ( + this.EventTypes == other.EventTypes || + this.EventTypes != null && + this.EventTypes.SequenceEqual(other.EventTypes) + ) && + ( + this.WebhookUrl == other.WebhookUrl || + this.WebhookUrl != null && + this.WebhookUrl.Equals(other.WebhookUrl) + ) && + ( + this.HealthCheckUrl == other.HealthCheckUrl || + this.HealthCheckUrl != null && + this.HealthCheckUrl.Equals(other.HealthCheckUrl) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.NotificationScope == other.NotificationScope || + this.NotificationScope != null && + this.NotificationScope.Equals(other.NotificationScope) + ) && + ( + this.RetryPolicy == other.RetryPolicy || + this.RetryPolicy != null && + this.RetryPolicy.Equals(other.RetryPolicy) + ) && + ( + this.SecurityPolicy == other.SecurityPolicy || + this.SecurityPolicy != null && + this.SecurityPolicy.Equals(other.SecurityPolicy) + ) && + ( + this.AdditionalAttributes == other.AdditionalAttributes || + this.AdditionalAttributes != null && + this.AdditionalAttributes.SequenceEqual(other.AdditionalAttributes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.ProductId != null) + hash = hash * 59 + this.ProductId.GetHashCode(); + if (this.EventTypes != null) + hash = hash * 59 + this.EventTypes.GetHashCode(); + if (this.WebhookUrl != null) + hash = hash * 59 + this.WebhookUrl.GetHashCode(); + if (this.HealthCheckUrl != null) + hash = hash * 59 + this.HealthCheckUrl.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.NotificationScope != null) + hash = hash * 59 + this.NotificationScope.GetHashCode(); + if (this.RetryPolicy != null) + hash = hash * 59 + this.RetryPolicy.GetHashCode(); + if (this.SecurityPolicy != null) + hash = hash * 59 + this.SecurityPolicy.GetHashCode(); + if (this.AdditionalAttributes != null) + hash = hash * 59 + this.AdditionalAttributes.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/ValueAddedServicesProducts.cs b/Model/ValueAddedServicesProducts.cs new file mode 100644 index 00000000..0a3c5d95 --- /dev/null +++ b/Model/ValueAddedServicesProducts.cs @@ -0,0 +1,144 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// ValueAddedServicesProducts + /// + [DataContract] + public partial class ValueAddedServicesProducts : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Reporting. + /// TransactionSearch. + public ValueAddedServicesProducts(PaymentProductsTax Reporting = default(PaymentProductsTax), PaymentProductsTax TransactionSearch = default(PaymentProductsTax)) + { + this.Reporting = Reporting; + this.TransactionSearch = TransactionSearch; + } + + /// + /// Gets or Sets Reporting + /// + [DataMember(Name="reporting", EmitDefaultValue=false)] + public PaymentProductsTax Reporting { get; set; } + + /// + /// Gets or Sets TransactionSearch + /// + [DataMember(Name="transactionSearch", EmitDefaultValue=false)] + public PaymentProductsTax TransactionSearch { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ValueAddedServicesProducts {\n"); + sb.Append(" Reporting: ").Append(Reporting).Append("\n"); + sb.Append(" TransactionSearch: ").Append(TransactionSearch).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as ValueAddedServicesProducts); + } + + /// + /// Returns true if ValueAddedServicesProducts instances are equal + /// + /// Instance of ValueAddedServicesProducts to be compared + /// Boolean + public bool Equals(ValueAddedServicesProducts other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Reporting == other.Reporting || + this.Reporting != null && + this.Reporting.Equals(other.Reporting) + ) && + ( + this.TransactionSearch == other.TransactionSearch || + this.TransactionSearch != null && + this.TransactionSearch.Equals(other.TransactionSearch) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Reporting != null) + hash = hash * 59 + this.Reporting.GetHashCode(); + if (this.TransactionSearch != null) + hash = hash * 59 + this.TransactionSearch.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index d79429e6..44f88b37 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -28,5 +28,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.0.1.35")] -[assembly: AssemblyFileVersion("0.0.1.35")] +[assembly: AssemblyVersion("0.0.1.36")] +[assembly: AssemblyFileVersion("0.0.1.36")] diff --git a/README.md b/README.md index cdb1ad12..4a2c06cf 100644 --- a/README.md +++ b/README.md @@ -103,3 +103,7 @@ More information about this new logging framework can be found in this file : [L ## License This repository is distributed under a proprietary license. + +## Disclaimer + +Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. diff --git a/cybersource-rest-client-dotnet.csproj b/cybersource-rest-client-dotnet.csproj index 4efb4d01..15ca8f84 100644 --- a/cybersource-rest-client-dotnet.csproj +++ b/cybersource-rest-client-dotnet.csproj @@ -12,7 +12,7 @@ OpenAPI spec version: 0.0.1 Debug AnyCPU - {DCD7A801-8A2F-4331-B3D2-0B68BEF007FE} + {CD927414-96A7-4318-9D73-ADE8FECF3E37} Library Properties CyberSource @@ -43,6 +43,10 @@ OpenAPI spec version: 0.0.1 packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + + False + packages\NLog.5.0.0\lib\net46\NLog.dll packages\RestSharp.108.0.3\lib\netstandard2.0\RestSharp.dll @@ -83,11 +87,7 @@ OpenAPI spec version: 0.0.1 - packages\CyberSource.Authentication.0.0.0.17\lib\AuthenticationSdk.dll - - - False - packages\NLog.4.5.10\lib\net45\NLog.dll + packages\CyberSource.Authentication.0.0.0.18\lib\AuthenticationSdk.dll diff --git a/cybersource-rest-client-dotnet.nuspec b/cybersource-rest-client-dotnet.nuspec index 5b278a91..f6b2a845 100644 --- a/cybersource-rest-client-dotnet.nuspec +++ b/cybersource-rest-client-dotnet.nuspec @@ -2,7 +2,7 @@ CyberSource.Rest.Client - 0.0.1.35 + 0.0.1.36 CyberSource.Rest.Client CyberSource Corporation CyberSource @@ -13,8 +13,8 @@ - - + + diff --git a/cybersource-rest-client-dotnet.sln b/cybersource-rest-client-dotnet.sln index 674f03a7..ef45e7cf 100644 --- a/cybersource-rest-client-dotnet.sln +++ b/cybersource-rest-client-dotnet.sln @@ -1,8 +1,8 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34202.233 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{DCD7A801-8A2F-4331-B3D2-0B68BEF007FE}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{CD927414-96A7-4318-9D73-ADE8FECF3E37}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet.Test", "test\cybersource-rest-client-dotnet.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DCD7A801-8A2F-4331-B3D2-0B68BEF007FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DCD7A801-8A2F-4331-B3D2-0B68BEF007FE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DCD7A801-8A2F-4331-B3D2-0B68BEF007FE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DCD7A801-8A2F-4331-B3D2-0B68BEF007FE}.Release|Any CPU.Build.0 = Release|Any CPU + {CD927414-96A7-4318-9D73-ADE8FECF3E37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CD927414-96A7-4318-9D73-ADE8FECF3E37}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CD927414-96A7-4318-9D73-ADE8FECF3E37}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CD927414-96A7-4318-9D73-ADE8FECF3E37}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/docs/BatchesApi.md b/docs/BatchesApi.md index 2b602e8d..a06bad3d 100644 --- a/docs/BatchesApi.md +++ b/docs/BatchesApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **GetBatchReport** -> InlineResponse2004 GetBatchReport (string batchId) +> InlineResponse2007 GetBatchReport (string batchId) Retrieve a Batch Report @@ -38,7 +38,7 @@ namespace Example try { // Retrieve a Batch Report - InlineResponse2004 result = apiInstance.GetBatchReport(batchId); + InlineResponse2007 result = apiInstance.GetBatchReport(batchId); Debug.WriteLine(result); } catch (Exception e) @@ -58,7 +58,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2004**](InlineResponse2004.md) +[**InlineResponse2007**](InlineResponse2007.md) ### Authorization @@ -73,7 +73,7 @@ No authorization required # **GetBatchStatus** -> InlineResponse2003 GetBatchStatus (string batchId) +> InlineResponse2006 GetBatchStatus (string batchId) Retrieve a Batch Status @@ -99,7 +99,7 @@ namespace Example try { // Retrieve a Batch Status - InlineResponse2003 result = apiInstance.GetBatchStatus(batchId); + InlineResponse2006 result = apiInstance.GetBatchStatus(batchId); Debug.WriteLine(result); } catch (Exception e) @@ -119,7 +119,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2003**](InlineResponse2003.md) +[**InlineResponse2006**](InlineResponse2006.md) ### Authorization @@ -134,7 +134,7 @@ No authorization required # **GetBatchesList** -> InlineResponse2002 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) +> InlineResponse2005 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) List Batches @@ -163,7 +163,7 @@ namespace Example try { // List Batches - InlineResponse2002 result = apiInstance.GetBatchesList(offset, limit, fromDate, toDate); + InlineResponse2005 result = apiInstance.GetBatchesList(offset, limit, fromDate, toDate); Debug.WriteLine(result); } catch (Exception e) @@ -186,7 +186,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2002**](InlineResponse2002.md) +[**InlineResponse2005**](InlineResponse2005.md) ### Authorization diff --git a/docs/Boardingv1registrationsDocumentInformation.md b/docs/Boardingv1registrationsDocumentInformation.md new file mode 100644 index 00000000..6aa5836c --- /dev/null +++ b/docs/Boardingv1registrationsDocumentInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Boardingv1registrationsDocumentInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SignedDocuments** | [**List<Boardingv1registrationsDocumentInformationSignedDocuments>**](Boardingv1registrationsDocumentInformationSignedDocuments.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002Embedded.md b/docs/Boardingv1registrationsDocumentInformationSignedDocuments.md similarity index 61% rename from docs/InlineResponse2002Embedded.md rename to docs/Boardingv1registrationsDocumentInformationSignedDocuments.md index 408b589d..0cb0cd15 100644 --- a/docs/InlineResponse2002Embedded.md +++ b/docs/Boardingv1registrationsDocumentInformationSignedDocuments.md @@ -1,9 +1,9 @@ -# CyberSource.Model.InlineResponse2002Embedded +# CyberSource.Model.Boardingv1registrationsDocumentInformationSignedDocuments ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Batches** | [**List<InlineResponse2002EmbeddedBatches>**](InlineResponse2002EmbeddedBatches.md) | | [optional] +**DocumentId** | **string** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Boardingv1registrationsIntegrationInformation.md b/docs/Boardingv1registrationsIntegrationInformation.md new file mode 100644 index 00000000..58e07516 --- /dev/null +++ b/docs/Boardingv1registrationsIntegrationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Boardingv1registrationsIntegrationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Oauth2** | [**List<Boardingv1registrationsIntegrationInformationOauth2>**](Boardingv1registrationsIntegrationInformationOauth2.md) | | [optional] +**TenantConfigurations** | [**List<Boardingv1registrationsIntegrationInformationTenantConfigurations>**](Boardingv1registrationsIntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsIntegrationInformationOauth2.md b/docs/Boardingv1registrationsIntegrationInformationOauth2.md new file mode 100644 index 00000000..e479dfbe --- /dev/null +++ b/docs/Boardingv1registrationsIntegrationInformationOauth2.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Boardingv1registrationsIntegrationInformationOauth2 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ClientId** | **string** | | +**State** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsIntegrationInformationTenantConfigurations.md b/docs/Boardingv1registrationsIntegrationInformationTenantConfigurations.md new file mode 100644 index 00000000..17fc3243 --- /dev/null +++ b/docs/Boardingv1registrationsIntegrationInformationTenantConfigurations.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Boardingv1registrationsIntegrationInformationTenantConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SolutionId** | **string** | The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. | +**TenantInformation** | [**Boardingv1registrationsIntegrationInformationTenantInformation**](Boardingv1registrationsIntegrationInformationTenantInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsIntegrationInformationTenantInformation.md b/docs/Boardingv1registrationsIntegrationInformationTenantInformation.md new file mode 100644 index 00000000..2484983e --- /dev/null +++ b/docs/Boardingv1registrationsIntegrationInformationTenantInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Boardingv1registrationsIntegrationInformationTenantInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TenantId** | **string** | The TenantId is an external Solution Identifier given by Tech Partners like SAP. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsOrganizationInformation.md b/docs/Boardingv1registrationsOrganizationInformation.md new file mode 100644 index 00000000..e85d84bf --- /dev/null +++ b/docs/Boardingv1registrationsOrganizationInformation.md @@ -0,0 +1,17 @@ +# CyberSource.Model.Boardingv1registrationsOrganizationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OrganizationId** | **string** | | [optional] +**ParentOrganizationId** | **string** | This field is required for Organization Types: MERCHANT, TRANSACTING | [optional] +**ChildOrganizations** | **List<string>** | | [optional] +**Type** | **string** | Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT' | [optional] +**Status** | **string** | Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT' | [optional] +**Configurable** | **bool?** | This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration. | [optional] [default to false] +**BusinessInformation** | [**Boardingv1registrationsOrganizationInformationBusinessInformation**](Boardingv1registrationsOrganizationInformationBusinessInformation.md) | | [optional] +**KYC** | [**Boardingv1registrationsOrganizationInformationKYC**](Boardingv1registrationsOrganizationInformationKYC.md) | | [optional] +**Owners** | [**List<Boardingv1registrationsOrganizationInformationOwners>**](Boardingv1registrationsOrganizationInformationOwners.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsOrganizationInformationBusinessInformation.md b/docs/Boardingv1registrationsOrganizationInformationBusinessInformation.md new file mode 100644 index 00000000..252fd40c --- /dev/null +++ b/docs/Boardingv1registrationsOrganizationInformationBusinessInformation.md @@ -0,0 +1,22 @@ +# CyberSource.Model.Boardingv1registrationsOrganizationInformationBusinessInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**DoingBusinessAs** | **string** | | [optional] +**Description** | **string** | | [optional] +**StartDate** | **DateTime?** | `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 | [optional] +**Address** | [**Boardingv1registrationsOrganizationInformationBusinessInformationAddress**](Boardingv1registrationsOrganizationInformationBusinessInformationAddress.md) | | [optional] +**TimeZone** | **string** | Merchant perferred time zone Possible Values: - 'Pacific/Pago_Pago' - 'Pacific/Honolulu' - 'America/Anchorage' - 'America/Vancouver' - 'America/Los_Angeles' - 'America/Phoenix' - 'America/Edmonton' - 'America/Denver' - 'America/Winnipeg' - 'America/Mexico_City' - 'America/Chicago' - 'America/Bogota' - 'America/Indianapolis' - 'America/New_York' - 'America/La_Paz' - 'America/Halifax' - 'America/St_Johns' - 'America/Buenos_Aires' - 'America/Godthab' - 'America/Sao_Paulo' - 'America/Noronha' - 'Atlantic/Cape_Verde' - 'GMT' - 'Europe/Dublin' - 'Europe/Lisbon' - 'Europe/London' - 'Africa/Tunis' - 'Europe/Vienna' - 'Europe/Brussels' - 'Europe/Zurich' - 'Europe/Prague' - 'Europe/Berlin' - 'Europe/Copenhagen' - 'Europe/Madrid' - 'Europe/Budapest' - 'Europe/Rome' - 'Africa/Tripoli' - 'Europe/Monaco' - 'Europe/Malta' - 'Europe/Amsterdam' - 'Europe/Oslo' - 'Europe/Warsaw' - 'Europe/Stockholm' - 'Europe/Belgrade' - 'Europe/Paris' - 'Africa/Johannesburg' - 'Europe/Minsk' - 'Africa/Cairo' - 'Europe/Helsinki' - 'Europe/Athens' - 'Asia/Jerusalem' - 'Europe/Riga' - 'Europe/Bucharest' - 'Europe/Istanbul' - 'Asia/Riyadh' - 'Europe/Moscow' - 'Asia/Dubai' - 'Asia/Baku' - 'Asia/Tbilisi' - 'Asia/Calcutta' - 'Asia/Katmandu' - 'Asia/Dacca' - 'Asia/Rangoon' - 'Asia/Jakarta' - 'Asia/Saigon' - 'Asia/Bangkok' - 'Australia/Perth' - 'Asia/Hong_Kong' - 'Asia/Macao' - 'Asia/Kuala_Lumpur' - 'Asia/Manila' - 'Asia/Singapore' - 'Asia/Taipei' - 'Asia/Shanghai' - 'Asia/Seoul' - 'Asia/Tokyo' - 'Asia/Yakutsk' - 'Australia/Adelaide' - 'Australia/Brisbane' - 'Australia/Broken_Hill' - 'Australia/Darwin' - 'Australia/Eucla' - 'Australia/Hobart' - 'Australia/Lindeman' - 'Australia/Sydney' - 'Australia/Lord_Howe' - 'Australia/Melbourne' - 'Asia/Magadan' - 'Pacific/Norfolk' - 'Pacific/Auckland' | [optional] +**WebsiteUrl** | **string** | | [optional] +**Type** | **string** | Business type Possible Values: - 'PARTNERSHIP' - 'SOLE_PROPRIETORSHIP' - 'CORPORATION' - 'LLC' - 'NON_PROFIT' - 'TRUST' | [optional] +**TaxId** | **string** | | [optional] +**PhoneNumber** | **string** | | [optional] +**BusinessContact** | [**Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact**](Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md) | | [optional] +**TechnicalContact** | [**Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact**](Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md) | | [optional] +**EmergencyContact** | [**Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact**](Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md) | | [optional] +**MerchantCategoryCode** | **string** | Industry standard Merchant Category Code (MCC) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.md b/docs/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.md new file mode 100644 index 00000000..b1d873d0 --- /dev/null +++ b/docs/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.md @@ -0,0 +1,14 @@ +# CyberSource.Model.Boardingv1registrationsOrganizationInformationBusinessInformationAddress +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Country** | **string** | | +**Address1** | **string** | | +**Address2** | **string** | | [optional] +**Locality** | **string** | City of the billing address. | +**AdministrativeArea** | **string** | State or province of the billing address. Required for United States and Canada. | [optional] +**PostalCode** | **string** | Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md b/docs/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md new file mode 100644 index 00000000..0531fa6f --- /dev/null +++ b/docs/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md @@ -0,0 +1,13 @@ +# CyberSource.Model.Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FirstName** | **string** | | +**MiddleName** | **string** | | [optional] +**LastName** | **string** | | +**PhoneNumber** | **string** | | +**Email** | **string** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsOrganizationInformationKYC.md b/docs/Boardingv1registrationsOrganizationInformationKYC.md new file mode 100644 index 00000000..b67dedfb --- /dev/null +++ b/docs/Boardingv1registrationsOrganizationInformationKYC.md @@ -0,0 +1,20 @@ +# CyberSource.Model.Boardingv1registrationsOrganizationInformationKYC +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WhenIsCustomerCharged** | **string** | | +**WhenIsCustomerChargedDescription** | **string** | | [optional] +**OfferSubscriptions** | **bool?** | | +**MonthlySubscriptionPercent** | **decimal?** | | [optional] +**QuarterlySubscriptionPercent** | **decimal?** | | [optional] +**SemiAnnualSubscriptionPercent** | **decimal?** | | [optional] +**AnnualSubscriptionPercent** | **decimal?** | | [optional] +**TimeToProductDelivery** | **string** | | +**EstimatedMonthlySales** | **decimal?** | | +**AverageOrderAmount** | **decimal?** | | +**LargestExpectedOrderAmount** | **decimal?** | | +**DepositBankAccount** | [**Boardingv1registrationsOrganizationInformationKYCDepositBankAccount**](Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.md b/docs/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.md new file mode 100644 index 00000000..5a40ea9b --- /dev/null +++ b/docs/Boardingv1registrationsOrganizationInformationKYCDepositBankAccount.md @@ -0,0 +1,12 @@ +# CyberSource.Model.Boardingv1registrationsOrganizationInformationKYCDepositBankAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountHolderName** | **string** | | +**AccountType** | **string** | | +**AccountRoutingNumber** | **string** | | +**AccountNumber** | **string** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsOrganizationInformationOwners.md b/docs/Boardingv1registrationsOrganizationInformationOwners.md new file mode 100644 index 00000000..c9291c10 --- /dev/null +++ b/docs/Boardingv1registrationsOrganizationInformationOwners.md @@ -0,0 +1,22 @@ +# CyberSource.Model.Boardingv1registrationsOrganizationInformationOwners +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FirstName** | **string** | | +**MiddleName** | **string** | | [optional] +**LastName** | **string** | | +**BirthDate** | **DateTime?** | `Format: YYYY-MM-DD` Example 2016-08-11 equals August 11, 2016 | +**IsPrimary** | **bool?** | Determines whether the owner is the Primary owner of the organization | +**Ssn** | **string** | Social Security Number | [optional] +**PassportNumber** | **string** | Passport number | [optional] +**PassportCountry** | **string** | | [optional] +**JobTitle** | **string** | | +**HasSignificantResponsability** | **bool?** | Determines whether owner has significant responsibility to control, manage or direct the company | +**OwnershipPercentage** | **decimal?** | Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100 | +**PhoneNumber** | **string** | | +**Email** | **string** | | +**Address** | [**Boardingv1registrationsOrganizationInformationBusinessInformationAddress**](Boardingv1registrationsOrganizationInformationBusinessInformationAddress.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsProductInformation.md b/docs/Boardingv1registrationsProductInformation.md new file mode 100644 index 00000000..362905f9 --- /dev/null +++ b/docs/Boardingv1registrationsProductInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Boardingv1registrationsProductInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SelectedProducts** | [**Boardingv1registrationsProductInformationSelectedProducts**](Boardingv1registrationsProductInformationSelectedProducts.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsProductInformationSelectedProducts.md b/docs/Boardingv1registrationsProductInformationSelectedProducts.md new file mode 100644 index 00000000..3f5545bd --- /dev/null +++ b/docs/Boardingv1registrationsProductInformationSelectedProducts.md @@ -0,0 +1,12 @@ +# CyberSource.Model.Boardingv1registrationsProductInformationSelectedProducts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Payments** | [**PaymentProducts**](PaymentProducts.md) | | [optional] +**Risk** | [**RiskProducts**](RiskProducts.md) | | [optional] +**CommerceSolutions** | [**CommerceSolutionsProducts**](CommerceSolutionsProducts.md) | | [optional] +**ValueAddedServices** | [**ValueAddedServicesProducts**](ValueAddedServicesProducts.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Boardingv1registrationsRegistrationInformation.md b/docs/Boardingv1registrationsRegistrationInformation.md new file mode 100644 index 00000000..268f34c8 --- /dev/null +++ b/docs/Boardingv1registrationsRegistrationInformation.md @@ -0,0 +1,15 @@ +# CyberSource.Model.Boardingv1registrationsRegistrationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BoardingRegistrationId** | **string** | | [optional] +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | The status of Registration request Possible Values: - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process. - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information. - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information. | [optional] +**BoardingPackageId** | **string** | | [optional] +**BoardingFlow** | **string** | Determines the boarding flow for this registration. Possible Values: - 'ENTERPRISE' - 'SMB' - 'ADDPRODUCT' | [optional] +**Mode** | **string** | In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' | [optional] +**SalesRepId** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CapturePaymentRequest.md b/docs/CapturePaymentRequest.md index 13a86082..cf9fb94b 100644 --- a/docs/CapturePaymentRequest.md +++ b/docs/CapturePaymentRequest.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **AggregatorInformation** | [**Ptsv2paymentsidcapturesAggregatorInformation**](Ptsv2paymentsidcapturesAggregatorInformation.md) | | [optional] **PointOfSaleInformation** | [**Ptsv2paymentsidcapturesPointOfSaleInformation**](Ptsv2paymentsidcapturesPointOfSaleInformation.md) | | [optional] **MerchantDefinedInformation** | [**List<Ptsv2paymentsMerchantDefinedInformation>**](Ptsv2paymentsMerchantDefinedInformation.md) | The object containing the custom data that the merchant defines. | [optional] +**MerchantDefinedSecureInformation** | [**Ptsv2paymentsMerchantDefinedSecureInformation**](Ptsv2paymentsMerchantDefinedSecureInformation.md) | | [optional] **InstallmentInformation** | [**Ptsv2paymentsidcapturesInstallmentInformation**](Ptsv2paymentsidcapturesInstallmentInformation.md) | | [optional] **TravelInformation** | [**Ptsv2paymentsTravelInformation**](Ptsv2paymentsTravelInformation.md) | | [optional] **PromotionInformation** | [**Ptsv2paymentsPromotionInformation**](Ptsv2paymentsPromotionInformation.md) | | [optional] diff --git a/docs/CommerceSolutionsProducts.md b/docs/CommerceSolutionsProducts.md new file mode 100644 index 00000000..61d9498f --- /dev/null +++ b/docs/CommerceSolutionsProducts.md @@ -0,0 +1,11 @@ +# CyberSource.Model.CommerceSolutionsProducts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TokenManagement** | [**CommerceSolutionsProductsTokenManagement**](CommerceSolutionsProductsTokenManagement.md) | | [optional] +**AccountUpdater** | [**CommerceSolutionsProductsAccountUpdater**](CommerceSolutionsProductsAccountUpdater.md) | | [optional] +**BinLookup** | [**CommerceSolutionsProductsBinLookup**](CommerceSolutionsProductsBinLookup.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsAccountUpdater.md b/docs/CommerceSolutionsProductsAccountUpdater.md new file mode 100644 index 00000000..b2d59226 --- /dev/null +++ b/docs/CommerceSolutionsProductsAccountUpdater.md @@ -0,0 +1,10 @@ +# CyberSource.Model.CommerceSolutionsProductsAccountUpdater +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**CommerceSolutionsProductsAccountUpdaterConfigurationInformation**](CommerceSolutionsProductsAccountUpdaterConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.md b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.md new file mode 100644 index 00000000..efc6c822 --- /dev/null +++ b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.CommerceSolutionsProductsAccountUpdaterConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations**](CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.md b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.md new file mode 100644 index 00000000..816bde12 --- /dev/null +++ b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.md @@ -0,0 +1,13 @@ +# CyberSource.Model.CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MasterCard** | [**CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard**](CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.md) | | [optional] +**Visa** | [**CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa**](CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.md) | | [optional] +**Amex** | [**CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex**](CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.md) | | [optional] +**PreferredDay** | **decimal?** | | [optional] +**DaysWindow** | **decimal?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.md b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.md new file mode 100644 index 00000000..15fedc28 --- /dev/null +++ b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.md @@ -0,0 +1,12 @@ +# CyberSource.Model.CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Mode** | **string** | Type of mode. Valid values are `tokenApi` or `dailyHarvest`. | [optional] +**SeNumber** | **string** | | [optional] +**SubscriberId** | **string** | | [optional] +**Active** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.md b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.md new file mode 100644 index 00000000..daa45546 --- /dev/null +++ b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.md @@ -0,0 +1,11 @@ +# CyberSource.Model.CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MerchantId** | **string** | MasterCard merchant identified number | +**InterbankCardAssociationNumber** | **string** | Number assigned by MasterCard to a financial institution, third-party processor or other member to identify the member in transaction. | +**Active** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.md b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.md new file mode 100644 index 00000000..ef364e11 --- /dev/null +++ b/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.md @@ -0,0 +1,11 @@ +# CyberSource.Model.CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MerchantId** | **string** | Visa merchant identified number | +**SegmentId** | **string** | Visa assigned segment ID for each group of merchants participating in VAU. | +**Active** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsBinLookup.md b/docs/CommerceSolutionsProductsBinLookup.md new file mode 100644 index 00000000..7245f5e9 --- /dev/null +++ b/docs/CommerceSolutionsProductsBinLookup.md @@ -0,0 +1,10 @@ +# CyberSource.Model.CommerceSolutionsProductsBinLookup +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**CommerceSolutionsProductsBinLookupConfigurationInformation**](CommerceSolutionsProductsBinLookupConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsBinLookupConfigurationInformation.md b/docs/CommerceSolutionsProductsBinLookupConfigurationInformation.md new file mode 100644 index 00000000..b3b7663b --- /dev/null +++ b/docs/CommerceSolutionsProductsBinLookupConfigurationInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.CommerceSolutionsProductsBinLookupConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Configurations** | [**CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations**](CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.md b/docs/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.md new file mode 100644 index 00000000..9c54689b --- /dev/null +++ b/docs/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations.md @@ -0,0 +1,10 @@ +# CyberSource.Model.CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IsPayoutOptionsEnabled** | **bool?** | This flag indicates if the merchant is configured to make payout calls | [optional] +**IsAccountPrefixEnabled** | **bool?** | This flag indicates if the merchant is configured to receive account prefix | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsTokenManagement.md b/docs/CommerceSolutionsProductsTokenManagement.md new file mode 100644 index 00000000..edd4d254 --- /dev/null +++ b/docs/CommerceSolutionsProductsTokenManagement.md @@ -0,0 +1,10 @@ +# CyberSource.Model.CommerceSolutionsProductsTokenManagement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**CommerceSolutionsProductsTokenManagementConfigurationInformation**](CommerceSolutionsProductsTokenManagementConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsTokenManagementConfigurationInformation.md b/docs/CommerceSolutionsProductsTokenManagementConfigurationInformation.md new file mode 100644 index 00000000..459aaa2c --- /dev/null +++ b/docs/CommerceSolutionsProductsTokenManagementConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.CommerceSolutionsProductsTokenManagementConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations**](CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.md b/docs/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.md new file mode 100644 index 00000000..a621c582 --- /dev/null +++ b/docs/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations.md @@ -0,0 +1,9 @@ +# CyberSource.Model.CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ParentProfileId** | **string** | Specify the Vault ID to which transacting MID needs to be assigned.Provide Vault ID as seen on EBC Vault management page. If not provided , transacting MID will be assigned to the existing default Vault at merchant's level. If there are no Vaults at merchant level , a new Vault will be created and transacting MID will be assigned to it. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CreateCreditRequest.md b/docs/CreateCreditRequest.md index 23492659..754c545b 100644 --- a/docs/CreateCreditRequest.md +++ b/docs/CreateCreditRequest.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **AggregatorInformation** | [**Ptsv2paymentsidcapturesAggregatorInformation**](Ptsv2paymentsidcapturesAggregatorInformation.md) | | [optional] **PointOfSaleInformation** | [**Ptsv2paymentsPointOfSaleInformation**](Ptsv2paymentsPointOfSaleInformation.md) | | [optional] **MerchantDefinedInformation** | [**List<Ptsv2paymentsMerchantDefinedInformation>**](Ptsv2paymentsMerchantDefinedInformation.md) | The object containing the custom data that the merchant defines. | [optional] +**MerchantDefinedSecureInformation** | [**Ptsv2paymentsMerchantDefinedSecureInformation**](Ptsv2paymentsMerchantDefinedSecureInformation.md) | | [optional] **InstallmentInformation** | [**Ptsv2creditsInstallmentInformation**](Ptsv2creditsInstallmentInformation.md) | | [optional] **TravelInformation** | [**Ptsv2paymentsTravelInformation**](Ptsv2paymentsTravelInformation.md) | | [optional] **PromotionInformation** | [**Ptsv2paymentsPromotionInformation**](Ptsv2paymentsPromotionInformation.md) | | [optional] diff --git a/docs/CreateNewWebhooksApi.md b/docs/CreateNewWebhooksApi.md new file mode 100644 index 00000000..2c39bf19 --- /dev/null +++ b/docs/CreateNewWebhooksApi.md @@ -0,0 +1,200 @@ +# CyberSource.Api.CreateNewWebhooksApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateWebhook**](CreateNewWebhooksApi.md#createwebhook) | **POST** /notification-subscriptions/v1/webhooks | Create a Webhook +[**FindProductToSubscribe**](CreateNewWebhooksApi.md#findproducttosubscribe) | **GET** /notification-subscriptions/v1/products/{organizationId} | Find Products You Can Subscribe To +[**SaveSymEgressKey**](CreateNewWebhooksApi.md#savesymegresskey) | **POST** /kms/egress/v2/keys-sym | Create Webhook Security Keys + + + +# **CreateWebhook** +> InlineResponse2013 CreateWebhook (CreateWebhook createWebhook = null) + +Create a Webhook + +Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class CreateWebhookExample + { + public void main() + { + var apiInstance = new CreateNewWebhooksApi(); + var createWebhook = new CreateWebhook(); // CreateWebhook | The webhook payload (optional) + + try + { + // Create a Webhook + InlineResponse2013 result = apiInstance.CreateWebhook(createWebhook); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling CreateNewWebhooksApi.CreateWebhook: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **createWebhook** | [**CreateWebhook**](CreateWebhook.md)| The webhook payload | [optional] + +### Return type + +[**InlineResponse2013**](InlineResponse2013.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **FindProductToSubscribe** +> List FindProductToSubscribe (string organizationId) + +Find Products You Can Subscribe To + +Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class FindProductToSubscribeExample + { + public void main() + { + var apiInstance = new CreateNewWebhooksApi(); + var organizationId = organizationId_example; // string | The Organization Identifier. + + try + { + // Find Products You Can Subscribe To + List<InlineResponse2003> result = apiInstance.FindProductToSubscribe(organizationId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling CreateNewWebhooksApi.FindProductToSubscribe: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organizationId** | **string**| The Organization Identifier. | + +### Return type + +[**List**](InlineResponse2003.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **SaveSymEgressKey** +> InlineResponse2012 SaveSymEgressKey (string vCSenderOrganizationId, string vCPermissions, string vCCorrelationId = null, SaveSymEgressKey saveSymEgressKey = null) + +Create Webhook Security Keys + +Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class SaveSymEgressKeyExample + { + public void main() + { + var apiInstance = new CreateNewWebhooksApi(); + var vCSenderOrganizationId = vCSenderOrganizationId_example; // string | Sender organization id + var vCPermissions = vCPermissions_example; // string | Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + var vCCorrelationId = vCCorrelationId_example; // string | A globally unique id associated with your request (optional) + var saveSymEgressKey = new SaveSymEgressKey(); // SaveSymEgressKey | Provide egress Symmetric key information to save (create or store or refresh) (optional) + + try + { + // Create Webhook Security Keys + InlineResponse2012 result = apiInstance.SaveSymEgressKey(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling CreateNewWebhooksApi.SaveSymEgressKey: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **vCSenderOrganizationId** | **string**| Sender organization id | + **vCPermissions** | **string**| Encoded user permissions returned by the CGK, for the entity user who initiated the boarding | + **vCCorrelationId** | **string**| A globally unique id associated with your request | [optional] + **saveSymEgressKey** | [**SaveSymEgressKey**](SaveSymEgressKey.md)| Provide egress Symmetric key information to save (create or store or refresh) | [optional] + +### Return type + +[**InlineResponse2012**](InlineResponse2012.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/CreatePaymentRequest.md b/docs/CreatePaymentRequest.md index 2a6b2a21..f24f95df 100644 --- a/docs/CreatePaymentRequest.md +++ b/docs/CreatePaymentRequest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **ConsumerAuthenticationInformation** | [**Ptsv2paymentsConsumerAuthenticationInformation**](Ptsv2paymentsConsumerAuthenticationInformation.md) | | [optional] **PointOfSaleInformation** | [**Ptsv2paymentsPointOfSaleInformation**](Ptsv2paymentsPointOfSaleInformation.md) | | [optional] **MerchantDefinedInformation** | [**List<Ptsv2paymentsMerchantDefinedInformation>**](Ptsv2paymentsMerchantDefinedInformation.md) | The object containing the custom data that the merchant defines. | [optional] +**MerchantDefinedSecureInformation** | [**Ptsv2paymentsMerchantDefinedSecureInformation**](Ptsv2paymentsMerchantDefinedSecureInformation.md) | | [optional] **InstallmentInformation** | [**Ptsv2paymentsInstallmentInformation**](Ptsv2paymentsInstallmentInformation.md) | | [optional] **TravelInformation** | [**Ptsv2paymentsTravelInformation**](Ptsv2paymentsTravelInformation.md) | | [optional] **HealthCareInformation** | [**Ptsv2paymentsHealthCareInformation**](Ptsv2paymentsHealthCareInformation.md) | | [optional] diff --git a/docs/CreateWebhook.md b/docs/CreateWebhook.md new file mode 100644 index 00000000..eb7f44ec --- /dev/null +++ b/docs/CreateWebhook.md @@ -0,0 +1,18 @@ +# CyberSource.Model.CreateWebhook +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | Client friendly webhook name. | [optional] +**Description** | **string** | Client friendly webhook description. | [optional] +**OrganizationId** | **string** | Organization Identifier (OrgId) or Merchant Identifier (MID). | [optional] +**ProductId** | **string** | To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint. | [optional] +**EventTypes** | **List<string>** | Array of the different events for a given product id. | [optional] +**WebhookUrl** | **string** | The client's endpoint (URL) to receive webhooks. | [optional] +**HealthCheckUrl** | **string** | The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. | [optional] +**NotificationScope** | **string** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field. | [optional] +**RetryPolicy** | [**Notificationsubscriptionsv1webhooksRetryPolicy**](Notificationsubscriptionsv1webhooksRetryPolicy.md) | | [optional] +**SecurityPolicy** | [**Notificationsubscriptionsv1webhooksSecurityPolicy1**](Notificationsubscriptionsv1webhooksSecurityPolicy1.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md index 086c224c..716df5da 100644 --- a/docs/InlineResponse2002.md +++ b/docs/InlineResponse2002.md @@ -3,13 +3,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**List<InlineResponse2002Links>**](InlineResponse2002Links.md) | | [optional] -**_Object** | **string** | | [optional] -**Offset** | **int?** | | [optional] -**Limit** | **int?** | | [optional] -**Count** | **int?** | | [optional] -**Total** | **int?** | | [optional] -**Embedded** | [**InlineResponse2002Embedded**](InlineResponse2002Embedded.md) | | [optional] +**RegistrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] +**IntegrationInformation** | [**InlineResponse2002IntegrationInformation**](InlineResponse2002IntegrationInformation.md) | | [optional] +**OrganizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] +**ProductInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] +**ProductInformationSetups** | [**List<InlineResponse2011ProductInformationSetups>**](InlineResponse2011ProductInformationSetups.md) | | [optional] +**DocumentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] +**Details** | **Dictionary<string, List<Object>>** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002IntegrationInformation.md b/docs/InlineResponse2002IntegrationInformation.md new file mode 100644 index 00000000..72cb1e9d --- /dev/null +++ b/docs/InlineResponse2002IntegrationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2002IntegrationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Oauth2** | [**List<Boardingv1registrationsIntegrationInformationOauth2>**](Boardingv1registrationsIntegrationInformationOauth2.md) | | [optional] +**TenantConfigurations** | [**List<InlineResponse2002IntegrationInformationTenantConfigurations>**](InlineResponse2002IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002IntegrationInformationTenantConfigurations.md b/docs/InlineResponse2002IntegrationInformationTenantConfigurations.md new file mode 100644 index 00000000..7f01d9bf --- /dev/null +++ b/docs/InlineResponse2002IntegrationInformationTenantConfigurations.md @@ -0,0 +1,13 @@ +# CyberSource.Model.InlineResponse2002IntegrationInformationTenantConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SolutionId** | **string** | The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. | [optional] +**TenantConfigurationId** | **string** | The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. | [optional] +**Status** | **string** | | [optional] +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. | [optional] +**TenantInformation** | [**Boardingv1registrationsIntegrationInformationTenantInformation**](Boardingv1registrationsIntegrationInformationTenantInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md index 639cfb4e..466ff8b5 100644 --- a/docs/InlineResponse2003.md +++ b/docs/InlineResponse2003.md @@ -3,16 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**InlineResponse2003Links**](InlineResponse2003Links.md) | | [optional] -**BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] -**BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] -**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] -**BatchCaEndpoints** | **string** | | [optional] -**Status** | **string** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] -**Totals** | [**InlineResponse2002EmbeddedTotals**](InlineResponse2002EmbeddedTotals.md) | | [optional] -**Billing** | [**InlineResponse2003Billing**](InlineResponse2003Billing.md) | | [optional] -**Description** | **string** | | [optional] +**ProductId** | **string** | Product ID. | [optional] +**ProductName** | **string** | Product Name. | [optional] +**EventTypes** | [**List<Notificationsubscriptionsv1productsorganizationIdEventTypes>**](Notificationsubscriptionsv1productsorganizationIdEventTypes.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md index 74c0024a..ad9aedcf 100644 --- a/docs/InlineResponse2004.md +++ b/docs/InlineResponse2004.md @@ -3,16 +3,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Version** | **string** | | [optional] -**ReportCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] -**BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] -**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**BatchCaEndpoints** | **string** | | [optional] -**BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] -**MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] -**Totals** | [**InlineResponse2002EmbeddedTotals**](InlineResponse2002EmbeddedTotals.md) | | [optional] -**Billing** | [**InlineResponse2003Billing**](InlineResponse2003Billing.md) | | [optional] -**Records** | [**List<InlineResponse2004Records>**](InlineResponse2004Records.md) | | [optional] +**WebhookId** | **string** | Webhook Id. This is generated by the server. | [optional] +**OrganizationId** | **string** | Organization ID. | [optional] +**Products** | [**List<Notificationsubscriptionsv1webhooksProducts>**](Notificationsubscriptionsv1webhooksProducts.md) | | [optional] +**WebhookUrl** | **string** | The client's endpoint (URL) to receive webhooks. | [optional] +**HealthCheckUrl** | **string** | The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. | [optional] +**NotificationScope** | [**Notificationsubscriptionsv1webhooksNotificationScope**](Notificationsubscriptionsv1webhooksNotificationScope.md) | | [optional] +**Status** | **string** | Webhook status. | [optional] [default to "INACTIVE"] +**Name** | **string** | Client friendly webhook name. | [optional] +**Description** | **string** | Client friendly webhook description. | [optional] +**RetryPolicy** | [**Notificationsubscriptionsv1webhooksRetryPolicy**](Notificationsubscriptionsv1webhooksRetryPolicy.md) | | [optional] +**SecurityPolicy** | [**Notificationsubscriptionsv1webhooksSecurityPolicy**](Notificationsubscriptionsv1webhooksSecurityPolicy.md) | | [optional] +**CreatedOn** | **string** | Date on which webhook was created/registered. | [optional] +**UpdatedOn** | **string** | Date on which webhook was most recently updated. | [optional] +**AdditionalAttributes** | **List<Dictionary<string, string>>** | Additional, free form configuration data. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md new file mode 100644 index 00000000..037ffa71 --- /dev/null +++ b/docs/InlineResponse2005.md @@ -0,0 +1,15 @@ +# CyberSource.Model.InlineResponse2005 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**List<InlineResponse2005Links>**](InlineResponse2005Links.md) | | [optional] +**_Object** | **string** | | [optional] +**Offset** | **int?** | | [optional] +**Limit** | **int?** | | [optional] +**Count** | **int?** | | [optional] +**Total** | **int?** | | [optional] +**Embedded** | [**InlineResponse2005Embedded**](InlineResponse2005Embedded.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2005Embedded.md b/docs/InlineResponse2005Embedded.md new file mode 100644 index 00000000..1be3280d --- /dev/null +++ b/docs/InlineResponse2005Embedded.md @@ -0,0 +1,9 @@ +# CyberSource.Model.InlineResponse2005Embedded +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Batches** | [**List<InlineResponse2005EmbeddedBatches>**](InlineResponse2005EmbeddedBatches.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002EmbeddedBatches.md b/docs/InlineResponse2005EmbeddedBatches.md similarity index 82% rename from docs/InlineResponse2002EmbeddedBatches.md rename to docs/InlineResponse2005EmbeddedBatches.md index 72d7e9c4..77fa5e83 100644 --- a/docs/InlineResponse2002EmbeddedBatches.md +++ b/docs/InlineResponse2005EmbeddedBatches.md @@ -1,9 +1,9 @@ -# CyberSource.Model.InlineResponse2002EmbeddedBatches +# CyberSource.Model.InlineResponse2005EmbeddedBatches ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**InlineResponse2002EmbeddedLinks**](InlineResponse2002EmbeddedLinks.md) | | [optional] +**Links** | [**InlineResponse2005EmbeddedLinks**](InlineResponse2005EmbeddedLinks.md) | | [optional] **BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] **BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] **BatchModifiedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] @@ -12,7 +12,7 @@ Name | Type | Description | Notes **MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] **BatchCaEndpoints** | **List<string>** | Valid Values: * VISA * MASTERCARD * AMEX | [optional] **Status** | **string** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE | [optional] -**Totals** | [**InlineResponse2002EmbeddedTotals**](InlineResponse2002EmbeddedTotals.md) | | [optional] +**Totals** | [**InlineResponse2005EmbeddedTotals**](InlineResponse2005EmbeddedTotals.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002EmbeddedLinks.md b/docs/InlineResponse2005EmbeddedLinks.md similarity index 60% rename from docs/InlineResponse2002EmbeddedLinks.md rename to docs/InlineResponse2005EmbeddedLinks.md index b04d80d2..4f8594c4 100644 --- a/docs/InlineResponse2002EmbeddedLinks.md +++ b/docs/InlineResponse2005EmbeddedLinks.md @@ -1,9 +1,9 @@ -# CyberSource.Model.InlineResponse2002EmbeddedLinks +# CyberSource.Model.InlineResponse2005EmbeddedLinks ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Reports** | [**List<InlineResponse2002EmbeddedLinksReports>**](InlineResponse2002EmbeddedLinksReports.md) | | [optional] +**Reports** | [**List<InlineResponse2005EmbeddedLinksReports>**](InlineResponse2005EmbeddedLinksReports.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002EmbeddedLinksReports.md b/docs/InlineResponse2005EmbeddedLinksReports.md similarity index 84% rename from docs/InlineResponse2002EmbeddedLinksReports.md rename to docs/InlineResponse2005EmbeddedLinksReports.md index a3702d83..88e0e529 100644 --- a/docs/InlineResponse2002EmbeddedLinksReports.md +++ b/docs/InlineResponse2005EmbeddedLinksReports.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2002EmbeddedLinksReports +# CyberSource.Model.InlineResponse2005EmbeddedLinksReports ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2002EmbeddedTotals.md b/docs/InlineResponse2005EmbeddedTotals.md similarity index 90% rename from docs/InlineResponse2002EmbeddedTotals.md rename to docs/InlineResponse2005EmbeddedTotals.md index 7cb7031e..b0a8b92d 100644 --- a/docs/InlineResponse2002EmbeddedTotals.md +++ b/docs/InlineResponse2005EmbeddedTotals.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2002EmbeddedTotals +# CyberSource.Model.InlineResponse2005EmbeddedTotals ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2002Links.md b/docs/InlineResponse2005Links.md similarity index 90% rename from docs/InlineResponse2002Links.md rename to docs/InlineResponse2005Links.md index 9c7e6cde..eac5fc6e 100644 --- a/docs/InlineResponse2002Links.md +++ b/docs/InlineResponse2005Links.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2002Links +# CyberSource.Model.InlineResponse2005Links ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md new file mode 100644 index 00000000..03fa3c63 --- /dev/null +++ b/docs/InlineResponse2006.md @@ -0,0 +1,18 @@ +# CyberSource.Model.InlineResponse2006 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**InlineResponse2006Links**](InlineResponse2006Links.md) | | [optional] +**BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] +**BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] +**MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] +**BatchCaEndpoints** | **string** | | [optional] +**Status** | **string** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] +**Totals** | [**InlineResponse2005EmbeddedTotals**](InlineResponse2005EmbeddedTotals.md) | | [optional] +**Billing** | [**InlineResponse2006Billing**](InlineResponse2006Billing.md) | | [optional] +**Description** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2003Billing.md b/docs/InlineResponse2006Billing.md similarity index 90% rename from docs/InlineResponse2003Billing.md rename to docs/InlineResponse2006Billing.md index 019626df..d09feb32 100644 --- a/docs/InlineResponse2003Billing.md +++ b/docs/InlineResponse2006Billing.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2003Billing +# CyberSource.Model.InlineResponse2006Billing ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2003Links.md b/docs/InlineResponse2006Links.md similarity index 70% rename from docs/InlineResponse2003Links.md rename to docs/InlineResponse2006Links.md index 56ad2d11..090f79bf 100644 --- a/docs/InlineResponse2003Links.md +++ b/docs/InlineResponse2006Links.md @@ -1,10 +1,10 @@ -# CyberSource.Model.InlineResponse2003Links +# CyberSource.Model.InlineResponse2006Links ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] -**Report** | [**List<InlineResponse2003LinksReport>**](InlineResponse2003LinksReport.md) | | [optional] +**Report** | [**List<InlineResponse2006LinksReport>**](InlineResponse2006LinksReport.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2003LinksReport.md b/docs/InlineResponse2006LinksReport.md similarity index 86% rename from docs/InlineResponse2003LinksReport.md rename to docs/InlineResponse2006LinksReport.md index 080fe34b..2fa742a6 100644 --- a/docs/InlineResponse2003LinksReport.md +++ b/docs/InlineResponse2006LinksReport.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2003LinksReport +# CyberSource.Model.InlineResponse2006LinksReport ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md new file mode 100644 index 00000000..1cc751f7 --- /dev/null +++ b/docs/InlineResponse2007.md @@ -0,0 +1,18 @@ +# CyberSource.Model.InlineResponse2007 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Version** | **string** | | [optional] +**ReportCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] +**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] +**BatchCaEndpoints** | **string** | | [optional] +**BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] +**Totals** | [**InlineResponse2005EmbeddedTotals**](InlineResponse2005EmbeddedTotals.md) | | [optional] +**Billing** | [**InlineResponse2006Billing**](InlineResponse2006Billing.md) | | [optional] +**Records** | [**List<InlineResponse2007Records>**](InlineResponse2007Records.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2004Records.md b/docs/InlineResponse2007Records.md similarity index 53% rename from docs/InlineResponse2004Records.md rename to docs/InlineResponse2007Records.md index 56d1df47..1d87e622 100644 --- a/docs/InlineResponse2004Records.md +++ b/docs/InlineResponse2007Records.md @@ -1,11 +1,11 @@ -# CyberSource.Model.InlineResponse2004Records +# CyberSource.Model.InlineResponse2007Records ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | | [optional] -**SourceRecord** | [**InlineResponse2004SourceRecord**](InlineResponse2004SourceRecord.md) | | [optional] -**ResponseRecord** | [**InlineResponse2004ResponseRecord**](InlineResponse2004ResponseRecord.md) | | [optional] +**SourceRecord** | [**InlineResponse2007SourceRecord**](InlineResponse2007SourceRecord.md) | | [optional] +**ResponseRecord** | [**InlineResponse2007ResponseRecord**](InlineResponse2007ResponseRecord.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2004ResponseRecord.md b/docs/InlineResponse2007ResponseRecord.md similarity index 82% rename from docs/InlineResponse2004ResponseRecord.md rename to docs/InlineResponse2007ResponseRecord.md index a9223abd..eddc2cb8 100644 --- a/docs/InlineResponse2004ResponseRecord.md +++ b/docs/InlineResponse2007ResponseRecord.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2004ResponseRecord +# CyberSource.Model.InlineResponse2007ResponseRecord ## Properties Name | Type | Description | Notes @@ -12,7 +12,7 @@ Name | Type | Description | Notes **CardExpiryMonth** | **string** | | [optional] **CardExpiryYear** | **string** | | [optional] **CardType** | **string** | | [optional] -**AdditionalUpdates** | [**List<InlineResponse2004ResponseRecordAdditionalUpdates>**](InlineResponse2004ResponseRecordAdditionalUpdates.md) | | [optional] +**AdditionalUpdates** | [**List<InlineResponse2007ResponseRecordAdditionalUpdates>**](InlineResponse2007ResponseRecordAdditionalUpdates.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2004ResponseRecordAdditionalUpdates.md b/docs/InlineResponse2007ResponseRecordAdditionalUpdates.md similarity index 89% rename from docs/InlineResponse2004ResponseRecordAdditionalUpdates.md rename to docs/InlineResponse2007ResponseRecordAdditionalUpdates.md index cddc0be1..dc1b3f6f 100644 --- a/docs/InlineResponse2004ResponseRecordAdditionalUpdates.md +++ b/docs/InlineResponse2007ResponseRecordAdditionalUpdates.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2004ResponseRecordAdditionalUpdates +# CyberSource.Model.InlineResponse2007ResponseRecordAdditionalUpdates ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2004SourceRecord.md b/docs/InlineResponse2007SourceRecord.md similarity index 92% rename from docs/InlineResponse2004SourceRecord.md rename to docs/InlineResponse2007SourceRecord.md index 48eff78d..98c3cce5 100644 --- a/docs/InlineResponse2004SourceRecord.md +++ b/docs/InlineResponse2007SourceRecord.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2004SourceRecord +# CyberSource.Model.InlineResponse2007SourceRecord ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2011.md b/docs/InlineResponse2011.md new file mode 100644 index 00000000..7141afee --- /dev/null +++ b/docs/InlineResponse2011.md @@ -0,0 +1,17 @@ +# CyberSource.Model.InlineResponse2011 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | | [optional] +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL' | [optional] +**RegistrationInformation** | [**InlineResponse2011RegistrationInformation**](InlineResponse2011RegistrationInformation.md) | | [optional] +**IntegrationInformation** | [**InlineResponse2011IntegrationInformation**](InlineResponse2011IntegrationInformation.md) | | [optional] +**OrganizationInformation** | [**InlineResponse2011OrganizationInformation**](InlineResponse2011OrganizationInformation.md) | | [optional] +**ProductInformationSetups** | [**List<InlineResponse2011ProductInformationSetups>**](InlineResponse2011ProductInformationSetups.md) | | [optional] +**Message** | **string** | | [optional] +**Details** | **Dictionary<string, List<Object>>** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011IntegrationInformation.md b/docs/InlineResponse2011IntegrationInformation.md new file mode 100644 index 00000000..85d706c5 --- /dev/null +++ b/docs/InlineResponse2011IntegrationInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.InlineResponse2011IntegrationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TenantConfigurations** | [**List<InlineResponse2011IntegrationInformationTenantConfigurations>**](InlineResponse2011IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011IntegrationInformationTenantConfigurations.md b/docs/InlineResponse2011IntegrationInformationTenantConfigurations.md new file mode 100644 index 00000000..c95b3c8a --- /dev/null +++ b/docs/InlineResponse2011IntegrationInformationTenantConfigurations.md @@ -0,0 +1,12 @@ +# CyberSource.Model.InlineResponse2011IntegrationInformationTenantConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SolutionId** | **string** | The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. | [optional] +**TenantConfigurationId** | **string** | The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. | [optional] +**Status** | **string** | | [optional] +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011OrganizationInformation.md b/docs/InlineResponse2011OrganizationInformation.md new file mode 100644 index 00000000..8ef9cb3e --- /dev/null +++ b/docs/InlineResponse2011OrganizationInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.InlineResponse2011OrganizationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OrganizationId** | **string** | | [optional] +**ParentOrganizationId** | **string** | | [optional] +**ChildOrganizations** | **List<string>** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011ProductInformationSetups.md b/docs/InlineResponse2011ProductInformationSetups.md new file mode 100644 index 00000000..aa58c7e6 --- /dev/null +++ b/docs/InlineResponse2011ProductInformationSetups.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2011ProductInformationSetups +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OrganizationId** | **string** | | [optional] +**Setups** | [**InlineResponse2011Setups**](InlineResponse2011Setups.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011RegistrationInformation.md b/docs/InlineResponse2011RegistrationInformation.md new file mode 100644 index 00000000..f9bf2fd6 --- /dev/null +++ b/docs/InlineResponse2011RegistrationInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.InlineResponse2011RegistrationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BoardingPackageId** | **string** | | [optional] +**Mode** | **string** | In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL' | [optional] +**SalesRepId** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011Setups.md b/docs/InlineResponse2011Setups.md new file mode 100644 index 00000000..3160050b --- /dev/null +++ b/docs/InlineResponse2011Setups.md @@ -0,0 +1,12 @@ +# CyberSource.Model.InlineResponse2011Setups +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Payments** | [**InlineResponse2011SetupsPayments**](InlineResponse2011SetupsPayments.md) | | [optional] +**Risk** | [**InlineResponse2011SetupsRisk**](InlineResponse2011SetupsRisk.md) | | [optional] +**CommerceSolutions** | [**InlineResponse2011SetupsCommerceSolutions**](InlineResponse2011SetupsCommerceSolutions.md) | | [optional] +**ValueAddedServices** | [**InlineResponse2011SetupsValueAddedServices**](InlineResponse2011SetupsValueAddedServices.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsCommerceSolutions.md b/docs/InlineResponse2011SetupsCommerceSolutions.md new file mode 100644 index 00000000..9008e6d8 --- /dev/null +++ b/docs/InlineResponse2011SetupsCommerceSolutions.md @@ -0,0 +1,11 @@ +# CyberSource.Model.InlineResponse2011SetupsCommerceSolutions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TokenManagement** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**AccountUpdater** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**BinLookup** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsPayments.md b/docs/InlineResponse2011SetupsPayments.md new file mode 100644 index 00000000..e48bbc33 --- /dev/null +++ b/docs/InlineResponse2011SetupsPayments.md @@ -0,0 +1,24 @@ +# CyberSource.Model.InlineResponse2011SetupsPayments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardProcessing** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**CardPresentConnect** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**ECheck** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**PayerAuthentication** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**DigitalPayments** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] +**SecureAcceptance** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**VirtualTerminal** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**CurrencyConversion** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**Tax** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] +**CustomerInvoicing** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] +**RecurringBilling** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**CybsReadyTerminal** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**PaymentOrchestration** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] +**Payouts** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**PayByLink** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] +**UnifiedCheckout** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsPaymentsCardProcessing.md b/docs/InlineResponse2011SetupsPaymentsCardProcessing.md new file mode 100644 index 00000000..82284f4b --- /dev/null +++ b/docs/InlineResponse2011SetupsPaymentsCardProcessing.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2011SetupsPaymentsCardProcessing +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionStatus** | [**InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus**](InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.md) | | [optional] +**ConfigurationStatus** | [**InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus**](InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.md b/docs/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.md new file mode 100644 index 00000000..b13f7681 --- /dev/null +++ b/docs/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus.md @@ -0,0 +1,15 @@ +# CyberSource.Model.InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfigurationId** | **Guid?** | This is NOT for MVP | [optional] +**Version** | **string** | | [optional] +**SubmitTimeUtc** | **string** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | | [optional] +**Reason** | **string** | | [optional] +**Details** | **List<Dictionary<string, string>>** | | [optional] +**Message** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.md b/docs/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.md new file mode 100644 index 00000000..2a55aa47 --- /dev/null +++ b/docs/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.md @@ -0,0 +1,13 @@ +# CyberSource.Model.InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubmitTimeUtc** | **string** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | | [optional] +**Reason** | **string** | | [optional] +**Details** | **List<Dictionary<string, string>>** | | [optional] +**Message** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsPaymentsDigitalPayments.md b/docs/InlineResponse2011SetupsPaymentsDigitalPayments.md new file mode 100644 index 00000000..3b5f0b8d --- /dev/null +++ b/docs/InlineResponse2011SetupsPaymentsDigitalPayments.md @@ -0,0 +1,9 @@ +# CyberSource.Model.InlineResponse2011SetupsPaymentsDigitalPayments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionStatus** | [**InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus**](InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsRisk.md b/docs/InlineResponse2011SetupsRisk.md new file mode 100644 index 00000000..8d578dd4 --- /dev/null +++ b/docs/InlineResponse2011SetupsRisk.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2011SetupsRisk +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FraudManagementEssentials** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] +**DecisionManager** | [**InlineResponse2011SetupsPaymentsCardProcessing**](InlineResponse2011SetupsPaymentsCardProcessing.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2011SetupsValueAddedServices.md b/docs/InlineResponse2011SetupsValueAddedServices.md new file mode 100644 index 00000000..57591334 --- /dev/null +++ b/docs/InlineResponse2011SetupsValueAddedServices.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2011SetupsValueAddedServices +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reporting** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] +**TransactionSearch** | [**InlineResponse2011SetupsPaymentsDigitalPayments**](InlineResponse2011SetupsPaymentsDigitalPayments.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2012.md b/docs/InlineResponse2012.md new file mode 100644 index 00000000..4f409bef --- /dev/null +++ b/docs/InlineResponse2012.md @@ -0,0 +1,12 @@ +# CyberSource.Model.InlineResponse2012 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. | [optional] +**Status** | **string** | The status of the submitted transaction. Possible values: - ACCEPTED | [optional] +**ClientReferenceInformation** | [**Kmsegressv2keyssymClientReferenceInformation**](Kmsegressv2keyssymClientReferenceInformation.md) | | [optional] +**KeyInformation** | [**InlineResponse2012KeyInformation**](InlineResponse2012KeyInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2012KeyInformation.md b/docs/InlineResponse2012KeyInformation.md new file mode 100644 index 00000000..7165f81f --- /dev/null +++ b/docs/InlineResponse2012KeyInformation.md @@ -0,0 +1,19 @@ +# CyberSource.Model.InlineResponse2012KeyInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Provider** | **string** | Provider name | [optional] +**Tenant** | **string** | Tenant name | [optional] +**OrganizationId** | **string** | Organization Id | [optional] +**ClientKeyId** | **string** | Client key Id | [optional] +**KeyId** | **string** | Key Serial Number | [optional] +**Key** | **string** | Value of the key | [optional] +**KeyType** | **string** | Type of the key | [optional] +**Status** | **string** | The status of the key | [optional] +**ExpirationDate** | **string** | The expiration time in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Message** | **string** | Message in case of failed key | [optional] +**ErrorInformation** | [**InlineResponse2012KeyInformationErrorInformation**](InlineResponse2012KeyInformationErrorInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2012KeyInformationErrorInformation.md b/docs/InlineResponse2012KeyInformationErrorInformation.md new file mode 100644 index 00000000..09ae6545 --- /dev/null +++ b/docs/InlineResponse2012KeyInformationErrorInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2012KeyInformationErrorInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reason** | **string** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA | [optional] +**Details** | [**List<InlineResponse2012KeyInformationErrorInformationDetails>**](InlineResponse2012KeyInformationErrorInformationDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2012KeyInformationErrorInformationDetails.md b/docs/InlineResponse2012KeyInformationErrorInformationDetails.md new file mode 100644 index 00000000..ffcb059c --- /dev/null +++ b/docs/InlineResponse2012KeyInformationErrorInformationDetails.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2012KeyInformationErrorInformationDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Field** | **string** | This is the flattened JSON object field name/path that is either missing or invalid | [optional] +**Reason** | **string** | Possible reasons for the error. Possible values: - MISSING_FIELD - INVALID_DATA | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2013.md b/docs/InlineResponse2013.md new file mode 100644 index 00000000..38a98943 --- /dev/null +++ b/docs/InlineResponse2013.md @@ -0,0 +1,23 @@ +# CyberSource.Model.InlineResponse2013 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WebhookId** | **string** | Webhook Id. This is generated by the server. | [optional] +**OrganizationId** | **string** | Organization ID | [optional] +**ProductId** | **string** | The product you are receiving a webhook for. | [optional] +**EventTypes** | **List<string>** | Array of the different events for a given product id. | [optional] +**WebhookUrl** | **string** | The client's endpoint (URL) to receive webhooks. | [optional] +**HealthCheckUrl** | **string** | The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. | [optional] +**NotificationScope** | [**Notificationsubscriptionsv1webhooksNotificationScope**](Notificationsubscriptionsv1webhooksNotificationScope.md) | | [optional] +**Status** | **string** | Webhook status. | [optional] [default to "INACTIVE"] +**Name** | **string** | Client friendly webhook name. | [optional] +**Description** | **string** | Client friendly webhook description. | [optional] +**RetryPolicy** | [**Notificationsubscriptionsv1webhooksRetryPolicy**](Notificationsubscriptionsv1webhooksRetryPolicy.md) | | [optional] +**SecurityPolicy** | [**Notificationsubscriptionsv1webhooksSecurityPolicy**](Notificationsubscriptionsv1webhooksSecurityPolicy.md) | | [optional] +**CreatedOn** | **string** | Date on which webhook was created/registered. | [optional] +**UpdatedOn** | **string** | Date on which webhook was most recently updated. | [optional] +**AdditionalAttributes** | **List<Dictionary<string, string>>** | Additional, free form configuration data. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2014.md b/docs/InlineResponse2014.md new file mode 100644 index 00000000..e1e8bf78 --- /dev/null +++ b/docs/InlineResponse2014.md @@ -0,0 +1,12 @@ +# CyberSource.Model.InlineResponse2014 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` Example `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. | [optional] +**Status** | **string** | The status of the submitted transaction. Possible values: - ACCEPTED | [optional] +**ClientReferenceInformation** | [**Kmsegressv2keyssymClientReferenceInformation**](Kmsegressv2keyssymClientReferenceInformation.md) | | [optional] +**KeyInformation** | [**Kmsegressv2keysasymKeyInformation**](Kmsegressv2keysasymKeyInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse4007.md b/docs/InlineResponse4007.md index c2df9f95..77016b11 100644 --- a/docs/InlineResponse4007.md +++ b/docs/InlineResponse4007.md @@ -3,11 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CorrelationId** | **string** | | [optional] +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | The http status description of the submitted request. | [optional] +**Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' | [optional] +**Message** | **string** | Descriptive message for the error. | [optional] **Details** | [**List<InlineResponse4007Details>**](InlineResponse4007Details.md) | | [optional] -**InformationLink** | **string** | | [optional] -**Message** | **string** | | -**Reason** | **string** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse4007Details.md b/docs/InlineResponse4007Details.md index a90a890c..9da6617a 100644 --- a/docs/InlineResponse4007Details.md +++ b/docs/InlineResponse4007Details.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Location** | **string** | | [optional] -**Message** | **string** | | [optional] +**Field** | **string** | This is the flattened JSON object field name/path that is either missing or invalid. | [optional] +**Reason** | **string** | Possible reasons for the error. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse4008.md b/docs/InlineResponse4008.md new file mode 100644 index 00000000..e324595f --- /dev/null +++ b/docs/InlineResponse4008.md @@ -0,0 +1,13 @@ +# CyberSource.Model.InlineResponse4008 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CorrelationId** | **string** | | [optional] +**Details** | [**List<InlineResponse4008Details>**](InlineResponse4008Details.md) | | [optional] +**InformationLink** | **string** | | [optional] +**Message** | **string** | | +**Reason** | **string** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse4008Details.md b/docs/InlineResponse4008Details.md new file mode 100644 index 00000000..c34be897 --- /dev/null +++ b/docs/InlineResponse4008Details.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse4008Details +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Location** | **string** | | [optional] +**Message** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse4041.md b/docs/InlineResponse4041.md new file mode 100644 index 00000000..3aa229aa --- /dev/null +++ b/docs/InlineResponse4041.md @@ -0,0 +1,13 @@ +# CyberSource.Model.InlineResponse4041 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | The http status description of the submitted request. | [optional] +**Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' | [optional] +**Message** | **string** | Descriptive message for the error. | [optional] +**Details** | [**List<InlineResponse4007Details>**](InlineResponse4007Details.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse4042.md b/docs/InlineResponse4042.md new file mode 100644 index 00000000..31e39e4e --- /dev/null +++ b/docs/InlineResponse4042.md @@ -0,0 +1,11 @@ +# CyberSource.Model.InlineResponse4042 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reason** | **string** | | [optional] +**Message** | **string** | | [optional] +**Details** | [**List<InlineResponse4042Details>**](InlineResponse4042Details.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse4042Details.md b/docs/InlineResponse4042Details.md new file mode 100644 index 00000000..eddaa3a3 --- /dev/null +++ b/docs/InlineResponse4042Details.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse4042Details +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Field** | **string** | | [optional] +**Reason** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse4221.md b/docs/InlineResponse4221.md new file mode 100644 index 00000000..a6edbefb --- /dev/null +++ b/docs/InlineResponse4221.md @@ -0,0 +1,13 @@ +# CyberSource.Model.InlineResponse4221 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | The http status description of the submitted request. | [optional] +**Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' | [optional] +**Message** | **string** | Descriptive message for the error. | [optional] +**Details** | [**List<InlineResponse4007Details>**](InlineResponse4007Details.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse5003.md b/docs/InlineResponse5003.md new file mode 100644 index 00000000..be528866 --- /dev/null +++ b/docs/InlineResponse5003.md @@ -0,0 +1,12 @@ +# CyberSource.Model.InlineResponse5003 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | The http status description of the submitted request. | [optional] +**Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'SYSTEM_ERROR' | [optional] +**Message** | **string** | Descriptive message for the error. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InvoiceSettingsApi.md b/docs/InvoiceSettingsApi.md index a24eff14..0556d684 100644 --- a/docs/InvoiceSettingsApi.md +++ b/docs/InvoiceSettingsApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description Get Invoice Settings -Get the invoice settings for the invoice payment page. +Allows you to retrieve the invoice settings for the payment page. ### Example ```csharp @@ -71,7 +71,7 @@ No authorization required Update Invoice Settings -Update invoice settings for the invoice payment page. +Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments. ### Example ```csharp diff --git a/docs/InvoicesApi.md b/docs/InvoicesApi.md index 4d5d94db..bf587e0d 100644 --- a/docs/InvoicesApi.md +++ b/docs/InvoicesApi.md @@ -18,7 +18,7 @@ Method | HTTP request | Description Create a New Invoice -Create a new invoice. +The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments. ### Example ```csharp @@ -79,7 +79,7 @@ No authorization required Get a List of Invoices -Get a list of invoices. +Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED. ### Example ```csharp @@ -144,7 +144,7 @@ No authorization required Get Invoice Details -Get the details of a specific invoice. +You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction. ### Example ```csharp @@ -205,7 +205,7 @@ No authorization required Cancel an Invoice -Cancel an invoice. +You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices. ### Example ```csharp @@ -266,7 +266,7 @@ No authorization required Send an Invoice -Send an invoice. +You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent. ### Example ```csharp @@ -327,7 +327,7 @@ No authorization required Update an Invoice -Update an invoice. +You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated. ### Example ```csharp diff --git a/docs/Kmsegressv2keysasymClientReferenceInformation.md b/docs/Kmsegressv2keysasymClientReferenceInformation.md new file mode 100644 index 00000000..e3300b3f --- /dev/null +++ b/docs/Kmsegressv2keysasymClientReferenceInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Kmsegressv2keysasymClientReferenceInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Kmsegressv2keysasymKeyInformation.md b/docs/Kmsegressv2keysasymKeyInformation.md new file mode 100644 index 00000000..698466b2 --- /dev/null +++ b/docs/Kmsegressv2keysasymKeyInformation.md @@ -0,0 +1,17 @@ +# CyberSource.Model.Kmsegressv2keysasymKeyInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Provider** | **string** | Provider name | [optional] +**Tenant** | **string** | Tenant name | [optional] +**KeyType** | **string** | Type of the key | [optional] +**OrganizationId** | **string** | Organization Id | [optional] +**Pub** | **string** | Public certificate with only base64 encoded payload and not the header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) | [optional] +**KeyId** | **string** | Key Serial Number | [optional] +**Pvt** | **string** | Private certificate with only base64 encoded payload and not header (BEGIN CERTIFICATE) and footer (END CERTIFICATE) | [optional] +**Status** | **string** | The status of the key | [optional] +**ExpiryDuration** | **string** | Key expiry duration in days | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Kmsegressv2keyssymClientReferenceInformation.md b/docs/Kmsegressv2keyssymClientReferenceInformation.md new file mode 100644 index 00000000..4d50ce78 --- /dev/null +++ b/docs/Kmsegressv2keyssymClientReferenceInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Kmsegressv2keyssymClientReferenceInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Kmsegressv2keyssymKeyInformation.md b/docs/Kmsegressv2keyssymKeyInformation.md new file mode 100644 index 00000000..db73be63 --- /dev/null +++ b/docs/Kmsegressv2keyssymKeyInformation.md @@ -0,0 +1,17 @@ +# CyberSource.Model.Kmsegressv2keyssymKeyInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Provider** | **string** | Provider name | [optional] +**Tenant** | **string** | Tenant name | [optional] +**KeyType** | **string** | Type of the key | [optional] +**OrganizationId** | **string** | Organization Id | [optional] +**ClientKeyId** | **string** | Client key Id | [optional] +**KeyId** | **string** | Key Serial Number | [optional] +**Key** | **string** | Value of the key | [optional] +**Status** | **string** | The status of the key | [optional] +**ExpiryDuration** | **string** | Key expiry duration in days | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ManageWebhooksApi.md b/docs/ManageWebhooksApi.md new file mode 100644 index 00000000..fbff156a --- /dev/null +++ b/docs/ManageWebhooksApi.md @@ -0,0 +1,391 @@ +# CyberSource.Api.ManageWebhooksApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**DeleteWebhookSubscription**](ManageWebhooksApi.md#deletewebhooksubscription) | **DELETE** /notification-subscriptions/v1/webhooks/{webhookId} | Delete a Webhook Subscription +[**GetAllWebhooks**](ManageWebhooksApi.md#getallwebhooks) | **GET** /notification-subscriptions/v1/webhooks | Get Details On All Created Webhooks +[**GetWebhookDetails**](ManageWebhooksApi.md#getwebhookdetails) | **GET** /notification-subscriptions/v1/webhooks/{webhookId} | Get Details On a Single Webhook +[**ReplayPreviousWebhook**](ManageWebhooksApi.md#replaypreviouswebhook) | **POST** /nrtf/v1/webhooks/{webhookId}/replays | Replay Previous Webhooks +[**SaveAsymEgressKey**](ManageWebhooksApi.md#saveasymegresskey) | **POST** /kms/egress/v2/keys-asym | Message Level Encryption +[**UpdateWebhookSubscription**](ManageWebhooksApi.md#updatewebhooksubscription) | **PATCH** /notification-subscriptions/v1/webhooks/{webhookId} | Update a Webhook Subscription + + + +# **DeleteWebhookSubscription** +> void DeleteWebhookSubscription (string webhookId) + +Delete a Webhook Subscription + +Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class DeleteWebhookSubscriptionExample + { + public void main() + { + var apiInstance = new ManageWebhooksApi(); + var webhookId = webhookId_example; // string | The webhook identifier. + + try + { + // Delete a Webhook Subscription + apiInstance.DeleteWebhookSubscription(webhookId); + } + catch (Exception e) + { + Debug.Print("Exception when calling ManageWebhooksApi.DeleteWebhookSubscription: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **webhookId** | **string**| The webhook identifier. | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **GetAllWebhooks** +> List GetAllWebhooks (string organizationId, string productId, string eventType) + +Get Details On All Created Webhooks + +Retrieve a list of all previously created webhooks. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class GetAllWebhooksExample + { + public void main() + { + var apiInstance = new ManageWebhooksApi(); + var organizationId = organizationId_example; // string | The Organization Identifier. + var productId = productId_example; // string | The Product Identifier. + var eventType = eventType_example; // string | The Event Type. + + try + { + // Get Details On All Created Webhooks + List<InlineResponse2004> result = apiInstance.GetAllWebhooks(organizationId, productId, eventType); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ManageWebhooksApi.GetAllWebhooks: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organizationId** | **string**| The Organization Identifier. | + **productId** | **string**| The Product Identifier. | + **eventType** | **string**| The Event Type. | + +### Return type + +[**List**](InlineResponse2004.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **GetWebhookDetails** +> InlineResponse2004 GetWebhookDetails (string webhookId) + +Get Details On a Single Webhook + +Retrieve the details of a specific webhook by supplying the webhook ID in the path. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class GetWebhookDetailsExample + { + public void main() + { + var apiInstance = new ManageWebhooksApi(); + var webhookId = webhookId_example; // string | The webhook Identifier + + try + { + // Get Details On a Single Webhook + InlineResponse2004 result = apiInstance.GetWebhookDetails(webhookId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ManageWebhooksApi.GetWebhookDetails: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **webhookId** | **string**| The webhook Identifier | + +### Return type + +[**InlineResponse2004**](InlineResponse2004.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **ReplayPreviousWebhook** +> void ReplayPreviousWebhook (string webhookId, ReplayWebhooks replayWebhooks = null) + +Replay Previous Webhooks + +Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class ReplayPreviousWebhookExample + { + public void main() + { + var apiInstance = new ManageWebhooksApi(); + var webhookId = webhookId_example; // string | The webhook uuid identifier. + var replayWebhooks = new ReplayWebhooks(); // ReplayWebhooks | The request query (optional) + + try + { + // Replay Previous Webhooks + apiInstance.ReplayPreviousWebhook(webhookId, replayWebhooks); + } + catch (Exception e) + { + Debug.Print("Exception when calling ManageWebhooksApi.ReplayPreviousWebhook: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **webhookId** | **string**| The webhook uuid identifier. | + **replayWebhooks** | [**ReplayWebhooks**](ReplayWebhooks.md)| The request query | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **SaveAsymEgressKey** +> InlineResponse2014 SaveAsymEgressKey (string vCSenderOrganizationId, string vCPermissions, SaveAsymEgressKey saveAsymEgressKey, string vCCorrelationId = null) + +Message Level Encryption + +Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class SaveAsymEgressKeyExample + { + public void main() + { + var apiInstance = new ManageWebhooksApi(); + var vCSenderOrganizationId = vCSenderOrganizationId_example; // string | Sender organization id + var vCPermissions = vCPermissions_example; // string | Encoded user permissions returned by the CGK, for the entity user who initiated the boarding + var saveAsymEgressKey = new SaveAsymEgressKey(); // SaveAsymEgressKey | Provide egress Asymmetric key information to save (create or store) + var vCCorrelationId = vCCorrelationId_example; // string | A globally unique id associated with your request (optional) + + try + { + // Message Level Encryption + InlineResponse2014 result = apiInstance.SaveAsymEgressKey(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ManageWebhooksApi.SaveAsymEgressKey: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **vCSenderOrganizationId** | **string**| Sender organization id | + **vCPermissions** | **string**| Encoded user permissions returned by the CGK, for the entity user who initiated the boarding | + **saveAsymEgressKey** | [**SaveAsymEgressKey**](SaveAsymEgressKey.md)| Provide egress Asymmetric key information to save (create or store) | + **vCCorrelationId** | **string**| A globally unique id associated with your request | [optional] + +### Return type + +[**InlineResponse2014**](InlineResponse2014.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **UpdateWebhookSubscription** +> void UpdateWebhookSubscription (string webhookId, UpdateWebhook updateWebhook = null) + +Update a Webhook Subscription + +Update the webhook subscription using PATCH. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class UpdateWebhookSubscriptionExample + { + public void main() + { + var apiInstance = new ManageWebhooksApi(); + var webhookId = webhookId_example; // string | The Webhook Identifier. + var updateWebhook = new UpdateWebhook(); // UpdateWebhook | The webhook payload or changes to apply. (optional) + + try + { + // Update a Webhook Subscription + apiInstance.UpdateWebhookSubscription(webhookId, updateWebhook); + } + catch (Exception e) + { + Debug.Print("Exception when calling ManageWebhooksApi.UpdateWebhookSubscription: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **webhookId** | **string**| The Webhook Identifier. | + **updateWebhook** | [**UpdateWebhook**](UpdateWebhook.md)| The webhook payload or changes to apply. | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/MerchantBoardingApi.md b/docs/MerchantBoardingApi.md new file mode 100644 index 00000000..93154fe6 --- /dev/null +++ b/docs/MerchantBoardingApi.md @@ -0,0 +1,134 @@ +# CyberSource.Api.MerchantBoardingApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetRegistration**](MerchantBoardingApi.md#getregistration) | **GET** /boarding/v1/registrations/{registrationId} | Gets all the information on a boarding registration +[**PostRegistration**](MerchantBoardingApi.md#postregistration) | **POST** /boarding/v1/registrations | Create a boarding registration + + + +# **GetRegistration** +> InlineResponse2002 GetRegistration (string registrationId) + +Gets all the information on a boarding registration + +This end point will get all information of a boarding registration + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class GetRegistrationExample + { + public void main() + { + var apiInstance = new MerchantBoardingApi(); + var registrationId = registrationId_example; // string | Identifies the boarding registration to be updated + + try + { + // Gets all the information on a boarding registration + InlineResponse2002 result = apiInstance.GetRegistration(registrationId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling MerchantBoardingApi.GetRegistration: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **registrationId** | **string**| Identifies the boarding registration to be updated | + +### Return type + +[**InlineResponse2002**](InlineResponse2002.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **PostRegistration** +> InlineResponse2011 PostRegistration (PostRegistrationBody postRegistrationBody, string vCIdempotencyId = null) + +Create a boarding registration + +Create a registration to board merchant If you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request. You may unselect attributes from the Request Builder tree which you do not need in the request. For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with <your vpc processor> + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class PostRegistrationExample + { + public void main() + { + var apiInstance = new MerchantBoardingApi(); + var postRegistrationBody = new PostRegistrationBody(); // PostRegistrationBody | Boarding registration data + var vCIdempotencyId = vCIdempotencyId_example; // string | defines idempotency of the request (optional) + + try + { + // Create a boarding registration + InlineResponse2011 result = apiInstance.PostRegistration(postRegistrationBody, vCIdempotencyId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling MerchantBoardingApi.PostRegistration: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **postRegistrationBody** | [**PostRegistrationBody**](PostRegistrationBody.md)| Boarding registration data | + **vCIdempotencyId** | **string**| defines idempotency of the request | [optional] + +### Return type + +[**InlineResponse2011**](InlineResponse2011.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1productsorganizationIdEventTypes.md b/docs/Notificationsubscriptionsv1productsorganizationIdEventTypes.md new file mode 100644 index 00000000..45221fd5 --- /dev/null +++ b/docs/Notificationsubscriptionsv1productsorganizationIdEventTypes.md @@ -0,0 +1,13 @@ +# CyberSource.Model.Notificationsubscriptionsv1productsorganizationIdEventTypes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EventName** | **string** | | [optional] +**DisplayName** | **string** | | [optional] +**Frequency** | **int?** | | [optional] +**TimeSensitivity** | **bool?** | | [optional] [default to false] +**PayloadEncryption** | **bool?** | | [optional] [default to false] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksNotificationScope.md b/docs/Notificationsubscriptionsv1webhooksNotificationScope.md new file mode 100644 index 00000000..2745858b --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksNotificationScope.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksNotificationScope +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Scope** | **string** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field | [optional] [default to "SELF"] +**ScopeData** | **List<string>** | Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksProducts.md b/docs/Notificationsubscriptionsv1webhooksProducts.md new file mode 100644 index 00000000..edf0a258 --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksProducts.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksProducts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProductId** | **string** | Product ID. | [optional] +**EventTypes** | **List<string>** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksRetryPolicy.md b/docs/Notificationsubscriptionsv1webhooksRetryPolicy.md new file mode 100644 index 00000000..1e59a64f --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksRetryPolicy.md @@ -0,0 +1,16 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksRetryPolicy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Algorithm** | **string** | This is used to calculate the Retry Sequence. Sample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3 Arithmetic = a+r(n-1) Retry 1 - 10 minutes Retry 2 - 10+30x1 = 40 minutes Retry 3 - 10+30x2 = 70 minutes Geometric = ar^(n-1) Retry 1 - 10 minutes Retry 2 - 10x30^1 = 300 minutes Retry 3 - 10x30^2 = 9,000 minutes | [optional] +**FirstRetry** | **int?** | When to initiate first retry, after the initial call failed. (in mins). | [optional] +**Interval** | **int?** | The interval between retries (in mins). | [optional] +**NumberOfRetries** | **int?** | The number of retries per sequence. | [optional] +**DeactivateFlag** | **string** | Deactivate the subscription if your retries fail to deliver. If this is set to `true`, the automatic suspend and resume feature will occur. This would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent. If this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active. | [optional] +**RepeatSequenceCount** | **int?** | The number of times to repeat the complete retry sequence. 0 => don't repeat the retry sequence 1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3) 2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3) | [optional] +**RepeatSequenceWaitTime** | **int?** | The time to wait to before repeating the complete retry sequence. Amount of time to wait between each sequence. Sample calculation using repeatSequenceWaitTime=10 (R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3) | [optional] +**AdditionalAttributes** | **List<Dictionary<string, string>>** | Additional data, if any. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksSecurityPolicy.md b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy.md new file mode 100644 index 00000000..bbb1dbd4 --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksSecurityPolicy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SecurityType** | **string** | Security Policy of the client server. | [optional] +**Config** | [**Notificationsubscriptionsv1webhooksSecurityPolicyConfig**](Notificationsubscriptionsv1webhooksSecurityPolicyConfig.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1.md b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1.md new file mode 100644 index 00000000..9e0ed638 --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1.md @@ -0,0 +1,11 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksSecurityPolicy1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SecurityType** | **string** | Security Policy of the client server. | [optional] +**ProxyType** | **string** | Internal client proxy type to be used by security policy. | [optional] +**Config** | [**Notificationsubscriptionsv1webhooksSecurityPolicy1Config**](Notificationsubscriptionsv1webhooksSecurityPolicy1Config.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.md b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.md new file mode 100644 index 00000000..cd747718 --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1Config.md @@ -0,0 +1,12 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksSecurityPolicy1Config +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OAuthTokenExpiry** | **string** | Token expiration for the oAuth server. | [optional] +**OAuthURL** | **string** | Client direct endpoint to the oAuth server. | [optional] +**OAuthTokenType** | **string** | Token type for the oAuth config. | [optional] +**AdditionalConfig** | [**Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig**](Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.md b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.md new file mode 100644 index 00000000..da45b2ab --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig.md @@ -0,0 +1,12 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Aud** | **string** | | [optional] +**ClientId** | **string** | | [optional] +**KeyId** | **string** | | [optional] +**Scope** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.md b/docs/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.md new file mode 100644 index 00000000..ce119a8d --- /dev/null +++ b/docs/Notificationsubscriptionsv1webhooksSecurityPolicyConfig.md @@ -0,0 +1,11 @@ +# CyberSource.Model.Notificationsubscriptionsv1webhooksSecurityPolicyConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OAuthTokenExpiry** | **string** | Token expiration for the oAuth server. | [optional] +**OAuthURL** | **string** | Client direct endpoint to the oAuth server. | [optional] +**OAuthTokenType** | **string** | Token type for the oAuth config. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.md b/docs/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.md new file mode 100644 index 00000000..60f83ac3 --- /dev/null +++ b/docs/Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.md @@ -0,0 +1,14 @@ +# CyberSource.Model.Nrtfv1webhookswebhookIdreplaysByDeliveryStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | **string** | The status of the webhook. Options are FAILED or RETRY | [optional] +**StartTime** | **DateTime?** | The start time in yyyy-mm-dd hh:mm:ss.ms format. Maximum value is 1 month prior to todays system time. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. | [optional] +**EndTime** | **DateTime?** | The end time in yyyy-mm-dd hh:mm:ss.ms format. The difference between Start Time and End Time cannot exceed a 24 hour window within the last month. | [optional] +**HoursBack** | **int?** | Alternative parameter to startTime/endTime. It evaluates the startTime using the current system time (endTime) and the hoursBack value (default = 24hrs). | [optional] +**ProductId** | **string** | | [optional] +**EventType** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProducts.md b/docs/PaymentProducts.md new file mode 100644 index 00000000..dacd640c --- /dev/null +++ b/docs/PaymentProducts.md @@ -0,0 +1,25 @@ +# CyberSource.Model.PaymentProducts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardProcessing** | [**PaymentProductsCardProcessing**](PaymentProductsCardProcessing.md) | | [optional] +**CardPresentConnect** | [**PaymentProductsCardPresentConnect**](PaymentProductsCardPresentConnect.md) | | [optional] +**CybsReadyTerminal** | [**PaymentProductsCybsReadyTerminal**](PaymentProductsCybsReadyTerminal.md) | | [optional] +**ECheck** | [**PaymentProductsECheck**](PaymentProductsECheck.md) | | [optional] +**PayerAuthentication** | [**PaymentProductsPayerAuthentication**](PaymentProductsPayerAuthentication.md) | | [optional] +**DigitalPayments** | [**PaymentProductsDigitalPayments**](PaymentProductsDigitalPayments.md) | | [optional] +**SecureAcceptance** | [**PaymentProductsSecureAcceptance**](PaymentProductsSecureAcceptance.md) | | [optional] +**VirtualTerminal** | [**PaymentProductsVirtualTerminal**](PaymentProductsVirtualTerminal.md) | | [optional] +**CurrencyConversion** | [**PaymentProductsCurrencyConversion**](PaymentProductsCurrencyConversion.md) | | [optional] +**Tax** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] +**CustomerInvoicing** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] +**RecurringBilling** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] +**PaymentOrchestration** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] +**Payouts** | [**PaymentProductsPayouts**](PaymentProductsPayouts.md) | | [optional] +**DifferentialFee** | [**PaymentProductsDifferentialFee**](PaymentProductsDifferentialFee.md) | | [optional] +**PayByLink** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] +**UnifiedCheckout** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardPresentConnect.md b/docs/PaymentProductsCardPresentConnect.md new file mode 100644 index 00000000..df4873da --- /dev/null +++ b/docs/PaymentProductsCardPresentConnect.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardPresentConnect +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsCardPresentConnectSubscriptionInformation**](PaymentProductsCardPresentConnectSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsCardPresentConnectConfigurationInformation**](PaymentProductsCardPresentConnectConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardPresentConnectConfigurationInformation.md b/docs/PaymentProductsCardPresentConnectConfigurationInformation.md new file mode 100644 index 00000000..820da853 --- /dev/null +++ b/docs/PaymentProductsCardPresentConnectConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardPresentConnectConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**PaymentProductsCardPresentConnectConfigurationInformationConfigurations**](PaymentProductsCardPresentConnectConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.md b/docs/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.md new file mode 100644 index 00000000..e7e1de14 --- /dev/null +++ b/docs/PaymentProductsCardPresentConnectConfigurationInformationConfigurations.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsCardPresentConnectConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PartnerSolutionIdentifier** | **string** | Solution identifier used to associate a partner organization with the Merchant that is on-boarded. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardPresentConnectSubscriptionInformation.md b/docs/PaymentProductsCardPresentConnectSubscriptionInformation.md new file mode 100644 index 00000000..65df23ea --- /dev/null +++ b/docs/PaymentProductsCardPresentConnectSubscriptionInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardPresentConnectSubscriptionInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**SelfServiceability** | **string** | Indicates if the organization can enable this product using self service. | [optional] [default to SelfServiceabilityEnum.SERVICEABLE] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessing.md b/docs/PaymentProductsCardProcessing.md new file mode 100644 index 00000000..2dc40ca9 --- /dev/null +++ b/docs/PaymentProductsCardProcessing.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardProcessing +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsCardProcessingSubscriptionInformation**](PaymentProductsCardProcessingSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsCardProcessingConfigurationInformation**](PaymentProductsCardProcessingConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformation.md b/docs/PaymentProductsCardProcessingConfigurationInformation.md new file mode 100644 index 00000000..e0a0de1c --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**PaymentProductsCardProcessingConfigurationInformationConfigurations**](PaymentProductsCardProcessingConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurations.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurations.md new file mode 100644 index 00000000..54b93e21 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurations.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Common** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon**](PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.md) | | [optional] +**Features** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.md new file mode 100644 index 00000000..926cc890 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon.md @@ -0,0 +1,29 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Processors** | [**Dictionary<string, PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors>**](PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.md) | e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; | [optional] +**AmexVendorCode** | **string** | Vendor code assigned by American Express. Applicable for TSYS (tsys) processor. | [optional] +**DefaultAuthTypeCode** | **string** | Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table> | [optional] +**MasterCardAssignedId** | **string** | MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors. | [optional] +**EnablePartialAuth** | **bool?** | Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> | [optional] +**MerchantCategoryCode** | **string** | Indicates type of business product or service of the merchant. Applicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> </table> | [optional] +**SicCode** | **string** | The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. | [optional] +**FoodAndConsumerServiceId** | **string** | Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor. | [optional] +**EnableSplitShipment** | **bool?** | Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors. | [optional] +**EnableInterchangeOptimization** | **bool?** | Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors. | [optional] +**VisaDelegatedAuthenticationId** | **string** | Identifier provided to merchants who opt for Visa’s delegated authorization program. Applicable for VPC processors. | [optional] +**CreditCardRefundLimitPercent** | **string** | Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. | [optional] +**BusinessCenterCreditCardRefundLimitPercent** | **string** | Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors. | [optional] +**AllowCapturesGreaterThanAuthorizations** | **bool?** | Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. | [optional] +**EnableDuplicateMerchantReferenceNumberBlocking** | **bool?** | Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors. | [optional] +**DomesticMerchantId** | **bool?** | This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors. | [optional] +**ProcessLevel3Data** | **string** | Indicates whether merchant processes Level 3 transactions. Applicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td></tr> </table> | [optional] +**SubMerchantId** | **string** | The ID assigned to the sub-merchant. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>20</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> | [optional] +**SubMerchantBusinessName** | **string** | Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> | [optional] +**PreferCobadgedSecondaryBrand** | **bool?** | It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors. | [optional] +**MerchantDescriptorInformation** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation**](PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.md new file mode 100644 index 00000000..0abd8dc0 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.md @@ -0,0 +1,13 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**InstitutionId** | **string** | Identifier of the acquirer. This number is usually assigned by Visa. Applicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>13</td><td>^[0-9]+$</td><td>1111</td></tr> </table> | [optional] +**InterbankCardAssociationId** | **string** | Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors. | [optional] +**DiscoverInstitutionId** | **string** | Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors. | [optional] +**CountryCode** | **string** | ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors. | [optional] +**FileDestinationBin** | **string** | The BIN to which this capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.md new file mode 100644 index 00000000..96230934 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**EnabledCardPresent** | **bool?** | Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. | [optional] +**EnabledCardNotPresent** | **bool?** | Indicates whether the card-not-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. | [optional] +**MerchantId** | **string** | Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party. | [optional] +**TerminalId** | **string** | The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. | [optional] +**TerminalIds** | **List<string>** | Applicable for Prisma (prisma) processor. | [optional] +**ServiceEnablementNumber** | **string** | Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.md new file mode 100644 index 00000000..8fee0048 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.md @@ -0,0 +1,12 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**EnabledCardPresent** | **bool?** | Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. | [optional] +**EnabledCardNotPresent** | **bool?** | Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. | [optional] +**TerminalIds** | **List<string>** | Applicable for Prisma (prisma) processor. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.md new file mode 100644 index 00000000..6248c236 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation.md @@ -0,0 +1,16 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | Applicable for TSYS (tsys), RUPAY, American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] +**City** | **string** | Applicable for American Express Direct (amexdirect), TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>21</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] +**Country** | **string** | Applicable for Six (six), Elavon Americas (elavonamericas), TSYS (tsys) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>3</td><td>3</td><td>^[A-Z]+$</td></tr> </table> | [optional] +**Phone** | **string** | Applicable for RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>20</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] +**State** | **string** | Applicable for RUPAY, TSYS (tsys), Elavon Americas (elavonamericas) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>3</td><td>^[A-Z]+$</td></tr> </table> | [optional] +**Street** | **string** | Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] +**Zip** | **string** | Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] +**Url** | **string** | Applicable for RUPAY and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>40</td><td>URL</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>1</td><td>40</td><td>URL</td></tr> </table> | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.md new file mode 100644 index 00000000..b4572b58 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**Currencies** | [**Dictionary<string, PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies>**](PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies.md) | Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.md new file mode 100644 index 00000000..e035a2f6 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors.md @@ -0,0 +1,52 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BatchGroup** | **string** | Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria: * Timezone * Merchant deadlines * Large merchants (top 10) * Merchants with Service-Level Agreements Applicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td></tr> </table> | [optional] +**BusinessApplicationId** | **string** | Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors. | [optional] +**MerchantVerificationValue** | **string** | Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors. | [optional] +**AbaNumber** | **string** | Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors. | [optional] +**Acquirer** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer**](PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer.md) | | [optional] +**MerchantId** | **string** | Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>11</td><td>^[0-9a-zA-Z]+$</td></tr> </table> | +**TerminalId** | **string** | The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table> | [optional] +**PaymentTypes** | [**Dictionary<string, PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes>**](PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes.md) | Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB | [optional] +**Currencies** | [**Dictionary<string, PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1>**](PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1.md) | Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] +**SicCode** | **string** | The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. | [optional] +**AllowMultipleBills** | **bool?** | Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> | [optional] +**AllowMerchantDescriptorOverride** | **bool?** | Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors. | [optional] +**EnhancedData** | **string** | To enable airline transactions. Applicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td></tr> </table> | [optional] +**FireSafetyIndicator** | **bool?** | Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors. | [optional] +**QuasiCash** | **bool?** | To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table> | [optional] +**AcquirerMerchantId** | **string** | Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors. | [optional] +**AvsFormat** | **string** | Enables Enhanced AVS/Automated Address Verification Plus (AAV+). Valid values: \"basic\" - Standard address verification system. When a processor supports AVS for a transaction’s card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address. When a customer provides incorrect information, the transaction might be fraudulent. \"basic + name\" - Enhanced address verification system. Consists of the standard AVS functionality plus verification of some additional fields. The additional fields that are verified for Enhanced AVS are: - customer_firstname - customer_lastname \"basic + name + shipto\" - Automated address verification plus. Consists of the Enhanced AVS functionality plus verification of some additional fields. AAV+ intended for merchants who deliver physical goods to a different address than the billing address. AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first. For information about Enhanced AVS - The additional fields that are verified for AAV+ are: - ship_to_firstname - ship_to_lastname - ship_to_address1 - ship_to_country - ship_to_zip - ship_to_phone - customer_phone(American Express Direct only) Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>basic</td></tr> </table> | [optional] +**EnableLongTransRefNo** | **bool?** | Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> | [optional] +**EnableLevel2** | **bool?** | Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> | [optional] +**EnableMultipleTransactionAdviceAddendum** | **bool?** | This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> | [optional] +**AmexTransactionAdviceAddendum1** | **string** | Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>40</td><td>^[0-9a-zA-Z&#92;-\\s.]+$</td></tr> </table> | [optional] +**EnableMultiLineItems** | **bool?** | This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> | [optional] +**EnableTransactionReferenceNumber** | **bool?** | To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors. | [optional] +**EnableAutoAuthReversalAfterVoid** | **bool?** | Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table> | [optional] +**EnableExpresspayPanTranslation** | **bool?** | When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor. | [optional] +**EnableCreditAuth** | **bool?** | Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements. | [optional] +**IndustryCode** | **string** | Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. | [optional] +**SendAmexLevel2Data** | **bool?** | Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor. | [optional] +**SoftDescriptorType** | **string** | A soft descriptor is a text, rendered on a cardholder’s statement, describing a particular product or service, purchased by the cardholder. Descriptors are intended to help the cardholder identify the products or services purchased. Valid values: `1` - trans_ref_no `2` - merchant_descriptor `3` - trans_ref_no and merchant_descriptor Applicable for TSYS (tsys) processor. | [optional] +**VitalNumber** | **string** | V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor. | [optional] +**BankNumber** | **string** | 6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor. | [optional] +**ChainNumber** | **string** | 6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor. | [optional] +**MerchantBinNumber** | **string** | 6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor. | [optional] +**MerchantLocationNumber** | **string** | 5 digit merchant location number. Unless otherwise specified by merchant’s bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor. | [optional] +**StoreID** | **string** | 4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor. | [optional] +**TravelAgencyCode** | **string** | Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor. | [optional] +**TravelAgencyName** | **string** | Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor. | [optional] +**SettlementCurrency** | **string** | This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors. | [optional] +**EnableLeastCostRouting** | **bool?** | Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors. | [optional] +**EnableCVVResponseIndicator** | **bool?** | This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors. | [optional] +**EnableMultiCurrencyProcessing** | **string** | Applicable for Barclays (barclays2) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table> | [optional] +**EnablePosNetworkSwitching** | **bool?** | ‘POS Network Switching’ or ‘Alternate Routing’ means merchant can process PIN Debit transactions without a PIN. Set the value to ‘Yes’ if it is supported. Applicable for FDI Global (fdiglobal) processor. | [optional] +**EnableDynamicCurrencyConversion** | **bool?** | Enable dynamic currency conversion for a merchant. | [optional] +**MerchantTier** | **string** | Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.md new file mode 100644 index 00000000..3106e160 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardNotPresent** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.md) | | [optional] +**CardPresent** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.md new file mode 100644 index 00000000..96977970 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent.md @@ -0,0 +1,13 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Processors** | [**Dictionary<string, PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors>**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.md) | e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; | [optional] +**IgnoreAddressVerificationSystem** | **bool?** | Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline. Applicable for VPC, FDI Global (fdiglobal), GPX (gpx) and GPN (gpn) processors. | [optional] +**VisaStraightThroughProcessingOnly** | **bool?** | Indicates if a merchant is enabled for Straight Through Processing - B2B invoice payments. Applicable for FDI Global (fdiglobal), TSYS (tsys), VPC and GPX (gpx) processors. | [optional] +**AmexTransactionAdviceAddendum1** | **string** | Advice addendum field. It is used to display descriptive information about a transaction on customer’s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. | [optional] +**Installment** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.md new file mode 100644 index 00000000..c0c788ac --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EnableInstallment** | **bool?** | This flag is to enable for installment plan programs. Applicable for Fiserv (fiserv), Vero (vero) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> | [optional] +**InstallmentPlan** | **string** | This indicates the type of funding for the installment plan associated with the payment. Valid values: \"merchant\" - Merchant-funded installment plan \"issuer\" - Issuer-funded installment plan Applicable for Fiserv (fiserv), American Express Direct (amexdirect) and Vero (vero) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>American Express Direct</td><td>cnp</td><td>No</td></tr> </table> | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.md new file mode 100644 index 00000000..5a7bc4b4 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.md @@ -0,0 +1,17 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReimbursementCode** | **string** | Applicable for VPC processors. | [optional] +**AcquiringInstitutionId** | **string** | This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. This number is usually a Visa-assigned. Applicable for VPC processors. | [optional] +**BusinessApplicationId** | **string** | Transaction type. List of supported identifiers documented in the Developer Guide. Applicable for GPX (gpx) and VPC processors. | [optional] +**FinancialInstitutionId** | **string** | Applicable for GPX (gpx) and VPC processors. | [optional] +**MerchantAbaNumber** | **string** | Routing Number to identify banks within the United States. Applicable for VPC processors. | [optional] +**NetworkOrder** | **string** | Order of the networks in which Visa should make routing decisions. Applicable for VPC processors. | [optional] +**Currencies** | [**Dictionary<string, PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies>**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.md) | Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] +**MerchantId** | **string** | Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>11</td><td>^[0-9]+$</td></tr> </table> | [optional] +**TerminalId** | **string** | The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp, hybrid</td><td>No</td><td>1</td><td>255</td><td>^[0-9:&#92;-]+$</td></tr> </table> | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.md new file mode 100644 index 00000000..3eca7122 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**EnabledCardPresent** | **bool?** | Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled. | [optional] +**EnabledCardNotPresent** | **bool?** | Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled. | [optional] +**MerchantId** | **string** | Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. | [optional] +**TerminalId** | **string** | The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. | [optional] +**TerminalIds** | **List<string>** | Applicable for Prisma (prisma) processor. | [optional] +**ServiceEnablementNumber** | **string** | Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards. 10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.md new file mode 100644 index 00000000..b372c46a --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors.md @@ -0,0 +1,14 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RelaxAddressVerificationSystem** | **bool?** | Enables you to submit the payment transaction without one or more of the fields for the billTo or card_expiration. Applicable for Elavon Americas (elavonamericas), CB2A, Six (six), CMCIC (cmcic), GPX (gpx), GPN (gpn), VPC, Vero (vero), Fiserv (fiserv), American Express Direct (amexdirect), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, FDI Global (fdiglobal) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>hybrid</td><td>Yes</td><td>Yes</td></tr> </table> | [optional] +**RelaxAddressVerificationSystemAllowZipWithoutCountry** | **bool?** | Allows Zip code without country. Applicable for American Express Direct (amexdirect), GPX (gpx), VPC, FDI Global (fdiglobal), Elavon Americas (elavonamericas), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, GPN (gpn) and Barclays HISO (barclayshiso) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, both</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> | [optional] +**RelaxAddressVerificationSystemAllowExpiredCard** | **bool?** | Allows transactions that use an expired card. Applicable for American Express Direct (amexdirect), GPN (gpn), Barclays HISO (barclayshiso), Elavon Americas (elavonamericas), VPC, FDI Global (fdiglobal), GPX (gpx), RUPAY, Six (six), Chase Paymentech Salem (chasepaymentechsalem) and CB2A processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>No</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> | [optional] +**EnableEmsTransactionRiskScore** | **bool?** | MasterCard Expert Monitoring Solutions (EMS) provides a predictive, behavior-based fraud score in real time during authorizations for card-not-present (CNP) transactions on cards issued in the U.S. Applicable for GPX (gpx) and VPC processors. | [optional] +**PrestigiousPropertyIndicator** | **string** | Applicable for VPC processors. | [optional] +**Payouts** | [**PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.md new file mode 100644 index 00000000..10241710 --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Processors** | [**Dictionary<string, PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors>**](PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.md) | e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with &lt;your vpc processor&gt; | [optional] +**EnableTerminalIdLookup** | **bool?** | Used for Card Present and Virtual Terminal Transactions for Terminal ID lookup. Applicable for GPX (gpx) processor. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.md b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.md new file mode 100644 index 00000000..e96f9e5c --- /dev/null +++ b/docs/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DefaultPointOfSaleTerminalId** | **string** | Default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp</td><td>Yes</td><td>4</td><td>8</td><td>^[0-9a-zA-Z]+$</td><td>1111</td></tr> </table> | [optional] +**PointOfSaleTerminalIds** | **List<string>** | For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors. | [optional] +**DisablePointOfSaleTerminalIdValidation** | **bool?** | Disables terminal ID validation. Applicable for VPC processors. | [optional] +**PinDebitNetworkOrder** | **string** | Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors. | [optional] +**PinDebitReimbursementCode** | **string** | This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors. | [optional] +**FinancialInstitutionId** | **string** | Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors. | [optional] +**EnablePinTranslation** | **bool?** | Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingSubscriptionInformation.md b/docs/PaymentProductsCardProcessingSubscriptionInformation.md new file mode 100644 index 00000000..67a7ca3c --- /dev/null +++ b/docs/PaymentProductsCardProcessingSubscriptionInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsCardProcessingSubscriptionInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**SelfServiceability** | **string** | Indicates if the organization can enable this product using self service. | [optional] [default to SelfServiceabilityEnum.NOTSELFSERVICEABLE] +**Features** | [**Dictionary<string, PaymentProductsCardProcessingSubscriptionInformationFeatures>**](PaymentProductsCardProcessingSubscriptionInformationFeatures.md) | This is a map. The allowed keys are below. Value should be an object containing a sole boolean property - enabled. <table> <tr> <td>cardPresent</td> </tr> <tr> <td>cardNotPresent</td> </tr> </table> | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCardProcessingSubscriptionInformationFeatures.md b/docs/PaymentProductsCardProcessingSubscriptionInformationFeatures.md new file mode 100644 index 00000000..f2b31465 --- /dev/null +++ b/docs/PaymentProductsCardProcessingSubscriptionInformationFeatures.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsCardProcessingSubscriptionInformationFeatures +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCurrencyConversion.md b/docs/PaymentProductsCurrencyConversion.md new file mode 100644 index 00000000..5abec42e --- /dev/null +++ b/docs/PaymentProductsCurrencyConversion.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCurrencyConversion +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsCurrencyConversionConfigurationInformation**](PaymentProductsCurrencyConversionConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCurrencyConversionConfigurationInformation.md b/docs/PaymentProductsCurrencyConversionConfigurationInformation.md new file mode 100644 index 00000000..255c6f9b --- /dev/null +++ b/docs/PaymentProductsCurrencyConversionConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCurrencyConversionConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**PaymentProductsCurrencyConversionConfigurationInformationConfigurations**](PaymentProductsCurrencyConversionConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.md b/docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.md new file mode 100644 index 00000000..9efd6af9 --- /dev/null +++ b/docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurations.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsCurrencyConversionConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Processors** | [**Dictionary<string, PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors>**](PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.md b/docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.md new file mode 100644 index 00000000..ffb3e4e9 --- /dev/null +++ b/docs/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MerchantId** | **string** | The merchant identifier for the Currency Conversion service. Check with your Currency Conversion Provider for details. | [optional] +**AcquirerId** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsCybsReadyTerminal.md b/docs/PaymentProductsCybsReadyTerminal.md new file mode 100644 index 00000000..1569235e --- /dev/null +++ b/docs/PaymentProductsCybsReadyTerminal.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsCybsReadyTerminal +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsCardPresentConnectSubscriptionInformation**](PaymentProductsCardPresentConnectSubscriptionInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsDifferentialFee.md b/docs/PaymentProductsDifferentialFee.md new file mode 100644 index 00000000..b8263d43 --- /dev/null +++ b/docs/PaymentProductsDifferentialFee.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsDifferentialFee +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsDifferentialFeeSubscriptionInformation**](PaymentProductsDifferentialFeeSubscriptionInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsDifferentialFeeSubscriptionInformation.md b/docs/PaymentProductsDifferentialFeeSubscriptionInformation.md new file mode 100644 index 00000000..c5653265 --- /dev/null +++ b/docs/PaymentProductsDifferentialFeeSubscriptionInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsDifferentialFeeSubscriptionInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**SelfServiceability** | **string** | Indicates if the organization can enable this product using self service. | [optional] [default to SelfServiceabilityEnum.NOTSELFSERVICEABLE] +**Features** | [**PaymentProductsDifferentialFeeSubscriptionInformationFeatures**](PaymentProductsDifferentialFeeSubscriptionInformationFeatures.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.md b/docs/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.md new file mode 100644 index 00000000..85e74049 --- /dev/null +++ b/docs/PaymentProductsDifferentialFeeSubscriptionInformationFeatures.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsDifferentialFeeSubscriptionInformationFeatures +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Surcharge** | [**PaymentProductsCardProcessingSubscriptionInformationFeatures**](PaymentProductsCardProcessingSubscriptionInformationFeatures.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsDigitalPayments.md b/docs/PaymentProductsDigitalPayments.md new file mode 100644 index 00000000..4eb793ff --- /dev/null +++ b/docs/PaymentProductsDigitalPayments.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsDigitalPayments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsDigitalPaymentsSubscriptionInformation**](PaymentProductsDigitalPaymentsSubscriptionInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsDigitalPaymentsSubscriptionInformation.md b/docs/PaymentProductsDigitalPaymentsSubscriptionInformation.md new file mode 100644 index 00000000..c00bf70c --- /dev/null +++ b/docs/PaymentProductsDigitalPaymentsSubscriptionInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsDigitalPaymentsSubscriptionInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**SelfServiceability** | **string** | Indicates if the organization can enable this product using self service. | [optional] [default to SelfServiceabilityEnum.NOTSELFSERVICEABLE] +**Features** | [**Dictionary<string, PaymentProductsCardProcessingSubscriptionInformationFeatures>**](PaymentProductsCardProcessingSubscriptionInformationFeatures.md) | Allowed values are; <table> <tr> <td>visaCheckout</td> </tr> <tr> <td>applePay</td> </tr> <tr> <td>samsungPay</td> </tr> <tr> <td>googlePay</td> </tr> </table> | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheck.md b/docs/PaymentProductsECheck.md new file mode 100644 index 00000000..8d7be7d8 --- /dev/null +++ b/docs/PaymentProductsECheck.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsECheck +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsECheckSubscriptionInformation**](PaymentProductsECheckSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsECheckConfigurationInformation**](PaymentProductsECheckConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformation.md b/docs/PaymentProductsECheckConfigurationInformation.md new file mode 100644 index 00000000..eaf099cb --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**PaymentProductsECheckConfigurationInformationConfigurations**](PaymentProductsECheckConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurations.md b/docs/PaymentProductsECheckConfigurationInformationConfigurations.md new file mode 100644 index 00000000..29d49da5 --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurations.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Common** | [**PaymentProductsECheckConfigurationInformationConfigurationsCommon**](PaymentProductsECheckConfigurationInformationConfigurationsCommon.md) | | [optional] +**Underwriting** | [**PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting**](PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.md) | | [optional] +**Features** | [**PaymentProductsECheckConfigurationInformationConfigurationsFeatures**](PaymentProductsECheckConfigurationInformationConfigurationsFeatures.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommon.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommon.md new file mode 100644 index 00000000..4b89cede --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommon.md @@ -0,0 +1,14 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsCommon +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Processors** | [**Dictionary<string, PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors>**](PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.md) | | [optional] +**InternalOnly** | [**PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly**](PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.md) | | [optional] +**AccountHolderName** | **string** | Mandatory Name on Merchant's Bank Account Only ASCII (Hex 20 to Hex 7E) | +**AccountType** | **string** | Mandatory Type of account for Merchant's Bank Account Possible values: - checking - savings - corporatechecking - corporatesavings | +**AccountRoutingNumber** | **string** | Mandatory Routing number for Merchant's Bank Account US Account Routing Number | +**AccountNumber** | **string** | Mandatory Account number for Merchant's Bank Account | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.md new file mode 100644 index 00000000..4f194a9c --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayEcheckInfo** | **bool?** | *NEW* Used by EBC UI always set to true | [optional] [default to true] +**Processors** | [**Dictionary<string, PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors>**](PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.md) | *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.md new file mode 100644 index 00000000..89f7cd89 --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors.md @@ -0,0 +1,13 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EnableCCS** | **bool?** | *NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform. Applicable for VPC and amexdirect processors. | [optional] +**TerminalId** | **string** | *NEW* The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC processors. | [optional] +**Enable15anTransactionReferenceNumber** | **bool?** | *NEW* This ensures the transaction reference # contains an identifier that can be viewed in CYBS | [optional] [default to true] +**PortalSupportedPaytypes** | **string** | *NEW* This is used by the EBC2 application | [optional] [default to "CHECK"] +**SetCompletedState** | **bool?** | *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. | [optional] [default to false] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.md new file mode 100644 index 00000000..56d5165b --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors.md @@ -0,0 +1,13 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CompanyEntryDescription** | **string** | *EXISTING* Company (merchant) defined description of entry to receive. For e.g. PAYROLL, GAS BILL, INS PREM. This field is alphanumeric | +**CompanyId** | **string** | *EXISTING* company ID assigned to merchant by Acquiring bank. This field is alphanumeric | [optional] +**BatchGroup** | **string** | *EXISTING* Capture requests are grouped into a batch bound for your payment processor. The batch time can be identified by reading the last 2-digits as military time. E.g., <processor>_16 = your processing cutoff is 4PM PST. Please note if you are in a different location you may then need to convert time zone as well. | [optional] +**EnableAccuityForAvs** | **bool?** | *NEW* Accuity is the original validation service that checks the account/routing number for formatting issues. Used by WF and set to \"Yes\" unless told otherwise | [optional] [default to true] +**SetCompletedState** | **bool?** | *Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES. | [optional] [default to false] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.md new file mode 100644 index 00000000..d9f90a1d --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeatures.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsFeatures +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountValidationService** | [**PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService**](PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.md new file mode 100644 index 00000000..7f160960 --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**InternalOnly** | [**PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly**](PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.md) | | [optional] +**Processors** | [**Dictionary<string, PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors>**](PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.md) | *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.md new file mode 100644 index 00000000..26c07d97 --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Processors** | **Dictionary<string, Object>** | *NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods. Example * \"bofaach\" * \"wellsfargoach\" | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.md new file mode 100644 index 00000000..66751ad1 --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AvsAccountOwnershipService** | **bool?** | *NEW* Determined in WF eTicket if account has opted into the Account Ownership Service. | [optional] +**AvsAccountStatusService** | **bool?** | *NEW* Determined in WF eTicket if account has opted into the Account Status Service. | [optional] +**AvsSignedAgreement** | **bool?** | *NEW* Taken from Addendum Agreement Column in boarding form. | [optional] +**AvsAdditionalId** | **string** | *NEW* Also known as the Additional ID. Taken from the boarding form. | [optional] +**EnableAvs** | **bool?** | *NEW* | [optional] [default to true] +**AvsEntityId** | **string** | *NEW* Also known as the AVS Gateway Entity ID. | [optional] +**EnableAvsTokenCreation** | **bool?** | *NEW* Applicable if the merchant wants to run AVS on token creation requests only. | [optional] [default to false] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.md b/docs/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.md new file mode 100644 index 00000000..6a6d8585 --- /dev/null +++ b/docs/PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting.md @@ -0,0 +1,18 @@ +# CyberSource.Model.PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StandardEntryClassCodes** | **string** | Mandatory Free-text (csv) Possible values (combination): CCD — Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions. PPD — Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customer’s checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions. TEL — Telephone-Initiated Entry, or TEL, is a one-time charge against a customer’s checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone. WEB — Internet-Initiated Entry or WEB is a charge against a customer’s checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet. | [default to "CCD,PPD,TEL,WEB"] +**EnableHold** | **bool?** | Mandatory Determines whether CYBS has placed the merchant on a funding hold This will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant. | [default to true] +**MonthlyTotalTransactionAmountLimit** | **decimal?** | Mandatory Monthly Maximum total Transaction Amount 12 digit including decimal | +**HoldingDays** | **decimal?** | Mandatory Funds Hold Days (Number of days funds will be held before it will be deposited into merchant account) 3 digits | +**EnableCredits** | **bool?** | Optional Allow Credits (True/False) | [optional] +**TransactionAmountLimit** | **decimal?** | Mandatory Maximum total Transaction Amount This is a per transaction limit. For example, the merchant is limited to processing transactions under $100 12 digits (including decimal - USD only) | +**RiskReserveMethod** | **string** | Mandatory Reserve Method Possible value: - fixed - none Most merchants do not have a reserve attached to their account so the default value would be \"none.\" For a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump sum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for the account from each batch settlement until the reserve balance is equal to a set Reserve Target. A Fixed Reserve may also be established by a combination of lump sum deposit and withholding of settlement funds. A Rolling Reserve balance is established by withholding from a merchant’s available settlement funds at a Reserve Rate (percentage) and no Reserve Target is specified. Rather, each amount withheld is retained for a specified number of Reserve Holding Days and then released back to the merchant. | +**RiskReserveRate** | **decimal?** | Mandatory Reserve Rate (% of TPV)=> Relevant for Rolling Reserve and Fixed Reserve The percentage rate at which risk funds are withheld from each eCheck.Net batch settlement. | +**RiskReserveTargetAmount** | **decimal?** | Mandatory Reserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY The maximum dollar amount that can be held in Risk Reserve for a fixed reserve. Once risk withholdings reach the Reserve Target established for the eCheck.Net account, a portion of available funds will be deposited to the merchant’s bank account 12 digit including decimal | +**SolutionOrganizationId** | **string** | Solution organization id | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsECheckSubscriptionInformation.md b/docs/PaymentProductsECheckSubscriptionInformation.md new file mode 100644 index 00000000..42400451 --- /dev/null +++ b/docs/PaymentProductsECheckSubscriptionInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsECheckSubscriptionInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**SelfServiceability** | **string** | Indicates if the organization can enable this product using self service. | [optional] [default to SelfServiceabilityEnum.NOTSELFSERVICEABLE] +**Mode** | **List<string>** | Indicates what mode the product is expected to behave at boarding and transaction flows. Ex, Acquirer/Gateway/Other. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthentication.md b/docs/PaymentProductsPayerAuthentication.md new file mode 100644 index 00000000..c54a0adc --- /dev/null +++ b/docs/PaymentProductsPayerAuthentication.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsPayerAuthentication +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsPayerAuthenticationConfigurationInformation**](PaymentProductsPayerAuthenticationConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationConfigurationInformation.md b/docs/PaymentProductsPayerAuthenticationConfigurationInformation.md new file mode 100644 index 00000000..0feba4ec --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurations**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.md b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.md new file mode 100644 index 00000000..71f8e728 --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurations.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardTypes** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.md b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.md new file mode 100644 index 00000000..789d4d56 --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes.md @@ -0,0 +1,16 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VerifiedByVisa** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md) | | [optional] +**MasterCardSecureCode** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md) | | [optional] +**AmexSafeKey** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md) | | [optional] +**JCBJSecure** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.md) | | [optional] +**DinersClubInternationalProtectBuy** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md) | | [optional] +**ELO** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md) | | [optional] +**UPI** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md) | | [optional] +**CB** | [**PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.md b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.md new file mode 100644 index 00000000..6c186323 --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestorId** | **string** | The value is for 3DS2.0 and is a Directory Server assigned 3DS Requestor ID value. If this field is passed in request, it will override Requestor Id value that is configured on the Merchant's profile. | [optional] +**Enabled** | **bool?** | | [optional] [default to true] +**Currencies** | [**List<PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies>**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.md b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.md new file mode 100644 index 00000000..f43b7ad6 --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SecurePasswordForJCB** | **string** | JSecure currency password for Japan Credit Bureau | [optional] +**Enabled** | **bool?** | | [optional] [default to true] +**Currencies** | [**List<PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies>**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md new file mode 100644 index 00000000..61548140 --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] [default to true] +**Currencies** | [**List<PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies>**](PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.md b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.md new file mode 100644 index 00000000..fa56ee94 --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CurrencyCodes** | **List<string>** | | [optional] +**AcquirerId** | **string** | The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer. The value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN. It is most often the Acquiring BIN + \"-1000\" but the trailing character can be different. **Note** We will need to double check with Cardinal before setting up the Portfolio Template in production. | [optional] +**ProcessorMerchantId** | **string** | Processor Merchant ID is the Merchant ID assigned by your acquiring bank. This Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayerAuthenticationSubscriptionInformation.md b/docs/PaymentProductsPayerAuthenticationSubscriptionInformation.md new file mode 100644 index 00000000..c5895fae --- /dev/null +++ b/docs/PaymentProductsPayerAuthenticationSubscriptionInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsPayerAuthenticationSubscriptionInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**SelfServiceability** | **string** | Indicates if the organization can enable this product using self service. | [optional] [default to SelfServiceabilityEnum.NOTSELFSERVICEABLE] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayouts.md b/docs/PaymentProductsPayouts.md new file mode 100644 index 00000000..94adf3ed --- /dev/null +++ b/docs/PaymentProductsPayouts.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsPayouts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsPayoutsConfigurationInformation**](PaymentProductsPayoutsConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayoutsConfigurationInformation.md b/docs/PaymentProductsPayoutsConfigurationInformation.md new file mode 100644 index 00000000..d1f026a4 --- /dev/null +++ b/docs/PaymentProductsPayoutsConfigurationInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsPayoutsConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Configurations** | [**PaymentProductsPayoutsConfigurationInformationConfigurations**](PaymentProductsPayoutsConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayoutsConfigurationInformationConfigurations.md b/docs/PaymentProductsPayoutsConfigurationInformationConfigurations.md new file mode 100644 index 00000000..ae86514f --- /dev/null +++ b/docs/PaymentProductsPayoutsConfigurationInformationConfigurations.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsPayoutsConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Pullfunds** | [**Dictionary<string, PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds>**](PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.md) | | [optional] +**Pushfunds** | [**Dictionary<string, PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds>**](PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md b/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md new file mode 100644 index 00000000..16db6400 --- /dev/null +++ b/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OriginatorMerchantId** | **string** | TBD | +**OriginatorTerminalId** | **List<string>** | TBD | +**SupportedCurrencies** | **List<string>** | Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.md b/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.md new file mode 100644 index 00000000..540eecb2 --- /dev/null +++ b/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AcquirerOrganizationId** | **string** | Valid organization in OMS with an organizationInformation.type as \"acquirer\". | [optional] +**AcquiringBIN** | **int?** | This code identifies the financial institution acting as the acquirer of this transaction. The acquirer is the client or system user that signed the originator or installed the unattended cardholder- activated environment. When a processing center operates for multiple acquirers, this code is for the individual client or system user, not a code for the center. | +**AllowCryptoCurrencyPurchase** | **bool?** | This configuration allows a transaction to be flagged for cryptocurrency funds transfer. | [optional] +**CardAcceptorId** | **string** | A unique identifier number for the originator of transfers that is unique to the processor or acquirer. | +**OriginatorMvv** | **string** | Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant. | [optional] +**OriginatorNameAbbreviation** | **string** | A 4 character max name abbreviation for the originator. | [optional] +**CardTerminalId** | **string** | This field contains a code that identifies a terminal at the card acceptor location. This field is used in all messages related to a transaction. If sending transactions from a card not present environment, use the same value for all transactions. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.md b/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.md new file mode 100644 index 00000000..d701fa24 --- /dev/null +++ b/docs/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds.md @@ -0,0 +1,17 @@ +# CyberSource.Model.PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AcquirerCountryCode** | **int?** | TBD | +**AcquiringBIN** | **int?** | TBD | +**AllowCryptoCurrencyPurchase** | **bool?** | This configuration allows a transaction to be flagged for cryptocurrency funds transfer. | [optional] +**FinancialInstitutionId** | **string** | TBD | [optional] +**NetworkOrder** | **string** | TBD | [optional] +**NationalReimbursementFee** | **string** | TBD | [optional] +**OriginatorBusinessApplicationId** | **string** | TBD | +**OriginatorPseudoAbaNumber** | **string** | TBD | [optional] +**ProcessorAccount** | [**List<PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount>**](PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md) | TBD | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptance.md b/docs/PaymentProductsSecureAcceptance.md new file mode 100644 index 00000000..38430b96 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptance.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsSecureAcceptance +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsSecureAcceptanceConfigurationInformation**](PaymentProductsSecureAcceptanceConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformation.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformation.md new file mode 100644 index 00000000..8d76fd8c --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurations**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.md new file mode 100644 index 00000000..5dfd3445 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurations.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ParentProfileId** | **string** | You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here. | [optional] +**ContactInformation** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.md) | | [optional] +**Notifications** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.md) | | [optional] +**Service** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.md) | | [optional] +**PaymentMethods** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.md) | | [optional] +**Checkout** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.md) | | [optional] +**PaymentTypes** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.md new file mode 100644 index 00000000..44459415 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayTaxAmount** | **bool?** | Toggles whether or not the tax amount is displayed on the Hosted Checkout. | [optional] +**TemplateType** | **string** | Specifies whether the Hosted Checkout is displayed as a single page form or multi page checkout. Valid values: `multi` `single` | [optional] +**ReturnToMerchantSiteUrl** | **string** | URL of the website linked to from the Secure Acceptance receipt page. Only used if the profile does not have custom receipt pages configured. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.md new file mode 100644 index 00000000..ea59a0e4 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation.md @@ -0,0 +1,12 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Phone** | **string** | | [optional] +**CompanyName** | **string** | | [optional] +**Email** | **string** | | [optional] +**Name** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.md new file mode 100644 index 00000000..634b5be5 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MerchantNotifications** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.md) | | [optional] +**CustomerNotifications** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.md new file mode 100644 index 00000000..c2704d34 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CustomReceiptPageEnabled** | **bool?** | Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance. | [optional] +**ReceiptEmailAddress** | **string** | Email address where a copy of the payer's receipt email is sent, when notificationReceiptEmailEnabled is true. | [optional] +**CustomerReceiptEmailEnabled** | **bool?** | Toggles an email receipt sent to the payer's email address on payment success. | [optional] +**CustomCancelPage** | **string** | URL to which transaction results are POSTed when the payer clicks 'Cancel' on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance. | [optional] +**CustomReceiptPage** | **string** | URL to which transaction results are POSTed when the payer requests a payment on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance. | [optional] +**CustomCancelPageEnabled** | **bool?** | Toggles the custom cancel page, where merchants can receive notice that the payer has canceled, and display appropriate messaging and direction. Usually set by web developers integrating to Secure Acceptance. | [optional] +**NotificationReceiptEmailEnabled** | **bool?** | Toggles whether merchant receives a copy of the payer's receipt email. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.md new file mode 100644 index 00000000..39b49b9f --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications.md @@ -0,0 +1,13 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BackofficePostEnabled** | **bool?** | Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance. | [optional] +**BackofficeEmailAddress** | **string** | Email address to receive transaction confirmation messages. | [optional] +**BackofficeEmailEnabled** | **bool?** | Enables email transaction confirmation messages, sent to the address specified in backofficeEmailAddress. | [optional] +**BackofficePostUrl** | **string** | Webhook URL to which transaction confirmation is sent. Usually completed by the web developers integrating to Secure Acceptance. | [optional] +**CardNumberFormat** | **string** | Format in which the card number should be masked in the notifications. Valid values: `1` - Display first 6 digits only (e.g. \"444433**********\") `2` - Display last four digits only (e.g. \"************1111\") `3` - Display First six and last four digits (e.g. \"444433******1111\") | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.md new file mode 100644 index 00000000..9bfd74e3 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EnabledPaymentMethods** | **List<string>** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.md new file mode 100644 index 00000000..11cfd5b3 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardTypes** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.md new file mode 100644 index 00000000..31f6bd17 --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes.md @@ -0,0 +1,12 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Discover** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md) | | [optional] +**Amex** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md) | | [optional] +**MasterCard** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md) | | [optional] +**Visa** | [**PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover**](PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md new file mode 100644 index 00000000..5d8bcddf --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardVerificationNumberSupported** | **bool?** | Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level. | [optional] +**CardVerificationNumberDisplay** | **bool?** | Toggles whether or Card Verification Number is displayed on the Hosted Checkout. | [optional] +**PayerAuthenticationSupported** | **bool?** | Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level. | [optional] +**SupportedCurrencies** | **List<string>** | Array of the supported ISO 4217 alphabetic currency codes. | [optional] +**Method** | **string** | | [optional] +**CardVerificationNumberRequired** | **bool?** | | [optional] +**PayerAuthenticationEnabled** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.md b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.md new file mode 100644 index 00000000..59addaab --- /dev/null +++ b/docs/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService.md @@ -0,0 +1,15 @@ +# CyberSource.Model.PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DecisionManagerVerboseEnabled** | **bool?** | Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging. | [optional] +**DeclinedRetryLimit** | **decimal?** | Defines the number of retries a payer is presented with on payment declines on Hosted Checkout. Valid values are between 0 and 5. | [optional] +**DecisionManagerEnabled** | **bool?** | Toggles whether Decision Manager is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Decicion Manager. | [optional] +**TokenizationEnabled** | **bool?** | Toggles whether Tokenization is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Tokenization. | [optional] +**ReverseAuthOnAddressVerificationSystemFailure** | **bool?** | Toggles whether or not an approved Authorization that fails AVS should be automatically reversed. | [optional] +**DeviceFingerprintEnabled** | **bool?** | Toggles whether or not fraud Device Fingerprinting is enabled on the Hosted Checkout. This simplifies enablement for Decision Manager. | [optional] +**ReverseAuthOnCardVerificationNumberFailure** | **bool?** | Toggles whether or not an approved Authorization that fails CVN check that should be automatically reversed. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsTax.md b/docs/PaymentProductsTax.md new file mode 100644 index 00000000..8fcd1993 --- /dev/null +++ b/docs/PaymentProductsTax.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsTax +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminal.md b/docs/PaymentProductsVirtualTerminal.md new file mode 100644 index 00000000..185eb42a --- /dev/null +++ b/docs/PaymentProductsVirtualTerminal.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsVirtualTerminal +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**PaymentProductsVirtualTerminalConfigurationInformation**](PaymentProductsVirtualTerminalConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalConfigurationInformation.md b/docs/PaymentProductsVirtualTerminalConfigurationInformation.md new file mode 100644 index 00000000..146905db --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurations**](PaymentProductsVirtualTerminalConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.md b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.md new file mode 100644 index 00000000..c78522b1 --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurations.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardNotPresent** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.md) | | [optional] +**CardPresent** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.md b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.md new file mode 100644 index 00000000..e40714cf --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**GlobalPaymentInformation** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.md) | | [optional] +**ReceiptInformation** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.md b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.md new file mode 100644 index 00000000..3191d8b1 --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BasicInformation** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation.md) | | [optional] +**PaymentInformation** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation.md) | | [optional] +**MerchantDefinedDataFields** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.md b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.md new file mode 100644 index 00000000..c92966ca --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Header** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.md) | | [optional] +**OrderInformation** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation.md) | | [optional] +**EmailReceipt** | [**PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt**](PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.md b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.md new file mode 100644 index 00000000..aab2db13 --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VirtualTerminalReceiptHeader** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalMerchantDefinedDataFields.md b/docs/PaymentProductsVirtualTerminalMerchantDefinedDataFields.md new file mode 100644 index 00000000..f2ed2d03 --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalMerchantDefinedDataFields.md @@ -0,0 +1,33 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayMerchantDefinedData1** | **bool?** | | [optional] +**DisplayMerchantDefinedData2** | **bool?** | | [optional] +**DisplayMerchantDefinedData3** | **bool?** | | [optional] +**DisplayMerchantDefinedData4** | **bool?** | | [optional] +**DisplayMerchantDefinedData5** | **bool?** | | [optional] +**MerchantDefinedData1DefaultValue** | **string** | | [optional] +**MerchantDefinedData1Label** | **string** | | [optional] +**RequireMerchantDefinedData1** | **bool?** | | [optional] +**MerchantDefinedData2DefaultValue** | **string** | | [optional] +**MerchantDefinedData2Label** | **string** | | [optional] +**RequireMerchantDefinedData2** | **bool?** | | [optional] +**MerchantDefinedData3DefaultValue** | **string** | | [optional] +**MerchantDefinedData3Label** | **string** | | [optional] +**RequireMerchantDefinedData3** | **bool?** | | [optional] +**MerchantDefinedData4DefaultValue** | **string** | | [optional] +**MerchantDefinedData4Label** | **string** | | [optional] +**RequireMerchantDefinedData4** | **bool?** | | [optional] +**MerchantDefinedData5DefaultValue** | **string** | | [optional] +**MerchantDefinedData5Label** | **string** | | [optional] +**RequireMerchantDefinedData5** | **bool?** | | [optional] +**MerchantDefinedData1DisplayOnReceipt** | **bool?** | | [optional] +**MerchantDefinedData2DisplayOnReceipt** | **bool?** | | [optional] +**MerchantDefinedData3DisplayOnReceipt** | **bool?** | | [optional] +**MerchantDefinedData4DisplayOnReceipt** | **bool?** | | [optional] +**MerchantDefinedData5DisplayOnReceipt** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalPaymentInformation.md b/docs/PaymentProductsVirtualTerminalPaymentInformation.md new file mode 100644 index 00000000..8c3b06ba --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalPaymentInformation.md @@ -0,0 +1,21 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayCardVerificationValue** | **List<string>** | | [optional] +**RequireCardVerificationValue** | **List<string>** | | [optional] +**AcceptedCardTypes** | **List<string>** | | [optional] +**DisplayCreditCards** | **bool?** | | [optional] +**DisplayEchecks** | **bool?** | | [optional] +**DisplayDebtIndicator** | **bool?** | | [optional] +**DisplayBillPayment** | **bool?** | | [optional] +**EnableEchecks** | **bool?** | | [optional] +**DisplayIgnoreECheckAvsCheckbox** | **bool?** | | [optional] +**FirstNameRequired** | **bool?** | | [optional] +**LastNameRequired** | **bool?** | | [optional] +**DisplayFirstName** | **bool?** | | [optional] +**DisplayLastName** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.md b/docs/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.md new file mode 100644 index 00000000..4dbeb7ac --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalPaymentInformationBasicInformation.md @@ -0,0 +1,17 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DefaultStandardEntryClassCode** | **string** | | [optional] +**DefaultCountryCode** | **string** | ISO 4217 format | [optional] +**DefaultCurrencyCode** | **string** | Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] +**DefaultTransactionType** | **string** | | [optional] +**DefaultPaymentType** | **string** | | [optional] +**DefaultTransactionSource** | **string** | | [optional] +**DisplayRetail** | **bool?** | | [optional] +**DisplayMoto** | **bool?** | | [optional] +**DisplayInternet** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.md b/docs/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.md new file mode 100644 index 00000000..e88e373a --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SendersEmailAddress** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.md b/docs/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.md new file mode 100644 index 00000000..2f481903 --- /dev/null +++ b/docs/PaymentProductsVirtualTerminalReceiptInformationOrderInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EmailAliasName** | **string** | | [optional] +**CustomReplyToEmailAddress** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PostRegistrationBody.md b/docs/PostRegistrationBody.md new file mode 100644 index 00000000..e19236d3 --- /dev/null +++ b/docs/PostRegistrationBody.md @@ -0,0 +1,13 @@ +# CyberSource.Model.PostRegistrationBody +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RegistrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] +**IntegrationInformation** | [**Boardingv1registrationsIntegrationInformation**](Boardingv1registrationsIntegrationInformation.md) | | [optional] +**OrganizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] +**ProductInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] +**DocumentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PtsV2PaymentsPost201ResponseIssuerInformation.md b/docs/PtsV2PaymentsPost201ResponseIssuerInformation.md index 1aa83c59..71763b99 100644 --- a/docs/PtsV2PaymentsPost201ResponseIssuerInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseIssuerInformation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **DiscretionaryData** | **string** | Data defined by the issuer. The value for this reply field will probably be the same as the value that you submitted in the authorization request, but it is possible for the processor, issuer, or acquirer to modify the value. This field is supported only for Visa transactions on **CyberSource through VisaNet**. For details, see `issuer_additional_data` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **CountrySpecificDiscretionaryData** | **string** | Data defined by the issuer. This national use field contains two subfields for information unique to the processing of Visa transactions by members in Japan. This subfield contains the Katakana text to be printed on the receipt. For details, see `jpo_issuer_message` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **ResponseCode** | **string** | Additional authorization code that must be printed on the receipt when returned by the processor. This value is generated by the processor and is returned only for a successful transaction. This reply field is supported only for these processors: - FDC Nashville Global - SIX | [optional] +**PinRequestIndicator** | **string** | This field contains value ‘1’ which is sent by Issuer in the response when PIN is requested by issuer, This field is only supported for Visa Platform Connect. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PtsV2PaymentsReversalsPost201Response.md b/docs/PtsV2PaymentsReversalsPost201Response.md index 6dccb81a..e2601010 100644 --- a/docs/PtsV2PaymentsReversalsPost201Response.md +++ b/docs/PtsV2PaymentsReversalsPost201Response.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Links** | [**PtsV2IncrementalAuthorizationPatch201ResponseLinks**](PtsV2IncrementalAuthorizationPatch201ResponseLinks.md) | | [optional] **Id** | **string** | An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. | [optional] **SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] -**Status** | **string** | The status of the submitted transaction. Possible values: - REVERSED | [optional] +**Status** | **string** | The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED | [optional] **ReconciliationId** | **string** | Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. | [optional] **ClientReferenceInformation** | [**PtsV2PaymentsPost201ResponseClientReferenceInformation**](PtsV2PaymentsPost201ResponseClientReferenceInformation.md) | | [optional] **ReversalAmountDetails** | [**PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails**](PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.md) | | [optional] diff --git a/docs/Ptsv2billingagreementsPaymentInformationTokenizedCard.md b/docs/Ptsv2billingagreementsPaymentInformationTokenizedCard.md index 60c48705..5da76bbf 100644 --- a/docs/Ptsv2billingagreementsPaymentInformationTokenizedCard.md +++ b/docs/Ptsv2billingagreementsPaymentInformationTokenizedCard.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **ExpirationMonth** | **string** | One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] **ExpirationYear** | **string** | One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] **Number** | **string** | Customer’s payment network token value. | [optional] -**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] +**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. | [optional] **Type** | **string** | Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsConsumerAuthenticationInformation.md b/docs/Ptsv2paymentsConsumerAuthenticationInformation.md index e72e68ab..cc5e2d72 100644 --- a/docs/Ptsv2paymentsConsumerAuthenticationInformation.md +++ b/docs/Ptsv2paymentsConsumerAuthenticationInformation.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Cavv** | **string** | Cardholder authentication verification value (CAVV). | [optional] +**TransactionFlowIndicator** | **string** | This field details out the type of transaction. Below are the possible values. 08:GC- Guest Checkout. | [optional] **CavvAlgorithm** | **string** | Algorithm used to generate the CAVV for Visa Secure or the UCAF authentication data for Mastercard Identity Check. | [optional] **EciRaw** | **string** | Raw electronic commerce indicator (ECI). For details, see `eci_raw` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **ParesStatus** | **string** | Payer authentication response status. For details, see `pares_status` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] diff --git a/docs/Ptsv2paymentsMerchantDefinedSecureInformation.md b/docs/Ptsv2paymentsMerchantDefinedSecureInformation.md new file mode 100644 index 00000000..faa63f7b --- /dev/null +++ b/docs/Ptsv2paymentsMerchantDefinedSecureInformation.md @@ -0,0 +1,12 @@ +# CyberSource.Model.Ptsv2paymentsMerchantDefinedSecureInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Secure1** | **string** | The value you assign for your merchant-secure data field 1. | [optional] +**Secure2** | **string** | The value you assign for your merchant-secure data field 2. | [optional] +**Secure3** | **string** | The value you assign for your merchant-secure data field 3. | [optional] +**Secure4** | **string** | The value you assign for your merchant-secure data field 4. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md b/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md index 6b8644b5..ad08e7cc 100644 --- a/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md +++ b/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **Type** | **string** | Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International | [optional] **Cryptogram** | **string** | This field contains token information. | [optional] **RequestorId** | **string** | Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] -**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] +**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. | [optional] **AssuranceLevel** | **string** | Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. | [optional] **StorageMethod** | **string** | Type of technology used in the device to store token data. Possible values: - `001`: Secure Element (SE). Smart card or memory with restricted access and encryption to prevent data tampering. For storing payment credentials, a SE is tested against a set of requirements defined by the payment networks. **Note** This field is supported only for _FDC Compass_. - 002: Host Card Emulation (HCE). Emulation of a smart card by using software to create a virtual and exact representation of the card. Sensitive data is stored in a database that is hosted in the cloud. For storing payment credentials, a database must meet very stringent security requirements that exceed PCI DSS. **Note** This field is supported only for _FDC Compass_. | [optional] **SecurityCode** | **string** | Card Verification Number (CVN). #### Ingenico ePayments Do not include this field when **commerceIndicator=recurring**. **Note** Ingenico ePayments was previously called _Global Collect_. For details, see `customer_cc_cv_number` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] diff --git a/docs/Ptsv2paymentsProcessingInformation.md b/docs/Ptsv2paymentsProcessingInformation.md index 0b0e46a0..b59ec5ce 100644 --- a/docs/Ptsv2paymentsProcessingInformation.md +++ b/docs/Ptsv2paymentsProcessingInformation.md @@ -35,6 +35,7 @@ Name | Type | Description | Notes **NetworkRoutingOrder** | **string** | On PIN Debit Gateways: This U.S.-only field is optionally used by participants (merchants and acquirers) to specify the network access priority. VisaNet checks to determine if there are issuer routing preferences for any of the networks specified by the sharing group code. If an issuer preference exists for one of the specified debit networks, VisaNet makes a routing selection based on the issuer’s preference. If an issuer preference exists for more than one of the specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on the acquirer’s routing priorities. #### PIN debit Priority order of the networks through which he transaction will be routed. Set this value to a series of one-character network codes in your preferred order. This is a list of the network codes: | Network | Code | | - -- | - -- | | Accel | E | | AFFN | U | | Alaska Option | 3 | | CU24 | C | | Interlink | G | | Maestro | 8 | | NETS | P | | NYCE | F | | Pulse | H | | Shazam | 7 | | Star | M | | Visa | V | For example, if the Star network is your first preference and Pulse is your second preference, set this field to a value of `MH`. When you do not include this value in your PIN debit request, the list of network codes from your account is used. **Note** This field is supported only for businesses located in the U.S. Optional field for PIN debit credit or PIN debit purchase. | [optional] **PayByPointsIndicator** | **bool?** | Flag that indicates if the transaction is pay by points transaction true: Transaction uses loyalty points false: Transaction does not use loyalty points Default: false | [optional] **IsReturnAuthRecordEnabled** | **bool?** | Flag that indicates the functionality we are having for merchants for which auth is done through Cybersource but settlement is done by themselves. true: functionality is supported. Processor should send raw processor auth response to Merchant. false: functionality is not supported. Default: false | [optional] +**NetworkPartnerId** | **string** | Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction. This field is supported for Visa Platform Connect. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsTravelInformation.md b/docs/Ptsv2paymentsTravelInformation.md index 07fe81f5..4da0b85a 100644 --- a/docs/Ptsv2paymentsTravelInformation.md +++ b/docs/Ptsv2paymentsTravelInformation.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **AutoRental** | [**Ptsv2paymentsTravelInformationAutoRental**](Ptsv2paymentsTravelInformationAutoRental.md) | | [optional] **Lodging** | [**Ptsv2paymentsTravelInformationLodging**](Ptsv2paymentsTravelInformationLodging.md) | | [optional] **Transit** | [**Ptsv2paymentsTravelInformationTransit**](Ptsv2paymentsTravelInformationTransit.md) | | [optional] +**VehicleData** | [**Ptsv2paymentsTravelInformationVehicleData**](Ptsv2paymentsTravelInformationVehicleData.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsTravelInformationVehicleData.md b/docs/Ptsv2paymentsTravelInformationVehicleData.md new file mode 100644 index 00000000..bde15375 --- /dev/null +++ b/docs/Ptsv2paymentsTravelInformationVehicleData.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Ptsv2paymentsTravelInformationVehicleData +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConnectorType** | **string** | This field will contain connector type values for electric vehicle transactions. Possible Values: 001 (AC - J1772 Type 1) 002 (AC - Mennekes - Type 2) 003 (AC - GB/T) 100 (DC - CCS1) 101 (DC - CHAdeMO) 102 (DC - CCS2) 103 (DC - GB/T) 200 (NACS – Tesla) | [optional] +**ChargingReasonCode** | **string** | This field will contain charging reason code values for electric vehicle transactions. Possible Values: 010 (Other Error) 011 (Connector Lock Failure) 012 (EV Communication Error) 013 (Ground Failure) 014 (High Temperature) 015 (Internal Error) 016 (Over Current Failure) 017 (Over Voltage) 018 (Power Meter Failure) 019 (Power Switch Failure) 020 (Reader Failure) 021 (Reset Failure) 022 (Under Voltage) 023 (Weak Signal) 100 (No Error) 200 (Payment Related Error) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Ptsv2payoutsMerchantInformationMerchantDescriptor.md b/docs/Ptsv2payoutsMerchantInformationMerchantDescriptor.md index d30e129c..785768f4 100644 --- a/docs/Ptsv2payoutsMerchantInformationMerchantDescriptor.md +++ b/docs/Ptsv2payoutsMerchantInformationMerchantDescriptor.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AdministrativeArea** | **string** | The state where the merchant is located. #### PIN debit State code or region code for your business. Use the Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) This value might be displayed on the cardholder’s statement. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. Optional field for PIN debit credit or PIN debit purchase. | [optional] **PostalCode** | **string** | Merchant's postal code. #### PIN debit Postal code for your business location. This value might be displayed on the cardholder’s statement. If your business is domiciled in the U.S., you can use a 5-digit or 9-digit postal code. A 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example: `12345-6789` If your business is domiciled in Canada, you can use a 6-digit or 9-digit postal code. A 6-digit postal code must follow this format: [alpha][numeric][alpha][space] [numeric][alpha][numeric] Example: `A1B 2C3` When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. **Important** Mastercard requires a postal code for any country that uses postal codes. You can provide the postal code in your account or you can include this field in your request. Optional field for PIN debit credit or PIN debit purchase. | [optional] **Contact** | **string** | For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_contact` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)- -> Contact information for the merchant. **Note** These are the maximum data lengths for the following payment processors: - FDCCompass (13) - Paymentech (13) | [optional] +**Address1** | **string** | First line of merchant's address. For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_street` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReplayWebhooks.md b/docs/ReplayWebhooks.md new file mode 100644 index 00000000..3403886e --- /dev/null +++ b/docs/ReplayWebhooks.md @@ -0,0 +1,10 @@ +# CyberSource.Model.ReplayWebhooks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ByTransactionTraceIdentifiers** | **List<string>** | | [optional] +**ByDeliveryStatus** | [**Nrtfv1webhookswebhookIdreplaysByDeliveryStatus**](Nrtfv1webhookswebhookIdreplaysByDeliveryStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProducts.md b/docs/RiskProducts.md new file mode 100644 index 00000000..660f0b95 --- /dev/null +++ b/docs/RiskProducts.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProducts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FraudManagementEssentials** | [**RiskProductsFraudManagementEssentials**](RiskProductsFraudManagementEssentials.md) | | [optional] +**DecisionManager** | [**RiskProductsDecisionManager**](RiskProductsDecisionManager.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManager.md b/docs/RiskProductsDecisionManager.md new file mode 100644 index 00000000..ab2eaa49 --- /dev/null +++ b/docs/RiskProductsDecisionManager.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProductsDecisionManager +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**RiskProductsDecisionManagerConfigurationInformation**](RiskProductsDecisionManagerConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformation.md b/docs/RiskProductsDecisionManagerConfigurationInformation.md new file mode 100644 index 00000000..b3e1594f --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] +**Configurations** | [**RiskProductsDecisionManagerConfigurationInformationConfigurations**](RiskProductsDecisionManagerConfigurationInformationConfigurations.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurations.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurations.md new file mode 100644 index 00000000..4a40219b --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurations.md @@ -0,0 +1,12 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProcessingOptions** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions**](RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.md) | | [optional] +**Organization** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization**](RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.md) | | [optional] +**PortfolioControls** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls**](RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.md) | | [optional] +**Thirdparty** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.md new file mode 100644 index 00000000..221733cd --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization.md @@ -0,0 +1,9 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**HierarchyGroup** | **string** | Must be one of the following : NO_GROUP, INCLUDE_IN_PARENTS_GROUP | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.md new file mode 100644 index 00000000..7d123139 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**HideRiskMenus** | **bool?** | | [optional] +**HideRiskTransactionData** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.md new file mode 100644 index 00000000..9dfe4cbc --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions.md @@ -0,0 +1,9 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StepUpAuthEnabled** | **bool?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.md new file mode 100644 index 00000000..dedf9001 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty.md @@ -0,0 +1,9 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Provider** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.md new file mode 100644 index 00000000..e63b7b65 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider.md @@ -0,0 +1,15 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Accurint** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.md) | | [optional] +**Credilink** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.md) | | [optional] +**Ekata** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.md) | | [optional] +**Emailage** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.md) | | [optional] +**Perseuss** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.md) | | [optional] +**Signifyd** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.md) | | [optional] +**Targus** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.md new file mode 100644 index 00000000..602d9f7d --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**Credentials** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.md new file mode 100644 index 00000000..79c68a6a --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Username** | **string** | | [optional] +**Password** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.md new file mode 100644 index 00000000..daf55d3e --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink.md @@ -0,0 +1,12 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**EnableRealTime** | **bool?** | | [optional] +**UseCybsCredentials** | **bool?** | | [optional] +**Credentials** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.md new file mode 100644 index 00000000..19cff679 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials.md @@ -0,0 +1,11 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Username** | **string** | | [optional] +**Password** | **string** | | [optional] +**Sigla** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.md new file mode 100644 index 00000000..549ff213 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata.md @@ -0,0 +1,12 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**EnableRealTime** | **bool?** | | [optional] +**UseCybsCredentials** | **bool?** | | [optional] +**Credentials** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.md new file mode 100644 index 00000000..a4aff25c --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials.md @@ -0,0 +1,9 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiKey** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.md new file mode 100644 index 00000000..0775b639 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage.md @@ -0,0 +1,12 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**EnableRealTime** | **bool?** | | [optional] +**UseCybsCredentials** | **bool?** | | [optional] +**Credentials** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.md new file mode 100644 index 00000000..fd3561e9 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss.md @@ -0,0 +1,11 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**EnableRealTime** | **bool?** | | [optional] +**Credentials** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.md new file mode 100644 index 00000000..2d3fd5c5 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**Credentials** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.md new file mode 100644 index 00000000..b6ac3446 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials.md @@ -0,0 +1,12 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TeamId** | **string** | | [optional] +**ApiKey** | **string** | | [optional] +**SecretKeyid** | **string** | | [optional] +**SecretKey** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.md new file mode 100644 index 00000000..105016f6 --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus.md @@ -0,0 +1,11 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **bool?** | | [optional] +**UseCybsCredentials** | **bool?** | | [optional] +**Credentials** | [**RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials**](RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.md b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.md new file mode 100644 index 00000000..0fb20bef --- /dev/null +++ b/docs/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials.md @@ -0,0 +1,11 @@ +# CyberSource.Model.RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Username** | **string** | | [optional] +**Password** | **string** | | [optional] +**ServiceId** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsFraudManagementEssentials.md b/docs/RiskProductsFraudManagementEssentials.md new file mode 100644 index 00000000..e1fc7087 --- /dev/null +++ b/docs/RiskProductsFraudManagementEssentials.md @@ -0,0 +1,10 @@ +# CyberSource.Model.RiskProductsFraudManagementEssentials +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubscriptionInformation** | [**PaymentProductsPayerAuthenticationSubscriptionInformation**](PaymentProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] +**ConfigurationInformation** | [**RiskProductsFraudManagementEssentialsConfigurationInformation**](RiskProductsFraudManagementEssentialsConfigurationInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskProductsFraudManagementEssentialsConfigurationInformation.md b/docs/RiskProductsFraudManagementEssentialsConfigurationInformation.md new file mode 100644 index 00000000..d846f3e6 --- /dev/null +++ b/docs/RiskProductsFraudManagementEssentialsConfigurationInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.RiskProductsFraudManagementEssentialsConfigurationInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TemplateId** | **Guid?** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Riskv1authenticationresultsPaymentInformationTokenizedCard.md b/docs/Riskv1authenticationresultsPaymentInformationTokenizedCard.md index 144543c7..e2fa9b97 100644 --- a/docs/Riskv1authenticationresultsPaymentInformationTokenizedCard.md +++ b/docs/Riskv1authenticationresultsPaymentInformationTokenizedCard.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] +**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. | [optional] **Type** | **string** | Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International | [optional] **ExpirationMonth** | **string** | One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] **ExpirationYear** | **string** | One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] diff --git a/docs/Riskv1authenticationsPaymentInformationTokenizedCard.md b/docs/Riskv1authenticationsPaymentInformationTokenizedCard.md index c67b79b0..dcfa9ca9 100644 --- a/docs/Riskv1authenticationsPaymentInformationTokenizedCard.md +++ b/docs/Riskv1authenticationsPaymentInformationTokenizedCard.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | +**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. | **Type** | **string** | Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International | **ExpirationMonth** | **string** | One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | **ExpirationYear** | **string** | One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | diff --git a/docs/Riskv1authenticationsetupsPaymentInformationTokenizedCard.md b/docs/Riskv1authenticationsetupsPaymentInformationTokenizedCard.md index 6ea3b888..9d7d3441 100644 --- a/docs/Riskv1authenticationsetupsPaymentInformationTokenizedCard.md +++ b/docs/Riskv1authenticationsetupsPaymentInformationTokenizedCard.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | +**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. | **Type** | **string** | Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International | **ExpirationMonth** | **string** | One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | **ExpirationYear** | **string** | One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | diff --git a/docs/Riskv1decisionsConsumerAuthenticationInformation.md b/docs/Riskv1decisionsConsumerAuthenticationInformation.md index 15ccfd91..33931a29 100644 --- a/docs/Riskv1decisionsConsumerAuthenticationInformation.md +++ b/docs/Riskv1decisionsConsumerAuthenticationInformation.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **AlternateAuthenticationMethod** | **string** | Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator | [optional] **AuthenticationDate** | **string** | The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS | [optional] **AuthenticationTransactionId** | **string** | Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service. | [optional] -**TransactionFlowIndicator** | **int?** | This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW – Transaction performed at domestic merchant. 02:TW - Transaction performed at domestic merchant along with Token provisioning. 03:IT – Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. | [optional] +**TransactionFlowIndicator** | **int?** | This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning | [optional] **ChallengeCancelCode** | **string** | An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK | [optional] **ChallengeCode** | **string** | Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. For details, see `pa_challenge_code` field description in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html) | [optional] **ChallengeStatus** | **string** | The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used. | [optional] diff --git a/docs/Riskv1decisionsPaymentInformationTokenizedCard.md b/docs/Riskv1decisionsPaymentInformationTokenizedCard.md index 36cdda04..678141cf 100644 --- a/docs/Riskv1decisionsPaymentInformationTokenizedCard.md +++ b/docs/Riskv1decisionsPaymentInformationTokenizedCard.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] +**TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. #### Rupay - `3`: Card/Credential On File Tokenization. - `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token. | [optional] **Type** | **string** | Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International | [optional] **Number** | **string** | Customer’s payment network token value. | [optional] **ExpirationMonth** | **string** | One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] diff --git a/docs/SaveAsymEgressKey.md b/docs/SaveAsymEgressKey.md new file mode 100644 index 00000000..b4cd235c --- /dev/null +++ b/docs/SaveAsymEgressKey.md @@ -0,0 +1,11 @@ +# CyberSource.Model.SaveAsymEgressKey +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ClientReferenceInformation** | [**Kmsegressv2keysasymClientReferenceInformation**](Kmsegressv2keysasymClientReferenceInformation.md) | | [optional] +**ClientRequestAction** | **string** | Client request action. | +**KeyInformation** | [**Kmsegressv2keysasymKeyInformation**](Kmsegressv2keysasymKeyInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/SaveSymEgressKey.md b/docs/SaveSymEgressKey.md new file mode 100644 index 00000000..d429507e --- /dev/null +++ b/docs/SaveSymEgressKey.md @@ -0,0 +1,11 @@ +# CyberSource.Model.SaveSymEgressKey +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ClientReferenceInformation** | [**Kmsegressv2keyssymClientReferenceInformation**](Kmsegressv2keyssymClientReferenceInformation.md) | | [optional] +**ClientRequestAction** | **string** | Client request action. | +**KeyInformation** | [**Kmsegressv2keyssymKeyInformation**](Kmsegressv2keyssymKeyInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/UpdateWebhook.md b/docs/UpdateWebhook.md new file mode 100644 index 00000000..ddd62dec --- /dev/null +++ b/docs/UpdateWebhook.md @@ -0,0 +1,20 @@ +# CyberSource.Model.UpdateWebhook +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | Client friendly webhook name. | [optional] +**Description** | **string** | Client friendly webhook description.\\ | [optional] +**OrganizationId** | **string** | Organization Id. | [optional] +**ProductId** | **string** | The product you are receiving a webhook for. | [optional] +**EventTypes** | **List<string>** | Array of the different events for a given product id. | [optional] +**WebhookUrl** | **string** | The client's endpoint (URL) to receive webhooks. | [optional] +**HealthCheckUrl** | **string** | The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. | [optional] +**Status** | **string** | Webhook status. | [optional] [default to "INACTIVE"] +**NotificationScope** | [**Notificationsubscriptionsv1webhooksNotificationScope**](Notificationsubscriptionsv1webhooksNotificationScope.md) | | [optional] +**RetryPolicy** | [**Notificationsubscriptionsv1webhooksRetryPolicy**](Notificationsubscriptionsv1webhooksRetryPolicy.md) | | [optional] +**SecurityPolicy** | [**Notificationsubscriptionsv1webhooksSecurityPolicy**](Notificationsubscriptionsv1webhooksSecurityPolicy.md) | | [optional] +**AdditionalAttributes** | **List<Dictionary<string, string>>** | Additional, free form configuration data. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ValueAddedServicesProducts.md b/docs/ValueAddedServicesProducts.md new file mode 100644 index 00000000..a4deec9c --- /dev/null +++ b/docs/ValueAddedServicesProducts.md @@ -0,0 +1,10 @@ +# CyberSource.Model.ValueAddedServicesProducts +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reporting** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] +**TransactionSearch** | [**PaymentProductsTax**](PaymentProductsTax.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/generator/cybersource-csharp-template/Project.mustache b/generator/cybersource-csharp-template/Project.mustache index 3740a2ee..16609bf9 100644 --- a/generator/cybersource-csharp-template/Project.mustache +++ b/generator/cybersource-csharp-template/Project.mustache @@ -62,6 +62,10 @@ packages\Newtonsoft.Json.13.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll + + + False + packages\NLog.5.0.0\lib\net46\NLog.dll packages\RestSharp.108.0.3\lib\netstandard2.0\RestSharp.dll @@ -102,11 +106,7 @@ - packages\CyberSource.Authentication.0.0.0.16\lib\AuthenticationSdk.dll - - - False - packages\NLog.4.5.10\lib\{{targetFrameworkNuget}}\NLog.dll + packages\CyberSource.Authentication.0.0.0.18\lib\AuthenticationSdk.dll {{#generatePropertyChanged}} diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 5d62e6fd..025fb8c0 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -225,7 +225,7 @@ "description": "Manage Boarding Registrations" }, { - "name": "Create_New_Webhooks", + "name": "Create New Webhooks", "description": "Create a new webhook connection\n" }, { @@ -913,6 +913,11 @@ "isReturnAuthRecordEnabled": { "type": "boolean", "description": "Flag that indicates the functionality we are having for merchants for which auth is done through Cybersource but\nsettlement is done by themselves.\ntrue: functionality is supported. Processor should send raw processor auth response to Merchant.\nfalse: functionality is not supported.\nDefault: false\n" + }, + "networkPartnerId": { + "type": "string", + "maxLength": 11, + "description": "Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction.\n\nThis field is supported for Visa Platform Connect.\n" } } }, @@ -1043,7 +1048,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "assuranceLevel": { "type": "string", @@ -2580,6 +2585,11 @@ "maxLength": 40, "description": "Cardholder authentication verification value (CAVV)." }, + "transactionFlowIndicator": { + "type": "string", + "maxLength": 2, + "description": "This field details out the type of transaction. Below are the possible values.\n08:GC- Guest Checkout.\n" + }, "cavvAlgorithm": { "type": "string", "maxLength": 1, @@ -3086,6 +3096,32 @@ } } }, + "merchantDefinedSecureInformation": { + "type": "object", + "description": "The object containing the secure data that the merchant defines.\n", + "properties": { + "secure1": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 1.\n" + }, + "secure2": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 2.\n" + }, + "secure3": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 3.\n" + }, + "secure4": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 4.\n" + } + } + }, "installmentInformation": { "type": "object", "properties": { @@ -4097,6 +4133,21 @@ } } } + }, + "vehicleData": { + "type": "object", + "properties": { + "connectorType": { + "type": "string", + "maxLength": 3, + "description": "This field will contain connector type values for electric vehicle transactions.\n\nPossible Values:\n001 (AC - J1772 Type 1)\n002 (AC - Mennekes - Type 2)\n003 (AC - GB/T)\n100 (DC - CCS1)\n101 (DC - CHAdeMO)\n102 (DC - CCS2)\n103 (DC - GB/T)\n200 (NACS \u2013 Tesla)\n" + }, + "chargingReasonCode": { + "type": "string", + "maxLength": 3, + "description": "This field will contain charging reason code values for electric vehicle transactions.\n\nPossible Values:\n010 (Other Error)\n011 (Connector Lock Failure)\n012 (EV Communication Error)\n013 (Ground Failure)\n014 (High Temperature)\n015 (Internal Error)\n016 (Over Current Failure)\n017 (Over Voltage)\n018 (Power Meter Failure)\n019 (Power Switch Failure)\n020 (Reader Failure)\n021 (Reset Failure)\n022 (Under Voltage)\n023 (Weak Signal)\n100 (No Error)\n200 (Payment Related Error)\n" + } + } } } }, @@ -5048,6 +5099,11 @@ "type": "string", "maxLength": 6, "description": "Additional authorization code that must be printed on the receipt when returned by the processor.\n\nThis value is generated by the processor and is returned only for a successful transaction.\n\nThis reply field is supported only for these processors:\n- FDC Nashville Global\n- SIX\n" + }, + "pinRequestIndicator": { + "type": "string", + "maxLength": 1, + "description": "This field contains value \u20181\u2019 which is sent by Issuer in the response when PIN is requested by issuer, \n\nThis field is only supported for Visa Platform Connect.\n" } } }, @@ -8871,6 +8927,47 @@ "parentTag": "Card Present with Visa Platform Connect" }, "example57": { + "summary": "Pin Debit Purchase Using EMV Contactless Balance Inquiry with Visa Platform Connect", + "sample-name": "Pin Debit Purchase Using EMV Contactless Balance Inquiry with Visa Platform Connect", + "value": { + "clientReferenceInformation": { + "code": "Pin Debit Purchase - Balance Inquiry", + "partner": { + "thirdPartyCertificationNumber": "PTP1234" + } + }, + "pointOfSaleInformation": { + "trackData": ";4111111111111111=33121019761186800000?", + "entryMode": "contactless", + "terminalCapability": 4, + "emv": { + "tags": "9F3303204000950500000000009F3704518823719F100706011103A000009F26081E1756ED0E2134E29F36020015820200009C01009F1A0208409A030006219F02060000000020005F2A0208409F0306000000000000", + "cardSequenceNumber": 1 + } + }, + "processingInformation": { + "commerceIndicator": "retail", + "authorizationOptions": { + "balanceInquiry": "true" + }, + "networkRoutingOrder": "VMHF" + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "0.00", + "currency": "USD" + } + }, + "paymentInformation": { + "paymentType": { + "name": "CARD", + "subTypeName": "DEBIT" + } + } + }, + "parentTag": "Card Present with Visa Platform Connect" + }, + "example58": { "summary": "EBT - Purchase from SNAP Account with Visa Platform Connect", "sample-name": "EBT - Purchase from SNAP Account with Visa Platform Connect", "value": { @@ -8916,7 +9013,53 @@ }, "parentTag": "Card Present with Visa Platform Connect" }, - "example58": { + "example59": { + "summary": "EBT - Purchase from SNAP Account with Available Balance In Response with Visa Platform Connect", + "sample-name": "EBT - Purchase from SNAP Account with Available Balance In Response with Visa Platform Connect", + "value": { + "clientReferenceInformation": { + "code": "EBT - Purchase From SNAP Account (Available Balance)", + "partner": { + "thirdPartyCertificationNumber": "PTP1234" + } + }, + "pointOfSaleInformation": { + "trackData": "%B4111111111111111^JONES/JONES ^3312101976110000868000000?;4111111111111111=33121019761186800000?", + "entryMode": "swiped", + "terminalCapability": 4, + "pinBlockEncodingFormat": 1, + "encryptedPin": "52F20658C04DB351", + "encryptedKeySerialNumber": "FFFF1B1D140000000005" + }, + "processingInformation": { + "commerceIndicator": "retail", + "networkRoutingOrder": "K", + "purchaseOptions": { + "isElectronicBenefitsTransfer": true + }, + "electronicBenefitsTransfer": { + "category": "FOOD" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "6022.00", + "currency": "USD" + }, + "merchantInformation": { + "categoryCode": "5499" + } + }, + "paymentInformation": { + "paymentType": { + "name": "CARD", + "subTypeName": "DEBIT" + } + } + }, + "parentTag": "Card Present with Visa Platform Connect" + }, + "example60": { "summary": "EBT - Electronic Voucher Purchase from SNAP Account with Visa Platform Connect", "sample-name": "EBT - Electronic Voucher Purchase from SNAP Account with Visa Platform Connect", "value": { @@ -8965,7 +9108,7 @@ }, "parentTag": "Card Present with Visa Platform Connect" }, - "example59": { + "example61": { "summary": "EBT - Purchase from Cash Benefits Account with Cashback", "sample-name": "EBT - Purchase from Cash Benefits Account with Cashback", "value": { @@ -9015,7 +9158,7 @@ }, "parentTag": "Card Present with Visa Platform Connect" }, - "example60": { + "example62": { "summary": "SI Completion Amount>0", "sample-name": "SI Completion", "value": { @@ -9053,7 +9196,9 @@ "phoneNumber": "999999999", "district": "MI", "buildingNumber": "123", - "company": "Visa", + "company": { + "name": "Visa" + }, "email": "test@cybs.com" }, "amountDetails": { @@ -9075,7 +9220,7 @@ } } }, - "example61": { + "example63": { "summary": "Redirectional SI Completion Amount > 0", "sample-name": "S2S SI Completion", "value": { @@ -9110,7 +9255,9 @@ "district": "BLR", "postalCode": "560048", "locality": "NPCI", - "company": "Visa", + "company": { + "name": "Visa" + }, "administrativeArea": "MI", "email": "test@cybs.com" }, @@ -9835,7 +9982,7 @@ }, "status": { "type": "string", - "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n" + "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n - PARTIALLY_REVERSED\n" }, "reconciliationId": { "type": "string", @@ -10390,7 +10537,7 @@ }, "status": { "type": "string", - "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n" + "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n - PARTIALLY_REVERSED\n" }, "reconciliationId": { "type": "string", @@ -11727,6 +11874,32 @@ } } }, + "merchantDefinedSecureInformation": { + "type": "object", + "description": "The object containing the secure data that the merchant defines.\n", + "properties": { + "secure1": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 1.\n" + }, + "secure2": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 2.\n" + }, + "secure3": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 3.\n" + }, + "secure4": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 4.\n" + } + } + }, "installmentInformation": { "type": "object", "properties": { @@ -12788,6 +12961,21 @@ } } } + }, + "vehicleData": { + "type": "object", + "properties": { + "connectorType": { + "type": "string", + "maxLength": 3, + "description": "This field will contain connector type values for electric vehicle transactions.\n\nPossible Values:\n001 (AC - J1772 Type 1)\n002 (AC - Mennekes - Type 2)\n003 (AC - GB/T)\n100 (DC - CCS1)\n101 (DC - CHAdeMO)\n102 (DC - CCS2)\n103 (DC - GB/T)\n200 (NACS \u2013 Tesla)\n" + }, + "chargingReasonCode": { + "type": "string", + "maxLength": 3, + "description": "This field will contain charging reason code values for electric vehicle transactions.\n\nPossible Values:\n010 (Other Error)\n011 (Connector Lock Failure)\n012 (EV Communication Error)\n013 (Ground Failure)\n014 (High Temperature)\n015 (Internal Error)\n016 (Over Current Failure)\n017 (Over Voltage)\n018 (Power Meter Failure)\n019 (Power Switch Failure)\n020 (Reader Failure)\n021 (Reset Failure)\n022 (Under Voltage)\n023 (Weak Signal)\n100 (No Error)\n200 (Payment Related Error)\n" + } + } } } }, @@ -13611,7 +13799,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "assuranceLevel": { "type": "string", @@ -15438,6 +15626,21 @@ } } } + }, + "vehicleData": { + "type": "object", + "properties": { + "connectorType": { + "type": "string", + "maxLength": 3, + "description": "This field will contain connector type values for electric vehicle transactions.\n\nPossible Values:\n001 (AC - J1772 Type 1)\n002 (AC - Mennekes - Type 2)\n003 (AC - GB/T)\n100 (DC - CCS1)\n101 (DC - CHAdeMO)\n102 (DC - CCS2)\n103 (DC - GB/T)\n200 (NACS \u2013 Tesla)\n" + }, + "chargingReasonCode": { + "type": "string", + "maxLength": 3, + "description": "This field will contain charging reason code values for electric vehicle transactions.\n\nPossible Values:\n010 (Other Error)\n011 (Connector Lock Failure)\n012 (EV Communication Error)\n013 (Ground Failure)\n014 (High Temperature)\n015 (Internal Error)\n016 (Over Current Failure)\n017 (Over Voltage)\n018 (Power Meter Failure)\n019 (Power Switch Failure)\n020 (Reader Failure)\n021 (Reset Failure)\n022 (Under Voltage)\n023 (Weak Signal)\n100 (No Error)\n200 (Payment Related Error)\n" + } + } } } }, @@ -16122,7 +16325,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "assuranceLevel": { "type": "string", @@ -17949,6 +18152,21 @@ } } } + }, + "vehicleData": { + "type": "object", + "properties": { + "connectorType": { + "type": "string", + "maxLength": 3, + "description": "This field will contain connector type values for electric vehicle transactions.\n\nPossible Values:\n001 (AC - J1772 Type 1)\n002 (AC - Mennekes - Type 2)\n003 (AC - GB/T)\n100 (DC - CCS1)\n101 (DC - CHAdeMO)\n102 (DC - CCS2)\n103 (DC - GB/T)\n200 (NACS \u2013 Tesla)\n" + }, + "chargingReasonCode": { + "type": "string", + "maxLength": 3, + "description": "This field will contain charging reason code values for electric vehicle transactions.\n\nPossible Values:\n010 (Other Error)\n011 (Connector Lock Failure)\n012 (EV Communication Error)\n013 (Ground Failure)\n014 (High Temperature)\n015 (Internal Error)\n016 (Over Current Failure)\n017 (Over Voltage)\n018 (Power Meter Failure)\n019 (Power Switch Failure)\n020 (Reader Failure)\n021 (Reset Failure)\n022 (Under Voltage)\n023 (Weak Signal)\n100 (No Error)\n200 (Payment Related Error)\n" + } + } } } }, @@ -18701,7 +18919,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "assuranceLevel": { "type": "string", @@ -19761,6 +19979,32 @@ } } }, + "merchantDefinedSecureInformation": { + "type": "object", + "description": "The object containing the secure data that the merchant defines.\n", + "properties": { + "secure1": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 1.\n" + }, + "secure2": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 2.\n" + }, + "secure3": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 3.\n" + }, + "secure4": { + "type": "string", + "maxLength": 2048, + "description": "The value you assign for your merchant-secure data field 4.\n" + } + } + }, "installmentInformation": { "type": "object", "properties": { @@ -20702,6 +20946,21 @@ } } } + }, + "vehicleData": { + "type": "object", + "properties": { + "connectorType": { + "type": "string", + "maxLength": 3, + "description": "This field will contain connector type values for electric vehicle transactions.\n\nPossible Values:\n001 (AC - J1772 Type 1)\n002 (AC - Mennekes - Type 2)\n003 (AC - GB/T)\n100 (DC - CCS1)\n101 (DC - CHAdeMO)\n102 (DC - CCS2)\n103 (DC - GB/T)\n200 (NACS \u2013 Tesla)\n" + }, + "chargingReasonCode": { + "type": "string", + "maxLength": 3, + "description": "This field will contain charging reason code values for electric vehicle transactions.\n\nPossible Values:\n010 (Other Error)\n011 (Connector Lock Failure)\n012 (EV Communication Error)\n013 (Ground Failure)\n014 (High Temperature)\n015 (Internal Error)\n016 (Over Current Failure)\n017 (Over Voltage)\n018 (Power Meter Failure)\n019 (Power Switch Failure)\n020 (Reader Failure)\n021 (Reset Failure)\n022 (Under Voltage)\n023 (Weak Signal)\n100 (No Error)\n200 (Payment Related Error)\n" + } + } } } }, @@ -23650,6 +23909,7 @@ "description": "OK", "schema": { "title": "ptsV1TransactionBatchesIdGet200Response", + "type": "object", "properties": { "id": { "type": "string", @@ -23710,8 +23970,7 @@ } } } - }, - "type": "object" + } } }, "400": { @@ -25015,7 +25274,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "type": { "type": "string", @@ -25820,7 +26079,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "type": { "type": "string", @@ -26554,7 +26813,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "type": { "type": "string", @@ -51206,7 +51465,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "type": { "type": "string", @@ -52161,7 +52420,7 @@ "transactionFlowIndicator": { "type": "integer", "maxLength": 2, - "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW \u2013 Transaction performed at domestic merchant.\n02:TW - Transaction performed at domestic merchant along with Token provisioning.\n03:IT \u2013 Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n" + "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW- Transaction performed at domestic merchant.\n02:TW- Transaction performed at domestic merchant along with Token provisioning.\n03:IT- Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n08:GC- Guest Checkout\n09:ST- SI Authentication Transaction only\n10:SW- SI Authorization along with token provisioning\n" }, "challengeCancelCode": { "type": "string", @@ -54078,7 +54337,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "type": { "type": "string", @@ -54918,7 +55177,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "type": { "type": "string", @@ -55308,7 +55567,7 @@ "transactionFlowIndicator": { "type": "integer", "maxLength": 2, - "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW \u2013 Transaction performed at domestic merchant.\n02:TW - Transaction performed at domestic merchant along with Token provisioning.\n03:IT \u2013 Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n" + "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW- Transaction performed at domestic merchant.\n02:TW- Transaction performed at domestic merchant along with Token provisioning.\n03:IT- Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n08:GC- Guest Checkout\n09:ST- SI Authentication Transaction only\n10:SW- SI Authorization along with token provisioning\n" }, "challengeCancelCode": { "type": "string", @@ -56529,7 +56788,7 @@ "transactionType": { "type": "string", "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that\nprovided you with information about the token.\n\nPossible value:\n- `2`: Near-field communication (NFC) transaction. The customer\u2019s mobile device provided the token data for a contactless EMV transaction. For recurring\ntransactions, use this value if the original transaction was a contactless EMV transaction.\n\n#### Visa Platform Connect\n- `1`: For Rupay and In App tokenization. Example: InApp apple pay.\n- `3`: Card/Credential On File Tokenization.\n\n**NOTE** No CyberSource through VisaNet acquirers support EMV at this time.\n\nRequired field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n\n#### Rupay\n- `3`: Card/Credential On File Tokenization.\n- `4`: Tokenizined Transaction. Should be used for Guest Checkout transactions with token.\n" }, "type": { "type": "string", @@ -60466,6 +60725,11 @@ "type": "string", "maxLength": 14, "description": "For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_contact` field description\nin [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)-->\nContact information for the merchant.\n\n**Note** These are the maximum data lengths for the following payment processors:\n- FDCCompass (13)\n- Paymentech (13)\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of merchant's address. For the descriptions, used-by information, data types, and lengths for these fields, see `merchant_descriptor_street` field description\nin [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)\n" } } } @@ -60868,6 +61132,7 @@ "status": "ACCEPTED", "submitTimeUtc": "2018-06-11T222054Z" }, + "type": "object", "properties": { "_links": { "type": "object", @@ -61066,8 +61331,7 @@ } } } - }, - "type": "object" + } } }, "400": { @@ -61963,7 +62227,7 @@ }, "pointOfServiceInformation": { "entryMode": "contact", - "pinEntryCapability": "contact", + "pinEntryCapability": "1", "terminalCapability": "1", "catLevel": "1", "terminalId": "123" @@ -62602,7 +62866,7 @@ }, "pointOfServiceInformation": { "entryMode": "contact", - "pinEntryCapability": "contact", + "pinEntryCapability": "1", "terminalCapability": "1", "catLevel": "1", "terminalId": "123" @@ -74127,6 +74391,7 @@ "description": "Ok", "schema": { "title": "reportingV3PurchaseRefundDetailsGet200Response", + "type": "object", "properties": { "offset": { "type": "integer" @@ -74464,7 +74729,7 @@ } } }, - "type": "object" + "description": "PurchaseAndRefundDetails" } }, "400": { @@ -77273,7 +77538,7 @@ "invoices" ], "summary": "Create a New Invoice", - "description": "Create a new invoice.", + "description": "The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-settings). The invoice payment page uses Unified Checkout to process the payments.", "operationId": "createInvoice", "x-devcenter-metaData": { "categoryTag": "Invoicing", @@ -78307,7 +78572,7 @@ "invoices" ], "summary": "Get a List of Invoices", - "description": "Get a list of invoices.", + "description": "Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED.", "operationId": "getAllInvoices", "x-devcenter-metaData": { "categoryTag": "Invoicing", @@ -78772,7 +79037,7 @@ "invoices" ], "summary": "Get Invoice Details", - "description": "Get the details of a specific invoice.", + "description": "You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction.", "operationId": "getInvoice", "x-devcenter-metaData": { "categoryTag": "Invoicing", @@ -78897,6 +79162,7 @@ } ] }, + "type": "object", "properties": { "_links": { "type": "object", @@ -79207,8 +79473,7 @@ } } } - }, - "type": "object" + } } }, "400": { @@ -79349,7 +79614,7 @@ "invoices" ], "summary": "Update an Invoice", - "description": "Update an invoice.", + "description": "You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated.", "operationId": "updateInvoice", "x-devcenter-metaData": { "categoryTag": "Invoicing", @@ -80178,7 +80443,7 @@ "invoices" ], "summary": "Send an Invoice", - "description": "Send an invoice.", + "description": "You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent.", "operationId": "performSendAction", "x-devcenter-metaData": { "categoryTag": "Invoicing", @@ -80715,7 +80980,7 @@ "invoices" ], "summary": "Cancel an Invoice", - "description": "Cancel an invoice.", + "description": "You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices.", "operationId": "performCancelAction", "x-devcenter-metaData": { "categoryTag": "Invoicing", @@ -81252,7 +81517,7 @@ "invoiceSettings" ], "summary": "Update Invoice Settings", - "description": "Update invoice settings for the invoice payment page.", + "description": "Allows you to customize the payment page, the checkout experience, email communication and payer authentication. You can customize the invoice to match your brand with your business name, logo and brand colors, and a VAT Tax number. You can choose to capture the payers shipping details, phone number and email during the checkout process. You can add a custom message to all invoice emails and enable or disable payer authentication for invoice payments.", "operationId": "updateInvoiceSettings", "x-devcenter-metaData": { "categoryTag": "Invoicing", @@ -81385,232 +81650,7 @@ "vatRegistrationNumber": "Inv1234" } }, - "properties": { - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n" - }, - "invoiceSettingsInformation": { - "type": "object", - "properties": { - "merchantLogo": { - "description": "The image file, which must be encoded in Base64 format. Supported file formats are `png`, `jpg`, and `gif`. The image file size restriction is 1 MB.", - "type": "string", - "maxLength": 10000000 - }, - "merchantDisplayName": { - "description": "The merchant's display name shown on the invoice.", - "type": "string", - "maxLength": 100 - }, - "customEmailMessage": { - "description": "The content of the email message that we send to your customers.", - "type": "string", - "maxLength": 2000 - }, - "enableReminders": { - "description": "Whether you would like us to send an auto-generated reminder email to your invoice recipients. Currently, this reminder email is sent five days before the invoice is due and one day after it is past due.", - "type": "boolean" - }, - "headerStyle": { - "type": "object", - "properties": { - "fontColor": { - "description": "The invoice font color. The format is a valid hexadecimal code prefixed with `#`, such as `#000000` for black.", - "type": "string", - "maxLength": 7, - "pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$" - }, - "backgroundColor": { - "description": "The invoice background color. The format is a valid hexadecimal code prefixed with `#`, such as `#ffffff` for white.", - "type": "string", - "maxLength": 7, - "pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$" - } - } - }, - "deliveryLanguage": { - "description": "The language of the email that we send to your customers. Possible values are `zh-CN`, `zh-TW`, `en-US`, `fr-FR`, `de-DE`, `ja-JP`, `pt-BR`, `ru-RU` and `es-419`.", - "type": "string", - "maxLength": 6 - }, - "defaultCurrencyCode": { - "type": "string", - "maxLength": 3, - "description": "Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\n#### Used by\n**Authorization**\nRequired field.\n\n**Authorization Reversal**\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### PIN Debit\nCurrency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf).\nReturned by PIN debit purchase.\n\nFor PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing.\nFor the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf).\n\nRequired field for PIN Debit purchase and PIN Debit credit requests.\nOptional field for PIN Debit reversal requests.\n\n#### GPX\nThis field is optional for reversing an authorization or credit.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n\n#### Tax Calculation\nRequired for international tax and value added tax only.\nOptional for U.S. and Canadian taxes.\nYour local currency.\n" - }, - "payerAuthentication3DSVersion": { - "description": "The 3D Secure payer authentication status for a merchant's invoice payments.", - "type": "boolean", - "default": false - }, - "showVatNumber": { - "description": "Display VAT number on Invoice.", - "type": "boolean", - "default": false - }, - "vatRegistrationNumber": { - "type": "string", - "maxLength": 21, - "description": "Your government-assigned tax identification number.\n\n#### Tax Calculation\nRequired field for value added tax only. Not applicable to U.S. and Canadian taxes. \n" - } - } - } - }, - "type": "object" - } - }, - "400": { - "description": "Could not update the invoice settings for this merchant.", - "schema": { - "title": "invoicingV2InvoiceSettingsPut400Response", - "type": "object", - "properties": { - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n" - }, - "status": { - "type": "string", - "description": "The status of the invoice.\n\nPossible values:\n - BADREQUEST\n" - }, - "reason": { - "type": "string", - "description": "The reason of the status.\n\nPossible values:\n - MISSING_FIELD\n - INVALID_DATA\n - DUPLICATE_REQUEST\n - INVALID_MERCHANT_CONFIGURATION\n - PROCESSOR_UNAVAILABLE\n" - }, - "message": { - "type": "string", - "description": "The detail message related to the status and reason listed above." - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string", - "description": "This is the flattened JSON object field name/path that is either missing or invalid." - }, - "reason": { - "type": "string", - "description": "Possible reasons for the error.\n\nPossible values:\n - MISSING_FIELD\n - INVALID_DATA\n" - } - } - } - } - }, - "example": { - "submitTimeUtc": "2019-07-01T21:40:10Z", - "status": "BADREQUEST", - "reason": "VALIDATION_ERROR", - "message": "Field validation errors.", - "details": [ - { - "field": "customerInformation.email", - "reason": "Invalid email" - } - ] - } - } - }, - "default": { - "description": "Unexpected error.", - "schema": { - "title": "invoicingV2InvoiceSettingsPut502Response", "type": "object", - "properties": { - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n" - }, - "status": { - "type": "string", - "description": "The status of the submitted transaction.\n\nPossible values:\n - SERVER_ERROR\n" - }, - "reason": { - "type": "string", - "description": "The reason of the status.\n\nPossible values:\n - SYSTEM_ERROR\n - SERVER_TIMEOUT\n - SERVICE_TIMEOUT\n" - }, - "message": { - "type": "string", - "description": "The detail message related to the status and reason listed above." - } - }, - "example": { - "submitTimeUtc": "2018-06-12T09:27:20.000Z", - "status": "SERVER_ERROR", - "reason": "SERVER_ERROR", - "message": "Error - General system failure." - } - } - } - }, - "x-example": { - "example0": { - "summary": "UpdateInvoiceSettings", - "value": { - "invoiceSettingsInformation": { - "merchantLogo": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAQCAwMDAgQDAwMEBAQEBQkGBQUFBQsICAYJDQsNDQ0LDAwOEBQRDg8TDwwMEhgSExUWFxcXDhEZGxkWGhQWFxb/2wBDAQQEBAUFBQoGBgoWDwwPFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhb/wAARCADHAM0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDlPBvhzU77xaYFVhHnIIPf3rp/il4d1+w0lFWRwi4PBPWvQtG0+LSv+Jj5e1gM9OteP/tCfFjUJPEUOl29q0kEOPMYD9K8aMYVpc0Y3kehgOIcfGrDC4jSLeunTubXwa0i4F95+s3DttwQGbPFeqa1rNnJY/ZUnIyMKoavEdD8R6nq+mK9hbMJFXCgHkmtjwB4P8Y6zqzahqly1uMYjXooFY+wrzbex9X7SjKvGFBuSv8Ah6m1d648OqtbeeyjHB3GuV1bTrrUdUkuGuHwx+XntXWeM/AesabD9uX/AEjbye9cm9/NCu1wc5wR6V14TCUormqfEfF8XZtmWGxCp01aO6Y7T9DkhufNW4kD/wC8ea6jwrosk10Lue4c+UOBmsXR5TOwfdxXRWOo2lvGyyyFePWtMRQwk99z8+jDEV63tK0bnX2+sSRxi1DOY8YIBrzn4w+ENO1q1e8hH+kAEqe+fers3iu1s5NoYSBugBq5Z6ot7A0giPTI+lcFOp9WqXjZo9SjhqsJRqRlb9D508UeHNQtLGRzDJujHYdaytHmm+yeTNCyseNx4r7A8F+HNM8QWckVxbrv52r6mq83wu0LT42k1ezijkJLRkjOeeK9hYnnjdo9+WZRp+9TnzL+up4D8OfDzuyzybhu5xmvQF0KytolkUfMeTz3rrp/DlrbttswqxgZOBTU0tJVVSQMnFcsqkXJts8jMcTiq0ISk7R6HP2pji27m2qPer9jr8aSeRFub1wTS+LfB995kAtH/dvjcPWgaNBp0KoXXzcc/WsKbbTaR5kK86CfVl+3mS9uIxc5K56Z7V07LHbRwy6Wm0DBYiuWsbaNrYmR8GrMl9PZRqI3O0HOetc/PTcrXO/D8U4jDrllBNHdate3F1o2+V3Qkd2rjtTvIbMFWuHY/wC8aNR8SG/0c20jkFRwcVx3iOW5it/PKs6qOWFb16kIWUNUYyzN4qXO46nQaTDZXF488srYPcsa7jQ9Bjn0Geeyuf3mOPnPpXjukX7v9wt83tXW6Tf6zp9kXt5ZI43HP0q6VXnjY0jUcp/DdeW5xvi+XxQNYmtbUXLMr/OyseOa7T4SXeuWS5nuLqJz1IkINVtO1K7juJJfKjmd85Zu5q9YXlyu+WYRruz8oFcdfFTo3cYo6f8AZlR5m2pdrfqdTDqb/wBoOzM8nPzMWJJrivFUl9LrUr2s7pGeg3GtSyvlKlvvNzXG+KLu6OrN5SSFdo6VjgMTXV3Ld9z5ydduNm9D1n48ar4V0v4dn+zdYt2vfKxFEjBmY++OnNeEeDfBHiHx9eb0sAEJz5hHHSqfi34fS7vtlrePJHjdnf0FXPhz8VNU8A3P2WL/AEiJPvR5yfzr0LVJx/cpep+sfWstlJc03fax1F54S8R+BbyHbYpNbqw3YHOK7v8A4Sm3/wCEbSSS2NvKV71wl/8AFTxF4zt55obKO3Vc7VJyWrk/EfiDxJNpLWjw4Kn7y1tSoYqfuOy+Z6FDM8Jhdb6PyPV7HxvPc2strs8whSBn0rgtQsxPeTNdoU3SE4/wryqx+JOp+G9YIuhuw2MkYrdl+K9rdyebdIDuHyqi55960+qVU7X1PNznE4TMaa3TV7HYXkT2kG60iZh61j6vaa/c2rXEVvJtxnFa2heMo59DV4rTeHwcba2tP8USvZeQ1gwD8A7KzVOMZ6q7PgpVnhq3u62PG9H1a7PjGO0uonyrcqT717DpPiTQrScQX1xHbybRhXOPaovCvh7Tzr8uv3NsqiFeXPCrn1PQV5r8V7zSNS8f+fEhaONvL3oOGPt69auVKhVrxTjsj0YTp5g3CcbWPZdK8W20OoL/AGVcKWJ4dTkVu6t4pvNcYNqMgkaNNqYGABXnfwz8PDT9JW7CCVJOUYNuC9OpHFaHijWIdIt3cjLAZCr3NYVJwU7Q1PnMRR9nN0sO3bqX/E3iGLSbFpJ7hYQ428ntUvw1lj1mN7iC+QxqeRur5t8YTeJfGnif/S7hre3jYiGFDwo9TVjwzf654VvxZRao4jY9AfwraWET66nr0MtpyoRVSTc157eR9SeLNbgtNGf7LL5kkakde9cF4VvbzUL6W5vmPLHH0qh4O1E3Vuq3ETkMOp7mt2Aqtwfl2rjoPSuGXLCLhfVnNi/Y0sOrL3+36mzMvnR/uXxjtWbPqaw3SwS7Xz2BqSbWrKwtT5zCJepZj2riNSMt9r39oafLmPHHvWdLAUvaKVN6+Zx4PD1Kt6k42Xc7aPyp3/fN5KNmtOW/0e30c21wu7APOO2K5yxkgms40vZv3/REXqasap4F17W7UzRTrBFt4UHkj1/Wuvka0irnp08Mov3VcTwrcaJdaxN5EirGnPPSoPjF8QovD2kpp+n2/wBoluMIrL0XPf8AlXP6b4NuIbiS2kunVh1YHrVLV9AtbGQ3GrztLHH90k1m5U6lXlvouhrRdLm5YO12aWg+JL6awjYrhzyQavnXLgzbZmx9K43XvGXhfT7BY7C58ycYG1OceuTVBdbnuYVurWBnyO9Kjh9HJQ+86c0yKra0aqb8noeq6XeTM2IZMKetXpHgJBldN2Oc15xofiy5XT3imtDDKVwpJ/lVR7/XpmLxFmXPXrW0qNSrpy2PDo5Go+9OdzrPg/40tNd06SwLKzlCoVjz0rlvFGljw9rrSTxZWdy3P1ryDwbrV74f8SR31o7FVYeYM8YzXs/jMS+OvCNvqGlMXuIAHkRDzjHNXSTw1W32X+DPsK+GdOoklftY0PB91HK/lQR7VkPQe9d5pEdhbws86K2ASSw6cVgfA/wyDo41TUQV2HADd6zvjtr40LSbmLTH3TXa7E4+5ngmvAzH63jMZDD0Z2jfWxhUyXGfVo42tor7dbPqed/EHT9P8ReJLqW2gxbmQhCDnOD1p3hjwVYHbDLgKOpIrmfCd5rNvtkCNNhsn3r23wr4P8a3ujpqsnhu4NrIu4MF6ivrKkvYRSUrerPOqLG1JNUNV6X0LOhaDa6Tp8cjXMflPhVGK0Nblt9Ps98AM8mVwqA4AJxuY9gOP88iO40O+ubqCI2ssENvjzVcdPWuyutH06XRYktIvLntZmQuUz5qsqkZ9FAJ+teLicdQoSVSu7ruj69cJ0KsIuEf3jSvro31Z47rEOp60iPrEs8sTNn7KvEYHXaqZwOACWPPNYM9h9lkUr5UXkhki/dhtiH2PVj6nmvZ49CtXkuFnmKpG5wpQKCgHJ78VheLNH0GDR3uJ7t4Y1YYbZvL+wVecnGMdfx4rD/WLL5TUIt39D0IcN4ylD4UkvM8Xe7uNOvVOnPcWcik4kjmZZHPqSpGee1WI/E+qyXKjWLprqLO3e/3l/x/GtaG48O+JINcu/DVvqkcmhywLdRXdt5TtHLkJMFySF3rjBwfmU96zZNKkvGzHbCRsfxYBP0B6V7EIxqLmcdV33R4GIoU+fVJ+a1/Ez/F2r29ncxyWkgLSdwa5t5b+XVUuIyZMc59/Sui1rwuJ7RcKDLDn2OPeq2h6bfLex21tbPIpP3guRXVF3drHLXoqFJOG5uaT4t1i2sxGtrllGFzUcnjfxIkzF4l57e1dtoXgbUbl4WkgG3gHiuouPh1o6Sxi7wzMcMqda86tXo0p25fuPElKnCTdVad+h4jq+tajrepRyanKfJhORGrYH/166XQfE0MIEYJRAccmvR/GnwP+3rDqHh5RFAynzRj2ritK8FPa+JBa2FsdQmhbEwI6H0HpWdPF0aq/du9uh6kaLrvVpL+tu52/wAN9e8GXWoxWsyO144+/gjmvTVv/C8kx0q01f8A0lVzJCH5Ue9cv4O+H1wL3N9py206puUqOTXLn4f3mlfEC+1bS/PdpARPI5+6e9EsY4xbS6fK53YTJ54lpVElC9n3+7/Mwv2kfHll4eW3m8Pzx3EivtkAbknP/wBauE8OfF7S9dQWWrw+WzjByO9R+LPAq3es3N3dXqxnzHOxz15PNcPrnhN9KuxNDaNcbuVC966aMMNOGmr7nAsppVnLk6M9Kg+H8eoXEmo6UiPHJyAK057L+w9HYzMsckK52Eda898C+LfF+jagreXKltCP9U3Tiu1j8a2viyykkubfy54/4SO9ctP6/SrNVPep91uvUqnh/Z1OX4ku+hTk8TNNC0n2XKqBnaK6bwv4u0FtJTzIm3AkHK15PrV5NHrE0cLFVzgjFdz4EvdJj0BUkRS/mHdx34r0cRU9lT5oxuejhsow+KqeznP2a3udNJ8H7C80+RtOnjdgv4k1v/CTwhqXhG6VfszPBcHZIg+b8am/aCE/hD46S+HtLZ7WwjgjkjjDfeB5zXeeGfiNZ6T4diM9lH5zfIrvzk/1rx8bjqnO8PUVl5K59ZRyejThTxrnZrbXS/z18jQn8PSSW62kSm3ibk8dc1y3ij4d6TfYhn3TMfx5rcvvGV826+uIiYx82FHQdeBWA3xv0CTVlt7RY/tQ42unOe/avPo0587lSv8AI9LF1KMoqNZRt0Urfqd78G/g34M8PwJruvQRvNvzBFKcqOnbua7Xxh8T9D8P25gGl3UkcK8CKIBQPauV8I6nHqGmw6rd+ZKznG1x07jA9KreNV/thGks4zJ5kfl4fgL15xVYitarGnUerW7PhqmOVHGulRprlTSsuvocj8RvilJrGjXr+AfDUNxrMgCRLqEZ8lf7zkD7xAPAOBnr6HwXw1pPxr13UtS1GWDWbl7GRDcva3UMbWTH7uxNyhQQBnaOmBX2t8LfBFjovhcS3UULyFPMk8teTgZ4z3qbw1pEcVvNIIFj+2ymWVcDn0B9cDArjlm8sLQcORO+10fV1KNOpUvGTSj5nzx4f0fxHcSLFrF7JDc3IBRHtB8uMkq2HCkkA8j8jUniD4ft4nsZtGu7t7OO8hGZo5fLlQA5BjPIDKVU89TxXuPjTRIlZWES/Kx2nA49P51yP2WUR+TchXiydrZ2lRXxsswq063PD3Wn0/Q+mopYihyt3TVtTxjwH8IbTwFpuqxRazd6xfalHGl3d3kWzckbbljVAW4BwSSxzgDgDlkegO0mPMV3Xk5XBA9vUV65NYW0nCXk0Mf/AC0z8w/Xmue8SW9nbK0Uf2Jo2OwyzR7sgg5GARzwa+oynOMVicR7z5pSt0PDzPKcNQw3uqyR5u2lhlEiFtzEjDDPrwc981c8I3MmgXc2+3S4s5uJEAy8J/vpnH4j+taWszWChY4iknGdwATntz2rHlm88N5aLhSCgc5YHPU//rr7mu4S90+C+r+0ptTWjPQdH13SnjBhufkfGGBqaLybW8mnkfzI5VOwk56148zOmpSCK58h93KsPkc57+n4Yp9l4p1aG7/s5ndPMxsWX7r5/ut0P0615dTB1ISUlK68zxcRlKk1FbHuHh3Xru2W6s2lZUdCIcng8VZ+EN5pWmXd9qU9hmZXbBI/1j/WuFtI7y505I1kLXD8q684PcCqd/eeNYLeOzsbOWRJOC6rjafcmt5YGNC1Wkt9dD3KeErUHyULXWmqvbs0ei+JPFGonUGvDerbbcui7vujrWXpPxO0uHS7yTEc0sisHkznnnmuCs/Cvim+uvN1plUzcAzS44/zmr+n/Dbw7pgYeIPiLoOkpIclGmBbHfA5/lWPLiKs2orT0PSyvB08thOvWquUpb301+Z4f45TWtX8WT6ilyfs7SblRW4UZ4qWCbUnjw0y/IPlyemK9UvfCfwG0iO4e9+Ld9evnKR2NkzD6A4ArOsdV/Zx0GA3Z0TxV4hlVvl8+ZYY2+uT/Svcp0VGCp209Dx6dbEczmmrt9H/AJXPMFv9RubgWzeW7M2CcdqxNWtdX8O6s64ZVlG88djXttt8YPCUrGLwl8LdH0qNT/x8XkrTSe3oK5/xRHqPibVE1G8tIpjJjiNMKB6AVTcY+6kayqvkcpv3vn+v+R5K89/qUu2GIl8/eA71c0ttVtIGhdG3ByTlfpXqWn2kVnJmPSfLZB6VIdLnuGaU2iruOcZrneIglZrQ462OpU0nKorvzPZPjdo0Pjr4oW2t2Lx7pIliuZmboB0qxqXin4T+BtGjttSt21nVLZD8sS7tp9fQV5+3iPS7VEtTfSGe4G6GFWOXGfQf1rgfjUz2d5HPFYzIlzGGMir97sQa8WlD22MXO9036nvVs3WIUJUYtQ6N7J+XmdtN8V5/EHipbTR9Ejgs5jtCSvzzXp3w18NaJp2uG91LSNPMj4JZzkgn0zXzT4BEl/J5aQSWgjG4zPwWxzxXbN4j1O2bzbe/mupI0KqCchTXRiMPClJKlZN9NTlxWcVZTjD2l7eVz6R8QeJtLns4rKzW3idJAdpAXIHoRU/g2SDxJ4iCyytHBDjcoP38Y4r5Yt/F2strdrFqYlZZm/d7R9456DjrX0j4BSTw/Z2esahprQRTxb40Y4L+9eTjsuVapCpVbSj9x3RqYOso4mUveW/+fkeyanHaWujqivt3Dy413fe9f0rNju7e3jUyuFAOBnvXG6Xqx13xpJqPnLJHHbbIUVspGDycD1+X9a1dQi+WRyc7Tx78f/Xr53OK8HUjGnqkj28t5MTR57uzb/yE8X6vYNC2ZlDKpwB3GDz+YrzbWtek8x0igYxc/OPwA4/OtzxFbBGXzCVJAI3NgZ7E+39awIdMillnLh5C8OMJIMjHceuOuD7YIr1Mg4boY6m8TX1XRX/MnM85qZfJYbD79W/0OH1PVdWu5jL5zW8RBU+Q/t09cZH86x7madpFlUvuiXudwA65zWvqdu8MjIiZVX+Yng4/pWVqimFkkJPqOK+ko4ahhbxowUTx6+Kr4qzrTbM0IdpJGC2dzKoIyevHaoLxTFJ8qhgDkgHhxT5JSDJtQ/NhlXd0wTkA1DcEYxv3Ryev8B7fj2rov2OXl7jpntpI23RKQ33WyeT2z9P6VkPaS/aB5F08YkwxRhuCOD0I6Ee/UVoKTHu6sDztYc4zms43DRagksb4bBB7b/8A64qoSsJwRcuvHfjWxFtpOj2lnE6OcbIwWYnuCTyKbrnjTxrDp7xeI9QutNaX7jxkRhjjpkVn3x8vUY54mba5G1u6t2bPY5rqv+E9vodOW7v/AA9p2t6eq+VdWc65YP3ZT75z+NdMK0E0mtGL2k0/Jeen9en3Hmei67pCTX1zrV7e6hqW0mzd7hnUN2JyelczrWoTa5q32q5dd68AqvQZr17wz4O+EfxKkmg0W8v/AA14gZyVtZUJt+/H0H4V6r8KP2U9I0zw+brxRfNqN27HY1qf3YHY1ljK+HwadatJ/m/uJljIxgoRimt9LWv59b+qPlu2st9n8xDYORnqeKoyW095q0MQfy4IT8yk8da+rtX+CXhnTdaEjTShVJKRk/4fSq114E8NQWNzF9igfzAcPt+bPbmvNocTZdWaVOb+45aGIw0p8krRfqfNOrR6jPiHTbLzRnkoOeO9em/BvVb64t47K/01lSFcBmXBzWvZ+ALfS1nu0l8qSbIQxk/KKgs/D93p1ldXWnaxcNPtLLFKc7sDOAK1ea4erNwjZr5nPisVhq1R00m5LtZ/g7Gv4mtEtw+pNIvlY+5j5uKwJdYt9w2eaRjshOK2/hNqHiLxPpd7catbx2+nae+2UzxYZz6L6966CTWdLjwtjoaNHj7zR43HpnFZ4iWHo1OWe/rc8upluUVHzzm438n/AJs5Y6Dp22LxW9/YW9rKqrbxLKDIFUY5HbvUusa94butOSO81aCSINgA/McegriZvD3hY3ULypLtC7mQzEAnPpXW+GtN8PR2s11/ZdpEIIzKMLubA6ZJ+lRUnSilNNrtoepSw+FrVbc7s+l3b8v1NCbwpp2s2ebW6m+woAUCpsb3BP8AnrVfTfCekabdJc2xeJIm4DNu3H3rX8O+K7CPTbiKGZpN6Z8p13BPxFea614n8T6j4hWx0yK3jWR+5wNufelSp4urUlryxXmYzwmL9uowjGMH13f6s9f8Ajw/ceLBdatBADb5e3BUbd30rR8ZfGrw1q8lvpd9dxrNYkqIYxk9ec49sVV8M+D9Mk8Jx6Tq99DdXbKWmmiYqCSM4HOa838ReCPB3w98SLeXmoRyJdK0iQyHLRgHqO55FL2eHqz5asm7fieo8pqYTDupWle+/wDXX5Hq/wALfEmn2GsXdxHqhls79oYbW1jXLQuzEMzHsAMfSvaZozGuJTtVl2sp7EZr4l1L4lQWcb/8Iv4fnuZgS8bLFgOw5HB/CvsmHXo9c8O6b4ih3NDqFlDdZ/2pFG9T6MjblPoRXgcQYOm19Yp03FaK3y/4HU97IsZzwVDlaS2v1MbV/Kub4q2ZVVtpU9Dx1rm9Wu4kYRND9lnt3z5iL+7IHHIHQdOe3NdRqMaS6dcS7CPnEaMDjJ6kjFcX4he4W43qSXQEHHU4r7Hh6Hscsgr6dDx83lz4yTOX8RXoXU5fPgaSO45jZF5UH7y4/i6Z9cEGssXGn3BJjYTKOGXPKfUHn/PNaN7cWSTL9pikZHYKywg8H146H3x65qp4y8F3Kaf/AMJNoN/Ff28P37m24kgJ/guI+qE/3vut2x0p1oJzbNqFWLppPcz7y00+eBtj7WUgg+nsf8ayZNJ4mjV1O5vmibg1c0WSKe233aTW0nzAhFDBjjoORgH8RUS+J7CzvhYN4f8AtcrQsu+4uCpH+5gHlcZyfX0rmk5JtJXsdHs4vd2uZ15p03kiaVtiiU85wSf6Vm3FpKJVLdFJ3ZHQGu7h18X+krpz2lqscZDTZgAnBwB8wOcqcDkZHvUN1Y2r26rEhhZQShRQQw9/UUU6nN0syJ0XHqcRrWnD7Ostu7vAeWCDJT8PSneGdT+wa00jRrNDIvlXMZYFSR91weh9/UH6Vqa5ps0TGbSZVs9RxwhOYrge2f5Vwsl48eqN9ttBaXDOfPjjY7C3qq4+Ud8cit6lJVKbT2ODEUY1YSg+p7j4XvNAsNSj1W206OO524dkAzivV/BXxK0m1VFjaaF2P3W5T8a+e/CyXeqaOJIZI1AUhyVO7I/yPzpbpdb0KwF815avDIdvlzEIxPtn6V8vLLa3trupr2u/1PiYVsfh6nLzxb7a/nY+hfHM3gr4gWb2T68/hvUXIEN9Ef3Mjddrdq+f/Hln448M6pqOnPrNtdTQSeXam3cOJRjhs/Qiud0nxnpevLqdvc3T28sdpIohz9zHVgfX39q2Phnpp1q4jt4rlp5GXPmvJkt7mu+caOHoWq0lzR3dj3HjowoP2tD3vTS/e5L4V1bxk2lsuuQ2q3BbAzwCPXFbl5rWgaDo0t34iu4vtQjzBBEeWPsPSnfG3RtQ8LeH7PUBNGUuX8lpGG7ymIOOOh6GvFNqxfbbvxFaf2h5qZiujKQWPbiuzC0FXp+3UVyvsc2Fw8azVZR/r8TvPEvxI1DVfDcNt4a0lpmRfmAbALepHeuej8T+LWiX7baSedjkINoHtiq3hBYreDzbORolHOFf7td5o/iVTYIJDp9wy8GQuOa0lShTk7QTfd7l4nEVJy5oqP3f5nNeHZ9O1C+mmu7IzEnKoW2iQ9h7Cu70mLT77Tprf7PDHJdEYjiZmWNR/DzWTd+HbaQAi3W3nAyjwnn8u9bPwusddj1Ce01KC3Syt9rb2U758nt9Mc/Wj2tKrHmXTozPD4yNaP7mXL01Wv6mv4U8K6VZaSJI7B1Z2JMqgjPPqawfGGgD7RnTLLzpnGVJj+YdeteleKobabS7m7sLvdJboii2UZVB0ypH1rzzWtZ1K1vjpmh6Tc6prGMSCMfJbg9DI3Yc9Kwq4qUWla7+5fNmuIlGhJQhNvzW33dPQ4RbXWtHZ5b61u1knYqoRmD5PGQO1Ub/AEtX1yOwv9RSS/uPlihuJvMYLjP+P617BpvhS+t4Tf8Aiy4RZ5kWVlkbaqDsQT0X3rh/G8nw30LUpPEOn3ovdQjj8sQ2Z85iT/dI4z1Gc11UMTGo23v5I9F51RppUqF5O27V9fIqWng67uIYvMns4DEMfu4yWA9c9K9p/ZS11bae9+H19qy3STXK3Omic7RGzKVmgX03Da6j+8rf3q8btfFkly1r9n0q/t47hSSLtNuAOvAzjjpTPDusSjxBPP4WsYWhiuInMk7kyRybuWUjoc8jmuyjhVXjOnVXuk4LG42rUdStPZ/jbyPrXxBoNxpeneUMNbSzFjKRkowHT2BH8q5HW9LkS/e52BlwPNj454HNdl8N/ES+O/CshLbL4R+TdQsOBMoOJU/2XGcjsVIqvqmgzRzqnmbGZeGKkAMB0P8ASu6OHjRoqNP4TpqTnKo/abnmGqaNCkDyGISxzZ3MB831xWJf6SJVkWIzR+bEI1mglMchX0bHJHHQ16LrmlSG1ljdlRlUlQh4fj9K4uSwuHgGYpF2ZJy3ysOenuK8isnGTfQ66VpLzOD8Q6fe6au+3TzfLAEkeAFf3U9FY+nQ84x0PFalqdvceILN4/MjuEuFDxyjBPOMEYJz9AfpXutxE01v5M8as3GYyMbh6+hrjvFHg2ZGN/YoNzKR5ToGV07owPDKfQ8fSs6VaKlqjq5nKKuU7iwQTBwhIX54/mwy9tyMDkemQfbr8tSQzS2tv++fzYef3ypjBzyHUfd+oGPUAc1jWWry2M3k3VtcFI2yIyWaSHjBKnrIoA9fMAGP3q8Vu77e4tEvLS4WTfys0YBUjn72DjrgZ6Z4+Q/LXHNuErSR6EeWavEi1CKOe3aJgWhYBiFb54iejKe49Ox7E9K4jx3FFDH9m1vahfiw1iMfKW7LJ/d9+30rsJom2MsYS3n3MBCpC89SUJHGe6kYPcd6x9Zkgms57G8RSssZ8yCTIjlbH8GfuuPT8iw5rqoV2nZnJXo3Whk/DPX7jSrG8JjeZ1JhntVcZWVe6n3BH1GKwfFFvr3jC88/WNQMNrFL/o9pGuFjXoST61F4fd9E1ZbMEG3mO62lJ/1ij+E+69MV1q6NJqeoRudUitYJEwGlUmPJ6DjkV1OUY1NN+54GKwTm/a04+9+Ji+GNDi0q6uokkh/f2roAw+Zxjkn9a7P4PWs+g+KLe9tLQNtUq6RnC4YDJOe9V9D8B6v9quG07W/D+pwwPtmZdTUMhIHy/OBg89M8VB468P8AxCght49Ok1K20tZCb3+ywsxfA6CRM5rnxOGnVcqbd1JanB9Xrqpyzi2uu9vvPRP2pB/wlngnR9Js5DHbLMbm6kHqvAXjvyf0rkPAPhnwpd/DfxHbeLDeM1jamTTnWFlKOMAE5xlCT1rnvBt9qnhrTrnUv7SmN1Fj7DFMSW+bjcyt6enrXo+j/F/VNU0u7g8RQWbRW1oSzvGMz/7G3HGeK8/CxxuBp+xguaC63s/u6/eaYaTp+5DZp/l6+XY8Y0HSILGzuYLW9t7gXQKhpUPyJnPHvx1q1HpRC4tiqRjoANo/Kuk+JGu+E9R1CxvNJ0RtIjb5b2ONsrI3UFQOg61zeuDw/pF99lg1T7cGUStJbFmRS3OzkA5HANehTqVaqVRppvy/yOapGUt3dI37jx1oN1p8ssAvIRbtiaX7OP3WT6H6VV0X4paF4YvI5JdX1TUI23M1rdoBvz0w689hXnfxO8DeKtD8RLpXiHQ9W03T2YD7VLbNErM2MK7DKsAeATjkmorrTbPTbW001NRdpAzmFJFEj79vy7cD5s9OCa9F4SEo8sndfL/I76eXwg4vmene2/oe3eFfjBDrGk3+mpcwWr30mBGM7o4gdww2MkjFVZfEXibVINWit7NdDsTMv2MWEjGe5A6mSQdC2OfTNcx8JfCGkeGbxtQ+JOm6pZ3GpQM2hHUA1qs0gA3EIw+cAMM5wBmuguNYsbO4uFgurBfLbY0UbABSRn6E9+PWuCeGoRbSTdtuy9DjzCM8Jy1FSUlK/wDTS27o4XXrtJtTmOp6Tqcl2YgJF1C4klLY6KNxOF9ulV18WzWHkW8ejWltngRn5QMehxXZ6hd2+oeJreS/eSxtBCsUOoKw23EwblcZ+ZRkZP5V2UPheKxuYrLWbG2mkj5e7tQsoVCN24sM7Tj+Hr7VtCpD4Zxd/VmUcPOcISVG7l01Vr9+3keX2vjq8+1GDULBFgkB8428nmSBfUA4qjHrdtpt3LdWGmXiOkuU+z/Kpzzkn+gr1S+g0uG8CS6RbvDKWFvI6CNiASPmyMg8dD7Vl65oaXOLWR9R0iFl4YBfJbPT1B/A1tzU46JtN+Z2KNPDO1Sm15rX9TS+GvxS8YJrh1U3mn6Hb6asbtBPCD/aYI/1QRcEkgcnjHDZyOPpT4TfEnw18Q9Kk1HSLpg6N5dza3cLLJayY4GGA3o3JSQcMAeh4HxLa+DdDtPF9n4smu7jVLayulknCSb8kH7hyflU479q7+6+Jo1bxpBquleNbrRDYylYYn0rzo5YSMiHy42yOQOvHAPFaQqTo1ORK8H+H53PXjGniaCmnaXrfm+/Y+kfFljeJeyTWMEe0A+bsl/1TDuARkD2rBuoJpLVYrgC3bqXIDAH+tSaH4mn1jSYbiS78m5kiBL+WFLr0DbG/IZ54x2rQh1HTr+2NrdskV7FJzvXCsPfsOv40VqXN8LMoT5dJIxLzTmh08ZAfzDhTs5T6DqawtSt7sR7oGhkVOjMcHcOo/KvSb6zgttNwGW4t9uVOM4+jCuA1S8sxdMhVoFDYBU5DfWvJrpR0vqdlJt+hz9zpNnq9rNaXCxKsi9Tg5NeVeMNMvPDusNdWTyq6g/6TCfn9/MHSQe5+b3r2i4VDGZCVMOcAYOTXG/EDTlVWnUmQMP4XPA9DWUak+xvG0djjNH8TQ6hCsF7aQMwbGYmwG75UdR344I7betSaklvfadJHchisinbNIpyAOz4+8M4Iccjqf71YN54cmfVA9rLbwtIeN8yoCRz3IFac9xFpultdaxrWi7EXIjN/G0knuioTk8cnj8+a6Y0o3XKrF+2clq9DzzXDdxeIItGkgkmnkkDWcifeZgOc44Py5ye4GeDXV6PdsjtaXij90SpBPBPp+NHibTF1K1t9X0C4jme3dbiBV+8hB3Aoe4PdemCce9A6xo1zrEU94/9lvelhukI8ssCAyE9DgkZB5wQe9dU1zRTtqcvtPZz8mbOtaNc6hpLWmn3Ez2MsgkmtUkI3t2LD+L0z14rlk1i90d20vw9e6no3kvk+XK0bscZwCD0zXoT+G9S0+3W+06SG7jODtjk3YHqPT8fzouodK8SbHuhFb6pbtuSaWEOrsP4ZVP3h+tTSxCulU27/wCZp7NSTlS/r0MTSfHPxE1bT2n1hNIvtPZRa+frEaTnpj5XX51bnPGTSXL2OoXcaPJZ2ETIHd4i+W28DhsnaT3PPtXOeLbO80HxVbaj4htppoYZ/NYIf9GlTpkKmMD/AHfxrtfAY8Oazo5vLTQbqSEqTK7zKqdThVUncOBmu1UHON47eRzfu6k2qq1Oba+0+73TvZSXKqCIx9qwwPY4Uf1qKLUrpV2weFLeQd3dXYk+5zXU+M9N0/w/4YfxF4cmFtdR3CqLGVBJ5iHqQe59sVztpr+r6nEbm11e6to92PKYlcNgZOO3NQsO4bK69TmVOdNtafcv1PWP2YPB/wARIdD1DXNQ+K0unaFp6nbptvcNeM7Kh5EU/wAgAbGB174wKy/Cfxz8ZwzW+l694Y0vxlrFxOv9mXJsYbZYguDKIjHHlpAvUnHOPxvfDzwR4r8HWc2n6lpc1prGtP8AZVinaKTy0MbMzoy7lzkqACT91jivLdc+GviDQ7+SLWfEBeXTpWfNvI+EViMnd2b3AH6V59Ct9YqVVJWirJeb67fd8jeOK5HzRUtOrWifU92+O3xW8Q63DoNz4N8J6Zf2vkXEmtQeINAS+fTWBXavzZCtgPnbxjBPavBfEfxF1G6njtIPDuhQ2rWrxQnTtNW2AbORKyryxBJGeuCB2rYsY7dLq0uBf/Z5CQGnQtJL838TAsSACR19aj8aeAtT0+zlkg1uymsGuY2mVI2DrDnqsmME9TjAA9eMnpwvsqdH2beidterepHtPrLnVcbaa27W6dTiHlW6upLNPNuIPNw0xhSL5go3gRgnGGLd+RjgZrq/CPi7W/CH2aHRLtpPslybpoZUGztyO+SAAVPHArR+D/gPSI/FKa1Ho7axbXV6YYrzz2aJn/jiUoxQlQN7A844NXvi5p8HiLxBbW/g+w0vRtPsX8q5u7mCeOR23EFj8h+QDoBuLE8ECvRji8HKk4NX9RYaNad6tJ6beZr+OPitoWt+GLF79rdtSu/N+1vMwiZHAGwj+8Of5isPT79r/S2s4p5WhuIS8sKMSkiY5yBwQB3rhby1uY7ORc295Es5gDIqyxu6nIOD8ykcHnGMit618bQ+HrXQzo1ppGpW0Max6tayWHlJFcgMuPlcmQbcEvkZbFYVsKlC9LWx1fWoO/t0ZFxc6PoWuXaaNqN3p8ckW2axnKzpcMR8rQso3Bef4hwQRmnaTF5dutw0lmdvzK0L7GbnkL0zx1HtxWrdeIdQuby2n8K6ToNlcgSsIYNNG0RFOry/fIX0zj29WWMF5dW8MVzb2t1dTPlVFrljJjO1MEYAPIzwO/SueVSa0a/E4JfV5PmjOzfSz/S/5Fy1+36ZeRaxpOo21ncX5MUMrgfNhd2CzN90A5yeMnHWtmw+J3xA8qB7ltOmubD5Zbpov3NxCp5MyhgVBwQrKc5OCCMY5e5sfEk0LLqOh+WI2kiNtNE6mNhyZODhlwfXsfWprhrafTW0k6KttbyY3mCaRDJgDJZueOCenoPeuqjVpRio1It+lv8AMmTs7e0SfmpL/wBtPefhX8XdO8Q+HxcQXsWnTNKsctnLN5kW8naAr9VLEfKMZx1NbWrXFnqJYh44pVfDyRsJY0b/AGiucV8z+H/C+neGLX/hMU0+/wBN1CQSR6XDeXSzNBFjDXWAo2MVJVDk4BLcEqaxvDdxqMPiu7hi8Q2tukame1ZpdvmycYiTjlyC3XjjrWMqMK0mktPPodSkoRXva+XXz2R9T3FoI4G8xCr7Cyk8Dpycnt/nNcXqWspJpsqXbHgkCeJgWH1HGR+tedeNvjV8U49ChhuNUkEZbELrborIFGADjnnGSrdzk+lZHwH8a6v4l+NWk6bq00bRXyyqVeNVUuELbwigfMMcCsp4RuD5NLG1GvDnUZu9+xd1jUbBry8tNYtLi6tVG3zYxvdO25ARwa1PDfgubU7P+1NC8Kva6f8AZ90Y1gou/qCFGd2CMHJA5z9Tg+Jr3WG+IFy50fT2S2u5Io7m4uHRp9shCu7A9cYGAMcfjWX4+8f+NbKOfQ2axW3mjPmpZNv3J/dD8k8V1W0iqauKKo8zVe9lt/w52fhvQmgsJdW1GQado9ncLbu8UvmSXMzZURW4QMSysRxwCSOaszeG00lrnVNa0CHxH4XupPL1HyG3G1kxtWWZF+46hx8w7cZ4FcX8O/it4m8P6T/Y9/e29tDb2slzpttbWqs4uN3CyYHy7gTyRwcGpvA/xLmv9J1ePXbr915dpm1trryfPdZGRpZN3DOEPpyoA7UO8E3a8gp0qDt72nZ9LF3xlZ6Lo93AnhPUryYjaYbiMqI5I8AZBYhmxjHI5q1p3iJ7y8it721M0CkrFqCwrDNnsHOdrDI68dx6Vzln4r0HxDqx0zR9F+23Dv5dijK6s7dTtAP3e5Jxx6VstoGs+FraYa5a20c19K0ltaW1ys/lIy52Er1Iw30GATms6snOPvRt8jphRhGblFppdmzsmlM9iNO1mzSe2uI96bzztORv4yVPB5Hp3rm9a0V9FVrvSWa4stuWTADxj0YA9MjqP0o8Ite6tqkF1Jdx2sEMeyGPzt5ZQcFymeTwQT2247Gu91u1ttL097w3UVuwAMrSFRBMD3YZ4z+dclOu8PNKPX7jxcbnGE+sOk4veyf+Z5vPB4m1yO1s9MtCDMRsljnO3aAzEEkYB4PGe1XtP+H1hJE0jeLNPkLOTmAuEX1ALY3YPfGM1ZuxqeiXklz4euLi3kfElxZI5USL94FfXsfWotN8XaRdxtNqC2S3DMS/2iJRJ16HjnHrXZXxlaylH8DDEYqNNJqDlfsd54israz0WPwA3hPxbqTaZAIUvILe5tUvF2KxdJRt8yORmkbcpIwO4riPiFZ2+l/2HL4E8MTxrKHS9EMZkaP5Uk3eax3McSL7Aqce/qHhG+TT0heHQtU0+7S8mubS4k8STQXjkSBdzKCbfkyAECL7pGeKl8Y+KfD1z4rt38Ryatot7bwMEsr3U1EcnmFtzCSO3QbGy2WbI4GOmK86hGNKMFG7te/nf/g6nuQoVowhCMkkuunT5nnvg/4j6/cXgs/GuieE4LedTa7PEFn9oUuoJQKSGkAIByQwAx68VzurfEDwPqF1BZan8KNPljbCyPofiKezgILYY4kWRD97oAM96sy3mm6d4ok07w5qNzrVrC7y3up3Yubgx/LuWCO8kjUun3UUBUPA5PU1fGmmeJV8uOPVPDGichYdN1DUmgmuYmRXEgQRFFT5gANwOQ2AcE16iope90OZ1Oa3LG8l1sv8j1v4OeLPAt78CYZrPSNetfDWkTyW6w311aXAhk2BGL4EAkXZIcp/FuPGea5L9or4keBp7iODwb4fl8yW2jcz3KC0dTjO14o33BQAuMnr9K47QYPE2mxSTxv4WSSG2ZTJDeeejsSyL1QrHkFvrhecmurvvD/h34lXF1r/AImtl0nVLmGD/iY6dbJawXUW4os0cG3hMDHKt7FjWMacYyftNj0PaSnTSpp81tf+AeUXEF4dWj18Wlxd2DLtt7tLN4LdsqFeMKeMg5Ulvvbcgmr664reGbjQb2zs7ix+0iZgI1ilZ9uzO4AMw2jbznA6Y613Pjzwv4i+Hfi618MeEvG2raXb3Fsk99pniy2D6aJGbACXESNCylB5gdcLtOPlIIqHxF4cg1bwnNdS/wDCE2GqOFaK+0vUJvImy2G3RFdxJ6Dhe55ArZ1Ka0uZRpVWuaOve6/pfeYXh+7h1Rb6GygWGQ754bKIssaRd41bBKqMjGcnt3qDQ/EGu3WoXFvJpq20McywySGT5S2eNu4ZHTt6++Krt4XsfB/iqZD8QIZryM7XWGFuFznGwsMg4yD6fWnalqFmt212ZxP5jGR1UkEsV65wQB2x1rnlyOVkr/ecuJw/LTVVQV/kaa65LcTW0E3mXMm+UBDd7duDnLKFHUnqe34VqaLp9prmrXc/iKwl0/S9GiEt9JHfM25jjy4M7RlpBkkDoASeozm+D7DXNWmaxsbmwS5edEmvU2Dliu93TfuO1chQB85UrkZBpfjh4t0ew0ldB8FfNZ6Y8by3RgIed3zmSRclSzsvOF4yB6Y1jQcUn1ZzU4zrLnrL3V5LXyJ/EWo2Wr60t/qNjqVzazIIJYLTUI4YY0ByqbDE2QOB1x8vbgVkySeCLLdJPZ6opQmRYbe5gTavRQziMkDpzt59q5ptR8by6CGuvDNzp1lJGGnupreUSTqTwApxlcjIyvGM56VNrl1aTw2d9c6KyXULbLRApV5ZeMbx02gckHjpnrSjT5dyK8v3mtpX62t/VjQ1Wa0g1JbWKxmDSQtNColEpgJJwGYoN/Q5wAenpz2Hwu1HQdP+J2haNaztLdvdQsjLY/Z3cNneCpycg5HXPTpXJ6Sl1e6fDcvsD7z/AK6UMVGehA+6p5yeAOTmuz+HngrWv7Y0TxrF4Furm1fUreRNcSEqtsiTbZSF3DkEEMcHH61UnBp6amVGdOWIjaNtSv4tu7QaxPpUjadp6Q6pdM9zdkJEoDEAO2Gyxw5wPvHAAzXPQ/EPwro2sR3mp2N3ckShhpcebN7yJQwTMgU7FJCk9wCeM1Z+IdrPf3GopJeXEcV7dySzpBCVE6LK3lMxZcEA7sN6nryaxYdK8I29jHLr0t/crM8iWmlaPPEJG2dfMnYcZx0QccfMTxUUfZWTd7r8f6/plckZVGr+8nu9EvIofEbx5D4v1L+0IvC1ppc+xUxbT4DhQAQxCgHpxx+dc9JqN3czeaNF0KGTADNFFtZwB/Fjqa9Gs9K8LC3mkf4ZFFjiBgXUPEdxMZ5CQFTEZHXJyxAAwevWtNbPwokjzW3w28CW88CJ5zXEcsvlDB+baXIYggA9TkjtkjWWKhGOkHb1X+Z1SVG/NOsvkpf/ACJ554T8WaroFvcLpP8AZunyzgLd3UMAWSQdADL1VRnpjmtmLwH4v8RXUd02t3T7oWkR5EbYwP8ACGHXccjp74rs4PEVxEIbCxuvDtmbe48/ZpmkWsKR4GCTkcnA45OTjiresePvEtto7XFjrd3qr3DOha8vBDGrAfMwMe1egwqZJJ7VhLEOUlaCv5/8N+pFXEU1Dkp1JfKOn/pSMXwr4U1nRdbV4dB1rUZrV40L/ZJY4JAc5CEDlecnrjHvXV694VurjULaK90oKED+ZeyX1uv2Z84V/Lc/MDngdfauUtfEj3ektcancXkl3O7BIo8vGFLEqB5jAKVX5ScNuPOahh1C8uNWSFf7Q0yCABSbp7V4fOkA2hkUrJ26/OAT0IrWVSs+y/r5HMlRkkrSv5SS/wDbX+ZqX17pllotva32rTWmqLKS6MjTAnAAO6MsijABwrY+mMVg6xF4QjulbUtT0triZBIxe5+bnnnaePoeaLixi1q3S31O+KxNKBNMl03k5V/mf5cRgEgg9BhiK7HwvaMNGW4eSz1lbiV3S6uobaQ4zjYrGPOFxjBJxzSjZ7u3oiKVKpG9r2v11/yNPxH4i8Yw/De/1fwb44uNcvodet4nvZruK3kRZwV/fo3yQ7XSMbwxRg+Q3BA4P4vTfFUR295488P6xp+n2zKj61qcaur5OFCSKMKmUbDZAbB5raXSPC+g3X9g6xqttEupWyy/YbmaSX7QPNV4pXYZcfPHxxtbBrrPF2t67c2+tX8fihdNF3c/apdjrFHfOqoyRwBw7FgST1+XLAAda4KVTkWkU1320foe9Ro1pRlztr8TivC/jD4gJ8O9RuPBHibQdUs9K2vJpFlN9jm08FgFk2KwWdchtxjLEDBHXI6bw/deH774eNruuRprlxZ3yadPNFFJcxKrGOTEHm5dVVSeBjcPMxzg07SdQ0zWoWfxH4F8JXniK1UNNaRRtps0aOztCUubfywGIOSZFbkHODyen8My6OfhnFr2lSx+HdLh1U280V3fRzyK7EysrsAhRCInjLEFgVA+YcjlzKpOnQdShHWLV7WWnW/fT59ip4qrTpcy95NeqW2qv9zXmW7f4F+CfEV5Ipj1uK1eTAurMRxxzozbVlTdHvUYJI3dQM4rkviFovw9+F/iWz03UdQ8SWsCTF9MlaGG5liKNn5SzqSCzAhQMd+ua7H+19a0XXdY8SaffXtxazW1u2RdfaLeCDyvMDGFQGgG5nTL4B2jDEMK4i61zQ/EeoW/jjxRDNq+oaY6pDZW5JgiZznKxNhmbaDliMcYAya48txOYVZx57uNr+t108k+uh1UcRg6uFdRwfPotU7X73WjXbqMsvFtong8/D/S/ih4i1HUpppJbFNU8EedcpDKXM8JUXDpLG+5WVvl8sglGUMQavgvSNPs4f8AhX1/8R9Yu5LK4W7Jm8EtJe+Hy8gYCBhKwhWXcQyysYgP4QTuHpdnpdrr3wwsvGOnXM8X9pWn9oR6bcWu1k80hljRRkMDGFIwMYIA5zm7+z9oz/C+71LU1SPVta8RIq6raIjLHO8eCSE3t+8dNwyTt5JI617MqkKMvfnZPyv+hX1dVIaR5n6tf8A828Z+EbfU5be48T+ObLzNPtTbJdT+HLtGKKTtJ8oyKAe+4krj5eCRXO6d4Gs9c1Q6Lo/xI0nUZwGcW0OkaluEa4BfP2cjCkjr69q7T4mfGHQ9Q8VXNnY6NdWSwaYEu55TFPJNvkcgsgOESMAAv1APyqO/jvjDUtP1W8tkg/tLSJHthtM92sCEdAGyNp4OQCy5HXrW/tZ8zV7rvYx+r0klbS/S57l8Kfhlfm6W007XvCV/ZJl5biz1MXV2fl4YQyiI8NnAXoR3JxXJ/Fjw54j8CXCm08KTxT3E8sYurrQpPMhUZzLlWkhIYZIOcjqQK8vTwzr2sX1vbWksUemMipaXxg823lJZkjIaMlljZwu9s/KGJAIXA6vx58RtU8MQnxD4Ya80e8is4bT+z4ryW3t9JuUdIpRJChPnSDytuGYY84udxK1jOVRyjyvmb6baeupjOcFzQjpy67floZeg+JrrxdZrctqsN8I2+03omxMEZWCkHBLYG8dOm4kdDjtvF3hbw/pmj6jq2i2d/p+oaFaxzE2Ya9W6gl8pZQY5WJKqGMhJOAAR6YxpPiprc99oOt+IvAPhDxVcatCt9FJe2C2upWrEkBPtEZjkYksdrMWyOSM4z2d94x+GcvhLV4tQuPE/g241Wzh069trpoL2O1kyokWJS0czLiNVJJG3GcA4FClLRqNovfr/AJk0VRrUZOT5pdOlvy/A8stRpsmkahbveXCswlVJ47ZVaZVwULk/d3Et0ORge+ex+DPi/wAR6Lav4Hmmjk0/XrmJvs14wZrUsU3SRDcvzMuCdw2kL69VsfCWh6nYJb+DvijoeoaisG2eS3s7mNmcsxUmxmQg/KUUmORiMFsHNc38NfB0i/EhtUudYtmm0eSdpbqzDuJZYwwa4dzykYOAu4ZJQ9ARnojHnlbp/kc0MHCn+8jJp9v+CWfHcWvWXxYnu9EuF0+GSwicypI3mRYbCyOeBsZmCFRx8vYVia9YTX+qKHgjWZZREryOZGEpbBaGNTnJYjr19a6jxLFZ+O9W8zRr4q1vbrClvJMIZJlBLF0LDB5YkKe2Kg1DQ9es7W7vbLSQ1np433sk8hhjZQrZXzVyyucEgYyc8A94c3pyf16nPjaNSck1d/j+RlxaDcXVw8qXMl4q5KOco7FCyhSpPyAYH1OemMFbMwPqa3VxpWrzzb2zI7bg0bMOZSpUMxGflUn096j8MnV31q30tZW2lFaSLT5ftDICpdBGV5Y7yFxxgk5xXTaxoOr6peNC3g7UnRGVWey2+bFMxOUucMygrjOXAYjgnIzRKUlO0jh+rzfexzen6fDI0htrBGtMv/oxt2SZiOAq7uikjuCQORnNZF5uuPs8c0m+OzixFasVSG3PzBljVjy3Xk/MSTnNeqWvw1/4lSzajE0H25R5S7lIGGG7zFQnoOOoK9R70PEnwb8PHT5tbm8cXrXPnQrLoq2awrcEBQJVlcOqZx353fNk5IpU6l5a7HVTwNe13on95x9hDaR+Hba/MevRaoGaKGMW6PG78ZKyZHy4z91XOT61iaw/2y1VhqMl35as1xczRlWViSyqqHlwMqM8ZyemK6uT4V3Nxr0I0/xVdMsjbrd5YUixxuBYptG7gEDHp65GX8SvC+ueGb2ytbvxB+8ktGkaV51HzI7BiFUsQchTtbDc5xjBOylHm0ev9eRtUw9TlVoJef8ATI9H07WLvSZpba1N9pb5AhkO2G4IBGdu4BiuSf8AZyBzS33gqeSfEehyyiNQpdXVQT9M+9ex/CXw3oWmeA9P0Nr5beWGz33zSAkvIw3SNyScs5bpwc9K53xZdaLp+uS2vhtrvULVVXzLl7kfvJNozgADpwPwrnrYj2dtTto5R7ZJt7fI2NL8BWMWmyTm7lvrBpjEk+r6SZAUAbYZZrSQMDlcBlTP0xVfxN4R13QY7HW9Pm0XVvCVup81rDxNLuhYrgMjXiggjpsIbJPOScDPbwd4dv4bf+2PFt3PHHu823ijZryWR2JLP0jC/KOgAChsYzzBd/DO/sfDSrDbabHBNcZhjvf3mwNyTEV3oJMZGSAfcHmkp3evp1RXLVUbpfl/w5qW+uXsulxapoEF/cWU8WI5tf06CNZmOCQoCqX4wMx4BOTk1Pa2/hy600Q618KtA1LcskzxaZPLpscjhfupEsm3cFB3SYJwx565paZH458GwPYN4g1SCG4tCxtBdLMbkAn9yIWIjyAQgYnA6j0qlJ4C8XIkl/4h8X2lveBpLiy0eEm4s52eMrIZWO0A7TtKqCBhjn7tKvFQm48yTFGjOrT5oxsd342n0hL6GSy8P3+h6taqSHtddyqWpiZHRTFGsgjA2cMWTr8uK5K60qw8faV5mpXfiCDVNLlKpevqcsiJI4ChlR2dBIudu5QuByQetc3rUq6JqunadoWn3Gual9gii1hnv5EW31AIHkkaRAhKmMgDDhVLDBAG2p/DPxKk07xtfWesQreafZ2kqwNAArXF1ztRpAfmXJYbgD/CeStYYOi40uWkrLsv8isJyU4qTdkr6bW/E9eW9Twz8NbHwxHDctFp9gtpdSW6h1eGKNstEoBYFgsYOBuOD0Brzbxn8bLOHw7YQ6b4evrM7UD3t26wrcW5+6qCQZzuxyBgbe+SBpaN8X9N17UpNPOjrpseobrbzDqBlVXKnYjHyxtDt8pbnGSTwM1prNqdtp9vFP4N0ucxv5TrLDDLBE4QuoDqWyNoY7V64GT3EV6LjK9ZP7+h69Ct7SF6TX/BPDpNWtNfvrIPZWNjILjbFKZizkn5V+cgKOSOg4wPWuttdFtltTYXv+rt70/2lMwSREdeRGHYlVO3ac9QTjcMYrd0Lw5ZWc15A+kWcT3UouHUSeXCHaMOigLxjlfmGAOepFGvy6r4ft9E0l9J0NdT1a5F7MljqSS2trGDtCyqE3Bjjjjkg59a2jO8UoK1u7PKxlKak5t69WtEc5q+tapF4Zj0jxG8LWkVuwjTT43Xyownyh2AYIOD04JJJNX/ABc1p4g8K2evaZZ3k1xaqNOvtFELOxmSJVju2dzgySxAozfKcwDIOc10lnptxqmvW+nWUyiSBvNvr1UhV51DH93CpYYcgYVivAywwQAeem0vV7e11DQL/Trzw9DPpM1y7tp8sixGAGczjJ+ZysDqcNnDn6FJqo1Ubs1+XU5J4hqC1u1+RhaLaWt7eJqd/wCHpIb7TQJIJmcxC3lX51dkYNu74xkVrWI164vr3UdNvbu7t7iDzJJrgoxWc4zgDJIGT6dhzziHQbTU38YSeG7rWruPUNLgSZJTZvJBJFgOsgkI2tEVZT2JBI4INdjqDaw+uhW8GW+lW8tx5NvFZooEkW7BleQthhydojz0Peun94naD07ip0uaHOp6/mchLH4zOqW8XhprILbwiMpHfSCW7Lc+Y4A4yTkqCSAByelct/Zviu08J3mlJDctZb1VWtljK6r+8Ls7gncxBIBDEA4yRxXqiwNNeTAF7NomCJJb3SpLGWXGBt+YEgDnPOcgCtuPTrS1037UbjTnRFMZIdkmRht4OOOd2FJPJJ6HbWXtppe9ubqjUcNWeLWPh6/nS6tP+EfWy3zxteXTXAmaVchZHijyQGxuIGAv5V7D4it/htH4fn8LeCZPFWn6dqaxJdlNk0l7CrgJE5bLKNzRnnkBeoA4rmOy09pbi7h1OR9LZXtbS0RnycFg0igjzVUEEqTzlfQ4wfCOvaBrWkxx6lDq+lzTRyebp8Vk2YGU/PsjCqzB3kKjJPTk1pySnBN21FRpyjJ2nb0KfxQ+H0OleVpemWN1ofyyxtJc3UTyzPjodkm4L6BjyeK7KG7t/B8K+Gpp/wCxdMs4FMupfapLl5BkhiGyjmR03EoQMYABOK5uxmuE8N32sah4etYrSWFLixXUrpttwpUYQui8SAj0bhlwRzVnxlqWiN8IltNV0aG/v9bupLW1jhJZp52YlpGLPu4wp8zdhcKOehqMpte+9f69ToVL2adnp/XyL+g/E2PX/Hj6d4T0HSNYKLPcltRXb5tsqlTcTbGxGqBN7c5GBljnmtqPipNb8J2/hzQLmxhuLH7R/aWpSXAnW5gz8qwAgBXIz2wRtPB4rG0m6m8JaFfaDoHlR6l4gkeGRQqSRTRH955JfBdoVWIM4z1yD1rKbUbfXNPuYoooYfL1AtPcQWrQxTiQLwrtliq88dcEZpqEZap3uL2rte+hueH9RvpdPVZpILeZYBIpnY446Ngncy5z0Han+EdOi1hpbrxZqFjrZsi6u8C7y0ucomN23aOeDzgjFXPh74D0TWNQ1Mya1qWmrZ2kk1lLbW4uFu33cbmkOEHpkbRn1xVfwUbDQvBNsbOGy8tLhwLaCYedK4bGCcfMxIOX6ciuiKpqXoZclWaV3oaSeIrHUrq6sLeG4nmZRDOU/diJXzysgGGHGCD3NeaXWm3Ed9cR22oTeUkzKvlEFcZ9e9dtYeOb6ZDAdHWS6MkoIXHlxNtJUSEdduByPXNeY3WuaxfXEk63ViFMjYEc4jXrzgH3PWuWvFSnojtjUUafxanostrL4W0S51C1Ms8lq4xIdoPVQSfUkn9aZ4i8Sa5bfDmHxJrUki2+q6nIIYTsBKqY93lJGNqKOBljuO48YGaKKxpSc+VSd02b4iKpX5NNDs/CNp/wsXS7bVV0WzhtX1m4trK5A/0+8ZGJaInISJfMcJ3ztLZFFv8Aa5tJmv8AwxMsd3aTfZzBej7VGpLFWjXzc4yQCWBH3RzjIJRWlWnGT18wptqm2ux53b+HTqviW+1+602zjk1Nla90uK5ljtWCOgSQhT97KkjAOCTnNbGpfDfwZafEa3utOmv9XszCJrxWH2ezjudxLR28ZYyBVULy5OWBK4BxRRVYeUo2SZ5/s4ypty11/Ux9DsfCmr+PtDvH8DX1zY2NtM+qPcX6wq8x4jmCxyEu3ylgpGBvIPAzXrWpeI/h/o3hRb6LSPEa2oQC4t11CNBGNxQYKpuA5PAYnpn1oorDGc1avG7t6HTg+WjRdlf1v+jRxcPxc+GmnqYNJ+H+pXD2dv5J+0avIBGgJRFj+bHCHvjGawPB3xP8J3jXt7P4DkPmXA3ytqk0sik8biWYEZB6AnFFFbRwkZQs5St6s5q2NktVBfdf8z0HwrrVtqcbJpPg/TJPJYsscssqCMbgDvPmHcW9gcZre1e9i8GaOuqv4H0e2t5I5YIWW9uHaSR0ZHXZ5m1FKu2T2B46UUVxfVacnZ3+9/5nVTrNwV4rXyRjal4iu7l7fXG8F6cBLGqeS8pMZLr94/vDwAcAYyM/jTLLxheXlnOYvB+hwJDE4n8+MyDAPQZZuD9PrRRU1qEYWUW0vV9PmebicwrUZKMFH/wFf5FPxP4x8Qatomn2lr4Y0TT4Uc3KyW8UcatncqswVQxOVbuevT0yPCOtg332jUtE03X7JVaW5t72zja2jmUERzGIn5ipPAwecZoorqpUoxp6fm/1KjiqlWqr2XorCy6hb3V1d+HmY2k2o2itOIYgkHlyJlf3YyAApjwOgyeK6Hwb8PHma1nW7uPJeBQ0ksolbk/MG3ckEnO3px3oorOcmoHbQipSfkbPx++DWsaz4fW7tJWt9BsbeISW8MqplYUIyMknPPcHIHrg15H4k8O+GtK0WKTQvCT6vrezyrdrgRJBCmwDJBkG75iTyOwoorPC1pyvc1qU4yV/OxH4ZnXw7cQLfwXT3a25MrQzKJrYhQJEjbhcMGGc5+7xiuw1HwtcavfwJatHpFjZuubSKFDBcBl5kG0gqQMLgjsfXNFFehTqS9mpExw8HJ0+hj+dqSLfWOkLNcC8Xyot1yIV24IbIAzgkDj2rl/Ffi2XwvrVstrYxveWMH2WV7tAV8w8kDYc4Gcg/nRRWdGtOa1FiqMaekTz/wAaala3EUU9lrFxfapeQtPqcywGBRKW+4P7w298CuUW8JGRa+d6uzYJP50UV0RVonFJv2trn//Z", - "merchantDisplayName": "Custom Merchant Display Name", - "customEmailMessage": "Custom merchant email message", - "enableReminders": true, - "headerStyle": { - "fontColor": "#000001", - "backgroundColor": "#FFFFFF" - }, - "deliveryLanguage": "en-US", - "defaultCurrencyCode": "USD", - "payerAuthenticationInInvoicing": "enable", - "showVatNumber": false, - "vatRegistrationNumber": "Inv1234" - } - } - } - } - }, - "get": { - "tags": [ - "invoiceSettings" - ], - "summary": "Get Invoice Settings", - "description": "Get the invoice settings for the invoice payment page.", - "operationId": "getInvoiceSettings", - "x-devcenter-metaData": { - "categoryTag": "Invoicing", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/invoicing/developer/all/rest/invoicing/Introduction.html" - }, - "consumes": [ - "application/json;charset=utf-8" - ], - "produces": [ - "application/json", - "application/hal+json", - "application/json;charset=utf-8", - "application/hal+json;charset=utf-8" - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "title": "invoicingV2InvoiceSettingsGet200Response", - "example": { - "submitTimeUtc": "2019-07-03T19:26:48Z", - "invoiceSettingsInformation": { - "merchantLogo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2", - "merchantDisplayName": "string", - "customEmailMessage": "string", - "enableReminders": true, - "headerStyle": { - "fontColor": "#000001", - "backgroundColor": "#FFFFFF" - }, - "deliveryLanguage": "en-US", - "defaultCurrencyCode": "USD", - "payerAuthentication3DSVersion": true, - "showVatNumber": false, - "vatRegistrationNumber": "Inv1234" - } - }, "properties": { "submitTimeUtc": { "type": "string", @@ -81682,8 +81722,233 @@ } } } + } + } + }, + "400": { + "description": "Could not update the invoice settings for this merchant.", + "schema": { + "title": "invoicingV2InvoiceSettingsPut400Response", + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n" + }, + "status": { + "type": "string", + "description": "The status of the invoice.\n\nPossible values:\n - BADREQUEST\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - MISSING_FIELD\n - INVALID_DATA\n - DUPLICATE_REQUEST\n - INVALID_MERCHANT_CONFIGURATION\n - PROCESSOR_UNAVAILABLE\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason listed above." + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid." + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.\n\nPossible values:\n - MISSING_FIELD\n - INVALID_DATA\n" + } + } + } + } }, - "type": "object" + "example": { + "submitTimeUtc": "2019-07-01T21:40:10Z", + "status": "BADREQUEST", + "reason": "VALIDATION_ERROR", + "message": "Field validation errors.", + "details": [ + { + "field": "customerInformation.email", + "reason": "Invalid email" + } + ] + } + } + }, + "default": { + "description": "Unexpected error.", + "schema": { + "title": "invoicingV2InvoiceSettingsPut502Response", + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n" + }, + "status": { + "type": "string", + "description": "The status of the submitted transaction.\n\nPossible values:\n - SERVER_ERROR\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - SYSTEM_ERROR\n - SERVER_TIMEOUT\n - SERVICE_TIMEOUT\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason listed above." + } + }, + "example": { + "submitTimeUtc": "2018-06-12T09:27:20.000Z", + "status": "SERVER_ERROR", + "reason": "SERVER_ERROR", + "message": "Error - General system failure." + } + } + } + }, + "x-example": { + "example0": { + "summary": "UpdateInvoiceSettings", + "value": { + "invoiceSettingsInformation": { + "merchantLogo": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAQCAwMDAgQDAwMEBAQEBQkGBQUFBQsICAYJDQsNDQ0LDAwOEBQRDg8TDwwMEhgSExUWFxcXDhEZGxkWGhQWFxb/2wBDAQQEBAUFBQoGBgoWDwwPFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhb/wAARCADHAM0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDlPBvhzU77xaYFVhHnIIPf3rp/il4d1+w0lFWRwi4PBPWvQtG0+LSv+Jj5e1gM9OteP/tCfFjUJPEUOl29q0kEOPMYD9K8aMYVpc0Y3kehgOIcfGrDC4jSLeunTubXwa0i4F95+s3DttwQGbPFeqa1rNnJY/ZUnIyMKoavEdD8R6nq+mK9hbMJFXCgHkmtjwB4P8Y6zqzahqly1uMYjXooFY+wrzbex9X7SjKvGFBuSv8Ah6m1d648OqtbeeyjHB3GuV1bTrrUdUkuGuHwx+XntXWeM/AesabD9uX/AEjbye9cm9/NCu1wc5wR6V14TCUormqfEfF8XZtmWGxCp01aO6Y7T9DkhufNW4kD/wC8ea6jwrosk10Lue4c+UOBmsXR5TOwfdxXRWOo2lvGyyyFePWtMRQwk99z8+jDEV63tK0bnX2+sSRxi1DOY8YIBrzn4w+ENO1q1e8hH+kAEqe+fers3iu1s5NoYSBugBq5Z6ot7A0giPTI+lcFOp9WqXjZo9SjhqsJRqRlb9D508UeHNQtLGRzDJujHYdaytHmm+yeTNCyseNx4r7A8F+HNM8QWckVxbrv52r6mq83wu0LT42k1ezijkJLRkjOeeK9hYnnjdo9+WZRp+9TnzL+up4D8OfDzuyzybhu5xmvQF0KytolkUfMeTz3rrp/DlrbttswqxgZOBTU0tJVVSQMnFcsqkXJts8jMcTiq0ISk7R6HP2pji27m2qPer9jr8aSeRFub1wTS+LfB995kAtH/dvjcPWgaNBp0KoXXzcc/WsKbbTaR5kK86CfVl+3mS9uIxc5K56Z7V07LHbRwy6Wm0DBYiuWsbaNrYmR8GrMl9PZRqI3O0HOetc/PTcrXO/D8U4jDrllBNHdate3F1o2+V3Qkd2rjtTvIbMFWuHY/wC8aNR8SG/0c20jkFRwcVx3iOW5it/PKs6qOWFb16kIWUNUYyzN4qXO46nQaTDZXF488srYPcsa7jQ9Bjn0Geeyuf3mOPnPpXjukX7v9wt83tXW6Tf6zp9kXt5ZI43HP0q6VXnjY0jUcp/DdeW5xvi+XxQNYmtbUXLMr/OyseOa7T4SXeuWS5nuLqJz1IkINVtO1K7juJJfKjmd85Zu5q9YXlyu+WYRruz8oFcdfFTo3cYo6f8AZlR5m2pdrfqdTDqb/wBoOzM8nPzMWJJrivFUl9LrUr2s7pGeg3GtSyvlKlvvNzXG+KLu6OrN5SSFdo6VjgMTXV3Ld9z5ydduNm9D1n48ar4V0v4dn+zdYt2vfKxFEjBmY++OnNeEeDfBHiHx9eb0sAEJz5hHHSqfi34fS7vtlrePJHjdnf0FXPhz8VNU8A3P2WL/AEiJPvR5yfzr0LVJx/cpep+sfWstlJc03fax1F54S8R+BbyHbYpNbqw3YHOK7v8A4Sm3/wCEbSSS2NvKV71wl/8AFTxF4zt55obKO3Vc7VJyWrk/EfiDxJNpLWjw4Kn7y1tSoYqfuOy+Z6FDM8Jhdb6PyPV7HxvPc2strs8whSBn0rgtQsxPeTNdoU3SE4/wryqx+JOp+G9YIuhuw2MkYrdl+K9rdyebdIDuHyqi55960+qVU7X1PNznE4TMaa3TV7HYXkT2kG60iZh61j6vaa/c2rXEVvJtxnFa2heMo59DV4rTeHwcba2tP8USvZeQ1gwD8A7KzVOMZ6q7PgpVnhq3u62PG9H1a7PjGO0uonyrcqT717DpPiTQrScQX1xHbybRhXOPaovCvh7Tzr8uv3NsqiFeXPCrn1PQV5r8V7zSNS8f+fEhaONvL3oOGPt69auVKhVrxTjsj0YTp5g3CcbWPZdK8W20OoL/AGVcKWJ4dTkVu6t4pvNcYNqMgkaNNqYGABXnfwz8PDT9JW7CCVJOUYNuC9OpHFaHijWIdIt3cjLAZCr3NYVJwU7Q1PnMRR9nN0sO3bqX/E3iGLSbFpJ7hYQ428ntUvw1lj1mN7iC+QxqeRur5t8YTeJfGnif/S7hre3jYiGFDwo9TVjwzf654VvxZRao4jY9AfwraWET66nr0MtpyoRVSTc157eR9SeLNbgtNGf7LL5kkakde9cF4VvbzUL6W5vmPLHH0qh4O1E3Vuq3ETkMOp7mt2Aqtwfl2rjoPSuGXLCLhfVnNi/Y0sOrL3+36mzMvnR/uXxjtWbPqaw3SwS7Xz2BqSbWrKwtT5zCJepZj2riNSMt9r39oafLmPHHvWdLAUvaKVN6+Zx4PD1Kt6k42Xc7aPyp3/fN5KNmtOW/0e30c21wu7APOO2K5yxkgms40vZv3/REXqasap4F17W7UzRTrBFt4UHkj1/Wuvka0irnp08Mov3VcTwrcaJdaxN5EirGnPPSoPjF8QovD2kpp+n2/wBoluMIrL0XPf8AlXP6b4NuIbiS2kunVh1YHrVLV9AtbGQ3GrztLHH90k1m5U6lXlvouhrRdLm5YO12aWg+JL6awjYrhzyQavnXLgzbZmx9K43XvGXhfT7BY7C58ycYG1OceuTVBdbnuYVurWBnyO9Kjh9HJQ+86c0yKra0aqb8noeq6XeTM2IZMKetXpHgJBldN2Oc15xofiy5XT3imtDDKVwpJ/lVR7/XpmLxFmXPXrW0qNSrpy2PDo5Go+9OdzrPg/40tNd06SwLKzlCoVjz0rlvFGljw9rrSTxZWdy3P1ryDwbrV74f8SR31o7FVYeYM8YzXs/jMS+OvCNvqGlMXuIAHkRDzjHNXSTw1W32X+DPsK+GdOoklftY0PB91HK/lQR7VkPQe9d5pEdhbws86K2ASSw6cVgfA/wyDo41TUQV2HADd6zvjtr40LSbmLTH3TXa7E4+5ngmvAzH63jMZDD0Z2jfWxhUyXGfVo42tor7dbPqed/EHT9P8ReJLqW2gxbmQhCDnOD1p3hjwVYHbDLgKOpIrmfCd5rNvtkCNNhsn3r23wr4P8a3ujpqsnhu4NrIu4MF6ivrKkvYRSUrerPOqLG1JNUNV6X0LOhaDa6Tp8cjXMflPhVGK0Nblt9Ps98AM8mVwqA4AJxuY9gOP88iO40O+ubqCI2ssENvjzVcdPWuyutH06XRYktIvLntZmQuUz5qsqkZ9FAJ+teLicdQoSVSu7ruj69cJ0KsIuEf3jSvro31Z47rEOp60iPrEs8sTNn7KvEYHXaqZwOACWPPNYM9h9lkUr5UXkhki/dhtiH2PVj6nmvZ49CtXkuFnmKpG5wpQKCgHJ78VheLNH0GDR3uJ7t4Y1YYbZvL+wVecnGMdfx4rD/WLL5TUIt39D0IcN4ylD4UkvM8Xe7uNOvVOnPcWcik4kjmZZHPqSpGee1WI/E+qyXKjWLprqLO3e/3l/x/GtaG48O+JINcu/DVvqkcmhywLdRXdt5TtHLkJMFySF3rjBwfmU96zZNKkvGzHbCRsfxYBP0B6V7EIxqLmcdV33R4GIoU+fVJ+a1/Ez/F2r29ncxyWkgLSdwa5t5b+XVUuIyZMc59/Sui1rwuJ7RcKDLDn2OPeq2h6bfLex21tbPIpP3guRXVF3drHLXoqFJOG5uaT4t1i2sxGtrllGFzUcnjfxIkzF4l57e1dtoXgbUbl4WkgG3gHiuouPh1o6Sxi7wzMcMqda86tXo0p25fuPElKnCTdVad+h4jq+tajrepRyanKfJhORGrYH/166XQfE0MIEYJRAccmvR/GnwP+3rDqHh5RFAynzRj2ritK8FPa+JBa2FsdQmhbEwI6H0HpWdPF0aq/du9uh6kaLrvVpL+tu52/wAN9e8GXWoxWsyO144+/gjmvTVv/C8kx0q01f8A0lVzJCH5Ue9cv4O+H1wL3N9py206puUqOTXLn4f3mlfEC+1bS/PdpARPI5+6e9EsY4xbS6fK53YTJ54lpVElC9n3+7/Mwv2kfHll4eW3m8Pzx3EivtkAbknP/wBauE8OfF7S9dQWWrw+WzjByO9R+LPAq3es3N3dXqxnzHOxz15PNcPrnhN9KuxNDaNcbuVC966aMMNOGmr7nAsppVnLk6M9Kg+H8eoXEmo6UiPHJyAK057L+w9HYzMsckK52Eda898C+LfF+jagreXKltCP9U3Tiu1j8a2viyykkubfy54/4SO9ctP6/SrNVPep91uvUqnh/Z1OX4ku+hTk8TNNC0n2XKqBnaK6bwv4u0FtJTzIm3AkHK15PrV5NHrE0cLFVzgjFdz4EvdJj0BUkRS/mHdx34r0cRU9lT5oxuejhsow+KqeznP2a3udNJ8H7C80+RtOnjdgv4k1v/CTwhqXhG6VfszPBcHZIg+b8am/aCE/hD46S+HtLZ7WwjgjkjjDfeB5zXeeGfiNZ6T4diM9lH5zfIrvzk/1rx8bjqnO8PUVl5K59ZRyejThTxrnZrbXS/z18jQn8PSSW62kSm3ibk8dc1y3ij4d6TfYhn3TMfx5rcvvGV826+uIiYx82FHQdeBWA3xv0CTVlt7RY/tQ42unOe/avPo0587lSv8AI9LF1KMoqNZRt0Urfqd78G/g34M8PwJruvQRvNvzBFKcqOnbua7Xxh8T9D8P25gGl3UkcK8CKIBQPauV8I6nHqGmw6rd+ZKznG1x07jA9KreNV/thGks4zJ5kfl4fgL15xVYitarGnUerW7PhqmOVHGulRprlTSsuvocj8RvilJrGjXr+AfDUNxrMgCRLqEZ8lf7zkD7xAPAOBnr6HwXw1pPxr13UtS1GWDWbl7GRDcva3UMbWTH7uxNyhQQBnaOmBX2t8LfBFjovhcS3UULyFPMk8teTgZ4z3qbw1pEcVvNIIFj+2ymWVcDn0B9cDArjlm8sLQcORO+10fV1KNOpUvGTSj5nzx4f0fxHcSLFrF7JDc3IBRHtB8uMkq2HCkkA8j8jUniD4ft4nsZtGu7t7OO8hGZo5fLlQA5BjPIDKVU89TxXuPjTRIlZWES/Kx2nA49P51yP2WUR+TchXiydrZ2lRXxsswq063PD3Wn0/Q+mopYihyt3TVtTxjwH8IbTwFpuqxRazd6xfalHGl3d3kWzckbbljVAW4BwSSxzgDgDlkegO0mPMV3Xk5XBA9vUV65NYW0nCXk0Mf/AC0z8w/Xmue8SW9nbK0Uf2Jo2OwyzR7sgg5GARzwa+oynOMVicR7z5pSt0PDzPKcNQw3uqyR5u2lhlEiFtzEjDDPrwc981c8I3MmgXc2+3S4s5uJEAy8J/vpnH4j+taWszWChY4iknGdwATntz2rHlm88N5aLhSCgc5YHPU//rr7mu4S90+C+r+0ptTWjPQdH13SnjBhufkfGGBqaLybW8mnkfzI5VOwk56148zOmpSCK58h93KsPkc57+n4Yp9l4p1aG7/s5ndPMxsWX7r5/ut0P0615dTB1ISUlK68zxcRlKk1FbHuHh3Xru2W6s2lZUdCIcng8VZ+EN5pWmXd9qU9hmZXbBI/1j/WuFtI7y505I1kLXD8q684PcCqd/eeNYLeOzsbOWRJOC6rjafcmt5YGNC1Wkt9dD3KeErUHyULXWmqvbs0ei+JPFGonUGvDerbbcui7vujrWXpPxO0uHS7yTEc0sisHkznnnmuCs/Cvim+uvN1plUzcAzS44/zmr+n/Dbw7pgYeIPiLoOkpIclGmBbHfA5/lWPLiKs2orT0PSyvB08thOvWquUpb301+Z4f45TWtX8WT6ilyfs7SblRW4UZ4qWCbUnjw0y/IPlyemK9UvfCfwG0iO4e9+Ld9evnKR2NkzD6A4ArOsdV/Zx0GA3Z0TxV4hlVvl8+ZYY2+uT/Svcp0VGCp209Dx6dbEczmmrt9H/AJXPMFv9RubgWzeW7M2CcdqxNWtdX8O6s64ZVlG88djXttt8YPCUrGLwl8LdH0qNT/x8XkrTSe3oK5/xRHqPibVE1G8tIpjJjiNMKB6AVTcY+6kayqvkcpv3vn+v+R5K89/qUu2GIl8/eA71c0ttVtIGhdG3ByTlfpXqWn2kVnJmPSfLZB6VIdLnuGaU2iruOcZrneIglZrQ462OpU0nKorvzPZPjdo0Pjr4oW2t2Lx7pIliuZmboB0qxqXin4T+BtGjttSt21nVLZD8sS7tp9fQV5+3iPS7VEtTfSGe4G6GFWOXGfQf1rgfjUz2d5HPFYzIlzGGMir97sQa8WlD22MXO9036nvVs3WIUJUYtQ6N7J+XmdtN8V5/EHipbTR9Ejgs5jtCSvzzXp3w18NaJp2uG91LSNPMj4JZzkgn0zXzT4BEl/J5aQSWgjG4zPwWxzxXbN4j1O2bzbe/mupI0KqCchTXRiMPClJKlZN9NTlxWcVZTjD2l7eVz6R8QeJtLns4rKzW3idJAdpAXIHoRU/g2SDxJ4iCyytHBDjcoP38Y4r5Yt/F2strdrFqYlZZm/d7R9456DjrX0j4BSTw/Z2esahprQRTxb40Y4L+9eTjsuVapCpVbSj9x3RqYOso4mUveW/+fkeyanHaWujqivt3Dy413fe9f0rNju7e3jUyuFAOBnvXG6Xqx13xpJqPnLJHHbbIUVspGDycD1+X9a1dQi+WRyc7Tx78f/Xr53OK8HUjGnqkj28t5MTR57uzb/yE8X6vYNC2ZlDKpwB3GDz+YrzbWtek8x0igYxc/OPwA4/OtzxFbBGXzCVJAI3NgZ7E+39awIdMillnLh5C8OMJIMjHceuOuD7YIr1Mg4boY6m8TX1XRX/MnM85qZfJYbD79W/0OH1PVdWu5jL5zW8RBU+Q/t09cZH86x7madpFlUvuiXudwA65zWvqdu8MjIiZVX+Yng4/pWVqimFkkJPqOK+ko4ahhbxowUTx6+Kr4qzrTbM0IdpJGC2dzKoIyevHaoLxTFJ8qhgDkgHhxT5JSDJtQ/NhlXd0wTkA1DcEYxv3Ryev8B7fj2rov2OXl7jpntpI23RKQ33WyeT2z9P6VkPaS/aB5F08YkwxRhuCOD0I6Ee/UVoKTHu6sDztYc4zms43DRagksb4bBB7b/8A64qoSsJwRcuvHfjWxFtpOj2lnE6OcbIwWYnuCTyKbrnjTxrDp7xeI9QutNaX7jxkRhjjpkVn3x8vUY54mba5G1u6t2bPY5rqv+E9vodOW7v/AA9p2t6eq+VdWc65YP3ZT75z+NdMK0E0mtGL2k0/Jeen9en3Hmei67pCTX1zrV7e6hqW0mzd7hnUN2JyelczrWoTa5q32q5dd68AqvQZr17wz4O+EfxKkmg0W8v/AA14gZyVtZUJt+/H0H4V6r8KP2U9I0zw+brxRfNqN27HY1qf3YHY1ljK+HwadatJ/m/uJljIxgoRimt9LWv59b+qPlu2st9n8xDYORnqeKoyW095q0MQfy4IT8yk8da+rtX+CXhnTdaEjTShVJKRk/4fSq114E8NQWNzF9igfzAcPt+bPbmvNocTZdWaVOb+45aGIw0p8krRfqfNOrR6jPiHTbLzRnkoOeO9em/BvVb64t47K/01lSFcBmXBzWvZ+ALfS1nu0l8qSbIQxk/KKgs/D93p1ldXWnaxcNPtLLFKc7sDOAK1ea4erNwjZr5nPisVhq1R00m5LtZ/g7Gv4mtEtw+pNIvlY+5j5uKwJdYt9w2eaRjshOK2/hNqHiLxPpd7catbx2+nae+2UzxYZz6L6966CTWdLjwtjoaNHj7zR43HpnFZ4iWHo1OWe/rc8upluUVHzzm438n/AJs5Y6Dp22LxW9/YW9rKqrbxLKDIFUY5HbvUusa94butOSO81aCSINgA/McegriZvD3hY3ULypLtC7mQzEAnPpXW+GtN8PR2s11/ZdpEIIzKMLubA6ZJ+lRUnSilNNrtoepSw+FrVbc7s+l3b8v1NCbwpp2s2ebW6m+woAUCpsb3BP8AnrVfTfCekabdJc2xeJIm4DNu3H3rX8O+K7CPTbiKGZpN6Z8p13BPxFea614n8T6j4hWx0yK3jWR+5wNufelSp4urUlryxXmYzwmL9uowjGMH13f6s9f8Ajw/ceLBdatBADb5e3BUbd30rR8ZfGrw1q8lvpd9dxrNYkqIYxk9ec49sVV8M+D9Mk8Jx6Tq99DdXbKWmmiYqCSM4HOa838ReCPB3w98SLeXmoRyJdK0iQyHLRgHqO55FL2eHqz5asm7fieo8pqYTDupWle+/wDXX5Hq/wALfEmn2GsXdxHqhls79oYbW1jXLQuzEMzHsAMfSvaZozGuJTtVl2sp7EZr4l1L4lQWcb/8Iv4fnuZgS8bLFgOw5HB/CvsmHXo9c8O6b4ih3NDqFlDdZ/2pFG9T6MjblPoRXgcQYOm19Yp03FaK3y/4HU97IsZzwVDlaS2v1MbV/Kub4q2ZVVtpU9Dx1rm9Wu4kYRND9lnt3z5iL+7IHHIHQdOe3NdRqMaS6dcS7CPnEaMDjJ6kjFcX4he4W43qSXQEHHU4r7Hh6Hscsgr6dDx83lz4yTOX8RXoXU5fPgaSO45jZF5UH7y4/i6Z9cEGssXGn3BJjYTKOGXPKfUHn/PNaN7cWSTL9pikZHYKywg8H146H3x65qp4y8F3Kaf/AMJNoN/Ff28P37m24kgJ/guI+qE/3vut2x0p1oJzbNqFWLppPcz7y00+eBtj7WUgg+nsf8ayZNJ4mjV1O5vmibg1c0WSKe233aTW0nzAhFDBjjoORgH8RUS+J7CzvhYN4f8AtcrQsu+4uCpH+5gHlcZyfX0rmk5JtJXsdHs4vd2uZ15p03kiaVtiiU85wSf6Vm3FpKJVLdFJ3ZHQGu7h18X+krpz2lqscZDTZgAnBwB8wOcqcDkZHvUN1Y2r26rEhhZQShRQQw9/UUU6nN0syJ0XHqcRrWnD7Ostu7vAeWCDJT8PSneGdT+wa00jRrNDIvlXMZYFSR91weh9/UH6Vqa5ps0TGbSZVs9RxwhOYrge2f5Vwsl48eqN9ttBaXDOfPjjY7C3qq4+Ud8cit6lJVKbT2ODEUY1YSg+p7j4XvNAsNSj1W206OO524dkAzivV/BXxK0m1VFjaaF2P3W5T8a+e/CyXeqaOJIZI1AUhyVO7I/yPzpbpdb0KwF815avDIdvlzEIxPtn6V8vLLa3trupr2u/1PiYVsfh6nLzxb7a/nY+hfHM3gr4gWb2T68/hvUXIEN9Ef3Mjddrdq+f/Hln448M6pqOnPrNtdTQSeXam3cOJRjhs/Qiud0nxnpevLqdvc3T28sdpIohz9zHVgfX39q2Phnpp1q4jt4rlp5GXPmvJkt7mu+caOHoWq0lzR3dj3HjowoP2tD3vTS/e5L4V1bxk2lsuuQ2q3BbAzwCPXFbl5rWgaDo0t34iu4vtQjzBBEeWPsPSnfG3RtQ8LeH7PUBNGUuX8lpGG7ymIOOOh6GvFNqxfbbvxFaf2h5qZiujKQWPbiuzC0FXp+3UVyvsc2Fw8azVZR/r8TvPEvxI1DVfDcNt4a0lpmRfmAbALepHeuej8T+LWiX7baSedjkINoHtiq3hBYreDzbORolHOFf7td5o/iVTYIJDp9wy8GQuOa0lShTk7QTfd7l4nEVJy5oqP3f5nNeHZ9O1C+mmu7IzEnKoW2iQ9h7Cu70mLT77Tprf7PDHJdEYjiZmWNR/DzWTd+HbaQAi3W3nAyjwnn8u9bPwusddj1Ce01KC3Syt9rb2U758nt9Mc/Wj2tKrHmXTozPD4yNaP7mXL01Wv6mv4U8K6VZaSJI7B1Z2JMqgjPPqawfGGgD7RnTLLzpnGVJj+YdeteleKobabS7m7sLvdJboii2UZVB0ypH1rzzWtZ1K1vjpmh6Tc6prGMSCMfJbg9DI3Yc9Kwq4qUWla7+5fNmuIlGhJQhNvzW33dPQ4RbXWtHZ5b61u1knYqoRmD5PGQO1Ub/AEtX1yOwv9RSS/uPlihuJvMYLjP+P617BpvhS+t4Tf8Aiy4RZ5kWVlkbaqDsQT0X3rh/G8nw30LUpPEOn3ovdQjj8sQ2Z85iT/dI4z1Gc11UMTGo23v5I9F51RppUqF5O27V9fIqWng67uIYvMns4DEMfu4yWA9c9K9p/ZS11bae9+H19qy3STXK3Omic7RGzKVmgX03Da6j+8rf3q8btfFkly1r9n0q/t47hSSLtNuAOvAzjjpTPDusSjxBPP4WsYWhiuInMk7kyRybuWUjoc8jmuyjhVXjOnVXuk4LG42rUdStPZ/jbyPrXxBoNxpeneUMNbSzFjKRkowHT2BH8q5HW9LkS/e52BlwPNj454HNdl8N/ES+O/CshLbL4R+TdQsOBMoOJU/2XGcjsVIqvqmgzRzqnmbGZeGKkAMB0P8ASu6OHjRoqNP4TpqTnKo/abnmGqaNCkDyGISxzZ3MB831xWJf6SJVkWIzR+bEI1mglMchX0bHJHHQ16LrmlSG1ljdlRlUlQh4fj9K4uSwuHgGYpF2ZJy3ysOenuK8isnGTfQ66VpLzOD8Q6fe6au+3TzfLAEkeAFf3U9FY+nQ84x0PFalqdvceILN4/MjuEuFDxyjBPOMEYJz9AfpXutxE01v5M8as3GYyMbh6+hrjvFHg2ZGN/YoNzKR5ToGV07owPDKfQ8fSs6VaKlqjq5nKKuU7iwQTBwhIX54/mwy9tyMDkemQfbr8tSQzS2tv++fzYef3ypjBzyHUfd+oGPUAc1jWWry2M3k3VtcFI2yIyWaSHjBKnrIoA9fMAGP3q8Vu77e4tEvLS4WTfys0YBUjn72DjrgZ6Z4+Q/LXHNuErSR6EeWavEi1CKOe3aJgWhYBiFb54iejKe49Ox7E9K4jx3FFDH9m1vahfiw1iMfKW7LJ/d9+30rsJom2MsYS3n3MBCpC89SUJHGe6kYPcd6x9Zkgms57G8RSssZ8yCTIjlbH8GfuuPT8iw5rqoV2nZnJXo3Whk/DPX7jSrG8JjeZ1JhntVcZWVe6n3BH1GKwfFFvr3jC88/WNQMNrFL/o9pGuFjXoST61F4fd9E1ZbMEG3mO62lJ/1ij+E+69MV1q6NJqeoRudUitYJEwGlUmPJ6DjkV1OUY1NN+54GKwTm/a04+9+Ji+GNDi0q6uokkh/f2roAw+Zxjkn9a7P4PWs+g+KLe9tLQNtUq6RnC4YDJOe9V9D8B6v9quG07W/D+pwwPtmZdTUMhIHy/OBg89M8VB468P8AxCght49Ok1K20tZCb3+ywsxfA6CRM5rnxOGnVcqbd1JanB9Xrqpyzi2uu9vvPRP2pB/wlngnR9Js5DHbLMbm6kHqvAXjvyf0rkPAPhnwpd/DfxHbeLDeM1jamTTnWFlKOMAE5xlCT1rnvBt9qnhrTrnUv7SmN1Fj7DFMSW+bjcyt6enrXo+j/F/VNU0u7g8RQWbRW1oSzvGMz/7G3HGeK8/CxxuBp+xguaC63s/u6/eaYaTp+5DZp/l6+XY8Y0HSILGzuYLW9t7gXQKhpUPyJnPHvx1q1HpRC4tiqRjoANo/Kuk+JGu+E9R1CxvNJ0RtIjb5b2ONsrI3UFQOg61zeuDw/pF99lg1T7cGUStJbFmRS3OzkA5HANehTqVaqVRppvy/yOapGUt3dI37jx1oN1p8ssAvIRbtiaX7OP3WT6H6VV0X4paF4YvI5JdX1TUI23M1rdoBvz0w689hXnfxO8DeKtD8RLpXiHQ9W03T2YD7VLbNErM2MK7DKsAeATjkmorrTbPTbW001NRdpAzmFJFEj79vy7cD5s9OCa9F4SEo8sndfL/I76eXwg4vmene2/oe3eFfjBDrGk3+mpcwWr30mBGM7o4gdww2MkjFVZfEXibVINWit7NdDsTMv2MWEjGe5A6mSQdC2OfTNcx8JfCGkeGbxtQ+JOm6pZ3GpQM2hHUA1qs0gA3EIw+cAMM5wBmuguNYsbO4uFgurBfLbY0UbABSRn6E9+PWuCeGoRbSTdtuy9DjzCM8Jy1FSUlK/wDTS27o4XXrtJtTmOp6Tqcl2YgJF1C4klLY6KNxOF9ulV18WzWHkW8ejWltngRn5QMehxXZ6hd2+oeJreS/eSxtBCsUOoKw23EwblcZ+ZRkZP5V2UPheKxuYrLWbG2mkj5e7tQsoVCN24sM7Tj+Hr7VtCpD4Zxd/VmUcPOcISVG7l01Vr9+3keX2vjq8+1GDULBFgkB8428nmSBfUA4qjHrdtpt3LdWGmXiOkuU+z/Kpzzkn+gr1S+g0uG8CS6RbvDKWFvI6CNiASPmyMg8dD7Vl65oaXOLWR9R0iFl4YBfJbPT1B/A1tzU46JtN+Z2KNPDO1Sm15rX9TS+GvxS8YJrh1U3mn6Hb6asbtBPCD/aYI/1QRcEkgcnjHDZyOPpT4TfEnw18Q9Kk1HSLpg6N5dza3cLLJayY4GGA3o3JSQcMAeh4HxLa+DdDtPF9n4smu7jVLayulknCSb8kH7hyflU479q7+6+Jo1bxpBquleNbrRDYylYYn0rzo5YSMiHy42yOQOvHAPFaQqTo1ORK8H+H53PXjGniaCmnaXrfm+/Y+kfFljeJeyTWMEe0A+bsl/1TDuARkD2rBuoJpLVYrgC3bqXIDAH+tSaH4mn1jSYbiS78m5kiBL+WFLr0DbG/IZ54x2rQh1HTr+2NrdskV7FJzvXCsPfsOv40VqXN8LMoT5dJIxLzTmh08ZAfzDhTs5T6DqawtSt7sR7oGhkVOjMcHcOo/KvSb6zgttNwGW4t9uVOM4+jCuA1S8sxdMhVoFDYBU5DfWvJrpR0vqdlJt+hz9zpNnq9rNaXCxKsi9Tg5NeVeMNMvPDusNdWTyq6g/6TCfn9/MHSQe5+b3r2i4VDGZCVMOcAYOTXG/EDTlVWnUmQMP4XPA9DWUak+xvG0djjNH8TQ6hCsF7aQMwbGYmwG75UdR344I7betSaklvfadJHchisinbNIpyAOz4+8M4Iccjqf71YN54cmfVA9rLbwtIeN8yoCRz3IFac9xFpultdaxrWi7EXIjN/G0knuioTk8cnj8+a6Y0o3XKrF+2clq9DzzXDdxeIItGkgkmnkkDWcifeZgOc44Py5ye4GeDXV6PdsjtaXij90SpBPBPp+NHibTF1K1t9X0C4jme3dbiBV+8hB3Aoe4PdemCce9A6xo1zrEU94/9lvelhukI8ssCAyE9DgkZB5wQe9dU1zRTtqcvtPZz8mbOtaNc6hpLWmn3Ez2MsgkmtUkI3t2LD+L0z14rlk1i90d20vw9e6no3kvk+XK0bscZwCD0zXoT+G9S0+3W+06SG7jODtjk3YHqPT8fzouodK8SbHuhFb6pbtuSaWEOrsP4ZVP3h+tTSxCulU27/wCZp7NSTlS/r0MTSfHPxE1bT2n1hNIvtPZRa+frEaTnpj5XX51bnPGTSXL2OoXcaPJZ2ETIHd4i+W28DhsnaT3PPtXOeLbO80HxVbaj4htppoYZ/NYIf9GlTpkKmMD/AHfxrtfAY8Oazo5vLTQbqSEqTK7zKqdThVUncOBmu1UHON47eRzfu6k2qq1Oba+0+73TvZSXKqCIx9qwwPY4Uf1qKLUrpV2weFLeQd3dXYk+5zXU+M9N0/w/4YfxF4cmFtdR3CqLGVBJ5iHqQe59sVztpr+r6nEbm11e6to92PKYlcNgZOO3NQsO4bK69TmVOdNtafcv1PWP2YPB/wARIdD1DXNQ+K0unaFp6nbptvcNeM7Kh5EU/wAgAbGB174wKy/Cfxz8ZwzW+l694Y0vxlrFxOv9mXJsYbZYguDKIjHHlpAvUnHOPxvfDzwR4r8HWc2n6lpc1prGtP8AZVinaKTy0MbMzoy7lzkqACT91jivLdc+GviDQ7+SLWfEBeXTpWfNvI+EViMnd2b3AH6V59Ct9YqVVJWirJeb67fd8jeOK5HzRUtOrWifU92+O3xW8Q63DoNz4N8J6Zf2vkXEmtQeINAS+fTWBXavzZCtgPnbxjBPavBfEfxF1G6njtIPDuhQ2rWrxQnTtNW2AbORKyryxBJGeuCB2rYsY7dLq0uBf/Z5CQGnQtJL838TAsSACR19aj8aeAtT0+zlkg1uymsGuY2mVI2DrDnqsmME9TjAA9eMnpwvsqdH2beidterepHtPrLnVcbaa27W6dTiHlW6upLNPNuIPNw0xhSL5go3gRgnGGLd+RjgZrq/CPi7W/CH2aHRLtpPslybpoZUGztyO+SAAVPHArR+D/gPSI/FKa1Ho7axbXV6YYrzz2aJn/jiUoxQlQN7A844NXvi5p8HiLxBbW/g+w0vRtPsX8q5u7mCeOR23EFj8h+QDoBuLE8ECvRji8HKk4NX9RYaNad6tJ6beZr+OPitoWt+GLF79rdtSu/N+1vMwiZHAGwj+8Of5isPT79r/S2s4p5WhuIS8sKMSkiY5yBwQB3rhby1uY7ORc295Es5gDIqyxu6nIOD8ykcHnGMit618bQ+HrXQzo1ppGpW0Max6tayWHlJFcgMuPlcmQbcEvkZbFYVsKlC9LWx1fWoO/t0ZFxc6PoWuXaaNqN3p8ckW2axnKzpcMR8rQso3Bef4hwQRmnaTF5dutw0lmdvzK0L7GbnkL0zx1HtxWrdeIdQuby2n8K6ToNlcgSsIYNNG0RFOry/fIX0zj29WWMF5dW8MVzb2t1dTPlVFrljJjO1MEYAPIzwO/SueVSa0a/E4JfV5PmjOzfSz/S/5Fy1+36ZeRaxpOo21ncX5MUMrgfNhd2CzN90A5yeMnHWtmw+J3xA8qB7ltOmubD5Zbpov3NxCp5MyhgVBwQrKc5OCCMY5e5sfEk0LLqOh+WI2kiNtNE6mNhyZODhlwfXsfWprhrafTW0k6KttbyY3mCaRDJgDJZueOCenoPeuqjVpRio1It+lv8AMmTs7e0SfmpL/wBtPefhX8XdO8Q+HxcQXsWnTNKsctnLN5kW8naAr9VLEfKMZx1NbWrXFnqJYh44pVfDyRsJY0b/AGiucV8z+H/C+neGLX/hMU0+/wBN1CQSR6XDeXSzNBFjDXWAo2MVJVDk4BLcEqaxvDdxqMPiu7hi8Q2tukame1ZpdvmycYiTjlyC3XjjrWMqMK0mktPPodSkoRXva+XXz2R9T3FoI4G8xCr7Cyk8Dpycnt/nNcXqWspJpsqXbHgkCeJgWH1HGR+tedeNvjV8U49ChhuNUkEZbELrborIFGADjnnGSrdzk+lZHwH8a6v4l+NWk6bq00bRXyyqVeNVUuELbwigfMMcCsp4RuD5NLG1GvDnUZu9+xd1jUbBry8tNYtLi6tVG3zYxvdO25ARwa1PDfgubU7P+1NC8Kva6f8AZ90Y1gou/qCFGd2CMHJA5z9Tg+Jr3WG+IFy50fT2S2u5Io7m4uHRp9shCu7A9cYGAMcfjWX4+8f+NbKOfQ2axW3mjPmpZNv3J/dD8k8V1W0iqauKKo8zVe9lt/w52fhvQmgsJdW1GQado9ncLbu8UvmSXMzZURW4QMSysRxwCSOaszeG00lrnVNa0CHxH4XupPL1HyG3G1kxtWWZF+46hx8w7cZ4FcX8O/it4m8P6T/Y9/e29tDb2slzpttbWqs4uN3CyYHy7gTyRwcGpvA/xLmv9J1ePXbr915dpm1trryfPdZGRpZN3DOEPpyoA7UO8E3a8gp0qDt72nZ9LF3xlZ6Lo93AnhPUryYjaYbiMqI5I8AZBYhmxjHI5q1p3iJ7y8it721M0CkrFqCwrDNnsHOdrDI68dx6Vzln4r0HxDqx0zR9F+23Dv5dijK6s7dTtAP3e5Jxx6VstoGs+FraYa5a20c19K0ltaW1ys/lIy52Er1Iw30GATms6snOPvRt8jphRhGblFppdmzsmlM9iNO1mzSe2uI96bzztORv4yVPB5Hp3rm9a0V9FVrvSWa4stuWTADxj0YA9MjqP0o8Ite6tqkF1Jdx2sEMeyGPzt5ZQcFymeTwQT2247Gu91u1ttL097w3UVuwAMrSFRBMD3YZ4z+dclOu8PNKPX7jxcbnGE+sOk4veyf+Z5vPB4m1yO1s9MtCDMRsljnO3aAzEEkYB4PGe1XtP+H1hJE0jeLNPkLOTmAuEX1ALY3YPfGM1ZuxqeiXklz4euLi3kfElxZI5USL94FfXsfWotN8XaRdxtNqC2S3DMS/2iJRJ16HjnHrXZXxlaylH8DDEYqNNJqDlfsd54israz0WPwA3hPxbqTaZAIUvILe5tUvF2KxdJRt8yORmkbcpIwO4riPiFZ2+l/2HL4E8MTxrKHS9EMZkaP5Uk3eax3McSL7Aqce/qHhG+TT0heHQtU0+7S8mubS4k8STQXjkSBdzKCbfkyAECL7pGeKl8Y+KfD1z4rt38Ryatot7bwMEsr3U1EcnmFtzCSO3QbGy2WbI4GOmK86hGNKMFG7te/nf/g6nuQoVowhCMkkuunT5nnvg/4j6/cXgs/GuieE4LedTa7PEFn9oUuoJQKSGkAIByQwAx68VzurfEDwPqF1BZan8KNPljbCyPofiKezgILYY4kWRD97oAM96sy3mm6d4ok07w5qNzrVrC7y3up3Yubgx/LuWCO8kjUun3UUBUPA5PU1fGmmeJV8uOPVPDGichYdN1DUmgmuYmRXEgQRFFT5gANwOQ2AcE16iope90OZ1Oa3LG8l1sv8j1v4OeLPAt78CYZrPSNetfDWkTyW6w311aXAhk2BGL4EAkXZIcp/FuPGea5L9or4keBp7iODwb4fl8yW2jcz3KC0dTjO14o33BQAuMnr9K47QYPE2mxSTxv4WSSG2ZTJDeeejsSyL1QrHkFvrhecmurvvD/h34lXF1r/AImtl0nVLmGD/iY6dbJawXUW4os0cG3hMDHKt7FjWMacYyftNj0PaSnTSpp81tf+AeUXEF4dWj18Wlxd2DLtt7tLN4LdsqFeMKeMg5Ulvvbcgmr664reGbjQb2zs7ix+0iZgI1ilZ9uzO4AMw2jbznA6Y613Pjzwv4i+Hfi618MeEvG2raXb3Fsk99pniy2D6aJGbACXESNCylB5gdcLtOPlIIqHxF4cg1bwnNdS/wDCE2GqOFaK+0vUJvImy2G3RFdxJ6Dhe55ArZ1Ka0uZRpVWuaOve6/pfeYXh+7h1Rb6GygWGQ754bKIssaRd41bBKqMjGcnt3qDQ/EGu3WoXFvJpq20McywySGT5S2eNu4ZHTt6++Krt4XsfB/iqZD8QIZryM7XWGFuFznGwsMg4yD6fWnalqFmt212ZxP5jGR1UkEsV65wQB2x1rnlyOVkr/ecuJw/LTVVQV/kaa65LcTW0E3mXMm+UBDd7duDnLKFHUnqe34VqaLp9prmrXc/iKwl0/S9GiEt9JHfM25jjy4M7RlpBkkDoASeozm+D7DXNWmaxsbmwS5edEmvU2Dliu93TfuO1chQB85UrkZBpfjh4t0ew0ldB8FfNZ6Y8by3RgIed3zmSRclSzsvOF4yB6Y1jQcUn1ZzU4zrLnrL3V5LXyJ/EWo2Wr60t/qNjqVzazIIJYLTUI4YY0ByqbDE2QOB1x8vbgVkySeCLLdJPZ6opQmRYbe5gTavRQziMkDpzt59q5ptR8by6CGuvDNzp1lJGGnupreUSTqTwApxlcjIyvGM56VNrl1aTw2d9c6KyXULbLRApV5ZeMbx02gckHjpnrSjT5dyK8v3mtpX62t/VjQ1Wa0g1JbWKxmDSQtNColEpgJJwGYoN/Q5wAenpz2Hwu1HQdP+J2haNaztLdvdQsjLY/Z3cNneCpycg5HXPTpXJ6Sl1e6fDcvsD7z/AK6UMVGehA+6p5yeAOTmuz+HngrWv7Y0TxrF4Furm1fUreRNcSEqtsiTbZSF3DkEEMcHH61UnBp6amVGdOWIjaNtSv4tu7QaxPpUjadp6Q6pdM9zdkJEoDEAO2Gyxw5wPvHAAzXPQ/EPwro2sR3mp2N3ckShhpcebN7yJQwTMgU7FJCk9wCeM1Z+IdrPf3GopJeXEcV7dySzpBCVE6LK3lMxZcEA7sN6nryaxYdK8I29jHLr0t/crM8iWmlaPPEJG2dfMnYcZx0QccfMTxUUfZWTd7r8f6/plckZVGr+8nu9EvIofEbx5D4v1L+0IvC1ppc+xUxbT4DhQAQxCgHpxx+dc9JqN3czeaNF0KGTADNFFtZwB/Fjqa9Gs9K8LC3mkf4ZFFjiBgXUPEdxMZ5CQFTEZHXJyxAAwevWtNbPwokjzW3w28CW88CJ5zXEcsvlDB+baXIYggA9TkjtkjWWKhGOkHb1X+Z1SVG/NOsvkpf/ACJ554T8WaroFvcLpP8AZunyzgLd3UMAWSQdADL1VRnpjmtmLwH4v8RXUd02t3T7oWkR5EbYwP8ACGHXccjp74rs4PEVxEIbCxuvDtmbe48/ZpmkWsKR4GCTkcnA45OTjiresePvEtto7XFjrd3qr3DOha8vBDGrAfMwMe1egwqZJJ7VhLEOUlaCv5/8N+pFXEU1Dkp1JfKOn/pSMXwr4U1nRdbV4dB1rUZrV40L/ZJY4JAc5CEDlecnrjHvXV694VurjULaK90oKED+ZeyX1uv2Z84V/Lc/MDngdfauUtfEj3ektcancXkl3O7BIo8vGFLEqB5jAKVX5ScNuPOahh1C8uNWSFf7Q0yCABSbp7V4fOkA2hkUrJ26/OAT0IrWVSs+y/r5HMlRkkrSv5SS/wDbX+ZqX17pllotva32rTWmqLKS6MjTAnAAO6MsijABwrY+mMVg6xF4QjulbUtT0triZBIxe5+bnnnaePoeaLixi1q3S31O+KxNKBNMl03k5V/mf5cRgEgg9BhiK7HwvaMNGW4eSz1lbiV3S6uobaQ4zjYrGPOFxjBJxzSjZ7u3oiKVKpG9r2v11/yNPxH4i8Yw/De/1fwb44uNcvodet4nvZruK3kRZwV/fo3yQ7XSMbwxRg+Q3BA4P4vTfFUR295488P6xp+n2zKj61qcaur5OFCSKMKmUbDZAbB5raXSPC+g3X9g6xqttEupWyy/YbmaSX7QPNV4pXYZcfPHxxtbBrrPF2t67c2+tX8fihdNF3c/apdjrFHfOqoyRwBw7FgST1+XLAAda4KVTkWkU1320foe9Ro1pRlztr8TivC/jD4gJ8O9RuPBHibQdUs9K2vJpFlN9jm08FgFk2KwWdchtxjLEDBHXI6bw/deH774eNruuRprlxZ3yadPNFFJcxKrGOTEHm5dVVSeBjcPMxzg07SdQ0zWoWfxH4F8JXniK1UNNaRRtps0aOztCUubfywGIOSZFbkHODyen8My6OfhnFr2lSx+HdLh1U280V3fRzyK7EysrsAhRCInjLEFgVA+YcjlzKpOnQdShHWLV7WWnW/fT59ip4qrTpcy95NeqW2qv9zXmW7f4F+CfEV5Ipj1uK1eTAurMRxxzozbVlTdHvUYJI3dQM4rkviFovw9+F/iWz03UdQ8SWsCTF9MlaGG5liKNn5SzqSCzAhQMd+ua7H+19a0XXdY8SaffXtxazW1u2RdfaLeCDyvMDGFQGgG5nTL4B2jDEMK4i61zQ/EeoW/jjxRDNq+oaY6pDZW5JgiZznKxNhmbaDliMcYAya48txOYVZx57uNr+t108k+uh1UcRg6uFdRwfPotU7X73WjXbqMsvFtong8/D/S/ih4i1HUpppJbFNU8EedcpDKXM8JUXDpLG+5WVvl8sglGUMQavgvSNPs4f8AhX1/8R9Yu5LK4W7Jm8EtJe+Hy8gYCBhKwhWXcQyysYgP4QTuHpdnpdrr3wwsvGOnXM8X9pWn9oR6bcWu1k80hljRRkMDGFIwMYIA5zm7+z9oz/C+71LU1SPVta8RIq6raIjLHO8eCSE3t+8dNwyTt5JI617MqkKMvfnZPyv+hX1dVIaR5n6tf8A828Z+EbfU5be48T+ObLzNPtTbJdT+HLtGKKTtJ8oyKAe+4krj5eCRXO6d4Gs9c1Q6Lo/xI0nUZwGcW0OkaluEa4BfP2cjCkjr69q7T4mfGHQ9Q8VXNnY6NdWSwaYEu55TFPJNvkcgsgOESMAAv1APyqO/jvjDUtP1W8tkg/tLSJHthtM92sCEdAGyNp4OQCy5HXrW/tZ8zV7rvYx+r0klbS/S57l8Kfhlfm6W007XvCV/ZJl5biz1MXV2fl4YQyiI8NnAXoR3JxXJ/Fjw54j8CXCm08KTxT3E8sYurrQpPMhUZzLlWkhIYZIOcjqQK8vTwzr2sX1vbWksUemMipaXxg823lJZkjIaMlljZwu9s/KGJAIXA6vx58RtU8MQnxD4Ya80e8is4bT+z4ryW3t9JuUdIpRJChPnSDytuGYY84udxK1jOVRyjyvmb6baeupjOcFzQjpy67floZeg+JrrxdZrctqsN8I2+03omxMEZWCkHBLYG8dOm4kdDjtvF3hbw/pmj6jq2i2d/p+oaFaxzE2Ya9W6gl8pZQY5WJKqGMhJOAAR6YxpPiprc99oOt+IvAPhDxVcatCt9FJe2C2upWrEkBPtEZjkYksdrMWyOSM4z2d94x+GcvhLV4tQuPE/g241Wzh069trpoL2O1kyokWJS0czLiNVJJG3GcA4FClLRqNovfr/AJk0VRrUZOT5pdOlvy/A8stRpsmkahbveXCswlVJ47ZVaZVwULk/d3Et0ORge+ex+DPi/wAR6Lav4Hmmjk0/XrmJvs14wZrUsU3SRDcvzMuCdw2kL69VsfCWh6nYJb+DvijoeoaisG2eS3s7mNmcsxUmxmQg/KUUmORiMFsHNc38NfB0i/EhtUudYtmm0eSdpbqzDuJZYwwa4dzykYOAu4ZJQ9ARnojHnlbp/kc0MHCn+8jJp9v+CWfHcWvWXxYnu9EuF0+GSwicypI3mRYbCyOeBsZmCFRx8vYVia9YTX+qKHgjWZZREryOZGEpbBaGNTnJYjr19a6jxLFZ+O9W8zRr4q1vbrClvJMIZJlBLF0LDB5YkKe2Kg1DQ9es7W7vbLSQ1np433sk8hhjZQrZXzVyyucEgYyc8A94c3pyf16nPjaNSck1d/j+RlxaDcXVw8qXMl4q5KOco7FCyhSpPyAYH1OemMFbMwPqa3VxpWrzzb2zI7bg0bMOZSpUMxGflUn096j8MnV31q30tZW2lFaSLT5ftDICpdBGV5Y7yFxxgk5xXTaxoOr6peNC3g7UnRGVWey2+bFMxOUucMygrjOXAYjgnIzRKUlO0jh+rzfexzen6fDI0htrBGtMv/oxt2SZiOAq7uikjuCQORnNZF5uuPs8c0m+OzixFasVSG3PzBljVjy3Xk/MSTnNeqWvw1/4lSzajE0H25R5S7lIGGG7zFQnoOOoK9R70PEnwb8PHT5tbm8cXrXPnQrLoq2awrcEBQJVlcOqZx353fNk5IpU6l5a7HVTwNe13on95x9hDaR+Hba/MevRaoGaKGMW6PG78ZKyZHy4z91XOT61iaw/2y1VhqMl35as1xczRlWViSyqqHlwMqM8ZyemK6uT4V3Nxr0I0/xVdMsjbrd5YUixxuBYptG7gEDHp65GX8SvC+ueGb2ytbvxB+8ktGkaV51HzI7BiFUsQchTtbDc5xjBOylHm0ev9eRtUw9TlVoJef8ATI9H07WLvSZpba1N9pb5AhkO2G4IBGdu4BiuSf8AZyBzS33gqeSfEehyyiNQpdXVQT9M+9ex/CXw3oWmeA9P0Nr5beWGz33zSAkvIw3SNyScs5bpwc9K53xZdaLp+uS2vhtrvULVVXzLl7kfvJNozgADpwPwrnrYj2dtTto5R7ZJt7fI2NL8BWMWmyTm7lvrBpjEk+r6SZAUAbYZZrSQMDlcBlTP0xVfxN4R13QY7HW9Pm0XVvCVup81rDxNLuhYrgMjXiggjpsIbJPOScDPbwd4dv4bf+2PFt3PHHu823ijZryWR2JLP0jC/KOgAChsYzzBd/DO/sfDSrDbabHBNcZhjvf3mwNyTEV3oJMZGSAfcHmkp3evp1RXLVUbpfl/w5qW+uXsulxapoEF/cWU8WI5tf06CNZmOCQoCqX4wMx4BOTk1Pa2/hy600Q618KtA1LcskzxaZPLpscjhfupEsm3cFB3SYJwx565paZH458GwPYN4g1SCG4tCxtBdLMbkAn9yIWIjyAQgYnA6j0qlJ4C8XIkl/4h8X2lveBpLiy0eEm4s52eMrIZWO0A7TtKqCBhjn7tKvFQm48yTFGjOrT5oxsd342n0hL6GSy8P3+h6taqSHtddyqWpiZHRTFGsgjA2cMWTr8uK5K60qw8faV5mpXfiCDVNLlKpevqcsiJI4ChlR2dBIudu5QuByQetc3rUq6JqunadoWn3Gual9gii1hnv5EW31AIHkkaRAhKmMgDDhVLDBAG2p/DPxKk07xtfWesQreafZ2kqwNAArXF1ztRpAfmXJYbgD/CeStYYOi40uWkrLsv8isJyU4qTdkr6bW/E9eW9Twz8NbHwxHDctFp9gtpdSW6h1eGKNstEoBYFgsYOBuOD0Brzbxn8bLOHw7YQ6b4evrM7UD3t26wrcW5+6qCQZzuxyBgbe+SBpaN8X9N17UpNPOjrpseobrbzDqBlVXKnYjHyxtDt8pbnGSTwM1prNqdtp9vFP4N0ucxv5TrLDDLBE4QuoDqWyNoY7V64GT3EV6LjK9ZP7+h69Ct7SF6TX/BPDpNWtNfvrIPZWNjILjbFKZizkn5V+cgKOSOg4wPWuttdFtltTYXv+rt70/2lMwSREdeRGHYlVO3ac9QTjcMYrd0Lw5ZWc15A+kWcT3UouHUSeXCHaMOigLxjlfmGAOepFGvy6r4ft9E0l9J0NdT1a5F7MljqSS2trGDtCyqE3Bjjjjkg59a2jO8UoK1u7PKxlKak5t69WtEc5q+tapF4Zj0jxG8LWkVuwjTT43Xyownyh2AYIOD04JJJNX/ABc1p4g8K2evaZZ3k1xaqNOvtFELOxmSJVju2dzgySxAozfKcwDIOc10lnptxqmvW+nWUyiSBvNvr1UhV51DH93CpYYcgYVivAywwQAeem0vV7e11DQL/Trzw9DPpM1y7tp8sixGAGczjJ+ZysDqcNnDn6FJqo1Ubs1+XU5J4hqC1u1+RhaLaWt7eJqd/wCHpIb7TQJIJmcxC3lX51dkYNu74xkVrWI164vr3UdNvbu7t7iDzJJrgoxWc4zgDJIGT6dhzziHQbTU38YSeG7rWruPUNLgSZJTZvJBJFgOsgkI2tEVZT2JBI4INdjqDaw+uhW8GW+lW8tx5NvFZooEkW7BleQthhydojz0Peun94naD07ip0uaHOp6/mchLH4zOqW8XhprILbwiMpHfSCW7Lc+Y4A4yTkqCSAByelct/Zviu08J3mlJDctZb1VWtljK6r+8Ls7gncxBIBDEA4yRxXqiwNNeTAF7NomCJJb3SpLGWXGBt+YEgDnPOcgCtuPTrS1037UbjTnRFMZIdkmRht4OOOd2FJPJJ6HbWXtppe9ubqjUcNWeLWPh6/nS6tP+EfWy3zxteXTXAmaVchZHijyQGxuIGAv5V7D4it/htH4fn8LeCZPFWn6dqaxJdlNk0l7CrgJE5bLKNzRnnkBeoA4rmOy09pbi7h1OR9LZXtbS0RnycFg0igjzVUEEqTzlfQ4wfCOvaBrWkxx6lDq+lzTRyebp8Vk2YGU/PsjCqzB3kKjJPTk1pySnBN21FRpyjJ2nb0KfxQ+H0OleVpemWN1ofyyxtJc3UTyzPjodkm4L6BjyeK7KG7t/B8K+Gpp/wCxdMs4FMupfapLl5BkhiGyjmR03EoQMYABOK5uxmuE8N32sah4etYrSWFLixXUrpttwpUYQui8SAj0bhlwRzVnxlqWiN8IltNV0aG/v9bupLW1jhJZp52YlpGLPu4wp8zdhcKOehqMpte+9f69ToVL2adnp/XyL+g/E2PX/Hj6d4T0HSNYKLPcltRXb5tsqlTcTbGxGqBN7c5GBljnmtqPipNb8J2/hzQLmxhuLH7R/aWpSXAnW5gz8qwAgBXIz2wRtPB4rG0m6m8JaFfaDoHlR6l4gkeGRQqSRTRH955JfBdoVWIM4z1yD1rKbUbfXNPuYoooYfL1AtPcQWrQxTiQLwrtliq88dcEZpqEZap3uL2rte+hueH9RvpdPVZpILeZYBIpnY446Ngncy5z0Han+EdOi1hpbrxZqFjrZsi6u8C7y0ucomN23aOeDzgjFXPh74D0TWNQ1Mya1qWmrZ2kk1lLbW4uFu33cbmkOEHpkbRn1xVfwUbDQvBNsbOGy8tLhwLaCYedK4bGCcfMxIOX6ciuiKpqXoZclWaV3oaSeIrHUrq6sLeG4nmZRDOU/diJXzysgGGHGCD3NeaXWm3Ed9cR22oTeUkzKvlEFcZ9e9dtYeOb6ZDAdHWS6MkoIXHlxNtJUSEdduByPXNeY3WuaxfXEk63ViFMjYEc4jXrzgH3PWuWvFSnojtjUUafxanostrL4W0S51C1Ms8lq4xIdoPVQSfUkn9aZ4i8Sa5bfDmHxJrUki2+q6nIIYTsBKqY93lJGNqKOBljuO48YGaKKxpSc+VSd02b4iKpX5NNDs/CNp/wsXS7bVV0WzhtX1m4trK5A/0+8ZGJaInISJfMcJ3ztLZFFv8Aa5tJmv8AwxMsd3aTfZzBej7VGpLFWjXzc4yQCWBH3RzjIJRWlWnGT18wptqm2ux53b+HTqviW+1+602zjk1Nla90uK5ljtWCOgSQhT97KkjAOCTnNbGpfDfwZafEa3utOmv9XszCJrxWH2ezjudxLR28ZYyBVULy5OWBK4BxRRVYeUo2SZ5/s4ypty11/Ux9DsfCmr+PtDvH8DX1zY2NtM+qPcX6wq8x4jmCxyEu3ylgpGBvIPAzXrWpeI/h/o3hRb6LSPEa2oQC4t11CNBGNxQYKpuA5PAYnpn1oorDGc1avG7t6HTg+WjRdlf1v+jRxcPxc+GmnqYNJ+H+pXD2dv5J+0avIBGgJRFj+bHCHvjGawPB3xP8J3jXt7P4DkPmXA3ytqk0sik8biWYEZB6AnFFFbRwkZQs5St6s5q2NktVBfdf8z0HwrrVtqcbJpPg/TJPJYsscssqCMbgDvPmHcW9gcZre1e9i8GaOuqv4H0e2t5I5YIWW9uHaSR0ZHXZ5m1FKu2T2B46UUVxfVacnZ3+9/5nVTrNwV4rXyRjal4iu7l7fXG8F6cBLGqeS8pMZLr94/vDwAcAYyM/jTLLxheXlnOYvB+hwJDE4n8+MyDAPQZZuD9PrRRU1qEYWUW0vV9PmebicwrUZKMFH/wFf5FPxP4x8Qatomn2lr4Y0TT4Uc3KyW8UcatncqswVQxOVbuevT0yPCOtg332jUtE03X7JVaW5t72zja2jmUERzGIn5ipPAwecZoorqpUoxp6fm/1KjiqlWqr2XorCy6hb3V1d+HmY2k2o2itOIYgkHlyJlf3YyAApjwOgyeK6Hwb8PHma1nW7uPJeBQ0ksolbk/MG3ckEnO3px3oorOcmoHbQipSfkbPx++DWsaz4fW7tJWt9BsbeISW8MqplYUIyMknPPcHIHrg15H4k8O+GtK0WKTQvCT6vrezyrdrgRJBCmwDJBkG75iTyOwoorPC1pyvc1qU4yV/OxH4ZnXw7cQLfwXT3a25MrQzKJrYhQJEjbhcMGGc5+7xiuw1HwtcavfwJatHpFjZuubSKFDBcBl5kG0gqQMLgjsfXNFFehTqS9mpExw8HJ0+hj+dqSLfWOkLNcC8Xyot1yIV24IbIAzgkDj2rl/Ffi2XwvrVstrYxveWMH2WV7tAV8w8kDYc4Gcg/nRRWdGtOa1FiqMaekTz/wAaala3EUU9lrFxfapeQtPqcywGBRKW+4P7w298CuUW8JGRa+d6uzYJP50UV0RVonFJv2trn//Z", + "merchantDisplayName": "Custom Merchant Display Name", + "customEmailMessage": "Custom merchant email message", + "enableReminders": true, + "headerStyle": { + "fontColor": "#000001", + "backgroundColor": "#FFFFFF" + }, + "deliveryLanguage": "en-US", + "defaultCurrencyCode": "USD", + "payerAuthenticationInInvoicing": "enable", + "showVatNumber": false, + "vatRegistrationNumber": "Inv1234" + } + } + } + } + }, + "get": { + "tags": [ + "invoiceSettings" + ], + "summary": "Get Invoice Settings", + "description": "Allows you to retrieve the invoice settings for the payment page.", + "operationId": "getInvoiceSettings", + "x-devcenter-metaData": { + "categoryTag": "Invoicing", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/invoicing/developer/all/rest/invoicing/Introduction.html" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json", + "application/hal+json", + "application/json;charset=utf-8", + "application/hal+json;charset=utf-8" + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "title": "invoicingV2InvoiceSettingsGet200Response", + "example": { + "submitTimeUtc": "2019-07-03T19:26:48Z", + "invoiceSettingsInformation": { + "merchantLogo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2/iaZubL73q21uwbKS79p3fdUDV1XpP58oSrDyoyA92LzvmT+z5LWwcnlo5O/mFLCb6JpQdJ41VMp2s630XIpKpVKj3yhTS0tlWr9Jj+3uNmme+uIXiTj35d8emwyc2IVP9BBc5PGq5O6cwsvLARLsEhdkYw5JbnwrOSqCclZQ/rzwZydNLYnDZcldeOLpN6CvCSE3+mqdN/LtW1/8p1fJc0N3QGb8v7kwhHJBWf25pV8cVJ/WVI/NambUKQYYiGCBe9ex9Fk02vdvx7Y0n2f+OCGZFhTcuaQZOTQ3/2aNu6jSeWVpPJaUnkjydHuy7MYmhTDkuLMpG5UUoxO6sYmdWOSYmRSnF6kaI670AULelTlWMQ6jia73njrf7qe9sEVisPxX+kbASBYAIIFCBaAYAEIFiBYAIIFIFiAYAEIFoBgAYIFIFgAggUIFoBgAQgWIFgAggUgWIBgAQgWgGABggUgWACCBQgWgGABggUgWACCBQgWgGABCBYgWACCBSBYgGABCBaAYAGCBSBYAIIFCBZA/2noqS806cCBomq/yyVtFasGJywAwQIQLECwAAQLQLAAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAug/RaXiM0YBJywAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAABAsQLADBAhAsQLAABAtAsADBAhAsAMECBAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAPrG/wDHqLt3n4mBDgAAAABJRU5ErkJgggiVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAALiUlEQVR42u3df6zV9X3H8df3/uBy4Wrl1qsICJQfDqUNSWuYbWyNMZqiXTPppATpGu5Ekpm4qrRbdZ3BdS4U3RZam6gbtmlGFcW2pK0tMAdoXWew6IiVCshQoCoUKaKXX/ee/XFJOp0rCvfH+d7zeCT8Ry7nvt9fnudzLl/OKSqVSgDKoM4IAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECwAwQIQLECwAAQLQLAAwQIQLADBAgQLQLAA3q6hp77QppYWH3B4zKQDBwpTACcsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwgIGloZof3OysL+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXRk+8pWcfsZvclrr/jQP7Uh9fWc6O+vT8UZz9u09NXtefX9e3nlmdr04Ijv+e0R2vTgiL+86I6/tGZaDHU2pVAoDFiw4cc1DDmbM+BczZerGfPzSJ3LBRU++t+N/XVcaTzuSU0/bn9Hjdvze3/vztVPz2KqP5ZknP5TtW0en483BFjAQn/QqlUqPfKFNLS2Vnn5ws7Pehsr084X6rowZ91I+fukTuWrOwzlr1Mv99lh+vWN4Hrxveh5b9bFsf+HsdHUO3J9+rD8wqWaOl4LFyUWqrisTzn0hn575o8y85qGqfZz3//OfZMX9V2TLc+PS1TWw4iVYgsVxtLbtzeWfWZkv3HpX6R77Py24Lj9efln27m4VLMESrIHsnMlbMm/+v+SiTz5e+u9l7U8uzN13/Fmef3aCYAmWYA0kH/rIs/nrO76W8ZNeGHDf29ZN4/LV+V/KxqcmC5ZgCVa5T1Sbs2Dx32XieVsH/Pe6+Zfjc+v1t+T5ZycKVpVy4yjvqG34niy89ytZurq9JmKVJBPP25qlq9uz8N6vpG34HheBYFHt6hs6M6N9eR7ZcGUu+dSampzBJZ9ak0c2XJkZ7ctT39DpovCS0EvCavSBidtz9/Lr09q21zCO2bu7NfM+szjbNo/xktAJi6p41ioqmdG+PA+umy1Wb9PatjcPrpudGe3LUxQVA3HCcsLqT6eetj933HdzPnzBM4ZxHL/4+ZTMn3N79u871QnLCYu+ds7kLXn0uSvE6l368AXP5NHnrsg5k7cYhmDRly6eti5LV88xiBOwdPWcXDxtnUEIFn1h1txlWbTkFoM4CYuW3JJZc5cZhGDRm6778j258bavG0QPuPG2r+e6L99jEH3I+2HViKKo5KbbFlf1OyqU0Zzrv5PmIR2582+u9yaCTlj0lBsWfEOsesnMax7KDQu+YRCCRU+49qb7/Lyll82auyzX3nSfQQgWJ2P67BW5dv4Sg+iLJ4b5SzJ99gqDECxOxNRPrM/NixYZRB+6edGiTP2EG54Fi/dk1Nid+eYDNxhEP/jmAzdk1NidBtELqvq/5pTVpAMH+vmfiw4mr0+oJIcso980JadsKRKf3uOExXF69Zdi1e8OHdsDgsX/7+jKSo4sNYdqcGRp9z4QLN5BZe+16bjaHKpJx9Xde0Gw+D8vBe82BHsRLKpf539WcvT75lCVL9O/370fBIskOZq8Od0Yqtmb07v3hGDVvCMPV5LD5lDVDh/bEyfDfVi9oG/vwzqYvH622ZfFKS+5N8sJq5ZPV8vEyr6csJywynDCOpy8PtLcS3fK2lkkg8zBCavGuCnR3gSL0jh4kxnYm2BRAl2/qqTiQ09LqbK3e38IVs047E357E+wKMfVnhxxwZfakSVx75xg1YbOZ7ycsEfBoizPzg+YgT0KFmXQlRz5tjEMiGB9u3ufCNbA7dVOLyPsU7AoywXuE1nsU7Aoi6M/MQP7FCxK4sjDZmCfgkUJVN4wA3sVLMpyYb/qB7T2KliURNd2M7BXwaIsz8RbzcBeBYuyPBO7sO1VsCjNhb3NDOxVsCjLhb3TDOxVsCiJym4zsFfBoiwX9n4zsFfBoix8crC9Chal0WAE9ipYlERxqhnYq2BRlgu7zQzsVbAoy7ZGmoG9ChZl2dYHzMBeBYuybGu8GdirYFEShQvbXgWL0mxrjBnYq2BRlmfiMwpDsFfBoiQX9lAzsFfBokQap5uBfQoWJdHwSTOwT8GiLBs73wzsU7Aoy8ZG+gGtfQoWJVpZ4+eNYSBo/Ly/goJVCxf6Z83AHgWLkqif4mWEPQoWZTEoaWw3hlKfrtq794hg1UazBMv+BIvSbO4PihSt5lBGRWv3/hCsmjL4TjOwN8GiJBou8yxtb7U1ulr4Jj+3uLlv/8AlbZW++qOuHJfc/BEXcrlOV37Y7oRVo3683QxKpXGG05Vg1a5DncmtT5pDOU5XdyUZbA6CVdt++mJypMscqtugpHG605Vg0VlJ/nytOVS1IQ/HJzwLFsc8vSdZ9ZI5VKWGP07q/9DpSrD43xb+wgyq0uCF8wxBsHib3x5ObnzcHKpK878mRes9BiFYvIPHfp2s2GYOVaFxlptEBYvj+dqG5HCnOfSvpmTwQrESLI7nUGfy2ZXm0K+GPh73XAkW79KOA8l168yhXwx5KKkb63QlWLwXT76S3P6UOfSpwXcm9ReJlWBxIr73QnLPs+bQJ5q+lDT+qVgJFifj3l8m391sDr1q0Lxk0BfFSrDoCf/4dHK/aPVSrOYmTX8rVoJFT6kkufPp5FubzKJnY/WFpOn2ItErwaLH3bUx+YenzaFHNH01abpFqQSL3vTdzckXnzCHk9L8rWTQPLESLPrCmp3JrFXmcEKGrkkarhArwaIvbd6XXPKDZMNus3hX6j+atDx/aeomi5Vg0R/2H07mrUkWbTCL36vp75MhPyhSDFttGIJFP6okWbYlmfHTZO9B83iLoi0Z+rNk0DX+JVCwqCbb9ieX/9Bp6y2nqpb/KlJ3jlIJFtWos9J92rr8h8m/7ajRITT8UdKy8dipyvuwCxZVb3dH8lf/kVy9Ktn821r523BeMvTfk+YlRYrhTlWCRdk8vy+ZtTJpfzTZOlDDVXduMuSRZOjaInUfFCrBouw2", + "merchantDisplayName": "string", + "customEmailMessage": "string", + "enableReminders": true, + "headerStyle": { + "fontColor": "#000001", + "backgroundColor": "#FFFFFF" + }, + "deliveryLanguage": "en-US", + "defaultCurrencyCode": "USD", + "payerAuthentication3DSVersion": true, + "showVatNumber": false, + "vatRegistrationNumber": "Inv1234" + } + }, + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n" + }, + "invoiceSettingsInformation": { + "type": "object", + "properties": { + "merchantLogo": { + "description": "The image file, which must be encoded in Base64 format. Supported file formats are `png`, `jpg`, and `gif`. The image file size restriction is 1 MB.", + "type": "string", + "maxLength": 10000000 + }, + "merchantDisplayName": { + "description": "The merchant's display name shown on the invoice.", + "type": "string", + "maxLength": 100 + }, + "customEmailMessage": { + "description": "The content of the email message that we send to your customers.", + "type": "string", + "maxLength": 2000 + }, + "enableReminders": { + "description": "Whether you would like us to send an auto-generated reminder email to your invoice recipients. Currently, this reminder email is sent five days before the invoice is due and one day after it is past due.", + "type": "boolean" + }, + "headerStyle": { + "type": "object", + "properties": { + "fontColor": { + "description": "The invoice font color. The format is a valid hexadecimal code prefixed with `#`, such as `#000000` for black.", + "type": "string", + "maxLength": 7, + "pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$" + }, + "backgroundColor": { + "description": "The invoice background color. The format is a valid hexadecimal code prefixed with `#`, such as `#ffffff` for white.", + "type": "string", + "maxLength": 7, + "pattern": "^#(?:[0-9a-fA-F]{3}){1,2}$" + } + } + }, + "deliveryLanguage": { + "description": "The language of the email that we send to your customers. Possible values are `zh-CN`, `zh-TW`, `en-US`, `fr-FR`, `de-DE`, `ja-JP`, `pt-BR`, `ru-RU` and `es-419`.", + "type": "string", + "maxLength": 6 + }, + "defaultCurrencyCode": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\n#### Used by\n**Authorization**\nRequired field.\n\n**Authorization Reversal**\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### PIN Debit\nCurrency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf).\nReturned by PIN debit purchase.\n\nFor PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing.\nFor the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf).\n\nRequired field for PIN Debit purchase and PIN Debit credit requests.\nOptional field for PIN Debit reversal requests.\n\n#### GPX\nThis field is optional for reversing an authorization or credit.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n\n#### Tax Calculation\nRequired for international tax and value added tax only.\nOptional for U.S. and Canadian taxes.\nYour local currency.\n" + }, + "payerAuthentication3DSVersion": { + "description": "The 3D Secure payer authentication status for a merchant's invoice payments.", + "type": "boolean", + "default": false + }, + "showVatNumber": { + "description": "Display VAT number on Invoice.", + "type": "boolean", + "default": false + }, + "vatRegistrationNumber": { + "type": "string", + "maxLength": 21, + "description": "Your government-assigned tax identification number.\n\n#### Tax Calculation\nRequired field for value added tax only. Not applicable to U.S. and Canadian taxes. \n" + } + } + } + } } }, "400": { @@ -83486,6 +83751,7 @@ }, "externalOrganizationId": { "type": "string", + "maxLength": 36, "description": "Payworks MerchantId for given organizationId.\n" }, "referenceNumber": { @@ -84920,6 +85186,7 @@ }, "externalOrganizationId": { "type": "string", + "maxLength": 36, "description": "Payworks MerchantId for given organizationId.\n" }, "referenceNumber": { @@ -85644,6 +85911,18227 @@ } } }, + "/boarding/v1/registrations": { + "post": { + "tags": [ + "Merchant Boarding" + ], + "x-devcenter-metaData": { + "categoryTag": "Merchant_Boarding", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "isJstreeExpansionLimited": true, + "disableProcessorDropDown": true, + "authorizationType": [ + "Json Web Token" + ], + "overrideMerchantCredential": "apitester00", + "developerGuides": "https://developer.cybersource.com/api/developer-guides/Merchant-Boarding-API_ditamap/Merchant-Boarding-API.html" + }, + "summary": "Create a boarding registration", + "description": "Create a registration to board merchant\n\nIf you have Card Processing product enabled in your boarding request, select payment processor from Configuration -> Sample Request.\nYou may unselect attributes from the Request Builder tree which you do not need in the request.\nFor VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request.\ne.g. replace VPC with <your vpc processor>\n", + "operationId": "postRegistration", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "header", + "name": "v-c-idempotency-id", + "type": "string", + "description": "defines idempotency of the request", + "required": false + }, + { + "in": "body", + "name": "postRegistrationBody", + "description": "Boarding registration data", + "required": true, + "schema": { + "type": "object", + "properties": { + "registrationInformation": { + "type": "object", + "properties": { + "boardingRegistrationId": { + "type": "string", + "maxLength": 60, + "example": "1234124", + "readOnly": true + }, + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n", + "readOnly": true + }, + "status": { + "type": "string", + "readOnly": true, + "description": "The status of Registration request\nPossible Values:\n - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id\n - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process.\n - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information.\n - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information.\n", + "enum": [ + "PROCESSING", + "SUCCESS", + "FAILURE", + "PARTIAL" + ] + }, + "boardingPackageId": { + "type": "string", + "maxLength": 60, + "example": 1004001 + }, + "boardingFlow": { + "type": "string", + "description": "Determines the boarding flow for this registration.\nPossible Values:\n - 'ENTERPRISE'\n - 'SMB'\n - 'ADDPRODUCT'\n", + "enum": [ + "ENTERPRISE", + "SMB", + "ADDPRODUCT" + ] + }, + "mode": { + "type": "string", + "description": "In case mode is not provided the API will use COMPLETE as default\nPossible Values:\n - 'COMPLETE'\n - 'PARTIAL'\n", + "enum": [ + "COMPLETE", + "PARTIAL" + ] + }, + "salesRepId": { + "type": "string", + "maxLength": 60, + "example": "Rep1" + } + } + }, + "integrationInformation": { + "type": "object", + "properties": { + "oauth2": { + "type": "array", + "items": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "maxLength": 32, + "example": "client123" + }, + "state": { + "type": "string", + "maxLength": 20, + "example": "test123" + } + }, + "required": [ + "client_id" + ] + } + }, + "tenantConfigurations": { + "type": "array", + "description": "tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.", + "items": { + "type": "object", + "properties": { + "solutionId": { + "type": "string", + "maxLength": 8, + "minLength": 8, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "The solutionId is the unique identifier for this system resource.\nPartner can use it to reference the specific solution through out the system.\n", + "example": "YumSolution1" + }, + "tenantInformation": { + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "maxLength": 50, + "minLength": 1, + "description": "The TenantId is an external Solution Identifier given by Tech Partners like SAP.", + "example": "SAP123" + } + } + } + }, + "required": [ + "solutionId" + ] + } + } + } + }, + "organizationInformation": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + }, + "parentOrganizationId": { + "type": "string", + "description": "This field is required for Organization Types: MERCHANT, TRANSACTING\n", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1-acct" + }, + "childOrganizations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "transactional-org" + } + }, + "type": { + "type": "string", + "description": "Determines the type of organization in the hirarchy that this registration will use to onboard this Organization\nPossible Values:\n - 'TRANSACTING'\n - 'STRUCTURAL'\n - 'MERCHANT'\n", + "enum": [ + "TRANSACTING", + "STRUCTURAL", + "MERCHANT" + ] + }, + "status": { + "type": "string", + "description": "Determines the status that the organization will be after being onboarded\nPossible Values:\n - 'LIVE'\n - 'TEST'\n - 'DRAFT'\n", + "enum": [ + "LIVE", + "TEST", + "DRAFT" + ] + }, + "configurable": { + "description": "This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration.", + "type": "boolean", + "default": false, + "example": false + }, + "businessInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 60, + "minLength": 1, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "Betos Restaurant" + }, + "doingBusinessAs": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "Betos Restaurant" + }, + "description": { + "type": "string", + "maxLength": 250, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\\n\\ra-zA-Z0-9().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "International food Restaurant" + }, + "startDate": { + "type": "string", + "format": "date", + "pattern": "^\\d{4}\\-(0[1-9]|1[012])\\-(0[1-9]|[12][0-9]|3[01])$", + "example": "2019-06-11T00:00:00.000Z", + "description": "`Format: YYYY-MM-DD`\nExample 2016-08-11 equals August 11, 2016\n" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "maxLength": 2, + "minLength": 2, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "US" + }, + "address1": { + "type": "string", + "maxLength": 60, + "minLength": 1, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "123 Fake st" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "apt 2" + }, + "locality": { + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z _\\-\u00a1-\uffff]+$", + "description": "City of the billing address.", + "example": "Bellevue" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z\u00a1-\uffff ]*$", + "description": "State or province of the billing address. Required for United States and Canada.", + "example": "WA" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "pattern": "^[0-9a-zA-Z ]*$", + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada.", + "example": 3384 + } + }, + "required": [ + "country", + "address1", + "locality" + ] + }, + "timeZone": { + "type": "string", + "description": "Merchant perferred time zone\nPossible Values:\n- 'Pacific/Pago_Pago'\n- 'Pacific/Honolulu'\n- 'America/Anchorage'\n- 'America/Vancouver'\n- 'America/Los_Angeles'\n- 'America/Phoenix'\n- 'America/Edmonton'\n- 'America/Denver'\n- 'America/Winnipeg'\n- 'America/Mexico_City'\n- 'America/Chicago'\n- 'America/Bogota'\n- 'America/Indianapolis'\n- 'America/New_York'\n- 'America/La_Paz'\n- 'America/Halifax'\n- 'America/St_Johns'\n- 'America/Buenos_Aires'\n- 'America/Godthab'\n- 'America/Sao_Paulo'\n- 'America/Noronha'\n- 'Atlantic/Cape_Verde'\n- 'GMT'\n- 'Europe/Dublin'\n- 'Europe/Lisbon'\n- 'Europe/London'\n- 'Africa/Tunis'\n- 'Europe/Vienna'\n- 'Europe/Brussels'\n- 'Europe/Zurich'\n- 'Europe/Prague'\n- 'Europe/Berlin'\n- 'Europe/Copenhagen'\n- 'Europe/Madrid'\n- 'Europe/Budapest'\n- 'Europe/Rome'\n- 'Africa/Tripoli'\n- 'Europe/Monaco'\n- 'Europe/Malta'\n- 'Europe/Amsterdam'\n- 'Europe/Oslo'\n- 'Europe/Warsaw'\n- 'Europe/Stockholm'\n- 'Europe/Belgrade'\n- 'Europe/Paris'\n- 'Africa/Johannesburg'\n- 'Europe/Minsk'\n- 'Africa/Cairo'\n- 'Europe/Helsinki'\n- 'Europe/Athens'\n- 'Asia/Jerusalem'\n- 'Europe/Riga'\n- 'Europe/Bucharest'\n- 'Europe/Istanbul'\n- 'Asia/Riyadh'\n- 'Europe/Moscow'\n- 'Asia/Dubai'\n- 'Asia/Baku'\n- 'Asia/Tbilisi'\n- 'Asia/Calcutta'\n- 'Asia/Katmandu'\n- 'Asia/Dacca'\n- 'Asia/Rangoon'\n- 'Asia/Jakarta'\n- 'Asia/Saigon'\n- 'Asia/Bangkok'\n- 'Australia/Perth'\n- 'Asia/Hong_Kong'\n- 'Asia/Macao'\n- 'Asia/Kuala_Lumpur'\n- 'Asia/Manila'\n- 'Asia/Singapore'\n- 'Asia/Taipei'\n- 'Asia/Shanghai'\n- 'Asia/Seoul'\n- 'Asia/Tokyo'\n- 'Asia/Yakutsk'\n- 'Australia/Adelaide'\n- 'Australia/Brisbane'\n- 'Australia/Broken_Hill'\n- 'Australia/Darwin'\n- 'Australia/Eucla'\n- 'Australia/Hobart'\n- 'Australia/Lindeman'\n- 'Australia/Sydney'\n- 'Australia/Lord_Howe'\n- 'Australia/Melbourne'\n- 'Asia/Magadan'\n- 'Pacific/Norfolk'\n- 'Pacific/Auckland'\n", + "enum": [ + "Pacific/Pago_Pago", + "Pacific/Honolulu", + "America/Anchorage", + "America/Vancouver", + "America/Los_Angeles", + "America/Phoenix", + "America/Edmonton", + "America/Denver", + "America/Winnipeg", + "America/Mexico_City", + "America/Chicago", + "America/Bogota", + "America/Indianapolis", + "America/New_York", + "America/La_Paz", + "America/Halifax", + "America/St_Johns", + "America/Buenos_Aires", + "America/Godthab", + "America/Sao_Paulo", + "America/Noronha", + "Atlantic/Cape_Verde", + "GMT", + "Europe/Dublin", + "Europe/Lisbon", + "Europe/London", + "Africa/Tunis", + "Europe/Vienna", + "Europe/Brussels", + "Europe/Zurich", + "Europe/Prague", + "Europe/Berlin", + "Europe/Copenhagen", + "Europe/Madrid", + "Europe/Budapest", + "Europe/Rome", + "Africa/Tripoli", + "Europe/Monaco", + "Europe/Malta", + "Europe/Amsterdam", + "Europe/Oslo", + "Europe/Warsaw", + "Europe/Stockholm", + "Europe/Belgrade", + "Europe/Paris", + "Africa/Johannesburg", + "Europe/Minsk", + "Africa/Cairo", + "Europe/Helsinki", + "Europe/Athens", + "Asia/Jerusalem", + "Europe/Riga", + "Europe/Bucharest", + "Europe/Istanbul", + "Asia/Riyadh", + "Europe/Moscow", + "Asia/Dubai", + "Asia/Baku", + "Asia/Tbilisi", + "Asia/Calcutta", + "Asia/Katmandu", + "Asia/Dacca", + "Asia/Rangoon", + "Asia/Jakarta", + "Asia/Saigon", + "Asia/Bangkok", + "Australia/Perth", + "Asia/Hong_Kong", + "Asia/Macao", + "Asia/Kuala_Lumpur", + "Asia/Manila", + "Asia/Singapore", + "Asia/Taipei", + "Asia/Shanghai", + "Asia/Seoul", + "Asia/Tokyo", + "Asia/Yakutsk", + "Australia/Adelaide", + "Australia/Brisbane", + "Australia/Broken_Hill", + "Australia/Darwin", + "Australia/Eucla", + "Australia/Hobart", + "Australia/Lindeman", + "Australia/Sydney", + "Australia/Lord_Howe", + "Australia/Melbourne", + "Asia/Magadan", + "Pacific/Norfolk", + "Pacific/Auckland" + ], + "example": "America/Chicago" + }, + "websiteUrl": { + "type": "string", + "maxLength": 100, + "pattern": "\\b((?:https?://|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:'\".,<>?\u00c2\u00ab\u00c2\u00bb\u00e2\u20ac\u0153\u00e2\u20ac\u009d\u00e2\u20ac\u02dc\u00e2\u20ac\u2122]))", + "example": "www.test.com" + }, + "type": { + "type": "string", + "description": "Business type\nPossible Values:\n - 'PARTNERSHIP'\n - 'SOLE_PROPRIETORSHIP'\n - 'CORPORATION'\n - 'LLC'\n - 'NON_PROFIT'\n - 'TRUST'\n", + "enum": [ + "PARTNERSHIP", + "SOLE_PROPRIETORSHIP", + "CORPORATION", + "LLC", + "NON_PROFIT", + "TRUST" + ] + }, + "taxId": { + "type": "string", + "maxLength": 9, + "pattern": "\\d{9}", + "example": 254324 + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4564561234 + }, + "businessContact": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + } + }, + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ] + }, + "technicalContact": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + } + }, + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ] + }, + "emergencyContact": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + } + }, + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ] + }, + "merchantCategoryCode": { + "type": "string", + "maxLength": 4, + "pattern": "^\\d{3,4}$", + "example": 5300, + "description": "Industry standard Merchant Category Code (MCC)" + } + }, + "required": [ + "name" + ] + }, + "KYC": { + "type": "object", + "properties": { + "whenIsCustomerCharged": { + "type": "string", + "enum": [ + "ONETIMEBEFORE", + "ONETIMEAFTER", + "OTHER" + ], + "example": "ONETIMEBEFORE" + }, + "whenIsCustomerChargedDescription": { + "type": "string", + "maxLength": 100 + }, + "offerSubscriptions": { + "type": "boolean", + "example": true + }, + "monthlySubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 30 + }, + "quarterlySubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 20 + }, + "semiAnnualSubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 50 + }, + "annualSubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 100 + }, + "timeToProductDelivery": { + "type": "string", + "enum": [ + "INSTANT", + "UPTO2", + "UPTO5", + "UPTO10", + "GREATERTHAN10" + ] + }, + "estimatedMonthlySales": { + "type": "number", + "format": "currency", + "pattern": "^\\d{1,8}(\\.\\d{1,2})?$", + "example": 10000.5 + }, + "averageOrderAmount": { + "type": "number", + "format": "currency", + "pattern": "^\\d{1,6}(\\.\\d{1,2})?$", + "example": 50.5 + }, + "largestExpectedOrderAmount": { + "type": "number", + "format": "currency", + "pattern": "^\\d{1,6}(\\.\\d{1,2})?$", + "example": 100.5 + }, + "depositBankAccount": { + "type": "object", + "properties": { + "accountHolderName": { + "type": "string", + "maxLength": 40, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John Doe" + }, + "accountType": { + "type": "string", + "enum": [ + "checking", + "savings", + "corporatechecking", + "corporatesavings" + ], + "example": "checking" + }, + "accountRoutingNumber": { + "type": "string", + "maxLength": 9, + "pattern": "\\d{9}" + }, + "accountNumber": { + "type": "string", + "maxLength": 17, + "pattern": "^\\d{5,17}$" + } + }, + "required": [ + "accountHolderName", + "accountType", + "accountRoutingNumber", + "accountNumber" + ] + } + }, + "required": [ + "whenIsCustomerCharged", + "offerSubscriptions", + "timeToProductDelivery", + "estimatedMonthlySales", + "averageOrderAmount", + "largestExpectedOrderAmount" + ] + }, + "owners": { + "type": "array", + "items": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John" + }, + "birthDate": { + "type": "string", + "format": "date", + "pattern": "^\\d{4}\\-(0[1-9]|1[012])\\-(0[1-9]|[12][0-9]|3[01])$", + "example": "2016-08-11T00:00:00.000Z", + "description": "`Format: YYYY-MM-DD`\nExample 2016-08-11 equals August 11, 2016\n" + }, + "isPrimary": { + "type": "boolean", + "description": "Determines whether the owner is the Primary owner of the organization", + "example": true + }, + "ssn": { + "type": "string", + "maxLength": 12, + "pattern": "^\\d{3}-\\d{2}-\\d{4}$|^\\d{9,9}$", + "example": 123456789, + "description": "Social Security Number" + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "pattern": "^(?!^0+$)[a-zA-Z0-9]{3,20}$", + "example": "1234556", + "description": "Passport number" + }, + "passportCountry": { + "type": "string", + "maxLength": 2, + "minLength": 2, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "US" + }, + "jobTitle": { + "type": "string", + "maxLength": 100, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "Director" + }, + "hasSignificantResponsability": { + "type": "boolean", + "description": "Determines whether owner has significant responsibility to control, manage or direct the company", + "example": true + }, + "ownershipPercentage": { + "type": "number", + "pattern": "^[0-9]$|^[1-9][0-9]$|^(100)$", + "description": "Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100", + "example": 25 + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "maxLength": 2, + "minLength": 2, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "US" + }, + "address1": { + "type": "string", + "maxLength": 60, + "minLength": 1, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "123 Fake st" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "apt 2" + }, + "locality": { + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z _\\-\u00a1-\uffff]+$", + "description": "City of the billing address.", + "example": "Bellevue" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z\u00a1-\uffff ]*$", + "description": "State or province of the billing address. Required for United States and Canada.", + "example": "WA" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "pattern": "^[0-9a-zA-Z ]*$", + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada.", + "example": 3384 + } + }, + "required": [ + "country", + "address1", + "locality" + ] + } + }, + "required": [ + "firstName", + "lastName", + "birthDate", + "jobTitle", + "hasSignificantResponsability", + "ownershipPercentage", + "phoneNumber", + "email", + "address", + "isPrimary" + ] + } + } + }, + "required": [ + "businessInformation" + ] + }, + "productInformation": { + "type": "object", + "properties": { + "selectedProducts": { + "type": "object", + "properties": { + "payments": { + "type": "object", + "title": "paymentProducts", + "properties": { + "cardProcessing": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "features": { + "type": "object", + "description": "This is a map. The allowed keys are below. Value should be an object containing a sole boolean property - enabled.\n\n \n \n \n \n \n \n
cardPresent
cardNotPresent
\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "cardPresent", + "cardNotPresent" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "common": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "e.g.\n* amexdirect\n* barclays2\n* CUP\n* EFTPOS\n* fdiglobal\n* gpx\n* smartfdc\n* tsys\n* vero\n* VPC\n\nFor VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request.\ne.g. replace VPC with <your vpc processor>\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "amexdirect", + "barclays2", + "CUP", + "EFTPOS", + "fdiglobal", + "gpx", + "smartfdc", + "tsys", + "vero", + "VPC" + ], + "type": "object", + "properties": { + "batchGroup": { + "type": "string", + "description": "Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria:\n\n* Timezone\n* Merchant deadlines\n* Large merchants (top 10)\n* Merchants with Service-Level Agreements\n\nApplicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequired
Barclayscnp, cp, hybridYes
Barclays HISOcnp, cp, hybridYes
American Express Directcnp, cp, hybridNo
\n" + }, + "businessApplicationId": { + "type": "string", + "description": "Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors." + }, + "merchantVerificationValue": { + "type": "string", + "description": "Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors." + }, + "abaNumber": { + "type": "string", + "description": "Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors." + }, + "acquirer": { + "type": "object", + "description": "Identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant.", + "properties": { + "institutionId": { + "type": "string", + "description": "Identifier of the acquirer. This number is usually assigned by Visa.\nApplicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegexDefault Value
American Express Directcnp, cp, hybridYes113^[0-9]+$1111
\n" + }, + "interbankCardAssociationId": { + "type": "string", + "description": "Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors." + }, + "discoverInstitutionId": { + "type": "string", + "description": "Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors." + }, + "countryCode": { + "type": "string", + "description": "ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors." + }, + "fileDestinationBin": { + "type": "string", + "description": "The BIN to which this\u00a0capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors." + } + } + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclays HISOcp, cnp, hybridYes115^[0-9a-zA-Z]+$
Barclayscp, cnp, hybridYes111^[0-9a-zA-Z]+$
\n" + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclays HISOcnp, hybridYes116^[0-9a-zA-Z]+$
Barclays HISOcpNo116^[0-9a-zA-Z]+$
\n" + }, + "paymentTypes": { + "type": "object", + "description": "Valid values are:\n* VISA\n* MASTERCARD\n* AMERICAN_EXPRESS\n* CUP\n* EFTPOS\n* DINERS_CLUB\n* DISCOVER\n* JCB\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "VISA", + "MASTERCARD", + "AMERICAN_EXPRESS", + "DISCOVER", + "DINERS_CLUB", + "JCB", + "PIN_DEBIT" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "currencies": { + "type": "object", + "description": "Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "USD", + "CAD", + "GBP", + "EUR", + "CHF", + "NGN", + "ETB", + "CUP", + "AZN", + "RWF", + "DOP", + "GMD", + "BBD", + "GTG", + "NPR", + "SHP", + "BZD", + "JMP", + "PHP", + "BRL", + "TZS", + "BAM", + "ISK", + "KWD", + "RON", + "ARS", + "SBD", + "NOK", + "KRW", + "TJS", + "JOD", + "MOP", + "CLP", + "SOS", + "MGA", + "LVL", + "GIP", + "PYG", + "SAR", + "PGK", + "SGD", + "ROL", + "BSD", + "TRY", + "CDF", + "SYP", + "BMD", + "MRO", + "WST", + "GHS", + "BTN", + "HNL", + "MAD", + "GAR", + "SRD", + "BDT", + "KGS", + "GNF", + "CNY", + "JPY", + "LYD", + "TTD", + "CVE", + "SZL", + "ZMW", + "KPW", + "PEN", + "YER", + "VEB", + "KHR", + "VEF", + "VUV", + "SLL", + "AFN", + "SCR", + "BOB", + "COP", + "LTL", + "EGP", + "HUF", + "RSD", + "AOA", + "MYR", + "MTL", + "CYP", + "FKP", + "GYD", + "PLN", + "KMF", + "SGD", + "IQD", + "DKK", + "KES", + "UZS", + "TMM", + "NZD", + "LKR", + "EEK", + "SKK", + "ANG", + "INR", + "UYU", + "LSL", + "TND", + "STD", + "HTG", + "VND", + "AED", + "MZN", + "BND", + "KZT", + "PKR", + "XCD", + "RUB", + "MKD", + "BWP", + "AWG", + "GEL", + "MDL", + "HKD", + "MVR", + "amd", + "IRR", + "NAD", + "MWK", + "MNT", + "CRC", + "XPF", + "LAK", + "HRK", + "ALL", + "TOP", + "BIF", + "MUR", + "PAB", + "FJD", + "CZK", + "ZWD", + "KYD", + "IDR", + "BGN", + "MXN", + "UGX", + "MMK", + "UAH", + "DZD", + "XAF", + "THB", + "OMR", + "XOF", + "AUD", + "ZAR", + "LBP", + "NIO", + "DJF", + "LRD", + "TWD", + "ERN", + "BHD", + "ILS", + "SEK", + "BYR" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enabledCardPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled." + }, + "enabledCardNotPresent": { + "type": "boolean", + "description": "Indicates whether the card-not-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled." + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party." + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n" + }, + "terminalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Applicable for Prisma (prisma) processor." + }, + "serviceEnablementNumber": { + "type": "string", + "description": "Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards.\n10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant.\n" + } + } + } + } + } + } + }, + "currencies": { + "type": "object", + "description": "Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "USD", + "CAD", + "GBP", + "EUR", + "CHF", + "NGN", + "ETB", + "CUP", + "AZN", + "RWF", + "DOP", + "GMD", + "BBD", + "GTG", + "NPR", + "SHP", + "BZD", + "JMP", + "PHP", + "BRL", + "TZS", + "BAM", + "ISK", + "KWD", + "RON", + "ARS", + "SBD", + "NOK", + "KRW", + "TJS", + "JOD", + "MOP", + "CLP", + "SOS", + "MGA", + "LVL", + "GIP", + "PYG", + "SAR", + "PGK", + "SGD", + "ROL", + "BSD", + "TRY", + "CDF", + "SYP", + "BMD", + "MRO", + "WST", + "GHS", + "BTN", + "HNL", + "MAD", + "GAR", + "SRD", + "BDT", + "KGS", + "GNF", + "CNY", + "JPY", + "LYD", + "TTD", + "CVE", + "SZL", + "ZMW", + "KPW", + "PEN", + "YER", + "VEB", + "KHR", + "VEF", + "VUV", + "SLL", + "AFN", + "SCR", + "BOB", + "COP", + "LTL", + "EGP", + "HUF", + "RSD", + "AOA", + "MYR", + "MTL", + "CYP", + "FKP", + "GYD", + "PLN", + "KMF", + "SGD", + "IQD", + "DKK", + "KES", + "UZS", + "TMM", + "NZD", + "LKR", + "EEK", + "SKK", + "ANG", + "INR", + "UYU", + "LSL", + "TND", + "STD", + "HTG", + "VND", + "AED", + "MZN", + "BND", + "KZT", + "PKR", + "XCD", + "RUB", + "MKD", + "BWP", + "AWG", + "GEL", + "MDL", + "HKD", + "MVR", + "amd", + "IRR", + "NAD", + "MWK", + "MNT", + "CRC", + "XPF", + "LAK", + "HRK", + "ALL", + "TOP", + "BIF", + "MUR", + "PAB", + "FJD", + "CZK", + "ZWD", + "KYD", + "IDR", + "BGN", + "MXN", + "UGX", + "MMK", + "UAH", + "DZD", + "XAF", + "THB", + "OMR", + "XOF", + "AUD", + "ZAR", + "LBP", + "NIO", + "DJF", + "LRD", + "TWD", + "ERN", + "BHD", + "ILS", + "SEK", + "BYR" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enabledCardPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled.\n" + }, + "enabledCardNotPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled.\n" + }, + "merchantId": { + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscp, cnp, hybridYes111^[0-9a-zA-Z]+$
\n" + }, + "terminalId": { + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscp, cnp, hybridYes88^[0-9]+$
\n" + }, + "terminalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Applicable for Prisma (prisma) processor." + }, + "serviceEnablementNumber": { + "description": "Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards.\n10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcp, cnp, hybridYes1010^[0-9]+$
\n" + } + } + } + }, + "sicCode": { + "type": "string", + "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." + }, + "allowMultipleBills": { + "type": "boolean", + "description": "Allows multiple captures for a single authorization transaction.\nApplicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, hybridYesNo
American Express DirectcnpNoNo
\n" + }, + "allowMerchantDescriptorOverride": { + "type": "boolean", + "description": "Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors." + }, + "enhancedData": { + "type": "string", + "description": "To enable airline transactions.\nApplicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequired
Barclayscnp, cp, hybridNo
American Express Directcp, cnp, hybridNo
\n" + }, + "fireSafetyIndicator": { + "type": "boolean", + "description": "Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors." + }, + "quasiCash": { + "type": "boolean", + "description": "To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:-\nCasino gaming chips,\nMoney orders,\nWire transfers.\n\nApplicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclayscnp, cp, hybridNoNo
\n" + }, + "acquirerMerchantId": { + "type": "string", + "description": "Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors." + }, + "avsFormat": { + "type": "string", + "description": "Enables Enhanced AVS/Automated Address Verification Plus (AAV+).\n\nValid values:\n\"basic\" - Standard address verification system.\n When a processor supports AVS for a transaction\u2019s card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address.\n When a customer provides incorrect information, the transaction might be fraudulent.\n\"basic + name\" - Enhanced address verification system.\n Consists of the standard AVS functionality plus verification of some additional fields.\n The additional fields that are verified for Enhanced AVS are:\n - customer_firstname\n - customer_lastname\n\"basic + name + shipto\" - Automated address verification plus.\n Consists of the Enhanced AVS functionality plus verification of some additional fields.\n AAV+ intended for merchants who deliver physical goods to a different address than the billing address.\n AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first.\n For information about Enhanced AVS - The additional fields that are verified for AAV+ are:\n - ship_to_firstname\n - ship_to_lastname\n - ship_to_address1\n - ship_to_country\n - ship_to_zip\n - ship_to_phone\n - customer_phone(American Express Direct only)\n\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcnp, cp, hybridYesbasic
\n" + }, + "enableLongTransRefNo": { + "type": "boolean", + "description": "Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no.\nCan be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal.\n\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableLevel2": { + "type": "boolean", + "description": "Field that indicates whether merchant will send level 2 data for Amex cards.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableMultipleTransactionAdviceAddendum": { + "type": "boolean", + "description": "This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer\u2019s American Express card statement.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "amexTransactionAdviceAddendum1": { + "type": "string", + "description": "Advice addendum field. It is used to display descriptive information about a transaction on customer\u2019s American Express card statement.\nApplicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo140^[0-9a-zA-Z\-\\s.]+$
\n" + }, + "enableMultiLineItems": { + "type": "boolean", + "description": "This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n.\nApplicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableTransactionReferenceNumber": { + "type": "boolean", + "description": "To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors." + }, + "enableAutoAuthReversalAfterVoid": { + "type": "boolean", + "description": "Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds.\nApplicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableExpresspayPanTranslation": { + "type": "boolean", + "description": "When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor." + }, + "enableCreditAuth": { + "type": "boolean", + "description": "Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements." + }, + "industryCode": { + "type": "string", + "enum": [ + 0, + "A", + "B", + "D", + "F", + "G", + "H", + "L", + "O", + "P", + "R" + ], + "description": "Field used to identify the industry type of the merchant submitting the authorization request.\n\nValid values:\n`0` \u2013 unknown or unsure\n`A` \u2013 auto rental (EMV supported)\n`B` \u2013 bank/financial institution (EMV supported)\n`D` \u2013 direct marketing\n`F` \u2013 food/restaurant (EMV supported)\n`G` \u2013 grocery store/super market (EMV supported)\n`H` \u2013 hotel (EMV supported)\n`L` \u2013 limited amount terminal (EMV supported)\n`O` \u2013 oil company/automated fueling system (EMV supported)\n`P` \u2013 passenger transport (EMV supported)\n`R` \u2013 retail (EMV supported)\nApplicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors.\n" + }, + "sendAmexLevel2Data": { + "type": "boolean", + "description": "Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor." + }, + "softDescriptorType": { + "type": "string", + "description": "A soft descriptor is a text, rendered on a cardholder\u2019s statement, describing a particular product or service, purchased by the cardholder.\nDescriptors are intended to help the cardholder identify the products or services purchased.\nValid values:\n`1` - trans_ref_no\n`2` - merchant_descriptor\n`3` - trans_ref_no and merchant_descriptor\nApplicable for TSYS (tsys) processor.\n" + }, + "vitalNumber": { + "type": "string", + "description": "V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor." + }, + "bankNumber": { + "type": "string", + "description": "6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor." + }, + "chainNumber": { + "type": "string", + "description": "6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor." + }, + "merchantBinNumber": { + "type": "string", + "description": "6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor." + }, + "merchantLocationNumber": { + "type": "string", + "description": "5 digit merchant location number. Unless otherwise specified by merchant\u2019s bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor." + }, + "storeID": { + "type": "string", + "description": "4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor." + }, + "travelAgencyCode": { + "type": "string", + "description": "Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor." + }, + "travelAgencyName": { + "type": "string", + "description": "Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor." + }, + "settlementCurrency": { + "type": "string", + "description": "This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors." + }, + "enableLeastCostRouting": { + "type": "boolean", + "description": "Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors." + }, + "enableCVVResponseIndicator": { + "type": "boolean", + "description": "This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors." + }, + "enableMultiCurrencyProcessing": { + "type": "string", + "description": "Applicable for Barclays (barclays2) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclayscnp, cp, hybridNoYes
\n" + }, + "enablePosNetworkSwitching": { + "type": "boolean", + "description": "\u2018POS Network Switching\u2019 or \u2018Alternate Routing\u2019 means merchant can process PIN Debit transactions without a PIN. Set the value to \u2018Yes\u2019 if it is supported. Applicable for FDI Global (fdiglobal) processor." + }, + "enableDynamicCurrencyConversion": { + "type": "boolean", + "description": "Enable dynamic currency conversion for a merchant." + }, + "merchantTier": { + "type": "string", + "maxLength": 3, + "minLength": 3, + "pattern": "^[0-9]+$", + "description": "Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors." + } + }, + "required": [ + "merchantId" + ] + } + }, + "amexVendorCode": { + "type": "string", + "description": "Vendor code assigned by American Express. Applicable for TSYS (tsys) processor." + }, + "defaultAuthTypeCode": { + "type": "string", + "description": "Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version.\nApplicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclayscnp, cp, hybridNoFINAL
Barclays HISOcnp, cp, hybridYesFINAL
\n", + "enum": [ + "PRE", + "FINAL", + "UNDEFINED" + ] + }, + "masterCardAssignedId": { + "type": "string", + "description": "MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors." + }, + "enablePartialAuth": { + "type": "boolean", + "description": "Allow merchants to accept partial authorization approvals.\nApplicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcnp, cp, hybridNoNo
\n" + }, + "merchantCategoryCode": { + "type": "string", + "description": "Indicates type of business product or service of the merchant.\nApplicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
BarclayscnpNo44^[0-9]+$
American Express Directcnp, cp, hybridYes44^[0-9]+$
\n" + }, + "sicCode": { + "type": "string", + "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." + }, + "foodAndConsumerServiceId": { + "type": "string", + "description": "Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor." + }, + "enableSplitShipment": { + "type": "boolean", + "description": "Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios:\n\n* multiple authorizations\n* multiple captures\n* multiple authorizations with multiple captures\n\nApplicable for VPC processors.\n" + }, + "enableInterchangeOptimization": { + "type": "boolean", + "description": "Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors." + }, + "visaDelegatedAuthenticationId": { + "type": "string", + "description": "Identifier provided to merchants who opt for Visa\u2019s delegated authorization program. Applicable for VPC processors." + }, + "creditCardRefundLimitPercent": { + "type": "string", + "description": "Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors." + }, + "businessCenterCreditCardRefundLimitPercent": { + "type": "string", + "description": "Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors." + }, + "allowCapturesGreaterThanAuthorizations": { + "type": "boolean", + "description": "Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors." + }, + "enableDuplicateMerchantReferenceNumberBlocking": { + "type": "boolean", + "description": "Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors." + }, + "domesticMerchantId": { + "type": "boolean", + "description": "This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors." + }, + "processLevel3Data": { + "type": "string", + "description": "Indicates whether merchant processes Level 3 transactions.\nApplicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequired
BarclayscnpNo
\n" + }, + "subMerchantId": { + "type": "string", + "description": "The ID assigned to the sub-merchant.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo120^[0-9a-zA-Z\-\_\,\\s.]+$
\n" + }, + "subMerchantBusinessName": { + "type": "string", + "description": "Sub-merchant's business name.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo137^[0-9a-zA-Z\-\_\,\\s.]+$
\n" + }, + "preferCobadgedSecondaryBrand": { + "type": "boolean", + "description": "It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors." + }, + "merchantDescriptorInformation": { + "type": "object", + "description": "A merchant descriptor is the line of copy that identifies transactions on a cardholder\u2019s account activity and statement. If this information is not populated, the data will be retrieved from OMS.", + "properties": { + "name": { + "type": "string", + "description": "Applicable for TSYS (tsys), RUPAY, American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes138^[0-9a-zA-Z\\s]+$
\n" + }, + "city": { + "type": "string", + "description": "Applicable for American Express Direct (amexdirect), TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes121^[0-9a-zA-Z\\s]+$
\n" + }, + "country": { + "type": "string", + "description": "Applicable for Six (six), Elavon Americas (elavonamericas), TSYS (tsys) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes33^[A-Z]+$
\n" + }, + "phone": { + "type": "string", + "description": "Applicable for RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect) and TSYS (tsys) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes120^[0-9a-zA-Z\\s]+$
\n" + }, + "state": { + "type": "string", + "description": "Applicable for RUPAY, TSYS (tsys), Elavon Americas (elavonamericas) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo13^[A-Z]+$
\n" + }, + "street": { + "type": "string", + "description": "Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes138^[0-9a-zA-Z\\s]+$
\n" + }, + "zip": { + "type": "string", + "description": "Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes115^[0-9a-zA-Z\\s]+$
\n" + }, + "url": { + "type": "string", + "description": "Applicable for RUPAY and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, hybridYes140URL
American Express DirectcpNo140URL
\n" + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "cardNotPresent": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "e.g.\n* amexdirect\n* barclays2\n* CUP\n* EFTPOS\n* fdiglobal\n* gpx\n* smartfdc\n* tsys\n* vero\n* VPC\n\nFor VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request.\ne.g. replace VPC with <your vpc processor>\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "amexdirect", + "barclays2", + "CUP", + "EFTPOS", + "fdiglobal", + "gpx", + "smartfdc", + "tsys", + "VPC" + ], + "type": "object", + "properties": { + "relaxAddressVerificationSystem": { + "type": "boolean", + "description": "Enables you to submit the payment transaction without one or more of the fields for the billTo or card_expiration.\nApplicable for Elavon Americas (elavonamericas), CB2A, Six (six), CMCIC (cmcic), GPX (gpx), GPN (gpn), VPC, Vero (vero), Fiserv (fiserv), American Express Direct (amexdirect), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, FDI Global (fdiglobal) and Barclays HISO (barclayshiso) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, hybridNoYes
American Express DirectcnpNoNo
American Express DirectcpNoYes
American Express DirecthybridYesYes
\n" + }, + "relaxAddressVerificationSystemAllowZipWithoutCountry": { + "type": "boolean", + "description": "Allows Zip code without country.\nApplicable for American Express Direct (amexdirect), GPX (gpx), VPC, FDI Global (fdiglobal), Elavon Americas (elavonamericas), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, GPN (gpn) and Barclays HISO (barclayshiso) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, bothNoYes
American Express Directcp, hybridNoYes
American Express DirectcnpNoNo
\n" + }, + "relaxAddressVerificationSystemAllowExpiredCard": { + "type": "boolean", + "description": "Allows transactions that use an expired card.\nApplicable for American Express Direct (amexdirect), GPN (gpn), Barclays HISO (barclayshiso), Elavon Americas (elavonamericas), VPC, FDI Global (fdiglobal), GPX (gpx), RUPAY, Six (six), Chase Paymentech Salem (chasepaymentechsalem) and CB2A processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, hybridNoYes
American Express Directcp, hybridNoYes
American Express DirectcnpNoNo
\n" + }, + "enableEmsTransactionRiskScore": { + "type": "boolean", + "description": "MasterCard Expert Monitoring Solutions (EMS) provides a predictive, behavior-based fraud score in real time during authorizations for card-not-present (CNP) transactions on cards issued in the U.S. Applicable for GPX (gpx) and VPC processors." + }, + "prestigiousPropertyIndicator": { + "type": "string", + "description": "Applicable for VPC processors." + }, + "payouts": { + "type": "object", + "properties": { + "reimbursementCode": { + "type": "string", + "description": "Applicable for VPC processors." + }, + "acquiringInstitutionId": { + "type": "string", + "description": "This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. This number is usually a Visa-assigned. Applicable for VPC processors." + }, + "businessApplicationId": { + "type": "string", + "description": "Transaction type. List of supported identifiers documented in the Developer Guide. Applicable for GPX (gpx) and VPC processors." + }, + "financialInstitutionId": { + "type": "string", + "description": "Applicable for GPX (gpx) and VPC processors." + }, + "merchantAbaNumber": { + "type": "string", + "description": "Routing Number to identify banks within the United States. Applicable for VPC processors." + }, + "networkOrder": { + "type": "string", + "description": "Order of the networks in which Visa should make routing decisions. Applicable for VPC processors." + }, + "currencies": { + "type": "object", + "description": "Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "USD", + "CAD", + "GBP", + "EUR", + "CHF", + "NGN", + "ETB", + "CUP", + "AZN", + "RWF", + "DOP", + "GMD", + "BBD", + "GTG", + "NPR", + "SHP", + "BZD", + "JMP", + "PHP", + "BRL", + "TZS", + "BAM", + "ISK", + "KWD", + "RON", + "ARS", + "SBD", + "NOK", + "KRW", + "TJS", + "JOD", + "MOP", + "CLP", + "SOS", + "MGA", + "LVL", + "GIP", + "PYG", + "SAR", + "PGK", + "SGD", + "ROL", + "BSD", + "TRY", + "CDF", + "SYP", + "BMD", + "MRO", + "WST", + "GHS", + "BTN", + "HNL", + "MAD", + "GAR", + "SRD", + "BDT", + "KGS", + "GNF", + "CNY", + "JPY", + "LYD", + "TTD", + "CVE", + "SZL", + "ZMW", + "KPW", + "PEN", + "YER", + "VEB", + "KHR", + "VEF", + "VUV", + "SLL", + "AFN", + "SCR", + "BOB", + "COP", + "LTL", + "EGP", + "HUF", + "RSD", + "AOA", + "MYR", + "MTL", + "CYP", + "FKP", + "GYD", + "PLN", + "KMF", + "SGD", + "IQD", + "DKK", + "KES", + "UZS", + "TMM", + "NZD", + "LKR", + "EEK", + "SKK", + "ANG", + "INR", + "UYU", + "LSL", + "TND", + "STD", + "HTG", + "VND", + "AED", + "MZN", + "BND", + "KZT", + "PKR", + "XCD", + "RUB", + "MKD", + "BWP", + "AWG", + "GEL", + "MDL", + "HKD", + "MVR", + "amd", + "IRR", + "NAD", + "MWK", + "MNT", + "CRC", + "XPF", + "LAK", + "HRK", + "ALL", + "TOP", + "BIF", + "MUR", + "PAB", + "FJD", + "CZK", + "ZWD", + "KYD", + "IDR", + "BGN", + "MXN", + "UGX", + "MMK", + "UAH", + "DZD", + "XAF", + "THB", + "OMR", + "XOF", + "AUD", + "ZAR", + "LBP", + "NIO", + "DJF", + "LRD", + "TWD", + "ERN", + "BHD", + "ILS", + "SEK", + "BYR" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enabledCardPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled.\n" + }, + "enabledCardNotPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled.\n" + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party." + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n" + }, + "terminalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Applicable for Prisma (prisma) processor." + }, + "serviceEnablementNumber": { + "type": "string", + "description": "Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards.\n10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant.\n" + } + } + }, + "example": { + "USD": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "merchantId", + "terminalIds": [ + "12345678", + "12345678" + ], + "serviceEnablementNumber": "serviceEnablementNumber" + } + } + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscnp, hybridNo111^[0-9]+$
\n" + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscnp, hybridNo1255^[0-9:\-]+$
\n" + } + } + } + } + } + }, + "ignoreAddressVerificationSystem": { + "type": "boolean", + "description": "Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline. Applicable for VPC, FDI Global (fdiglobal), GPX (gpx) and GPN (gpn) processors." + }, + "visaStraightThroughProcessingOnly": { + "type": "boolean", + "description": "Indicates if a merchant is enabled for Straight Through Processing - B2B invoice payments. Applicable for FDI Global (fdiglobal), TSYS (tsys), VPC and GPX (gpx) processors." + }, + "amexTransactionAdviceAddendum1": { + "type": "string", + "description": "Advice addendum field. It is used to display descriptive information about a transaction on customer\u2019s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors." + }, + "installment": { + "type": "object", + "properties": { + "enableInstallment": { + "type": "boolean", + "description": "This flag is to enable for installment plan programs.\nApplicable for Fiserv (fiserv), Vero (vero) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express DirectcnpNoNo
\n" + }, + "installmentPlan": { + "type": "string", + "description": "This indicates the type of funding for the installment plan associated with the payment.\n\nValid values:\n\"merchant\" - Merchant-funded installment plan\n\"issuer\" - Issuer-funded installment plan\n\nApplicable for Fiserv (fiserv), American Express Direct (amexdirect) and Vero (vero) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequired
American Express DirectcnpNo
\n" + } + } + } + } + }, + "cardPresent": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "e.g.\n* amexdirect\n* barclays2\n* CUP\n* EFTPOS\n* fdiglobal\n* gpx\n* smartfdc\n* tsys\n* vero\n* VPC\n\nFor VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request.\ne.g. replace VPC with <your vpc processor>\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "amexdirect", + "barclays2", + "CUP", + "EFTPOS", + "fdiglobal", + "gpx", + "smartfdc", + "tsys", + "VPC" + ], + "type": "object", + "properties": { + "defaultPointOfSaleTerminalId": { + "type": "string", + "description": "Default Terminal ID used for Card Present and Virtual Terminal transactions.\nApplicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegexDefault Value
American Express DirectcpYes48^[0-9a-zA-Z]+$1111
\n" + }, + "pointOfSaleTerminalIds": { + "type": "array", + "items": { + "type": "string", + "format": "csv" + }, + "description": "For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors." + }, + "disablePointOfSaleTerminalIdValidation": { + "type": "boolean", + "description": "Disables terminal ID validation. Applicable for VPC processors." + }, + "pinDebitNetworkOrder": { + "type": "string", + "description": "Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors." + }, + "pinDebitReimbursementCode": { + "type": "string", + "description": "This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors." + }, + "financialInstitutionId": { + "type": "string", + "description": "Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors." + }, + "enablePinTranslation": { + "type": "boolean", + "description": "Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors." + } + } + } + }, + "enableTerminalIdLookup": { + "type": "boolean", + "description": "Used for Card Present and Virtual Terminal Transactions for Terminal ID lookup. Applicable for GPX (gpx) processor." + } + } + } + } + } + } + } + } + } + } + }, + "cardPresentConnect": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "NOT_SELF_SERVICEABLE" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "partnerSolutionIdentifier": { + "type": "string", + "description": "Solution identifier used to associate a partner organization with the Merchant that is on-boarded." + } + } + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "NOT_SELF_SERVICEABLE" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "eCheck": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "mode": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Indicates what mode the product is expected to behave at boarding and transaction flows. Ex, Acquirer/Gateway/Other." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "common": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "additionalProperties": { + "type": "object", + "description": "Payment Processing connection used to support eCheck, aka ACH, payment methods. Example - \"bofaach\"", + "properties": { + "companyEntryDescription": { + "type": "string", + "maxLength": 10, + "description": "*EXISTING* Company (merchant) defined description of entry to receive. For e.g. PAYROLL, GAS BILL, INS PREM. This field is alphanumeric" + }, + "companyId": { + "type": "string", + "maxLength": 10, + "description": "*EXISTING* company ID assigned to merchant by Acquiring bank. This field is alphanumeric" + }, + "batchGroup": { + "type": "string", + "description": "*EXISTING* Capture requests are grouped into a batch bound for your payment processor. The batch time can be identified by reading the last 2-digits as military time. E.g., _16 = your processing cutoff is 4PM PST. Please note if you are in a different location you may then need to convert time zone as well." + }, + "enableAccuityForAvs": { + "type": "boolean", + "default": true, + "description": "*NEW* Accuity is the original validation service that checks the account/routing number for formatting issues. Used by WF and set to \"Yes\" unless told otherwise" + }, + "accuityCheckType": { + "enum": [ + "ALWAYS" + ], + "default": "ALWAYS", + "description": "*NEW*" + }, + "setCompletedState": { + "type": "boolean", + "default": false, + "description": "*Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES." + } + }, + "required": [ + "companyEntryDescription" + ] + } + }, + "internalOnly": { + "type": "object", + "properties": { + "displayEcheckInfo": { + "type": "boolean", + "default": true, + "description": "*NEW* Used by EBC UI always set to true" + }, + "processors": { + "type": "object", + "description": "*NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods.\nExample\n* \"bofaach\"\n* \"wellsfargoach\"\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "bofaach", + "wellsfargoach" + ], + "type": "object", + "description": "Name of the payment processor. Example - \"wellsfargoach\"", + "properties": { + "enableCCS": { + "type": "boolean", + "description": "*NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform.\nApplicable for VPC and amexdirect processors.\n" + }, + "terminalId": { + "type": "string", + "description": "*NEW* The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\nApplicable for VPC processors.\n" + }, + "enable15anTransactionReferenceNumber": { + "type": "boolean", + "default": true, + "description": "*NEW* This ensures the transaction reference # contains an identifier that can be viewed in CYBS" + }, + "portalSupportedPaytypes": { + "type": "string", + "default": "CHECK", + "description": "*NEW* This is used by the EBC2 application" + }, + "settlementMethod": { + "enum": [ + "BEST_GUESS" + ], + "default": "BEST_GUESS", + "description": "*NEW*" + }, + "verificationLevel": { + "enum": [ + "VALIDATION" + ], + "default": "VALIDATION", + "description": "*NEW*" + }, + "setCompletedState": { + "type": "boolean", + "default": false, + "description": "*Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES." + } + } + } + } + } + }, + "accountHolderName": { + "type": "string", + "maxLength": 22, + "description": "Mandatory \nName on Merchant's Bank Account\nOnly ASCII (Hex 20 to Hex 7E)\n" + }, + "accountType": { + "type": "string", + "description": "Mandatory \nType of account for Merchant's Bank Account\nPossible values:\n- checking\n- savings\n- corporatechecking\n- corporatesavings\n" + }, + "accountRoutingNumber": { + "type": "string", + "maxLength": 9, + "description": "Mandatory \nRouting number for Merchant's Bank Account\nUS Account Routing Number\n" + }, + "accountNumber": { + "type": "string", + "maxLength": 17, + "description": "Mandatory \nAccount number for Merchant's Bank Account\n" + } + }, + "required": [ + "accountHolderName", + "accountType", + "accountRoutingNumber", + "accountNumber" + ] + }, + "underwriting": { + "type": "object", + "properties": { + "standardEntryClassCodes": { + "type": "string", + "default": "CCD,PPD,TEL,WEB", + "description": "Mandatory \nFree-text (csv) \nPossible values (combination):\n\nCCD \u2014 Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions.\nPPD \u2014 Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customer\u2019s checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions.\nTEL \u2014 Telephone-Initiated Entry, or TEL, is a one-time charge against a customer\u2019s checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone.\nWEB \u2014 Internet-Initiated Entry or WEB is a charge against a customer\u2019s checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet.\n" + }, + "enableHold": { + "type": "boolean", + "default": true, + "description": "Mandatory \nDetermines whether CYBS has placed the merchant on a funding hold\nThis will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant.\n" + }, + "monthlyTotalTransactionAmountLimit": { + "type": "number", + "format": "currency", + "description": "Mandatory \nMonthly Maximum total Transaction Amount\n12 digit including decimal\n" + }, + "holdingDays": { + "type": "number", + "format": "integer", + "default": 7, + "description": "Mandatory \nFunds Hold Days (Number of days funds will be held before it will be deposited into merchant account)\n3 digits\n" + }, + "enableCredits": { + "type": "boolean", + "description": "Optional \nAllow Credits (True/False)\n" + }, + "transactionAmountLimit": { + "type": "number", + "format": "currency", + "description": "Mandatory \nMaximum total Transaction Amount\nThis is a per transaction limit. For example, the merchant is limited to processing transactions under $100\n12 digits (including decimal - USD only)\n" + }, + "riskReserveMethod": { + "type": "string", + "description": "Mandatory\nReserve Method \nPossible value:\n- fixed\n- none\nMost merchants do not have a reserve attached to their account so the default value would be \"none.\" \n\nFor a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump\nsum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for\nthe account from each batch settlement until the reserve balance is equal to a set\nReserve Target. A Fixed Reserve may also be established by a combination of lump\nsum deposit and withholding of settlement funds.\n\nA Rolling Reserve balance is established by withholding from a merchant\u2019s available\nsettlement funds at a Reserve Rate (percentage) and no Reserve Target is specified.\nRather, each amount withheld is retained for a specified number of Reserve Holding\nDays and then released back to the merchant.\n" + }, + "riskReserveRate": { + "type": "number", + "format": "decimal", + "description": "Mandatory \nReserve Rate (% of TPV)=> Relevant for Rolling Reserve and Fixed Reserve\nThe percentage rate at which risk funds are withheld from each\neCheck.Net batch settlement.\n" + }, + "riskReserveTargetAmount": { + "type": "number", + "format": "currency", + "description": "Mandatory \nReserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY\n\nThe maximum dollar amount that can be held in Risk Reserve for a\nfixed reserve. Once risk withholdings reach the Reserve Target established for the\neCheck.Net account, a portion of available funds will be deposited to the merchant\u2019s\nbank account\n12 digit including decimal\n" + }, + "solutionOrganizationId": { + "type": "string", + "description": "Solution organization id" + } + }, + "required": [ + "standardEntryClassCodes", + "enableHold", + "monthlyTotalTransactionAmountLimit", + "holdingDays", + "transactionAmountLimit", + "riskReserveMethod", + "riskReserveRate", + "riskReserveTargetAmount" + ] + }, + "features": { + "type": "object", + "properties": { + "accountValidationService": { + "type": "object", + "properties": { + "internalOnly": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "*NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods.\nExample\n* \"bofaach\"\n* \"wellsfargoach\"\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "bofaach", + "wellsfargoach" + ], + "type": "object", + "description": "Name of the payment processor. Example - \"wellsfargoach\"", + "properties": { + "avsVersion": { + "enum": [ + "2" + ], + "default": "2", + "description": "*NEW*" + } + } + } + } + } + }, + "processors": { + "type": "object", + "description": "*NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods.\nExample\n* \"bofaach\"\n* \"wellsfargoach\"\n", + "additionalProperties": { + "type": "object", + "description": "*NEW* Name of the payment processor. Example - \"wellsfargoach\"", + "properties": { + "avsAccountOwnershipService": { + "type": "boolean", + "description": "*NEW* Determined in WF eTicket if account has opted into the Account Ownership Service." + }, + "avsAccountStatusService": { + "type": "boolean", + "description": "*NEW* Determined in WF eTicket if account has opted into the Account Status Service." + }, + "avsSignedAgreement": { + "type": "boolean", + "description": "*NEW* Taken from Addendum Agreement Column in boarding form." + }, + "avsCalculatedResponseBehavior": { + "enum": [ + "continue" + ], + "default": "continue", + "description": "*NEW*" + }, + "avsAdditionalId": { + "type": "string", + "description": "*NEW* Also known as the Additional ID. Taken from the boarding form." + }, + "enableAvs": { + "type": "boolean", + "default": true, + "description": "*NEW*" + }, + "avsEntityId": { + "type": "string", + "description": "*NEW* Also known as the AVS Gateway Entity ID." + }, + "avsResultMode": { + "enum": [ + "FULL_RESPONSE", + "LOGIC_BOX" + ], + "description": "*NEW*" + }, + "enableAvsTokenCreation": { + "type": "boolean", + "default": false, + "description": "*NEW* Applicable if the merchant wants to run AVS on token creation requests only." + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "payerAuthentication": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "cardTypes": { + "type": "object", + "properties": { + "verifiedByVisa": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "masterCardSecureCode": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "amexSafeKey": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "jCBJSecure": { + "type": "object", + "properties": { + "securePasswordForJCB": { + "type": "string", + "minLength": 8, + "maxLength": 8, + "description": "JSecure currency password for Japan Credit Bureau" + }, + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "dinersClubInternationalProtectBuy": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "ELO": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "UPI": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "CB": { + "type": "object", + "properties": { + "requestorId": { + "type": "string", + "minLength": 14, + "maxLength": 14, + "description": "The value is for 3DS2.0 and is a Directory Server assigned 3DS Requestor ID value. If this field is passed in request, it will override Requestor Id value that is configured on the Merchant's profile." + }, + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "digitalPayments": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "features": { + "type": "object", + "description": "Allowed values are;\n\n \n \n \n \n \n \n \n \n \n \n \n \n
visaCheckout
applePay
samsungPay
googlePay
\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "visaCheckout", + "applePay", + "samsungPay", + "googlePay" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "secureAcceptance": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "parentProfileId": { + "type": "string", + "description": "You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here." + }, + "contactInformation": { + "type": "object", + "description": "Optional contact information to be associated with the Secure Acceptance profile - for example the developer of the integration to the Hosted Checkout.", + "properties": { + "phone": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "notifications": { + "type": "object", + "properties": { + "merchantNotifications": { + "type": "object", + "properties": { + "backofficePostEnabled": { + "type": "boolean", + "description": "Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance." + }, + "backofficeEmailAddress": { + "type": "string", + "description": "Email address to receive transaction confirmation messages." + }, + "backofficeEmailEnabled": { + "type": "boolean", + "description": "Enables email transaction confirmation messages, sent to the address specified in backofficeEmailAddress." + }, + "backofficePostUrl": { + "type": "string", + "description": "Webhook URL to which transaction confirmation is sent. Usually completed by the web developers integrating to Secure Acceptance." + }, + "cardNumberFormat": { + "type": "string", + "description": "Format in which the card number should be masked in the notifications. \n\nValid values:\n`1` - Display first 6 digits only (e.g. \"444433**********\")\n\n`2` - Display last four digits only (e.g. \"************1111\")\n\n`3` - Display First six and last four digits (e.g. \"444433******1111\")\n" + } + } + }, + "customerNotifications": { + "type": "object", + "description": "Features relating to notifications being sent directly to the payer using the Hosted Checkout.", + "properties": { + "customReceiptPageEnabled": { + "type": "boolean", + "description": "Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance." + }, + "receiptEmailAddress": { + "type": "string", + "description": "Email address where a copy of the payer's receipt email is sent, when notificationReceiptEmailEnabled is true." + }, + "customerReceiptEmailEnabled": { + "type": "boolean", + "description": "Toggles an email receipt sent to the payer's email address on payment success." + }, + "customCancelPage": { + "type": "string", + "description": "URL to which transaction results are POSTed when the payer clicks 'Cancel' on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance." + }, + "customReceiptPage": { + "type": "string", + "description": "URL to which transaction results are POSTed when the payer requests a payment on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance." + }, + "customCancelPageEnabled": { + "type": "boolean", + "description": "Toggles the custom cancel page, where merchants can receive notice that the payer has canceled, and display appropriate messaging and direction. Usually set by web developers integrating to Secure Acceptance." + }, + "notificationReceiptEmailEnabled": { + "type": "boolean", + "description": "Toggles whether merchant receives a copy of the payer's receipt email." + } + } + } + } + }, + "service": { + "type": "object", + "properties": { + "decisionManagerVerboseEnabled": { + "type": "boolean", + "description": "Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging." + }, + "declinedRetryLimit": { + "type": "number", + "description": "Defines the number of retries a payer is presented with on payment declines on Hosted Checkout. Valid values are between 0 and 5." + }, + "decisionManagerEnabled": { + "type": "boolean", + "description": "Toggles whether Decision Manager is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Decicion Manager." + }, + "tokenizationEnabled": { + "type": "boolean", + "description": "Toggles whether Tokenization is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Tokenization." + }, + "reverseAuthOnAddressVerificationSystemFailure": { + "type": "boolean", + "description": "Toggles whether or not an approved Authorization that fails AVS should be automatically reversed." + }, + "deviceFingerprintEnabled": { + "type": "boolean", + "description": "Toggles whether or not fraud Device Fingerprinting is enabled on the Hosted Checkout. This simplifies enablement for Decision Manager." + }, + "reverseAuthOnCardVerificationNumberFailure": { + "type": "boolean", + "description": "Toggles whether or not an approved Authorization that fails CVN check that should be automatically reversed." + } + } + }, + "paymentMethods": { + "type": "object", + "properties": { + "enabledPaymentMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "CARD", + "ECHECK", + "VISACHECKOUT", + "PAYPAL" + ] + } + } + } + }, + "checkout": { + "type": "object", + "properties": { + "displayTaxAmount": { + "type": "boolean", + "description": "Toggles whether or not the tax amount is displayed on the Hosted Checkout." + }, + "templateType": { + "type": "string", + "description": "Specifies whether the Hosted Checkout is displayed as a single page form or multi page checkout. \n\nValid values: \n`multi` \n`single`\n" + }, + "returnToMerchantSiteUrl": { + "type": "string", + "description": "URL of the website linked to from the Secure Acceptance receipt page. Only used if the profile does not have custom receipt pages configured." + } + } + }, + "paymentTypes": { + "type": "object", + "description": "Object containing Payment Types supported", + "properties": { + "cardTypes": { + "type": "object", + "properties": { + "discover": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + }, + "amex": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + }, + "masterCard": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + }, + "visa": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "virtualTerminal": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "cardNotPresent": { + "type": "object", + "properties": { + "globalPaymentInformation": { + "type": "object", + "properties": { + "basicInformation": { + "type": "object", + "properties": { + "defaultStandardEntryClassCode": { + "type": "string" + }, + "defaultCountryCode": { + "type": "string", + "description": "ISO 4217 format" + }, + "defaultCurrencyCode": { + "type": "string", + "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)" + }, + "defaultTransactionType": { + "type": "string", + "enum": [ + "AUTHORIZATION", + "SALE" + ] + }, + "defaultPaymentType": { + "type": "string", + "enum": [ + "CREDIT_CARD", + "ECHECK" + ] + }, + "defaultTransactionSource": { + "type": "string" + }, + "displayRetail": { + "type": "boolean" + }, + "displayMoto": { + "type": "boolean" + }, + "displayInternet": { + "type": "boolean" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "displayCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "requireCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "acceptedCardTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "displayCreditCards": { + "type": "boolean" + }, + "displayEchecks": { + "type": "boolean" + }, + "displayDebtIndicator": { + "type": "boolean" + }, + "displayBillPayment": { + "type": "boolean" + }, + "enableEchecks": { + "type": "boolean" + }, + "displayIgnoreECheckAvsCheckbox": { + "type": "boolean" + }, + "firstNameRequired": { + "type": "boolean" + }, + "lastNameRequired": { + "type": "boolean" + }, + "displayFirstName": { + "type": "boolean" + }, + "displayLastName": { + "type": "boolean" + } + } + }, + "merchantDefinedDataFields": { + "type": "object", + "properties": { + "displayMerchantDefinedData1": { + "type": "boolean" + }, + "displayMerchantDefinedData2": { + "type": "boolean" + }, + "displayMerchantDefinedData3": { + "type": "boolean" + }, + "displayMerchantDefinedData4": { + "type": "boolean" + }, + "displayMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DefaultValue": { + "type": "string" + }, + "merchantDefinedData1Label": { + "type": "string" + }, + "requireMerchantDefinedData1": { + "type": "boolean" + }, + "merchantDefinedData2DefaultValue": { + "type": "string" + }, + "merchantDefinedData2Label": { + "type": "string" + }, + "requireMerchantDefinedData2": { + "type": "boolean" + }, + "merchantDefinedData3DefaultValue": { + "type": "string" + }, + "merchantDefinedData3Label": { + "type": "string" + }, + "requireMerchantDefinedData3": { + "type": "boolean" + }, + "merchantDefinedData4DefaultValue": { + "type": "string" + }, + "merchantDefinedData4Label": { + "type": "string" + }, + "requireMerchantDefinedData4": { + "type": "boolean" + }, + "merchantDefinedData5DefaultValue": { + "type": "string" + }, + "merchantDefinedData5Label": { + "type": "string" + }, + "requireMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData2DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData3DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData4DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData5DisplayOnReceipt": { + "type": "boolean" + } + } + } + } + }, + "receiptInformation": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "virtualTerminalReceiptHeader": { + "type": "string" + } + } + }, + "orderInformation": { + "type": "object", + "properties": { + "emailAliasName": { + "type": "string" + }, + "customReplyToEmailAddress": { + "type": "string" + } + } + }, + "emailReceipt": { + "type": "object", + "properties": { + "sendersEmailAddress": { + "type": "string" + } + } + } + } + } + } + }, + "cardPresent": { + "type": "object", + "properties": { + "globalPaymentInformation": { + "type": "object", + "properties": { + "basicInformation": { + "type": "object", + "properties": { + "defaultStandardEntryClassCode": { + "type": "string" + }, + "defaultCountryCode": { + "type": "string", + "description": "ISO 4217 format" + }, + "defaultCurrencyCode": { + "type": "string", + "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)" + }, + "defaultTransactionType": { + "type": "string", + "enum": [ + "AUTHORIZATION", + "SALE" + ] + }, + "defaultPaymentType": { + "type": "string", + "enum": [ + "CREDIT_CARD", + "ECHECK" + ] + }, + "defaultTransactionSource": { + "type": "string" + }, + "displayRetail": { + "type": "boolean" + }, + "displayMoto": { + "type": "boolean" + }, + "displayInternet": { + "type": "boolean" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "displayCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "requireCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "acceptedCardTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "displayCreditCards": { + "type": "boolean" + }, + "displayEchecks": { + "type": "boolean" + }, + "displayDebtIndicator": { + "type": "boolean" + }, + "displayBillPayment": { + "type": "boolean" + }, + "enableEchecks": { + "type": "boolean" + }, + "displayIgnoreECheckAvsCheckbox": { + "type": "boolean" + }, + "firstNameRequired": { + "type": "boolean" + }, + "lastNameRequired": { + "type": "boolean" + }, + "displayFirstName": { + "type": "boolean" + }, + "displayLastName": { + "type": "boolean" + } + } + }, + "merchantDefinedDataFields": { + "type": "object", + "properties": { + "displayMerchantDefinedData1": { + "type": "boolean" + }, + "displayMerchantDefinedData2": { + "type": "boolean" + }, + "displayMerchantDefinedData3": { + "type": "boolean" + }, + "displayMerchantDefinedData4": { + "type": "boolean" + }, + "displayMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DefaultValue": { + "type": "string" + }, + "merchantDefinedData1Label": { + "type": "string" + }, + "requireMerchantDefinedData1": { + "type": "boolean" + }, + "merchantDefinedData2DefaultValue": { + "type": "string" + }, + "merchantDefinedData2Label": { + "type": "string" + }, + "requireMerchantDefinedData2": { + "type": "boolean" + }, + "merchantDefinedData3DefaultValue": { + "type": "string" + }, + "merchantDefinedData3Label": { + "type": "string" + }, + "requireMerchantDefinedData3": { + "type": "boolean" + }, + "merchantDefinedData4DefaultValue": { + "type": "string" + }, + "merchantDefinedData4Label": { + "type": "string" + }, + "requireMerchantDefinedData4": { + "type": "boolean" + }, + "merchantDefinedData5DefaultValue": { + "type": "string" + }, + "merchantDefinedData5Label": { + "type": "string" + }, + "requireMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData2DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData3DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData4DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData5DisplayOnReceipt": { + "type": "boolean" + } + } + } + } + }, + "receiptInformation": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "virtualTerminalReceiptHeader": { + "type": "string" + } + } + }, + "orderInformation": { + "type": "object", + "properties": { + "emailAliasName": { + "type": "string" + }, + "customReplyToEmailAddress": { + "type": "string" + } + } + }, + "emailReceipt": { + "type": "object", + "properties": { + "sendersEmailAddress": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "currencyConversion": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "six", + "cmcic", + "fdiglobal", + "fdcsouth" + ], + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "The merchant identifier for the Currency Conversion service. Check with your Currency Conversion Provider for details." + }, + "acquirerId": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "tax": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "customerInvoicing": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "payouts": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "configurations": { + "type": "object", + "properties": { + "pullfunds": { + "type": "object", + "additionalProperties": { + "description": "Formatted as *{payoutsAcquirerName}. The property name field should be the same as the processor name for which the pull funds or push funds feature is being configured. Here is the list of valid processor names [TBD]", + "type": "object", + "required": [ + "acquiringBIN", + "cardAcceptorId", + "cardTerminalId" + ], + "properties": { + "acquirerOrganizationId": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "Valid organization in OMS with an organizationInformation.type as \"acquirer\"." + }, + "acquiringBIN": { + "type": "integer", + "minLength": 6, + "maxLength": 11, + "description": "This code identifies the financial institution acting as the acquirer of this transaction. The acquirer is the client or system user that signed the originator or installed the unattended cardholder- activated environment. When a processing center operates for multiple acquirers, this code is for the individual client or system user, not a code for the center." + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This configuration allows a transaction to be flagged for cryptocurrency funds transfer." + }, + "cardAcceptorId": { + "type": "string", + "minLength": 1, + "maxLength": 15, + "description": "A unique identifier number for the originator of transfers that is unique to the processor or acquirer." + }, + "originatorMvv": { + "type": "string", + "minLength": 10, + "maxLength": 10, + "description": "Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant." + }, + "originatorNameAbbreviation": { + "type": "string", + "minLength": 1, + "maxLength": 4, + "description": "A 4 character max name abbreviation for the originator." + }, + "cardTerminalId": { + "type": "string", + "minLength": 1, + "maxLength": 8, + "description": "This field contains a code that identifies a terminal at the card acceptor location. This field is used in all messages related to a transaction. If sending transactions from a card not present environment, use the same value for all transactions." + } + } + } + }, + "pushfunds": { + "type": "object", + "additionalProperties": { + "description": "Formatted as *{payoutsAcquirerName}. The property name field should be the same as the processor name for which the pull funds or push funds feature is being configured. Here is the list of valid processor names [TBD]", + "type": "object", + "required": [ + "originatorBusinessApplicationId", + "acquirerCountryCode", + "acquiringBIN", + "processorAccount" + ], + "properties": { + "acquirerCountryCode": { + "type": "integer", + "maxLength": 3, + "description": "TBD" + }, + "acquiringBIN": { + "type": "integer", + "maxLength": 11, + "description": "TBD" + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This configuration allows a transaction to be flagged for cryptocurrency funds transfer." + }, + "financialInstitutionId": { + "type": "string", + "minLength": 4, + "maxLength": 4, + "description": "TBD" + }, + "networkOrder": { + "type": "string", + "maxLength": 30, + "description": "TBD" + }, + "nationalReimbursementFee": { + "type": "string", + "maxLength": 1, + "description": "TBD" + }, + "originatorBusinessApplicationId": { + "type": "string", + "maxLength": 3, + "description": "TBD" + }, + "originatorPseudoAbaNumber": { + "type": "string", + "maxLength": 9, + "description": "TBD" + }, + "processorAccount": { + "type": "array", + "items": { + "required": [ + "originatorMerchantId", + "originatorTerminalId" + ], + "type": "object", + "properties": { + "originatorMerchantId": { + "type": "string", + "maxLength": 15, + "description": "TBD" + }, + "originatorTerminalId": { + "type": "array", + "description": "TBD", + "items": { + "type": "string", + "maxLength": 8 + } + }, + "supportedCurrencies": { + "type": "array", + "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "items": { + "type": "string", + "maxLength": 3, + "minLength": 3 + } + } + } + }, + "description": "TBD" + } + } + } + } + } + } + } + } + } + }, + "differentialFee": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "features": { + "type": "object", + "properties": { + "surcharge": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "payByLink": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "unifiedCheckout": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + } + } + }, + "risk": { + "type": "object", + "title": "riskProducts", + "properties": { + "fraudManagementEssentials": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "decisionManager": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "processingOptions": { + "type": "object", + "properties": { + "stepUpAuthEnabled": { + "type": "boolean" + } + } + }, + "organization": { + "type": "object", + "properties": { + "hierarchyGroup": { + "type": "string", + "description": "Must be one of the following : NO_GROUP, INCLUDE_IN_PARENTS_GROUP\n", + "example": "NO_GROUP" + } + } + }, + "portfolioControls": { + "type": "object", + "properties": { + "hideRiskMenus": { + "type": "boolean" + }, + "hideRiskTransactionData": { + "type": "boolean" + } + } + }, + "thirdparty": { + "type": "object", + "properties": { + "provider": { + "type": "object", + "properties": { + "accurint": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + } + } + } + }, + "credilink": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "sigla": { + "type": "string" + } + } + } + } + }, + "ekata": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "apiKey": { + "type": "string" + } + } + } + } + }, + "emailage": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + } + } + } + }, + "perseuss": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + } + } + } + }, + "signifyd": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "teamId": { + "type": "string" + }, + "apiKey": { + "type": "string" + }, + "secretKeyid": { + "type": "string" + }, + "secretKey": { + "type": "string" + } + } + } + } + }, + "targus": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "serviceId": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "commerceSolutions": { + "type": "object", + "title": "commerceSolutionsProducts", + "properties": { + "tokenManagement": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "parentProfileId": { + "type": "string", + "description": "Specify the Vault ID to which transacting MID needs to be assigned.Provide Vault ID as seen on EBC Vault management page. If not provided , transacting MID will be assigned to the existing default Vault at merchant's level. If there are no Vaults at merchant level , a new Vault will be created and transacting MID will be assigned to it." + } + } + } + } + } + } + }, + "accountUpdater": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "masterCard": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "MasterCard merchant identified number" + }, + "interbankCardAssociationNumber": { + "type": "string", + "description": "Number assigned by MasterCard to a financial institution, third-party processor or other member to identify the member in transaction." + }, + "active": { + "type": "boolean" + } + }, + "required": [ + "merchantId", + "interbankCardAssociationNumber" + ] + }, + "visa": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "Visa merchant identified number" + }, + "segmentId": { + "type": "string", + "description": "Visa assigned segment ID for each group of merchants participating in VAU." + }, + "active": { + "type": "boolean" + } + }, + "required": [ + "merchantId", + "segmentId" + ] + }, + "amex": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "description": "Type of mode. Valid values are `tokenApi` or `dailyHarvest`." + }, + "seNumber": { + "type": "string" + }, + "subscriberId": { + "type": "string" + }, + "active": { + "type": "boolean" + } + } + }, + "preferredDay": { + "type": "number", + "minimum": 1, + "maximum": 28 + }, + "daysWindow": { + "type": "number", + "minimum": 1, + "maximum": 3650, + "default": 31 + } + } + } + } + } + } + }, + "binLookup": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "configurations": { + "type": "object", + "properties": { + "isPayoutOptionsEnabled": { + "type": "boolean", + "description": "This flag indicates if the merchant is configured to make payout calls" + }, + "isAccountPrefixEnabled": { + "type": "boolean", + "description": "This flag indicates if the merchant is configured to receive account prefix" + } + } + } + } + } + } + } + } + }, + "valueAddedServices": { + "type": "object", + "title": "valueAddedServicesProducts", + "properties": { + "reporting": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "transactionSearch": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + } + } + } + } + } + } + }, + "documentInformation": { + "type": "object", + "properties": { + "signedDocuments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "maxLength": 200, + "example": "TCProcessing" + } + } + } + } + } + } + }, + "required": [ + "organizationInformation" + ] + } + } + ], + "responses": { + "201": { + "description": "Created", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 60, + "example": "12351234" + }, + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "readOnly": true, + "description": "The status of Registration request\nPossible Values:\n - 'INITIALIZED'\n - 'RECEIVED'\n - 'PROCESSING'\n - 'SUCCESS'\n - 'FAILURE'\n - 'PARTIAL'\n", + "enum": [ + "INITIALIZED", + "RECEIVED", + "PROCESSING", + "SUCCESS", + "FAILURE", + "PARTIAL" + ] + }, + "registrationInformation": { + "type": "object", + "properties": { + "boardingPackageId": { + "type": "string", + "maxLength": 30, + "example": 1004001, + "readOnly": true + }, + "mode": { + "type": "string", + "description": "In case mode is not provided the API will use COMPLETE as default\nPossible Values:\n - 'COMPLETE'\n - 'PARTIAL'\n", + "enum": [ + "COMPLETE", + "PARTIAL" + ] + }, + "salesRepId": { + "type": "string", + "maxLength": 60, + "example": "Rep1" + } + } + }, + "integrationInformation": { + "type": "object", + "properties": { + "tenantConfigurations": { + "type": "array", + "description": "tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.", + "items": { + "type": "object", + "properties": { + "solutionId": { + "type": "string", + "maxLength": 8, + "minLength": 8, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "The solutionId is the unique identifier for this system resource.\nPartner can use it to reference the specific solution through out the system.\n", + "example": "YumSolution1" + }, + "tenantConfigurationId": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "The tenantConfigurationId is the unique identifier for this system resource.\nYou will see various places where it must be referenced in the URI path, or when\nquerying the hierarchy for ancestors or descendants.\n" + }, + "status": { + "type": "string", + "enum": [ + "LIVE", + "INACTIVE", + "TEST" + ] + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.", + "format": "date-time" + } + } + } + } + } + }, + "organizationInformation": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "maxLength": 30, + "example": "merch-test1" + }, + "parentOrganizationId": { + "type": "string", + "example": "merch-test1-acct" + }, + "childOrganizations": { + "type": "array", + "items": { + "type": "string", + "example": "transactional-org", + "description": "child Organizations is an array of strings. The values returned will be in array format ['string1','string2']" + } + } + } + }, + "productInformationSetups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z]+$", + "example": "merch-test1" + }, + "setups": { + "type": "object", + "properties": { + "payments": { + "type": "object", + "properties": { + "cardProcessing": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cardPresentConnect": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "eCheck": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "payerAuthentication": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "digitalPayments": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "secureAcceptance": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "virtualTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "currencyConversion": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "tax": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "customerInvoicing": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "payouts": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "payByLink": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "unifiedCheckout": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + }, + "risk": { + "type": "object", + "properties": { + "fraudManagementEssentials": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "decisionManager": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + }, + "commerceSolutions": { + "type": "object", + "properties": { + "tokenManagement": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "accountUpdater": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "binLookup": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + }, + "valueAddedServices": { + "type": "object", + "properties": { + "reporting": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "transactionSearch": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "message": { + "type": "string", + "example": "Request was processed succesfully." + }, + "details": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid." + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.", + "example": "MISSING_FIELD" + }, + "value": { + "type": "string", + "example": "abc123" + }, + "reference": { + "type": "string", + "example": "xyz" + } + } + }, + "x-devcenter-additional-properties": [ + "organizationInformation", + "productInformation" + ] + } + } + } + } + }, + "400": { + "description": "Bad Request", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The http status description of the submitted request.", + "example": "BAD_REQUEST" + }, + "reason": { + "type": "string", + "description": "Documented reason codes. Client should be able to use the key for generating their own error message\nPossible Values:\n - 'INVALID_DATA'\n - 'SYSTEM_ERROR'\n - 'RESOURCE_NOT_FOUND'\n", + "enum": [ + "INVALID_DATA", + "SYSTEM_ERROR", + "RESOURCE_NOT_FOUND" + ] + }, + "message": { + "type": "string", + "description": "Descriptive message for the error." + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid." + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.", + "example": "MISSING_FIELD" + } + } + } + } + } + } + }, + "422": { + "description": "Business Validations failed", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The http status description of the submitted request.", + "example": "UNPROCESSABLE_ENTITY" + }, + "reason": { + "type": "string", + "description": "Documented reason codes. Client should be able to use the key for generating their own error message\nPossible Values:\n - 'INVALID_DATA'\n", + "enum": [ + "INVALID_DATA" + ] + }, + "message": { + "type": "string", + "description": "Descriptive message for the error." + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid." + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.", + "example": "MISSING_FIELD" + } + } + } + } + } + } + }, + "500": { + "description": "Internal Server error", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The http status description of the submitted request.", + "example": "INTERNAL_SERVER_ERROR" + }, + "reason": { + "type": "string", + "description": "Documented reason codes. Client should be able to use the key for generating their own error message\nPossible Values:\n - 'SYSTEM_ERROR'\n", + "enum": [ + "SYSTEM_ERROR" + ] + }, + "message": { + "type": "string", + "description": "Descriptive message for the error." + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Create Registration", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "payerAuthentication": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "configurations": { + "cardTypes": { + "verifiedByVisa": { + "currencies": [ + { + "currencyCodes": [ + "ALL" + ], + "acquirerId": "469216", + "processorMerchantId": "678855" + } + ] + } + } + } + } + }, + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "1234", + "merchantDescriptorInformation": { + "name": "r4ef", + "city": "Bellevue", + "country": "US", + "phone": "4255547845", + "state": "WA", + "street": "StreetName", + "zip": "98007" + }, + "processors": { + "tsys": { + "merchantId": "123456789101", + "terminalId": "1231", + "industryCode": "D (Direct Marketing)", + "vitalNumber": "71234567", + "merchantBinNumber": "123456", + "merchantLocationNumber": "00001", + "storeID": "1234", + "settlementCurrency": "USD" + } + } + }, + "features": { + "cardNotPresent": { + "visaStraightThroughProcessingOnly": true + } + } + } + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": "true" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": "true" + } + }, + "payouts": { + "subscriptionInformation": { + "enabled": "true" + } + } + }, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": "true" + } + } + }, + "risk": { + "fraudManagementEssentials": { + "subscriptionInformation": { + "enabled": "true" + }, + "configurationInformation": { + "templateId": "E4EDB280-9DAC-4698-9EB9-9434D40FF60C" + } + } + } + } + } + } + }, + "example1": { + "summary": "Merchant Boarding with AmexDirect", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "1799", + "merchantDescriptorInformation": { + "city": "Cupertino", + "country": "USA", + "name": "Mer name", + "phone": "8885554444", + "zip": "94043", + "state": "CA", + "street": "mer street", + "url": "www.test.com" + }, + "subMerchantId": "123457", + "subMerchantBusinessName": "bus name", + "processors": { + "amexdirect": { + "acquirer": {}, + "currencies": { + "AED": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "terminalId": "", + "serviceEnablementNumber": "1234567890" + }, + "FJD": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "terminalId": "", + "serviceEnablementNumber": "1234567890" + }, + "USD": { + "enabled": true, + "enabledCardPresent": true, + "enabledCardNotPresent": true, + "terminalId": "", + "serviceEnablementNumber": "1234567890" + } + }, + "paymentTypes": { + "AMERICAN_EXPRESS": { + "enabled": true + } + }, + "allowMultipleBills": false, + "avsFormat": "basic", + "batchGroup": "amexdirect_vme_default", + "enableAutoAuthReversalAfterVoid": false, + "enhancedData": "disabled", + "enableLevel2": false, + "amexTransactionAdviceAddendum1": "amex123" + } + } + }, + "features": { + "cardNotPresent": { + "processors": { + "amexdirect": { + "relaxAddressVerificationSystem": true, + "relaxAddressVerificationSystemAllowExpiredCard": true, + "relaxAddressVerificationSystemAllowZipWithoutCountry": false + } + } + } + } + }, + "templateId": "2B80A3C7-5A39-4CC3-9882-AC4A828D3646" + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "9FA1BB94-5119-48D3-B2E5-A81FD3C657B5" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": true + } + } + }, + "risk": {}, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "D62BEE20-DCFD-4AA2-8723-BA3725958ABA" + } + } + }, + "valueAddedServices": { + "transactionSearch": { + "subscriptionInformation": { + "enabled": true + } + }, + "reporting": { + "subscriptionInformation": { + "enabled": true + } + } + } + } + } + } + }, + "example2": { + "summary": "Merchant Boarding with Barclays", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "5999", + "defaultAuthTypeCode": "FINAL", + "processors": { + "barclays2": { + "acquirer": {}, + "currencies": { + "AED": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "1234", + "terminalIds": [ + "12351245" + ], + "serviceEnablementNumber": "" + }, + "USD": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "1234", + "terminalIds": [ + "12351245" + ], + "serviceEnablementNumber": "" + } + }, + "paymentTypes": { + "MASTERCARD": { + "enabled": true + }, + "VISA": { + "enabled": true + } + }, + "batchGroup": "barclays2_16", + "quasiCash": false, + "enhancedData": "disabled", + "merchantId": "124555", + "enableMultiCurrencyProcessing": false + } + } + }, + "features": { + "cardNotPresent": { + "processors": { + "barclays2": { + "payouts": { + "merchantId": "1233", + "terminalId": "1244" + } + } + } + } + } + }, + "templateId": "0A413572-1995-483C-9F48-FCBE4D0B2E86" + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "9FA1BB94-5119-48D3-B2E5-A81FD3C657B5" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": true + } + } + }, + "risk": {}, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "D62BEE20-DCFD-4AA2-8723-BA3725958ABA" + } + } + }, + "valueAddedServices": { + "transactionSearch": { + "subscriptionInformation": { + "enabled": true + } + }, + "reporting": { + "subscriptionInformation": { + "enabled": true + } + } + } + } + } + } + }, + "example3": { + "summary": "Merchant Boarding with CUP", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "1799", + "processors": { + "CUP": { + "acquirer": { + "countryCode": "344_hongkong", + "institutionId": "22344" + }, + "currencies": { + "HKD": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "112233", + "terminalId": "11224455", + "serviceEnablementNumber": "" + }, + "AUD": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "112233", + "terminalId": "11224455", + "serviceEnablementNumber": "" + }, + "USD": { + "enabled": true, + "enabledCardPresent": true, + "enabledCardNotPresent": true, + "merchantId": "112233", + "terminalId": "11224455", + "serviceEnablementNumber": "" + } + }, + "paymentTypes": { + "CUP": { + "enabled": true + } + } + } + } + } + }, + "templateId": "1D8BC41A-F04E-4133-87C8-D89D1806106F" + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "9FA1BB94-5119-48D3-B2E5-A81FD3C657B5" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": true + } + } + }, + "risk": {}, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "D62BEE20-DCFD-4AA2-8723-BA3725958ABA" + } + } + }, + "valueAddedServices": { + "transactionSearch": { + "subscriptionInformation": { + "enabled": true + } + }, + "reporting": { + "subscriptionInformation": { + "enabled": true + } + } + } + } + } + } + }, + "example4": { + "summary": "Merchant Boarding with EFTPOS", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": false + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "5999", + "preferCobadgedSecondaryBrand": true, + "processors": { + "EFTPOS": { + "acquirer": { + "countryCode": "344_hongkong", + "institutionId": "22344" + }, + "currencies": { + "AUD": { + "enabled": true, + "merchantId": "12345612344", + "terminalId": "12121212" + } + }, + "paymentTypes": { + "EFTPOS": { + "enabled": true + } + }, + "enableCVVResponseIndicator": true, + "enableLeastCostRouting": true, + "merchantTier": "000" + } + } + }, + "features": {} + }, + "templateId": "1F9B7F6E-F0DB-44C8-BF8E-5013E34C0F87" + } + } + } + } + } + } + }, + "example5": { + "summary": "Merchant Boarding with FDIGlobal", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "0742", + "defaultAuthTypeCode": "PRE", + "processLevel3Data": "ignored", + "masterCardAssignedId": "123456789", + "enablePartialAuth": true, + "processors": { + "fdiglobal": { + "acquirer": {}, + "currencies": { + "CHF": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "123456789mer", + "terminalId": "12345ter", + "serviceEnablementNumber": "" + }, + "HRK": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "123456789mer", + "terminalId": "12345ter", + "serviceEnablementNumber": "" + }, + "ERN": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "123456789mer", + "terminalId": "12345ter", + "serviceEnablementNumber": "" + }, + "USD": { + "enabled": true, + "enabledCardPresent": true, + "enabledCardNotPresent": true, + "merchantId": "123456789mer", + "terminalId": "12345ter", + "serviceEnablementNumber": "" + } + }, + "paymentTypes": { + "MASTERCARD": { + "enabled": true + }, + "DISCOVER": { + "enabled": true + }, + "JCB": { + "enabled": true + }, + "VISA": { + "enabled": true + }, + "PIN_DEBIT": { + "enabled": true, + "currencies": { + "USD": { + "enabled": true, + "terminalId": "pint123", + "merchantId": "pinm123", + "serviceEnablementNumber": null + } + } + }, + "AMERICAN_EXPRESS": { + "enabled": true + }, + "DINERS_CLUB": { + "enabled": true + }, + "CUP": { + "enabled": true + } + }, + "batchGroup": "fdiglobal_vme_default", + "enhancedData": "disabled", + "enablePosNetworkSwitching": true, + "enableTransactionReferenceNumber": true + } + } + }, + "features": { + "cardNotPresent": { + "processors": { + "fdiglobal": { + "relaxAddressVerificationSystem": true, + "relaxAddressVerificationSystemAllowExpiredCard": true, + "relaxAddressVerificationSystemAllowZipWithoutCountry": true + } + }, + "visaStraightThroughProcessingOnly": true, + "amexTransactionAdviceAddendum1": "amex12345", + "ignoreAddressVerificationSystem": true + } + } + }, + "templateId": "685A1FC9-3CEC-454C-9D8A-19205529CE45" + } + } + } + } + } + } + }, + "example6": { + "summary": "Merchant Boarding with GPX", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "1799", + "defaultAuthTypeCode": "FINAL", + "foodAndConsumerServiceId": "1456", + "masterCardAssignedId": "4567", + "sicCode": "1345", + "enablePartialAuth": false, + "allowCapturesGreaterThanAuthorizations": false, + "enableDuplicateMerchantReferenceNumberBlocking": false, + "creditCardRefundLimitPercent": "2", + "businessCenterCreditCardRefundLimitPercent": "3", + "processors": { + "gpx": { + "acquirer": { + "countryCode": "840_usa", + "fileDestinationBin": "123456", + "interbankCardAssociationId": "1256", + "institutionId": "113366", + "discoverInstitutionId": "1567" + }, + "currencies": { + "AED": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "terminalId": "", + "serviceEnablementNumber": "" + } + }, + "paymentTypes": { + "MASTERCARD": { + "enabled": true + }, + "VISA": { + "enabled": true + }, + "PIN_DEBIT": { + "enabled": true + }, + "JCB": { + "enabled": true + }, + "DINERS_CLUB": { + "enabled": true + }, + "DISCOVER": { + "enabled": true + } + }, + "allowMultipleBills": true, + "batchGroup": "gpx", + "businessApplicationId": "AA", + "enhancedData": "disabled", + "fireSafetyIndicator": false, + "abaNumber": "1122445566778", + "merchantVerificationValue": "234", + "quasiCash": false, + "merchantId": "112233", + "terminalId": "112244" + } + } + }, + "features": { + "cardNotPresent": { + "processors": { + "gpx": { + "enableEmsTransactionRiskScore": true, + "relaxAddressVerificationSystem": true, + "relaxAddressVerificationSystemAllowExpiredCard": true, + "relaxAddressVerificationSystemAllowZipWithoutCountry": true + } + }, + "visaStraightThroughProcessingOnly": false, + "ignoreAddressVerificationSystem": false + }, + "cardPresent": { + "processors": { + "gpx": { + "financialInstitutionId": "1347", + "pinDebitNetworkOrder": "23456", + "pinDebitReimbursementCode": "43567", + "defaultPointOfSaleTerminalId": "5432" + } + }, + "enableTerminalIdLookup": false + } + } + }, + "templateId": "D2A7C000-5FCA-493A-AD21-469744A19EEA" + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "9FA1BB94-5119-48D3-B2E5-A81FD3C657B5" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": true + } + } + }, + "risk": {}, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "D62BEE20-DCFD-4AA2-8723-BA3725958ABA" + } + } + }, + "valueAddedServices": { + "transactionSearch": { + "subscriptionInformation": { + "enabled": true + } + }, + "reporting": { + "subscriptionInformation": { + "enabled": true + } + } + } + } + } + } + }, + "example7": { + "summary": "Merchant Boarding with SmartFDC", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "1799", + "defaultAuthTypeCode": "FINAL", + "enablePartialAuth": true, + "processors": { + "smartfdc": { + "acquirer": {}, + "paymentTypes": { + "MASTERCARD": { + "enabled": true + }, + "DISCOVER": { + "enabled": true + }, + "JCB": { + "enabled": true + }, + "VISA": { + "enabled": true + }, + "AMERICAN_EXPRESS": { + "enabled": true + }, + "DINERS_CLUB": { + "enabled": true + } + }, + "merchantId": "00001234567", + "terminalId": "00007654321", + "batchGroup": "smartfdc_00" + } + } + } + }, + "templateId": "3173DA78-A71E-405B-B79C-928C1A9C6AB2" + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "9FA1BB94-5119-48D3-B2E5-A81FD3C657B5" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": true + } + } + }, + "risk": {}, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "D62BEE20-DCFD-4AA2-8723-BA3725958ABA" + } + } + }, + "valueAddedServices": { + "transactionSearch": { + "subscriptionInformation": { + "enabled": true + } + }, + "reporting": { + "subscriptionInformation": { + "enabled": true + } + } + } + } + } + } + }, + "example8": { + "summary": "Merchant Boarding with TSYS", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "5999", + "processLevel3Data": "ignored", + "defaultAuthTypeCode": "FINAL", + "merchantDescriptorInformation": { + "city": "cpertino", + "country": "USA", + "name": "kumar", + "state": "CA", + "phone": "888555333", + "zip": "94043", + "street": "steet1" + }, + "enablePartialAuth": false, + "amexVendorCode": "2233", + "processors": { + "tsys": { + "acquirer": {}, + "currencies": { + "CAD": { + "enabled": true, + "enabledCardPresent": true, + "enabledCardNotPresent": true, + "terminalId": "1234", + "serviceEnablementNumber": "" + } + }, + "paymentTypes": { + "MASTERCARD": { + "enabled": true + }, + "VISA": { + "enabled": true + } + }, + "bankNumber": "234576", + "chainNumber": "223344", + "batchGroup": "vital_1130", + "enhancedData": "disabled", + "industryCode": "D (Direct Marketing)", + "merchantBinNumber": "765576", + "merchantId": "834215123456", + "merchantLocationNumber": "00001", + "storeID": "2563", + "vitalNumber": "71234567", + "quasiCash": false, + "sendAmexLevel2Data": null, + "softDescriptorType": "1 - trans_ref_no", + "travelAgencyCode": "2356", + "travelAgencyName": "Agent" + } + } + }, + "features": { + "cardNotPresent": { + "visaStraightThroughProcessingOnly": false, + "amexTransactionAdviceAddendum1": null + } + } + }, + "templateId": "818048AD-2860-4D2D-BC39-2447654628A1" + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "9FA1BB94-5119-48D3-B2E5-A81FD3C657B5" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": true + } + } + }, + "risk": {}, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "D62BEE20-DCFD-4AA2-8723-BA3725958ABA" + } + } + }, + "valueAddedServices": { + "transactionSearch": { + "subscriptionInformation": { + "enabled": true + } + }, + "reporting": { + "subscriptionInformation": { + "enabled": true + } + } + } + } + } + } + }, + "example9": { + "summary": "Merchant Boarding with VPC", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": { + "cardProcessing": { + "subscriptionInformation": { + "enabled": true, + "features": { + "cardNotPresent": { + "enabled": true + }, + "cardPresent": { + "enabled": true + } + } + }, + "configurationInformation": { + "configurations": { + "common": { + "merchantCategoryCode": "1799", + "defaultAuthTypeCode": "FINAL", + "masterCardAssignedId": null, + "sicCode": null, + "enablePartialAuth": false, + "enableInterchangeOptimization": false, + "enableSplitShipment": false, + "visaDelegatedAuthenticationId": "123457", + "domesticMerchantId": "123458", + "creditCardRefundLimitPercent": "2", + "businessCenterCreditCardRefundLimitPercent": "3", + "allowCapturesGreaterThanAuthorizations": false, + "enableDuplicateMerchantReferenceNumberBlocking": false, + "processors": { + "VPC": { + "acquirer": { + "countryCode": "840_usa", + "fileDestinationBin": "444500", + "interbankCardAssociationId": "3684", + "institutionId": "444571", + "discoverInstitutionId": null + }, + "paymentTypes": { + "VISA": { + "enabled": true, + "currencies": { + "CAD": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "terminalId": "113366", + "merchantId": "113355", + "serviceEnablementNumber": null + }, + "USD": { + "enabled": true, + "enabledCardPresent": true, + "enabledCardNotPresent": true, + "terminalId": "113366", + "merchantId": "113355", + "serviceEnablementNumber": null + } + } + } + }, + "acquirerMerchantId": "123456", + "allowMultipleBills": false, + "batchGroup": "vdcvantiv_est_00", + "businessApplicationId": "AA", + "enableAutoAuthReversalAfterVoid": true, + "enableExpresspayPanTranslation": null, + "merchantVerificationValue": "123456", + "quasiCash": false, + "enableTransactionReferenceNumber": true + } + } + }, + "features": { + "cardNotPresent": { + "processors": { + "VPC": { + "enableEmsTransactionRiskScore": null, + "relaxAddressVerificationSystem": true, + "relaxAddressVerificationSystemAllowExpiredCard": true, + "relaxAddressVerificationSystemAllowZipWithoutCountry": true + } + }, + "visaStraightThroughProcessingOnly": false, + "ignoreAddressVerificationSystem": true + }, + "cardPresent": { + "processors": { + "VPC": { + "defaultPointOfSaleTerminalId": "223344", + "pointOfSaleTerminalIds": "223355" + } + } + } + } + }, + "templateId": "D671CE88-2F09-469C-A1B4-52C47812F792" + } + }, + "virtualTerminal": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "9FA1BB94-5119-48D3-B2E5-A81FD3C657B5" + } + }, + "customerInvoicing": { + "subscriptionInformation": { + "enabled": true + } + } + }, + "risk": {}, + "commerceSolutions": { + "tokenManagement": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "templateId": "D62BEE20-DCFD-4AA2-8723-BA3725958ABA" + } + } + }, + "valueAddedServices": { + "transactionSearch": { + "subscriptionInformation": { + "enabled": true + } + }, + "reporting": { + "subscriptionInformation": { + "enabled": true + } + } + } + } + } + } + }, + "example10": { + "summary": "Merchant Boarding with binLookup", + "value": { + "organizationInformation": { + "parentOrganizationId": "apitester00", + "type": "MERCHANT", + "configurable": "true", + "businessInformation": { + "name": "StuartWickedFastEatz", + "address": { + "country": "US", + "address1": "123456 SandMarket", + "locality": "ORMOND BEACH", + "administrativeArea": "FL", + "postalCode": "32176" + }, + "websiteUrl": "https://www.StuartWickedEats.com", + "phoneNumber": "6574567813", + "businessContact": { + "firstName": "Stuart", + "lastName": "Stuart", + "phoneNumber": "6574567813", + "email": "svc_email_bt@corpdev.visa.com" + }, + "merchantCategoryCode": "5999" + } + }, + "productInformation": { + "selectedProducts": { + "payments": {}, + "risk": {}, + "commerceSolutions": { + "binLookup": { + "subscriptionInformation": { + "enabled": true + }, + "configurationInformation": { + "configuration": { + "isPayoutOptionsEnabled": false, + "isAccountPrefixEnabled": true + } + } + } + }, + "valueAddedServices": {} + } + } + } + } + } + } + }, + "/boarding/v1/registrations/{registrationId}": { + "get": { + "x-devcenter-metaData": { + "categoryTag": "Merchant_Boarding", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "disableProcessorDropDown": true, + "authorizationType": [ + "Json Web Token" + ], + "overrideMerchantCredential": "apitester00", + "developerGuides": "https://developer.cybersource.com/api/developer-guides/Merchant-Boarding-API_ditamap/Merchant-Boarding-API.html" + }, + "tags": [ + "Merchant Boarding" + ], + "summary": "Gets all the information on a boarding registration", + "description": "This end point will get all information of a boarding registration\n", + "operationId": "getRegistration", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "registrationId", + "type": "string", + "description": "Identifies the boarding registration to be updated", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "registrationInformation": { + "type": "object", + "properties": { + "boardingRegistrationId": { + "type": "string", + "maxLength": 60, + "example": "1234124", + "readOnly": true + }, + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n", + "readOnly": true + }, + "status": { + "type": "string", + "readOnly": true, + "description": "The status of Registration request\nPossible Values:\n - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id\n - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process.\n - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information.\n - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information.\n", + "enum": [ + "PROCESSING", + "SUCCESS", + "FAILURE", + "PARTIAL" + ] + }, + "boardingPackageId": { + "type": "string", + "maxLength": 60, + "example": 1004001 + }, + "boardingFlow": { + "type": "string", + "description": "Determines the boarding flow for this registration.\nPossible Values:\n - 'ENTERPRISE'\n - 'SMB'\n - 'ADDPRODUCT'\n", + "enum": [ + "ENTERPRISE", + "SMB", + "ADDPRODUCT" + ] + }, + "mode": { + "type": "string", + "description": "In case mode is not provided the API will use COMPLETE as default\nPossible Values:\n - 'COMPLETE'\n - 'PARTIAL'\n", + "enum": [ + "COMPLETE", + "PARTIAL" + ] + }, + "salesRepId": { + "type": "string", + "maxLength": 60, + "example": "Rep1" + } + } + }, + "integrationInformation": { + "type": "object", + "properties": { + "oauth2": { + "type": "array", + "items": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "maxLength": 32, + "example": "client123" + }, + "state": { + "type": "string", + "maxLength": 20, + "example": "test123" + } + }, + "required": [ + "client_id" + ] + } + }, + "tenantConfigurations": { + "type": "array", + "description": "tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.", + "items": { + "type": "object", + "properties": { + "solutionId": { + "type": "string", + "maxLength": 8, + "minLength": 8, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "The solutionId is the unique identifier for this system resource.\nPartner can use it to reference the specific solution through out the system.\n", + "example": "YumSolution1" + }, + "tenantConfigurationId": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "The tenantConfigurationId is the unique identifier for this system resource.\nYou will see various places where it must be referenced in the URI path, or when\nquerying the hierarchy for ancestors or descendants.\n" + }, + "status": { + "type": "string", + "enum": [ + "LIVE", + "INACTIVE", + "TEST" + ] + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.", + "format": "date-time" + }, + "tenantInformation": { + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "maxLength": 50, + "minLength": 1, + "description": "The TenantId is an external Solution Identifier given by Tech Partners like SAP.", + "example": "SAP123" + } + } + } + } + } + } + } + }, + "organizationInformation": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + }, + "parentOrganizationId": { + "type": "string", + "description": "This field is required for Organization Types: MERCHANT, TRANSACTING\n", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1-acct" + }, + "childOrganizations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "transactional-org" + } + }, + "type": { + "type": "string", + "description": "Determines the type of organization in the hirarchy that this registration will use to onboard this Organization\nPossible Values:\n - 'TRANSACTING'\n - 'STRUCTURAL'\n - 'MERCHANT'\n", + "enum": [ + "TRANSACTING", + "STRUCTURAL", + "MERCHANT" + ] + }, + "status": { + "type": "string", + "description": "Determines the status that the organization will be after being onboarded\nPossible Values:\n - 'LIVE'\n - 'TEST'\n - 'DRAFT'\n", + "enum": [ + "LIVE", + "TEST", + "DRAFT" + ] + }, + "configurable": { + "description": "This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration.", + "type": "boolean", + "default": false, + "example": false + }, + "businessInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 60, + "minLength": 1, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "Betos Restaurant" + }, + "doingBusinessAs": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "Betos Restaurant" + }, + "description": { + "type": "string", + "maxLength": 250, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\\n\\ra-zA-Z0-9().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "International food Restaurant" + }, + "startDate": { + "type": "string", + "format": "date", + "pattern": "^\\d{4}\\-(0[1-9]|1[012])\\-(0[1-9]|[12][0-9]|3[01])$", + "example": "2019-06-11T00:00:00.000Z", + "description": "`Format: YYYY-MM-DD`\nExample 2016-08-11 equals August 11, 2016\n" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "maxLength": 2, + "minLength": 2, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "US" + }, + "address1": { + "type": "string", + "maxLength": 60, + "minLength": 1, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "123 Fake st" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "apt 2" + }, + "locality": { + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z _\\-\u00a1-\uffff]+$", + "description": "City of the billing address.", + "example": "Bellevue" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z\u00a1-\uffff ]*$", + "description": "State or province of the billing address. Required for United States and Canada.", + "example": "WA" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "pattern": "^[0-9a-zA-Z ]*$", + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada.", + "example": 3384 + } + }, + "required": [ + "country", + "address1", + "locality" + ] + }, + "timeZone": { + "type": "string", + "description": "Merchant perferred time zone\nPossible Values:\n- 'Pacific/Pago_Pago'\n- 'Pacific/Honolulu'\n- 'America/Anchorage'\n- 'America/Vancouver'\n- 'America/Los_Angeles'\n- 'America/Phoenix'\n- 'America/Edmonton'\n- 'America/Denver'\n- 'America/Winnipeg'\n- 'America/Mexico_City'\n- 'America/Chicago'\n- 'America/Bogota'\n- 'America/Indianapolis'\n- 'America/New_York'\n- 'America/La_Paz'\n- 'America/Halifax'\n- 'America/St_Johns'\n- 'America/Buenos_Aires'\n- 'America/Godthab'\n- 'America/Sao_Paulo'\n- 'America/Noronha'\n- 'Atlantic/Cape_Verde'\n- 'GMT'\n- 'Europe/Dublin'\n- 'Europe/Lisbon'\n- 'Europe/London'\n- 'Africa/Tunis'\n- 'Europe/Vienna'\n- 'Europe/Brussels'\n- 'Europe/Zurich'\n- 'Europe/Prague'\n- 'Europe/Berlin'\n- 'Europe/Copenhagen'\n- 'Europe/Madrid'\n- 'Europe/Budapest'\n- 'Europe/Rome'\n- 'Africa/Tripoli'\n- 'Europe/Monaco'\n- 'Europe/Malta'\n- 'Europe/Amsterdam'\n- 'Europe/Oslo'\n- 'Europe/Warsaw'\n- 'Europe/Stockholm'\n- 'Europe/Belgrade'\n- 'Europe/Paris'\n- 'Africa/Johannesburg'\n- 'Europe/Minsk'\n- 'Africa/Cairo'\n- 'Europe/Helsinki'\n- 'Europe/Athens'\n- 'Asia/Jerusalem'\n- 'Europe/Riga'\n- 'Europe/Bucharest'\n- 'Europe/Istanbul'\n- 'Asia/Riyadh'\n- 'Europe/Moscow'\n- 'Asia/Dubai'\n- 'Asia/Baku'\n- 'Asia/Tbilisi'\n- 'Asia/Calcutta'\n- 'Asia/Katmandu'\n- 'Asia/Dacca'\n- 'Asia/Rangoon'\n- 'Asia/Jakarta'\n- 'Asia/Saigon'\n- 'Asia/Bangkok'\n- 'Australia/Perth'\n- 'Asia/Hong_Kong'\n- 'Asia/Macao'\n- 'Asia/Kuala_Lumpur'\n- 'Asia/Manila'\n- 'Asia/Singapore'\n- 'Asia/Taipei'\n- 'Asia/Shanghai'\n- 'Asia/Seoul'\n- 'Asia/Tokyo'\n- 'Asia/Yakutsk'\n- 'Australia/Adelaide'\n- 'Australia/Brisbane'\n- 'Australia/Broken_Hill'\n- 'Australia/Darwin'\n- 'Australia/Eucla'\n- 'Australia/Hobart'\n- 'Australia/Lindeman'\n- 'Australia/Sydney'\n- 'Australia/Lord_Howe'\n- 'Australia/Melbourne'\n- 'Asia/Magadan'\n- 'Pacific/Norfolk'\n- 'Pacific/Auckland'\n", + "enum": [ + "Pacific/Pago_Pago", + "Pacific/Honolulu", + "America/Anchorage", + "America/Vancouver", + "America/Los_Angeles", + "America/Phoenix", + "America/Edmonton", + "America/Denver", + "America/Winnipeg", + "America/Mexico_City", + "America/Chicago", + "America/Bogota", + "America/Indianapolis", + "America/New_York", + "America/La_Paz", + "America/Halifax", + "America/St_Johns", + "America/Buenos_Aires", + "America/Godthab", + "America/Sao_Paulo", + "America/Noronha", + "Atlantic/Cape_Verde", + "GMT", + "Europe/Dublin", + "Europe/Lisbon", + "Europe/London", + "Africa/Tunis", + "Europe/Vienna", + "Europe/Brussels", + "Europe/Zurich", + "Europe/Prague", + "Europe/Berlin", + "Europe/Copenhagen", + "Europe/Madrid", + "Europe/Budapest", + "Europe/Rome", + "Africa/Tripoli", + "Europe/Monaco", + "Europe/Malta", + "Europe/Amsterdam", + "Europe/Oslo", + "Europe/Warsaw", + "Europe/Stockholm", + "Europe/Belgrade", + "Europe/Paris", + "Africa/Johannesburg", + "Europe/Minsk", + "Africa/Cairo", + "Europe/Helsinki", + "Europe/Athens", + "Asia/Jerusalem", + "Europe/Riga", + "Europe/Bucharest", + "Europe/Istanbul", + "Asia/Riyadh", + "Europe/Moscow", + "Asia/Dubai", + "Asia/Baku", + "Asia/Tbilisi", + "Asia/Calcutta", + "Asia/Katmandu", + "Asia/Dacca", + "Asia/Rangoon", + "Asia/Jakarta", + "Asia/Saigon", + "Asia/Bangkok", + "Australia/Perth", + "Asia/Hong_Kong", + "Asia/Macao", + "Asia/Kuala_Lumpur", + "Asia/Manila", + "Asia/Singapore", + "Asia/Taipei", + "Asia/Shanghai", + "Asia/Seoul", + "Asia/Tokyo", + "Asia/Yakutsk", + "Australia/Adelaide", + "Australia/Brisbane", + "Australia/Broken_Hill", + "Australia/Darwin", + "Australia/Eucla", + "Australia/Hobart", + "Australia/Lindeman", + "Australia/Sydney", + "Australia/Lord_Howe", + "Australia/Melbourne", + "Asia/Magadan", + "Pacific/Norfolk", + "Pacific/Auckland" + ], + "example": "America/Chicago" + }, + "websiteUrl": { + "type": "string", + "maxLength": 100, + "pattern": "\\b((?:https?://|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:'\".,<>?\u00c2\u00ab\u00c2\u00bb\u00e2\u20ac\u0153\u00e2\u20ac\u009d\u00e2\u20ac\u02dc\u00e2\u20ac\u2122]))", + "example": "www.test.com" + }, + "type": { + "type": "string", + "description": "Business type\nPossible Values:\n - 'PARTNERSHIP'\n - 'SOLE_PROPRIETORSHIP'\n - 'CORPORATION'\n - 'LLC'\n - 'NON_PROFIT'\n - 'TRUST'\n", + "enum": [ + "PARTNERSHIP", + "SOLE_PROPRIETORSHIP", + "CORPORATION", + "LLC", + "NON_PROFIT", + "TRUST" + ] + }, + "taxId": { + "type": "string", + "maxLength": 9, + "pattern": "\\d{9}", + "example": 254324 + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4564561234 + }, + "businessContact": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + } + }, + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ] + }, + "technicalContact": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + } + }, + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ] + }, + "emergencyContact": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\+\\.\\*\\\"/'&\\,\\(\\)!$;:?@\\#\u00a1-\uffff]+$", + "example": "John" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + } + }, + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ] + }, + "merchantCategoryCode": { + "type": "string", + "maxLength": 4, + "pattern": "^\\d{3,4}$", + "example": 5300, + "description": "Industry standard Merchant Category Code (MCC)" + } + }, + "required": [ + "name" + ] + }, + "KYC": { + "type": "object", + "properties": { + "whenIsCustomerCharged": { + "type": "string", + "enum": [ + "ONETIMEBEFORE", + "ONETIMEAFTER", + "OTHER" + ], + "example": "ONETIMEBEFORE" + }, + "whenIsCustomerChargedDescription": { + "type": "string", + "maxLength": 100 + }, + "offerSubscriptions": { + "type": "boolean", + "example": true + }, + "monthlySubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 30 + }, + "quarterlySubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 20 + }, + "semiAnnualSubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 50 + }, + "annualSubscriptionPercent": { + "type": "number", + "format": "decimal", + "pattern": "^((100)|(\\d{0,2}))$", + "example": 100 + }, + "timeToProductDelivery": { + "type": "string", + "enum": [ + "INSTANT", + "UPTO2", + "UPTO5", + "UPTO10", + "GREATERTHAN10" + ] + }, + "estimatedMonthlySales": { + "type": "number", + "format": "currency", + "pattern": "^\\d{1,8}(\\.\\d{1,2})?$", + "example": 10000.5 + }, + "averageOrderAmount": { + "type": "number", + "format": "currency", + "pattern": "^\\d{1,6}(\\.\\d{1,2})?$", + "example": 50.5 + }, + "largestExpectedOrderAmount": { + "type": "number", + "format": "currency", + "pattern": "^\\d{1,6}(\\.\\d{1,2})?$", + "example": 100.5 + }, + "depositBankAccount": { + "type": "object", + "properties": { + "accountHolderName": { + "type": "string", + "maxLength": 40, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John Doe" + }, + "accountType": { + "type": "string", + "enum": [ + "checking", + "savings", + "corporatechecking", + "corporatesavings" + ], + "example": "checking" + }, + "accountRoutingNumber": { + "type": "string", + "maxLength": 9, + "pattern": "\\d{9}" + }, + "accountNumber": { + "type": "string", + "maxLength": 17, + "pattern": "^\\d{5,17}$" + } + }, + "required": [ + "accountHolderName", + "accountType", + "accountRoutingNumber", + "accountNumber" + ] + } + }, + "required": [ + "whenIsCustomerCharged", + "offerSubscriptions", + "timeToProductDelivery", + "estimatedMonthlySales", + "averageOrderAmount", + "largestExpectedOrderAmount" + ] + }, + "owners": { + "type": "array", + "items": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "pattern": "[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ff\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z().\\-_#,;/\\\\@$:&!?%\u00ab\u00bb\u20ac\u20a3\u00ab\u00bb\u20ac\u20a3 ]{1,}$", + "example": "John" + }, + "birthDate": { + "type": "string", + "format": "date", + "pattern": "^\\d{4}\\-(0[1-9]|1[012])\\-(0[1-9]|[12][0-9]|3[01])$", + "example": "2016-08-11T00:00:00.000Z", + "description": "`Format: YYYY-MM-DD`\nExample 2016-08-11 equals August 11, 2016\n" + }, + "isPrimary": { + "type": "boolean", + "description": "Determines whether the owner is the Primary owner of the organization", + "example": true + }, + "ssn": { + "type": "string", + "maxLength": 12, + "pattern": "^\\d{3}-\\d{2}-\\d{4}$|^\\d{9,9}$", + "example": 123456789, + "description": "Social Security Number" + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "pattern": "^(?!^0+$)[a-zA-Z0-9]{3,20}$", + "example": "1234556", + "description": "Passport number" + }, + "passportCountry": { + "type": "string", + "maxLength": 2, + "minLength": 2, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "US" + }, + "jobTitle": { + "type": "string", + "maxLength": 100, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "Director" + }, + "hasSignificantResponsability": { + "type": "boolean", + "description": "Determines whether owner has significant responsibility to control, manage or direct the company", + "example": true + }, + "ownershipPercentage": { + "type": "number", + "pattern": "^[0-9]$|^[1-9][0-9]$|^(100)$", + "description": "Determines the percentage of ownership this owner has. For the primary owner the percentage can be from 0-100; for other owners the percentage can be from 25-100 and the sum of ownership accross owners cannot exceed 100", + "example": 25 + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "example": 4567890398 + }, + "email": { + "type": "string", + "maxLength": 100, + "pattern": "^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,50}|[0-9]{1,3})(\\]?)$", + "example": "test@test.com" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "maxLength": 2, + "minLength": 2, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "US" + }, + "address1": { + "type": "string", + "maxLength": 60, + "minLength": 1, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "123 Fake st" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "example": "apt 2" + }, + "locality": { + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z _\\-\u00a1-\uffff]+$", + "description": "City of the billing address.", + "example": "Bellevue" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z\u00a1-\uffff ]*$", + "description": "State or province of the billing address. Required for United States and Canada.", + "example": "WA" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "pattern": "^[0-9a-zA-Z ]*$", + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits. Required for United States and Canada.", + "example": 3384 + } + }, + "required": [ + "country", + "address1", + "locality" + ] + } + }, + "required": [ + "firstName", + "lastName", + "birthDate", + "jobTitle", + "hasSignificantResponsability", + "ownershipPercentage", + "phoneNumber", + "email", + "address", + "isPrimary" + ] + } + } + }, + "required": [ + "businessInformation" + ] + }, + "productInformation": { + "type": "object", + "properties": { + "selectedProducts": { + "type": "object", + "properties": { + "payments": { + "type": "object", + "properties": { + "cardProcessing": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "features": { + "type": "object", + "description": "This is a map. The allowed keys are below. Value should be an object containing a sole boolean property - enabled.\n\n \n \n \n \n \n \n
cardPresent
cardNotPresent
\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "cardPresent", + "cardNotPresent" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "common": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "e.g.\n* amexdirect\n* barclays2\n* CUP\n* EFTPOS\n* fdiglobal\n* gpx\n* smartfdc\n* tsys\n* vero\n* VPC\n\nFor VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request.\ne.g. replace VPC with <your vpc processor>\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "amexdirect", + "barclays2", + "CUP", + "EFTPOS", + "fdiglobal", + "gpx", + "smartfdc", + "tsys", + "vero", + "VPC" + ], + "type": "object", + "properties": { + "batchGroup": { + "type": "string", + "description": "Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria:\n\n* Timezone\n* Merchant deadlines\n* Large merchants (top 10)\n* Merchants with Service-Level Agreements\n\nApplicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequired
Barclayscnp, cp, hybridYes
Barclays HISOcnp, cp, hybridYes
American Express Directcnp, cp, hybridNo
\n" + }, + "businessApplicationId": { + "type": "string", + "description": "Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors." + }, + "merchantVerificationValue": { + "type": "string", + "description": "Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors." + }, + "abaNumber": { + "type": "string", + "description": "Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors." + }, + "acquirer": { + "type": "object", + "description": "Identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant.", + "properties": { + "institutionId": { + "type": "string", + "description": "Identifier of the acquirer. This number is usually assigned by Visa.\nApplicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegexDefault Value
American Express Directcnp, cp, hybridYes113^[0-9]+$1111
\n" + }, + "interbankCardAssociationId": { + "type": "string", + "description": "Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors." + }, + "discoverInstitutionId": { + "type": "string", + "description": "Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors." + }, + "countryCode": { + "type": "string", + "description": "ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors." + }, + "fileDestinationBin": { + "type": "string", + "description": "The BIN to which this\u00a0capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors." + } + } + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclays HISOcp, cnp, hybridYes115^[0-9a-zA-Z]+$
Barclayscp, cnp, hybridYes111^[0-9a-zA-Z]+$
\n" + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclays HISOcnp, hybridYes116^[0-9a-zA-Z]+$
Barclays HISOcpNo116^[0-9a-zA-Z]+$
\n" + }, + "paymentTypes": { + "type": "object", + "description": "Valid values are:\n* VISA\n* MASTERCARD\n* AMERICAN_EXPRESS\n* CUP\n* EFTPOS\n* DINERS_CLUB\n* DISCOVER\n* JCB\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "VISA", + "MASTERCARD", + "AMERICAN_EXPRESS", + "DISCOVER", + "DINERS_CLUB", + "JCB", + "PIN_DEBIT" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "currencies": { + "type": "object", + "description": "Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "USD", + "CAD", + "GBP", + "EUR", + "CHF", + "NGN", + "ETB", + "CUP", + "AZN", + "RWF", + "DOP", + "GMD", + "BBD", + "GTG", + "NPR", + "SHP", + "BZD", + "JMP", + "PHP", + "BRL", + "TZS", + "BAM", + "ISK", + "KWD", + "RON", + "ARS", + "SBD", + "NOK", + "KRW", + "TJS", + "JOD", + "MOP", + "CLP", + "SOS", + "MGA", + "LVL", + "GIP", + "PYG", + "SAR", + "PGK", + "SGD", + "ROL", + "BSD", + "TRY", + "CDF", + "SYP", + "BMD", + "MRO", + "WST", + "GHS", + "BTN", + "HNL", + "MAD", + "GAR", + "SRD", + "BDT", + "KGS", + "GNF", + "CNY", + "JPY", + "LYD", + "TTD", + "CVE", + "SZL", + "ZMW", + "KPW", + "PEN", + "YER", + "VEB", + "KHR", + "VEF", + "VUV", + "SLL", + "AFN", + "SCR", + "BOB", + "COP", + "LTL", + "EGP", + "HUF", + "RSD", + "AOA", + "MYR", + "MTL", + "CYP", + "FKP", + "GYD", + "PLN", + "KMF", + "SGD", + "IQD", + "DKK", + "KES", + "UZS", + "TMM", + "NZD", + "LKR", + "EEK", + "SKK", + "ANG", + "INR", + "UYU", + "LSL", + "TND", + "STD", + "HTG", + "VND", + "AED", + "MZN", + "BND", + "KZT", + "PKR", + "XCD", + "RUB", + "MKD", + "BWP", + "AWG", + "GEL", + "MDL", + "HKD", + "MVR", + "amd", + "IRR", + "NAD", + "MWK", + "MNT", + "CRC", + "XPF", + "LAK", + "HRK", + "ALL", + "TOP", + "BIF", + "MUR", + "PAB", + "FJD", + "CZK", + "ZWD", + "KYD", + "IDR", + "BGN", + "MXN", + "UGX", + "MMK", + "UAH", + "DZD", + "XAF", + "THB", + "OMR", + "XOF", + "AUD", + "ZAR", + "LBP", + "NIO", + "DJF", + "LRD", + "TWD", + "ERN", + "BHD", + "ILS", + "SEK", + "BYR" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enabledCardPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled." + }, + "enabledCardNotPresent": { + "type": "boolean", + "description": "Indicates whether the card-not-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled." + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party." + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n" + }, + "terminalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Applicable for Prisma (prisma) processor." + }, + "serviceEnablementNumber": { + "type": "string", + "description": "Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards.\n10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant.\n" + } + } + } + } + } + } + }, + "currencies": { + "type": "object", + "description": "Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "USD", + "CAD", + "GBP", + "EUR", + "CHF", + "NGN", + "ETB", + "CUP", + "AZN", + "RWF", + "DOP", + "GMD", + "BBD", + "GTG", + "NPR", + "SHP", + "BZD", + "JMP", + "PHP", + "BRL", + "TZS", + "BAM", + "ISK", + "KWD", + "RON", + "ARS", + "SBD", + "NOK", + "KRW", + "TJS", + "JOD", + "MOP", + "CLP", + "SOS", + "MGA", + "LVL", + "GIP", + "PYG", + "SAR", + "PGK", + "SGD", + "ROL", + "BSD", + "TRY", + "CDF", + "SYP", + "BMD", + "MRO", + "WST", + "GHS", + "BTN", + "HNL", + "MAD", + "GAR", + "SRD", + "BDT", + "KGS", + "GNF", + "CNY", + "JPY", + "LYD", + "TTD", + "CVE", + "SZL", + "ZMW", + "KPW", + "PEN", + "YER", + "VEB", + "KHR", + "VEF", + "VUV", + "SLL", + "AFN", + "SCR", + "BOB", + "COP", + "LTL", + "EGP", + "HUF", + "RSD", + "AOA", + "MYR", + "MTL", + "CYP", + "FKP", + "GYD", + "PLN", + "KMF", + "SGD", + "IQD", + "DKK", + "KES", + "UZS", + "TMM", + "NZD", + "LKR", + "EEK", + "SKK", + "ANG", + "INR", + "UYU", + "LSL", + "TND", + "STD", + "HTG", + "VND", + "AED", + "MZN", + "BND", + "KZT", + "PKR", + "XCD", + "RUB", + "MKD", + "BWP", + "AWG", + "GEL", + "MDL", + "HKD", + "MVR", + "amd", + "IRR", + "NAD", + "MWK", + "MNT", + "CRC", + "XPF", + "LAK", + "HRK", + "ALL", + "TOP", + "BIF", + "MUR", + "PAB", + "FJD", + "CZK", + "ZWD", + "KYD", + "IDR", + "BGN", + "MXN", + "UGX", + "MMK", + "UAH", + "DZD", + "XAF", + "THB", + "OMR", + "XOF", + "AUD", + "ZAR", + "LBP", + "NIO", + "DJF", + "LRD", + "TWD", + "ERN", + "BHD", + "ILS", + "SEK", + "BYR" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enabledCardPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled.\n" + }, + "enabledCardNotPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled.\n" + }, + "merchantId": { + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscp, cnp, hybridYes111^[0-9a-zA-Z]+$
\n" + }, + "terminalId": { + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscp, cnp, hybridYes88^[0-9]+$
\n" + }, + "terminalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Applicable for Prisma (prisma) processor." + }, + "serviceEnablementNumber": { + "description": "Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards.\n10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcp, cnp, hybridYes1010^[0-9]+$
\n" + } + } + } + }, + "sicCode": { + "type": "string", + "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." + }, + "allowMultipleBills": { + "type": "boolean", + "description": "Allows multiple captures for a single authorization transaction.\nApplicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, hybridYesNo
American Express DirectcnpNoNo
\n" + }, + "allowMerchantDescriptorOverride": { + "type": "boolean", + "description": "Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors." + }, + "enhancedData": { + "type": "string", + "description": "To enable airline transactions.\nApplicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequired
Barclayscnp, cp, hybridNo
American Express Directcp, cnp, hybridNo
\n" + }, + "fireSafetyIndicator": { + "type": "boolean", + "description": "Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors." + }, + "quasiCash": { + "type": "boolean", + "description": "To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:-\nCasino gaming chips,\nMoney orders,\nWire transfers.\n\nApplicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclayscnp, cp, hybridNoNo
\n" + }, + "acquirerMerchantId": { + "type": "string", + "description": "Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors." + }, + "avsFormat": { + "type": "string", + "description": "Enables Enhanced AVS/Automated Address Verification Plus (AAV+).\n\nValid values:\n\"basic\" - Standard address verification system.\n When a processor supports AVS for a transaction\u2019s card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address.\n When a customer provides incorrect information, the transaction might be fraudulent.\n\"basic + name\" - Enhanced address verification system.\n Consists of the standard AVS functionality plus verification of some additional fields.\n The additional fields that are verified for Enhanced AVS are:\n - customer_firstname\n - customer_lastname\n\"basic + name + shipto\" - Automated address verification plus.\n Consists of the Enhanced AVS functionality plus verification of some additional fields.\n AAV+ intended for merchants who deliver physical goods to a different address than the billing address.\n AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first.\n For information about Enhanced AVS - The additional fields that are verified for AAV+ are:\n - ship_to_firstname\n - ship_to_lastname\n - ship_to_address1\n - ship_to_country\n - ship_to_zip\n - ship_to_phone\n - customer_phone(American Express Direct only)\n\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcnp, cp, hybridYesbasic
\n" + }, + "enableLongTransRefNo": { + "type": "boolean", + "description": "Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no.\nCan be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal.\n\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableLevel2": { + "type": "boolean", + "description": "Field that indicates whether merchant will send level 2 data for Amex cards.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableMultipleTransactionAdviceAddendum": { + "type": "boolean", + "description": "This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer\u2019s American Express card statement.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "amexTransactionAdviceAddendum1": { + "type": "string", + "description": "Advice addendum field. It is used to display descriptive information about a transaction on customer\u2019s American Express card statement.\nApplicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo140^[0-9a-zA-Z\-\\s.]+$
\n" + }, + "enableMultiLineItems": { + "type": "boolean", + "description": "This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n.\nApplicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableTransactionReferenceNumber": { + "type": "boolean", + "description": "To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors." + }, + "enableAutoAuthReversalAfterVoid": { + "type": "boolean", + "description": "Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds.\nApplicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcp, cnp, hybridNoNo
\n" + }, + "enableExpresspayPanTranslation": { + "type": "boolean", + "description": "When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor." + }, + "enableCreditAuth": { + "type": "boolean", + "description": "Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements." + }, + "industryCode": { + "type": "string", + "enum": [ + 0, + "A", + "B", + "D", + "F", + "G", + "H", + "L", + "O", + "P", + "R" + ], + "description": "Field used to identify the industry type of the merchant submitting the authorization request.\n\nValid values:\n`0` \u2013 unknown or unsure\n`A` \u2013 auto rental (EMV supported)\n`B` \u2013 bank/financial institution (EMV supported)\n`D` \u2013 direct marketing\n`F` \u2013 food/restaurant (EMV supported)\n`G` \u2013 grocery store/super market (EMV supported)\n`H` \u2013 hotel (EMV supported)\n`L` \u2013 limited amount terminal (EMV supported)\n`O` \u2013 oil company/automated fueling system (EMV supported)\n`P` \u2013 passenger transport (EMV supported)\n`R` \u2013 retail (EMV supported)\nApplicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors.\n" + }, + "sendAmexLevel2Data": { + "type": "boolean", + "description": "Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor." + }, + "softDescriptorType": { + "type": "string", + "description": "A soft descriptor is a text, rendered on a cardholder\u2019s statement, describing a particular product or service, purchased by the cardholder.\nDescriptors are intended to help the cardholder identify the products or services purchased.\nValid values:\n`1` - trans_ref_no\n`2` - merchant_descriptor\n`3` - trans_ref_no and merchant_descriptor\nApplicable for TSYS (tsys) processor.\n" + }, + "vitalNumber": { + "type": "string", + "description": "V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor." + }, + "bankNumber": { + "type": "string", + "description": "6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor." + }, + "chainNumber": { + "type": "string", + "description": "6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor." + }, + "merchantBinNumber": { + "type": "string", + "description": "6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor." + }, + "merchantLocationNumber": { + "type": "string", + "description": "5 digit merchant location number. Unless otherwise specified by merchant\u2019s bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor." + }, + "storeID": { + "type": "string", + "description": "4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor." + }, + "travelAgencyCode": { + "type": "string", + "description": "Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor." + }, + "travelAgencyName": { + "type": "string", + "description": "Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor." + }, + "settlementCurrency": { + "type": "string", + "description": "This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors." + }, + "enableLeastCostRouting": { + "type": "boolean", + "description": "Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors." + }, + "enableCVVResponseIndicator": { + "type": "boolean", + "description": "This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors." + }, + "enableMultiCurrencyProcessing": { + "type": "string", + "description": "Applicable for Barclays (barclays2) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclayscnp, cp, hybridNoYes
\n" + }, + "enablePosNetworkSwitching": { + "type": "boolean", + "description": "\u2018POS Network Switching\u2019 or \u2018Alternate Routing\u2019 means merchant can process PIN Debit transactions without a PIN. Set the value to \u2018Yes\u2019 if it is supported. Applicable for FDI Global (fdiglobal) processor." + }, + "enableDynamicCurrencyConversion": { + "type": "boolean", + "description": "Enable dynamic currency conversion for a merchant." + }, + "merchantTier": { + "type": "string", + "maxLength": 3, + "minLength": 3, + "pattern": "^[0-9]+$", + "description": "Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors." + } + }, + "required": [ + "merchantId" + ] + } + }, + "amexVendorCode": { + "type": "string", + "description": "Vendor code assigned by American Express. Applicable for TSYS (tsys) processor." + }, + "defaultAuthTypeCode": { + "type": "string", + "description": "Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version.\nApplicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclayscnp, cp, hybridNoFINAL
Barclays HISOcnp, cp, hybridYesFINAL
\n", + "enum": [ + "PRE", + "FINAL", + "UNDEFINED" + ] + }, + "masterCardAssignedId": { + "type": "string", + "description": "MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors." + }, + "enablePartialAuth": { + "type": "boolean", + "description": "Allow merchants to accept partial authorization approvals.\nApplicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express Directcnp, cp, hybridNoNo
\n" + }, + "merchantCategoryCode": { + "type": "string", + "description": "Indicates type of business product or service of the merchant.\nApplicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
BarclayscnpNo44^[0-9]+$
American Express Directcnp, cp, hybridYes44^[0-9]+$
\n" + }, + "sicCode": { + "type": "string", + "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." + }, + "foodAndConsumerServiceId": { + "type": "string", + "description": "Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor." + }, + "enableSplitShipment": { + "type": "boolean", + "description": "Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios:\n\n* multiple authorizations\n* multiple captures\n* multiple authorizations with multiple captures\n\nApplicable for VPC processors.\n" + }, + "enableInterchangeOptimization": { + "type": "boolean", + "description": "Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors." + }, + "visaDelegatedAuthenticationId": { + "type": "string", + "description": "Identifier provided to merchants who opt for Visa\u2019s delegated authorization program. Applicable for VPC processors." + }, + "creditCardRefundLimitPercent": { + "type": "string", + "description": "Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors." + }, + "businessCenterCreditCardRefundLimitPercent": { + "type": "string", + "description": "Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors." + }, + "allowCapturesGreaterThanAuthorizations": { + "type": "boolean", + "description": "Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors." + }, + "enableDuplicateMerchantReferenceNumberBlocking": { + "type": "boolean", + "description": "Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors." + }, + "domesticMerchantId": { + "type": "boolean", + "description": "This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors." + }, + "processLevel3Data": { + "type": "string", + "description": "Indicates whether merchant processes Level 3 transactions.\nApplicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequired
BarclayscnpNo
\n" + }, + "subMerchantId": { + "type": "string", + "description": "The ID assigned to the sub-merchant.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo120^[0-9a-zA-Z\-\_\,\\s.]+$
\n" + }, + "subMerchantBusinessName": { + "type": "string", + "description": "Sub-merchant's business name.\nApplicable for American Express Direct (amexdirect) processor.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo137^[0-9a-zA-Z\-\_\,\\s.]+$
\n" + }, + "preferCobadgedSecondaryBrand": { + "type": "boolean", + "description": "It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors." + }, + "merchantDescriptorInformation": { + "type": "object", + "description": "A merchant descriptor is the line of copy that identifies transactions on a cardholder\u2019s account activity and statement. If this information is not populated, the data will be retrieved from OMS.", + "properties": { + "name": { + "type": "string", + "description": "Applicable for TSYS (tsys), RUPAY, American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes138^[0-9a-zA-Z\\s]+$
\n" + }, + "city": { + "type": "string", + "description": "Applicable for American Express Direct (amexdirect), TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes121^[0-9a-zA-Z\\s]+$
\n" + }, + "country": { + "type": "string", + "description": "Applicable for Six (six), Elavon Americas (elavonamericas), TSYS (tsys) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes33^[A-Z]+$
\n" + }, + "phone": { + "type": "string", + "description": "Applicable for RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect) and TSYS (tsys) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes120^[0-9a-zA-Z\\s]+$
\n" + }, + "state": { + "type": "string", + "description": "Applicable for RUPAY, TSYS (tsys), Elavon Americas (elavonamericas) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridNo13^[A-Z]+$
\n" + }, + "street": { + "type": "string", + "description": "Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes138^[0-9a-zA-Z\\s]+$
\n" + }, + "zip": { + "type": "string", + "description": "Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, cp, hybridYes115^[0-9a-zA-Z\\s]+$
\n" + }, + "url": { + "type": "string", + "description": "Applicable for RUPAY and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, hybridYes140URL
American Express DirectcpNo140URL
\n" + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "cardNotPresent": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "e.g.\n* amexdirect\n* barclays2\n* CUP\n* EFTPOS\n* fdiglobal\n* gpx\n* smartfdc\n* tsys\n* vero\n* VPC\n\nFor VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request.\ne.g. replace VPC with <your vpc processor>\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "amexdirect", + "barclays2", + "CUP", + "EFTPOS", + "fdiglobal", + "gpx", + "smartfdc", + "tsys", + "VPC" + ], + "type": "object", + "properties": { + "relaxAddressVerificationSystem": { + "type": "boolean", + "description": "Enables you to submit the payment transaction without one or more of the fields for the billTo or card_expiration.\nApplicable for Elavon Americas (elavonamericas), CB2A, Six (six), CMCIC (cmcic), GPX (gpx), GPN (gpn), VPC, Vero (vero), Fiserv (fiserv), American Express Direct (amexdirect), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, FDI Global (fdiglobal) and Barclays HISO (barclayshiso) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, hybridNoYes
American Express DirectcnpNoNo
American Express DirectcpNoYes
American Express DirecthybridYesYes
\n" + }, + "relaxAddressVerificationSystemAllowZipWithoutCountry": { + "type": "boolean", + "description": "Allows Zip code without country.\nApplicable for American Express Direct (amexdirect), GPX (gpx), VPC, FDI Global (fdiglobal), Elavon Americas (elavonamericas), Chase Paymentech Salem (chasepaymentechsalem), RUPAY, GPN (gpn) and Barclays HISO (barclayshiso) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, bothNoYes
American Express Directcp, hybridNoYes
American Express DirectcnpNoNo
\n" + }, + "relaxAddressVerificationSystemAllowExpiredCard": { + "type": "boolean", + "description": "Allows transactions that use an expired card.\nApplicable for American Express Direct (amexdirect), GPN (gpn), Barclays HISO (barclayshiso), Elavon Americas (elavonamericas), VPC, FDI Global (fdiglobal), GPX (gpx), RUPAY, Six (six), Chase Paymentech Salem (chasepaymentechsalem) and CB2A processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
Barclays HISOcp, cnp, hybridNoYes
American Express Directcp, hybridNoYes
American Express DirectcnpNoNo
\n" + }, + "enableEmsTransactionRiskScore": { + "type": "boolean", + "description": "MasterCard Expert Monitoring Solutions (EMS) provides a predictive, behavior-based fraud score in real time during authorizations for card-not-present (CNP) transactions on cards issued in the U.S. Applicable for GPX (gpx) and VPC processors." + }, + "prestigiousPropertyIndicator": { + "type": "string", + "description": "Applicable for VPC processors." + }, + "payouts": { + "type": "object", + "properties": { + "reimbursementCode": { + "type": "string", + "description": "Applicable for VPC processors." + }, + "acquiringInstitutionId": { + "type": "string", + "description": "This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. This number is usually a Visa-assigned. Applicable for VPC processors." + }, + "businessApplicationId": { + "type": "string", + "description": "Transaction type. List of supported identifiers documented in the Developer Guide. Applicable for GPX (gpx) and VPC processors." + }, + "financialInstitutionId": { + "type": "string", + "description": "Applicable for GPX (gpx) and VPC processors." + }, + "merchantAbaNumber": { + "type": "string", + "description": "Routing Number to identify banks within the United States. Applicable for VPC processors." + }, + "networkOrder": { + "type": "string", + "description": "Order of the networks in which Visa should make routing decisions. Applicable for VPC processors." + }, + "currencies": { + "type": "object", + "description": "Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "USD", + "CAD", + "GBP", + "EUR", + "CHF", + "NGN", + "ETB", + "CUP", + "AZN", + "RWF", + "DOP", + "GMD", + "BBD", + "GTG", + "NPR", + "SHP", + "BZD", + "JMP", + "PHP", + "BRL", + "TZS", + "BAM", + "ISK", + "KWD", + "RON", + "ARS", + "SBD", + "NOK", + "KRW", + "TJS", + "JOD", + "MOP", + "CLP", + "SOS", + "MGA", + "LVL", + "GIP", + "PYG", + "SAR", + "PGK", + "SGD", + "ROL", + "BSD", + "TRY", + "CDF", + "SYP", + "BMD", + "MRO", + "WST", + "GHS", + "BTN", + "HNL", + "MAD", + "GAR", + "SRD", + "BDT", + "KGS", + "GNF", + "CNY", + "JPY", + "LYD", + "TTD", + "CVE", + "SZL", + "ZMW", + "KPW", + "PEN", + "YER", + "VEB", + "KHR", + "VEF", + "VUV", + "SLL", + "AFN", + "SCR", + "BOB", + "COP", + "LTL", + "EGP", + "HUF", + "RSD", + "AOA", + "MYR", + "MTL", + "CYP", + "FKP", + "GYD", + "PLN", + "KMF", + "SGD", + "IQD", + "DKK", + "KES", + "UZS", + "TMM", + "NZD", + "LKR", + "EEK", + "SKK", + "ANG", + "INR", + "UYU", + "LSL", + "TND", + "STD", + "HTG", + "VND", + "AED", + "MZN", + "BND", + "KZT", + "PKR", + "XCD", + "RUB", + "MKD", + "BWP", + "AWG", + "GEL", + "MDL", + "HKD", + "MVR", + "amd", + "IRR", + "NAD", + "MWK", + "MNT", + "CRC", + "XPF", + "LAK", + "HRK", + "ALL", + "TOP", + "BIF", + "MUR", + "PAB", + "FJD", + "CZK", + "ZWD", + "KYD", + "IDR", + "BGN", + "MXN", + "UGX", + "MMK", + "UAH", + "DZD", + "XAF", + "THB", + "OMR", + "XOF", + "AUD", + "ZAR", + "LBP", + "NIO", + "DJF", + "LRD", + "TWD", + "ERN", + "BHD", + "ILS", + "SEK", + "BYR" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enabledCardPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardPresent will have the value of enabled.\n" + }, + "enabledCardNotPresent": { + "type": "boolean", + "description": "Indicates whether the card-present transaction is activated for the selected currency. If both enabledCardPresent and enabledCardNotPresent are set to null, then enabledCardNotPresent will have the value of enabled.\n" + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party." + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n" + }, + "terminalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Applicable for Prisma (prisma) processor." + }, + "serviceEnablementNumber": { + "type": "string", + "description": "Service Establishment Number (a.k.a. SE Number) is a unique ten-digit number assigned by American Express to a merchant that accepts American Express cards.\n10 digit number provided by acquirer currency. This may be unique for each currency, however it depends on the way the processor is set up for the merchant.\n" + } + } + }, + "example": { + "USD": { + "enabled": true, + "enabledCardPresent": false, + "enabledCardNotPresent": true, + "merchantId": "merchantId", + "terminalIds": [ + "12345678", + "12345678" + ], + "serviceEnablementNumber": "serviceEnablementNumber" + } + } + }, + "merchantId": { + "type": "string", + "description": "Merchant ID assigned by an acquirer or a processor. Should not be overridden by any other party.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscnp, hybridNo111^[0-9]+$
\n" + }, + "terminalId": { + "type": "string", + "description": "The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
Barclayscnp, hybridNo1255^[0-9:\-]+$
\n" + } + } + } + } + } + }, + "ignoreAddressVerificationSystem": { + "type": "boolean", + "description": "Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives an AVS decline. Applicable for VPC, FDI Global (fdiglobal), GPX (gpx) and GPN (gpn) processors." + }, + "visaStraightThroughProcessingOnly": { + "type": "boolean", + "description": "Indicates if a merchant is enabled for Straight Through Processing - B2B invoice payments. Applicable for FDI Global (fdiglobal), TSYS (tsys), VPC and GPX (gpx) processors." + }, + "amexTransactionAdviceAddendum1": { + "type": "string", + "description": "Advice addendum field. It is used to display descriptive information about a transaction on customer\u2019s American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors." + }, + "installment": { + "type": "object", + "properties": { + "enableInstallment": { + "type": "boolean", + "description": "This flag is to enable for installment plan programs.\nApplicable for Fiserv (fiserv), Vero (vero) and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredDefault Value
American Express DirectcnpNoNo
\n" + }, + "installmentPlan": { + "type": "string", + "description": "This indicates the type of funding for the installment plan associated with the payment.\n\nValid values:\n\"merchant\" - Merchant-funded installment plan\n\"issuer\" - Issuer-funded installment plan\n\nApplicable for Fiserv (fiserv), American Express Direct (amexdirect) and Vero (vero) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequired
American Express DirectcnpNo
\n" + } + } + } + } + }, + "cardPresent": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "e.g.\n* amexdirect\n* barclays2\n* CUP\n* EFTPOS\n* fdiglobal\n* gpx\n* smartfdc\n* tsys\n* vero\n* VPC\n\nFor VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request.\ne.g. replace VPC with <your vpc processor>\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "amexdirect", + "barclays2", + "CUP", + "EFTPOS", + "fdiglobal", + "gpx", + "smartfdc", + "tsys", + "VPC" + ], + "type": "object", + "properties": { + "defaultPointOfSaleTerminalId": { + "type": "string", + "description": "Default Terminal ID used for Card Present and Virtual Terminal transactions.\nApplicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegexDefault Value
American Express DirectcpYes48^[0-9a-zA-Z]+$1111
\n" + }, + "pointOfSaleTerminalIds": { + "type": "array", + "items": { + "type": "string", + "format": "csv" + }, + "description": "For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors." + }, + "disablePointOfSaleTerminalIdValidation": { + "type": "boolean", + "description": "Disables terminal ID validation. Applicable for VPC processors." + }, + "pinDebitNetworkOrder": { + "type": "string", + "description": "Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors." + }, + "pinDebitReimbursementCode": { + "type": "string", + "description": "This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors." + }, + "financialInstitutionId": { + "type": "string", + "description": "Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors." + }, + "enablePinTranslation": { + "type": "boolean", + "description": "Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors." + } + } + } + }, + "enableTerminalIdLookup": { + "type": "boolean", + "description": "Used for Card Present and Virtual Terminal Transactions for Terminal ID lookup. Applicable for GPX (gpx) processor." + } + } + } + } + } + } + } + } + } + } + }, + "cardPresentConnect": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "NOT_SELF_SERVICEABLE" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "partnerSolutionIdentifier": { + "type": "string", + "description": "Solution identifier used to associate a partner organization with the Merchant that is on-boarded." + } + } + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "NOT_SELF_SERVICEABLE" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "eCheck": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "mode": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Indicates what mode the product is expected to behave at boarding and transaction flows. Ex, Acquirer/Gateway/Other." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "common": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "additionalProperties": { + "type": "object", + "description": "Payment Processing connection used to support eCheck, aka ACH, payment methods. Example - \"bofaach\"", + "properties": { + "companyEntryDescription": { + "type": "string", + "maxLength": 10, + "description": "*EXISTING* Company (merchant) defined description of entry to receive. For e.g. PAYROLL, GAS BILL, INS PREM. This field is alphanumeric" + }, + "companyId": { + "type": "string", + "maxLength": 10, + "description": "*EXISTING* company ID assigned to merchant by Acquiring bank. This field is alphanumeric" + }, + "batchGroup": { + "type": "string", + "description": "*EXISTING* Capture requests are grouped into a batch bound for your payment processor. The batch time can be identified by reading the last 2-digits as military time. E.g., _16 = your processing cutoff is 4PM PST. Please note if you are in a different location you may then need to convert time zone as well." + }, + "enableAccuityForAvs": { + "type": "boolean", + "default": true, + "description": "*NEW* Accuity is the original validation service that checks the account/routing number for formatting issues. Used by WF and set to \"Yes\" unless told otherwise" + }, + "accuityCheckType": { + "enum": [ + "ALWAYS" + ], + "default": "ALWAYS", + "description": "*NEW*" + }, + "setCompletedState": { + "type": "boolean", + "default": false, + "description": "*Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES." + } + }, + "required": [ + "companyEntryDescription" + ] + } + }, + "internalOnly": { + "type": "object", + "properties": { + "displayEcheckInfo": { + "type": "boolean", + "default": true, + "description": "*NEW* Used by EBC UI always set to true" + }, + "processors": { + "type": "object", + "description": "*NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods.\nExample\n* \"bofaach\"\n* \"wellsfargoach\"\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "bofaach", + "wellsfargoach" + ], + "type": "object", + "description": "Name of the payment processor. Example - \"wellsfargoach\"", + "properties": { + "enableCCS": { + "type": "boolean", + "description": "*NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform.\nApplicable for VPC and amexdirect processors.\n" + }, + "terminalId": { + "type": "string", + "description": "*NEW* The 'Terminal Id' aka TID, is an identifier used for with your payments processor.\nDepending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions.\nApplicable for VPC processors.\n" + }, + "enable15anTransactionReferenceNumber": { + "type": "boolean", + "default": true, + "description": "*NEW* This ensures the transaction reference # contains an identifier that can be viewed in CYBS" + }, + "portalSupportedPaytypes": { + "type": "string", + "default": "CHECK", + "description": "*NEW* This is used by the EBC2 application" + }, + "settlementMethod": { + "enum": [ + "BEST_GUESS" + ], + "default": "BEST_GUESS", + "description": "*NEW*" + }, + "verificationLevel": { + "enum": [ + "VALIDATION" + ], + "default": "VALIDATION", + "description": "*NEW*" + }, + "setCompletedState": { + "type": "boolean", + "default": false, + "description": "*Moved* When set to Yes we will automatically update transactions to a completed status X-number of days after the transaction comes through; if no failure notification is received. When set to No means we will not update transaction status in this manner. For BAMS/Bank of America merchants, they should be set to No unless we are explicitly asked to set a merchant to YES." + } + } + } + } + } + }, + "accountHolderName": { + "type": "string", + "maxLength": 22, + "description": "Mandatory \nName on Merchant's Bank Account\nOnly ASCII (Hex 20 to Hex 7E)\n" + }, + "accountType": { + "type": "string", + "description": "Mandatory \nType of account for Merchant's Bank Account\nPossible values:\n- checking\n- savings\n- corporatechecking\n- corporatesavings\n" + }, + "accountRoutingNumber": { + "type": "string", + "maxLength": 9, + "description": "Mandatory \nRouting number for Merchant's Bank Account\nUS Account Routing Number\n" + }, + "accountNumber": { + "type": "string", + "maxLength": 17, + "description": "Mandatory \nAccount number for Merchant's Bank Account\n" + } + }, + "required": [ + "accountHolderName", + "accountType", + "accountRoutingNumber", + "accountNumber" + ] + }, + "underwriting": { + "type": "object", + "properties": { + "standardEntryClassCodes": { + "type": "string", + "default": "CCD,PPD,TEL,WEB", + "description": "Mandatory \nFree-text (csv) \nPossible values (combination):\n\nCCD \u2014 Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions.\nPPD \u2014 Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customer\u2019s checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions.\nTEL \u2014 Telephone-Initiated Entry, or TEL, is a one-time charge against a customer\u2019s checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone.\nWEB \u2014 Internet-Initiated Entry or WEB is a charge against a customer\u2019s checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet.\n" + }, + "enableHold": { + "type": "boolean", + "default": true, + "description": "Mandatory \nDetermines whether CYBS has placed the merchant on a funding hold\nThis will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant.\n" + }, + "monthlyTotalTransactionAmountLimit": { + "type": "number", + "format": "currency", + "description": "Mandatory \nMonthly Maximum total Transaction Amount\n12 digit including decimal\n" + }, + "holdingDays": { + "type": "number", + "format": "integer", + "default": 7, + "description": "Mandatory \nFunds Hold Days (Number of days funds will be held before it will be deposited into merchant account)\n3 digits\n" + }, + "enableCredits": { + "type": "boolean", + "description": "Optional \nAllow Credits (True/False)\n" + }, + "transactionAmountLimit": { + "type": "number", + "format": "currency", + "description": "Mandatory \nMaximum total Transaction Amount\nThis is a per transaction limit. For example, the merchant is limited to processing transactions under $100\n12 digits (including decimal - USD only)\n" + }, + "riskReserveMethod": { + "type": "string", + "description": "Mandatory\nReserve Method \nPossible value:\n- fixed\n- none\nMost merchants do not have a reserve attached to their account so the default value would be \"none.\" \n\nFor a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump\nsum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for\nthe account from each batch settlement until the reserve balance is equal to a set\nReserve Target. A Fixed Reserve may also be established by a combination of lump\nsum deposit and withholding of settlement funds.\n\nA Rolling Reserve balance is established by withholding from a merchant\u2019s available\nsettlement funds at a Reserve Rate (percentage) and no Reserve Target is specified.\nRather, each amount withheld is retained for a specified number of Reserve Holding\nDays and then released back to the merchant.\n" + }, + "riskReserveRate": { + "type": "number", + "format": "decimal", + "description": "Mandatory \nReserve Rate (% of TPV)=> Relevant for Rolling Reserve and Fixed Reserve\nThe percentage rate at which risk funds are withheld from each\neCheck.Net batch settlement.\n" + }, + "riskReserveTargetAmount": { + "type": "number", + "format": "currency", + "description": "Mandatory \nReserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY\n\nThe maximum dollar amount that can be held in Risk Reserve for a\nfixed reserve. Once risk withholdings reach the Reserve Target established for the\neCheck.Net account, a portion of available funds will be deposited to the merchant\u2019s\nbank account\n12 digit including decimal\n" + }, + "solutionOrganizationId": { + "type": "string", + "description": "Solution organization id" + } + }, + "required": [ + "standardEntryClassCodes", + "enableHold", + "monthlyTotalTransactionAmountLimit", + "holdingDays", + "transactionAmountLimit", + "riskReserveMethod", + "riskReserveRate", + "riskReserveTargetAmount" + ] + }, + "features": { + "type": "object", + "properties": { + "accountValidationService": { + "type": "object", + "properties": { + "internalOnly": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "description": "*NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods.\nExample\n* \"bofaach\"\n* \"wellsfargoach\"\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "bofaach", + "wellsfargoach" + ], + "type": "object", + "description": "Name of the payment processor. Example - \"wellsfargoach\"", + "properties": { + "avsVersion": { + "enum": [ + "2" + ], + "default": "2", + "description": "*NEW*" + } + } + } + } + } + }, + "processors": { + "type": "object", + "description": "*NEW* Payment Processing connection used to support eCheck, aka ACH, payment methods.\nExample\n* \"bofaach\"\n* \"wellsfargoach\"\n", + "additionalProperties": { + "type": "object", + "description": "*NEW* Name of the payment processor. Example - \"wellsfargoach\"", + "properties": { + "avsAccountOwnershipService": { + "type": "boolean", + "description": "*NEW* Determined in WF eTicket if account has opted into the Account Ownership Service." + }, + "avsAccountStatusService": { + "type": "boolean", + "description": "*NEW* Determined in WF eTicket if account has opted into the Account Status Service." + }, + "avsSignedAgreement": { + "type": "boolean", + "description": "*NEW* Taken from Addendum Agreement Column in boarding form." + }, + "avsCalculatedResponseBehavior": { + "enum": [ + "continue" + ], + "default": "continue", + "description": "*NEW*" + }, + "avsAdditionalId": { + "type": "string", + "description": "*NEW* Also known as the Additional ID. Taken from the boarding form." + }, + "enableAvs": { + "type": "boolean", + "default": true, + "description": "*NEW*" + }, + "avsEntityId": { + "type": "string", + "description": "*NEW* Also known as the AVS Gateway Entity ID." + }, + "avsResultMode": { + "enum": [ + "FULL_RESPONSE", + "LOGIC_BOX" + ], + "description": "*NEW*" + }, + "enableAvsTokenCreation": { + "type": "boolean", + "default": false, + "description": "*NEW* Applicable if the merchant wants to run AVS on token creation requests only." + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "payerAuthentication": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "cardTypes": { + "type": "object", + "properties": { + "verifiedByVisa": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "masterCardSecureCode": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "amexSafeKey": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "jCBJSecure": { + "type": "object", + "properties": { + "securePasswordForJCB": { + "type": "string", + "minLength": 8, + "maxLength": 8, + "description": "JSecure currency password for Japan Credit Bureau" + }, + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "dinersClubInternationalProtectBuy": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "ELO": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "UPI": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + }, + "CB": { + "type": "object", + "properties": { + "requestorId": { + "type": "string", + "minLength": 14, + "maxLength": 14, + "description": "The value is for 3DS2.0 and is a Directory Server assigned 3DS Requestor ID value. If this field is passed in request, it will override Requestor Id value that is configured on the Merchant's profile." + }, + "enabled": { + "type": "boolean", + "default": true + }, + "currencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "currencyCodes": { + "type": "array", + "items": { + "type": "string", + "example": "ALL" + } + }, + "acquirerId": { + "type": "string", + "minLength": 6, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]{6,20}$", + "description": "The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer.\nThe value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN.\nIt is most often the Acquiring BIN + \"-1000\" but the trailing character can be different.\n**Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.\n" + }, + "processorMerchantId": { + "type": "string", + "minLength": 6, + "maxLength": 35, + "pattern": "^[a-zA-Z0-9]{6,35}$", + "description": "Processor Merchant ID is the Merchant ID assigned by your acquiring bank.\nThis Merchant ID should also be used by your bank to register your account to the card scheme Directory Server for processing Payer Authentication services.\n" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "digitalPayments": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "features": { + "type": "object", + "description": "Allowed values are;\n\n \n \n \n \n \n \n \n \n \n \n \n \n
visaCheckout
applePay
samsungPay
googlePay
\n", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "visaCheckout", + "applePay", + "samsungPay", + "googlePay" + ], + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "secureAcceptance": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "parentProfileId": { + "type": "string", + "description": "You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here." + }, + "contactInformation": { + "type": "object", + "description": "Optional contact information to be associated with the Secure Acceptance profile - for example the developer of the integration to the Hosted Checkout.", + "properties": { + "phone": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "notifications": { + "type": "object", + "properties": { + "merchantNotifications": { + "type": "object", + "properties": { + "backofficePostEnabled": { + "type": "boolean", + "description": "Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance." + }, + "backofficeEmailAddress": { + "type": "string", + "description": "Email address to receive transaction confirmation messages." + }, + "backofficeEmailEnabled": { + "type": "boolean", + "description": "Enables email transaction confirmation messages, sent to the address specified in backofficeEmailAddress." + }, + "backofficePostUrl": { + "type": "string", + "description": "Webhook URL to which transaction confirmation is sent. Usually completed by the web developers integrating to Secure Acceptance." + }, + "cardNumberFormat": { + "type": "string", + "description": "Format in which the card number should be masked in the notifications. \n\nValid values:\n`1` - Display first 6 digits only (e.g. \"444433**********\")\n\n`2` - Display last four digits only (e.g. \"************1111\")\n\n`3` - Display First six and last four digits (e.g. \"444433******1111\")\n" + } + } + }, + "customerNotifications": { + "type": "object", + "description": "Features relating to notifications being sent directly to the payer using the Hosted Checkout.", + "properties": { + "customReceiptPageEnabled": { + "type": "boolean", + "description": "Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance." + }, + "receiptEmailAddress": { + "type": "string", + "description": "Email address where a copy of the payer's receipt email is sent, when notificationReceiptEmailEnabled is true." + }, + "customerReceiptEmailEnabled": { + "type": "boolean", + "description": "Toggles an email receipt sent to the payer's email address on payment success." + }, + "customCancelPage": { + "type": "string", + "description": "URL to which transaction results are POSTed when the payer clicks 'Cancel' on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance." + }, + "customReceiptPage": { + "type": "string", + "description": "URL to which transaction results are POSTed when the payer requests a payment on the Hosted Checkout. Triggered when customCancelPageEnabled is true. Usually set by web developers integrating to Secure Acceptance." + }, + "customCancelPageEnabled": { + "type": "boolean", + "description": "Toggles the custom cancel page, where merchants can receive notice that the payer has canceled, and display appropriate messaging and direction. Usually set by web developers integrating to Secure Acceptance." + }, + "notificationReceiptEmailEnabled": { + "type": "boolean", + "description": "Toggles whether merchant receives a copy of the payer's receipt email." + } + } + } + } + }, + "service": { + "type": "object", + "properties": { + "decisionManagerVerboseEnabled": { + "type": "boolean", + "description": "Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging." + }, + "declinedRetryLimit": { + "type": "number", + "description": "Defines the number of retries a payer is presented with on payment declines on Hosted Checkout. Valid values are between 0 and 5." + }, + "decisionManagerEnabled": { + "type": "boolean", + "description": "Toggles whether Decision Manager is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Decicion Manager." + }, + "tokenizationEnabled": { + "type": "boolean", + "description": "Toggles whether Tokenization is enabled or not for Secure Acceptance transactions. Requires the transacting MID to be enabled and configured for Tokenization." + }, + "reverseAuthOnAddressVerificationSystemFailure": { + "type": "boolean", + "description": "Toggles whether or not an approved Authorization that fails AVS should be automatically reversed." + }, + "deviceFingerprintEnabled": { + "type": "boolean", + "description": "Toggles whether or not fraud Device Fingerprinting is enabled on the Hosted Checkout. This simplifies enablement for Decision Manager." + }, + "reverseAuthOnCardVerificationNumberFailure": { + "type": "boolean", + "description": "Toggles whether or not an approved Authorization that fails CVN check that should be automatically reversed." + } + } + }, + "paymentMethods": { + "type": "object", + "properties": { + "enabledPaymentMethods": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "CARD", + "ECHECK", + "VISACHECKOUT", + "PAYPAL" + ] + } + } + } + }, + "checkout": { + "type": "object", + "properties": { + "displayTaxAmount": { + "type": "boolean", + "description": "Toggles whether or not the tax amount is displayed on the Hosted Checkout." + }, + "templateType": { + "type": "string", + "description": "Specifies whether the Hosted Checkout is displayed as a single page form or multi page checkout. \n\nValid values: \n`multi` \n`single`\n" + }, + "returnToMerchantSiteUrl": { + "type": "string", + "description": "URL of the website linked to from the Secure Acceptance receipt page. Only used if the profile does not have custom receipt pages configured." + } + } + }, + "paymentTypes": { + "type": "object", + "description": "Object containing Payment Types supported", + "properties": { + "cardTypes": { + "type": "object", + "properties": { + "discover": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + }, + "amex": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + }, + "masterCard": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + }, + "visa": { + "type": "object", + "description": "Object containing supported Card Types and settings", + "properties": { + "cardVerificationNumberSupported": { + "type": "boolean", + "description": "Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level." + }, + "cardVerificationNumberDisplay": { + "type": "boolean", + "description": "Toggles whether or Card Verification Number is displayed on the Hosted Checkout." + }, + "payerAuthenticationSupported": { + "type": "boolean", + "description": "Dictates whether or Payer Authentication is supported by the card type. Usually this is set at system level." + }, + "supportedCurrencies": { + "type": "array", + "description": "Array of the supported ISO 4217 alphabetic currency codes.", + "items": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "cardVerificationNumberRequired": { + "type": "boolean" + }, + "payerAuthenticationEnabled": { + "type": "boolean" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "virtualTerminal": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "cardNotPresent": { + "type": "object", + "properties": { + "globalPaymentInformation": { + "type": "object", + "properties": { + "basicInformation": { + "type": "object", + "properties": { + "defaultStandardEntryClassCode": { + "type": "string" + }, + "defaultCountryCode": { + "type": "string", + "description": "ISO 4217 format" + }, + "defaultCurrencyCode": { + "type": "string", + "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)" + }, + "defaultTransactionType": { + "type": "string", + "enum": [ + "AUTHORIZATION", + "SALE" + ] + }, + "defaultPaymentType": { + "type": "string", + "enum": [ + "CREDIT_CARD", + "ECHECK" + ] + }, + "defaultTransactionSource": { + "type": "string" + }, + "displayRetail": { + "type": "boolean" + }, + "displayMoto": { + "type": "boolean" + }, + "displayInternet": { + "type": "boolean" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "displayCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "requireCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "acceptedCardTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "displayCreditCards": { + "type": "boolean" + }, + "displayEchecks": { + "type": "boolean" + }, + "displayDebtIndicator": { + "type": "boolean" + }, + "displayBillPayment": { + "type": "boolean" + }, + "enableEchecks": { + "type": "boolean" + }, + "displayIgnoreECheckAvsCheckbox": { + "type": "boolean" + }, + "firstNameRequired": { + "type": "boolean" + }, + "lastNameRequired": { + "type": "boolean" + }, + "displayFirstName": { + "type": "boolean" + }, + "displayLastName": { + "type": "boolean" + } + } + }, + "merchantDefinedDataFields": { + "type": "object", + "properties": { + "displayMerchantDefinedData1": { + "type": "boolean" + }, + "displayMerchantDefinedData2": { + "type": "boolean" + }, + "displayMerchantDefinedData3": { + "type": "boolean" + }, + "displayMerchantDefinedData4": { + "type": "boolean" + }, + "displayMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DefaultValue": { + "type": "string" + }, + "merchantDefinedData1Label": { + "type": "string" + }, + "requireMerchantDefinedData1": { + "type": "boolean" + }, + "merchantDefinedData2DefaultValue": { + "type": "string" + }, + "merchantDefinedData2Label": { + "type": "string" + }, + "requireMerchantDefinedData2": { + "type": "boolean" + }, + "merchantDefinedData3DefaultValue": { + "type": "string" + }, + "merchantDefinedData3Label": { + "type": "string" + }, + "requireMerchantDefinedData3": { + "type": "boolean" + }, + "merchantDefinedData4DefaultValue": { + "type": "string" + }, + "merchantDefinedData4Label": { + "type": "string" + }, + "requireMerchantDefinedData4": { + "type": "boolean" + }, + "merchantDefinedData5DefaultValue": { + "type": "string" + }, + "merchantDefinedData5Label": { + "type": "string" + }, + "requireMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData2DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData3DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData4DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData5DisplayOnReceipt": { + "type": "boolean" + } + } + } + } + }, + "receiptInformation": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "virtualTerminalReceiptHeader": { + "type": "string" + } + } + }, + "orderInformation": { + "type": "object", + "properties": { + "emailAliasName": { + "type": "string" + }, + "customReplyToEmailAddress": { + "type": "string" + } + } + }, + "emailReceipt": { + "type": "object", + "properties": { + "sendersEmailAddress": { + "type": "string" + } + } + } + } + } + } + }, + "cardPresent": { + "type": "object", + "properties": { + "globalPaymentInformation": { + "type": "object", + "properties": { + "basicInformation": { + "type": "object", + "properties": { + "defaultStandardEntryClassCode": { + "type": "string" + }, + "defaultCountryCode": { + "type": "string", + "description": "ISO 4217 format" + }, + "defaultCurrencyCode": { + "type": "string", + "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)" + }, + "defaultTransactionType": { + "type": "string", + "enum": [ + "AUTHORIZATION", + "SALE" + ] + }, + "defaultPaymentType": { + "type": "string", + "enum": [ + "CREDIT_CARD", + "ECHECK" + ] + }, + "defaultTransactionSource": { + "type": "string" + }, + "displayRetail": { + "type": "boolean" + }, + "displayMoto": { + "type": "boolean" + }, + "displayInternet": { + "type": "boolean" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "displayCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "requireCardVerificationValue": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "acceptedCardTypes": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "VISA", + "MASTER_CARD", + "AMEX", + "DISCOVER", + "DINERS_CLUB", + "CARTE_BLANCHE", + "JCB", + "ENROUTE", + "JAL", + "SWITCH_SOLO", + "DELTA", + "VISA_ELECTRON", + "DANKORT", + "LASER", + "CARTE_SBANCAIRES", + "CARTASI", + "MAESTRO_INTERNATIONAL", + "GE_MONEY_UK_CARD", + "HIPER_CARD", + "ELO" + ] + } + }, + "displayCreditCards": { + "type": "boolean" + }, + "displayEchecks": { + "type": "boolean" + }, + "displayDebtIndicator": { + "type": "boolean" + }, + "displayBillPayment": { + "type": "boolean" + }, + "enableEchecks": { + "type": "boolean" + }, + "displayIgnoreECheckAvsCheckbox": { + "type": "boolean" + }, + "firstNameRequired": { + "type": "boolean" + }, + "lastNameRequired": { + "type": "boolean" + }, + "displayFirstName": { + "type": "boolean" + }, + "displayLastName": { + "type": "boolean" + } + } + }, + "merchantDefinedDataFields": { + "type": "object", + "properties": { + "displayMerchantDefinedData1": { + "type": "boolean" + }, + "displayMerchantDefinedData2": { + "type": "boolean" + }, + "displayMerchantDefinedData3": { + "type": "boolean" + }, + "displayMerchantDefinedData4": { + "type": "boolean" + }, + "displayMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DefaultValue": { + "type": "string" + }, + "merchantDefinedData1Label": { + "type": "string" + }, + "requireMerchantDefinedData1": { + "type": "boolean" + }, + "merchantDefinedData2DefaultValue": { + "type": "string" + }, + "merchantDefinedData2Label": { + "type": "string" + }, + "requireMerchantDefinedData2": { + "type": "boolean" + }, + "merchantDefinedData3DefaultValue": { + "type": "string" + }, + "merchantDefinedData3Label": { + "type": "string" + }, + "requireMerchantDefinedData3": { + "type": "boolean" + }, + "merchantDefinedData4DefaultValue": { + "type": "string" + }, + "merchantDefinedData4Label": { + "type": "string" + }, + "requireMerchantDefinedData4": { + "type": "boolean" + }, + "merchantDefinedData5DefaultValue": { + "type": "string" + }, + "merchantDefinedData5Label": { + "type": "string" + }, + "requireMerchantDefinedData5": { + "type": "boolean" + }, + "merchantDefinedData1DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData2DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData3DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData4DisplayOnReceipt": { + "type": "boolean" + }, + "merchantDefinedData5DisplayOnReceipt": { + "type": "boolean" + } + } + } + } + }, + "receiptInformation": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "virtualTerminalReceiptHeader": { + "type": "string" + } + } + }, + "orderInformation": { + "type": "object", + "properties": { + "emailAliasName": { + "type": "string" + }, + "customReplyToEmailAddress": { + "type": "string" + } + } + }, + "emailReceipt": { + "type": "object", + "properties": { + "sendersEmailAddress": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "currencyConversion": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "processors": { + "type": "object", + "additionalProperties": { + "x-devcenter-additional-properties": [ + "six", + "cmcic", + "fdiglobal", + "fdcsouth" + ], + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "The merchant identifier for the Currency Conversion service. Check with your Currency Conversion Provider for details." + }, + "acquirerId": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "tax": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "customerInvoicing": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "payouts": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "configurations": { + "type": "object", + "properties": { + "pullfunds": { + "type": "object", + "additionalProperties": { + "description": "Formatted as *{payoutsAcquirerName}. The property name field should be the same as the processor name for which the pull funds or push funds feature is being configured. Here is the list of valid processor names [TBD]", + "type": "object", + "required": [ + "acquiringBIN", + "cardAcceptorId", + "cardTerminalId" + ], + "properties": { + "acquirerOrganizationId": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "Valid organization in OMS with an organizationInformation.type as \"acquirer\"." + }, + "acquiringBIN": { + "type": "integer", + "minLength": 6, + "maxLength": 11, + "description": "This code identifies the financial institution acting as the acquirer of this transaction. The acquirer is the client or system user that signed the originator or installed the unattended cardholder- activated environment. When a processing center operates for multiple acquirers, this code is for the individual client or system user, not a code for the center." + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This configuration allows a transaction to be flagged for cryptocurrency funds transfer." + }, + "cardAcceptorId": { + "type": "string", + "minLength": 1, + "maxLength": 15, + "description": "A unique identifier number for the originator of transfers that is unique to the processor or acquirer." + }, + "originatorMvv": { + "type": "string", + "minLength": 10, + "maxLength": 10, + "description": "Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant." + }, + "originatorNameAbbreviation": { + "type": "string", + "minLength": 1, + "maxLength": 4, + "description": "A 4 character max name abbreviation for the originator." + }, + "cardTerminalId": { + "type": "string", + "minLength": 1, + "maxLength": 8, + "description": "This field contains a code that identifies a terminal at the card acceptor location. This field is used in all messages related to a transaction. If sending transactions from a card not present environment, use the same value for all transactions." + } + } + } + }, + "pushfunds": { + "type": "object", + "additionalProperties": { + "description": "Formatted as *{payoutsAcquirerName}. The property name field should be the same as the processor name for which the pull funds or push funds feature is being configured. Here is the list of valid processor names [TBD]", + "type": "object", + "required": [ + "originatorBusinessApplicationId", + "acquirerCountryCode", + "acquiringBIN", + "processorAccount" + ], + "properties": { + "acquirerCountryCode": { + "type": "integer", + "maxLength": 3, + "description": "TBD" + }, + "acquiringBIN": { + "type": "integer", + "maxLength": 11, + "description": "TBD" + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This configuration allows a transaction to be flagged for cryptocurrency funds transfer." + }, + "financialInstitutionId": { + "type": "string", + "minLength": 4, + "maxLength": 4, + "description": "TBD" + }, + "networkOrder": { + "type": "string", + "maxLength": 30, + "description": "TBD" + }, + "nationalReimbursementFee": { + "type": "string", + "maxLength": 1, + "description": "TBD" + }, + "originatorBusinessApplicationId": { + "type": "string", + "maxLength": 3, + "description": "TBD" + }, + "originatorPseudoAbaNumber": { + "type": "string", + "maxLength": 9, + "description": "TBD" + }, + "processorAccount": { + "type": "array", + "items": { + "required": [ + "originatorMerchantId", + "originatorTerminalId" + ], + "type": "object", + "properties": { + "originatorMerchantId": { + "type": "string", + "maxLength": 15, + "description": "TBD" + }, + "originatorTerminalId": { + "type": "array", + "description": "TBD", + "items": { + "type": "string", + "maxLength": 8 + } + }, + "supportedCurrencies": { + "type": "array", + "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", + "items": { + "type": "string", + "maxLength": 3, + "minLength": 3 + } + } + } + }, + "description": "TBD" + } + } + } + } + } + } + } + } + } + }, + "differentialFee": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + }, + "features": { + "type": "object", + "properties": { + "surcharge": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "payByLink": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "unifiedCheckout": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + } + } + }, + "risk": { + "type": "object", + "properties": { + "fraudManagementEssentials": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "decisionManager": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "processingOptions": { + "type": "object", + "properties": { + "stepUpAuthEnabled": { + "type": "boolean" + } + } + }, + "organization": { + "type": "object", + "properties": { + "hierarchyGroup": { + "type": "string", + "description": "Must be one of the following : NO_GROUP, INCLUDE_IN_PARENTS_GROUP\n", + "example": "NO_GROUP" + } + } + }, + "portfolioControls": { + "type": "object", + "properties": { + "hideRiskMenus": { + "type": "boolean" + }, + "hideRiskTransactionData": { + "type": "boolean" + } + } + }, + "thirdparty": { + "type": "object", + "properties": { + "provider": { + "type": "object", + "properties": { + "accurint": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + } + } + } + }, + "credilink": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "sigla": { + "type": "string" + } + } + } + } + }, + "ekata": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "apiKey": { + "type": "string" + } + } + } + } + }, + "emailage": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + } + } + } + }, + "perseuss": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "enableRealTime": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + } + } + } + }, + "signifyd": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "teamId": { + "type": "string" + }, + "apiKey": { + "type": "string" + }, + "secretKeyid": { + "type": "string" + }, + "secretKey": { + "type": "string" + } + } + } + } + }, + "targus": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "useCybsCredentials": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "serviceId": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "commerceSolutions": { + "type": "object", + "properties": { + "tokenManagement": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "parentProfileId": { + "type": "string", + "description": "Specify the Vault ID to which transacting MID needs to be assigned.Provide Vault ID as seen on EBC Vault management page. If not provided , transacting MID will be assigned to the existing default Vault at merchant's level. If there are no Vaults at merchant level , a new Vault will be created and transacting MID will be assigned to it." + } + } + } + } + } + } + }, + "accountUpdater": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "format": "uuid" + }, + "configurations": { + "type": "object", + "properties": { + "masterCard": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "MasterCard merchant identified number" + }, + "interbankCardAssociationNumber": { + "type": "string", + "description": "Number assigned by MasterCard to a financial institution, third-party processor or other member to identify the member in transaction." + }, + "active": { + "type": "boolean" + } + }, + "required": [ + "merchantId", + "interbankCardAssociationNumber" + ] + }, + "visa": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "Visa merchant identified number" + }, + "segmentId": { + "type": "string", + "description": "Visa assigned segment ID for each group of merchants participating in VAU." + }, + "active": { + "type": "boolean" + } + }, + "required": [ + "merchantId", + "segmentId" + ] + }, + "amex": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "description": "Type of mode. Valid values are `tokenApi` or `dailyHarvest`." + }, + "seNumber": { + "type": "string" + }, + "subscriberId": { + "type": "string" + }, + "active": { + "type": "boolean" + } + } + }, + "preferredDay": { + "type": "number", + "minimum": 1, + "maximum": 28 + }, + "daysWindow": { + "type": "number", + "minimum": 1, + "maximum": 3650, + "default": 31 + } + } + } + } + } + } + }, + "binLookup": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + }, + "configurationInformation": { + "type": "object", + "properties": { + "configurations": { + "type": "object", + "properties": { + "isPayoutOptionsEnabled": { + "type": "boolean", + "description": "This flag indicates if the merchant is configured to make payout calls" + }, + "isAccountPrefixEnabled": { + "type": "boolean", + "description": "This flag indicates if the merchant is configured to receive account prefix" + } + } + } + } + } + } + } + } + }, + "valueAddedServices": { + "type": "object", + "properties": { + "reporting": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + }, + "transactionSearch": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "enum": [ + "SELF_SERVICEABLE", + "NOT_SELF_SERVICEABLE", + "SELF_SERVICE_ONLY" + ], + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service." + } + } + } + } + } + } + } + } + } + } + }, + "productInformationSetups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "maxLength": 30, + "minLength": 6, + "pattern": "^[0-9a-zA-Z]+$", + "example": "merch-test1" + }, + "setups": { + "type": "object", + "properties": { + "payments": { + "type": "object", + "properties": { + "cardProcessing": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cardPresentConnect": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "eCheck": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "payerAuthentication": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "digitalPayments": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "secureAcceptance": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "virtualTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "currencyConversion": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "tax": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "customerInvoicing": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "payouts": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "payByLink": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "unifiedCheckout": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + }, + "risk": { + "type": "object", + "properties": { + "fraudManagementEssentials": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "decisionManager": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + }, + "commerceSolutions": { + "type": "object", + "properties": { + "tokenManagement": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "accountUpdater": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "binLookup": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "format": "uuid", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "PARTIAL", + "PENDING", + "NOT_SETUP" + ] + }, + "reason": { + "type": "string", + "enum": [ + "PENDING_PROVISIONING_PROCESS", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD", + "NOT_APPLICABLE" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + }, + "valueAddedServices": { + "type": "object", + "properties": { + "reporting": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "transactionSearch": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE", + "PARTIAL", + "PENDING" + ] + }, + "reason": { + "type": "string", + "enum": [ + "DEPENDENT_PRODUCT_NOT_CONTRACTED", + "DEPENDENT_FEATURE_NOT_CHOSEN", + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "enum": [ + "MISSING_DATA", + "INVALID_DATA", + "DUPLICATE_FIELD" + ] + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "documentInformation": { + "type": "object", + "properties": { + "signedDocuments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "maxLength": 200, + "example": "TCProcessing" + } + } + } + } + } + }, + "details": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid." + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.", + "example": "MISSING_FIELD" + }, + "value": { + "type": "string", + "example": "abc123" + }, + "reference": { + "type": "string", + "example": "xyz" + } + } + }, + "x-devcenter-additional-properties": [ + "organizationInformation", + "productInformation" + ] + } + } + } + } + }, + "400": { + "description": "Bad Request", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The http status description of the submitted request.", + "example": "BAD_REQUEST" + }, + "reason": { + "type": "string", + "description": "Documented reason codes. Client should be able to use the key for generating their own error message\nPossible Values:\n - 'INVALID_DATA'\n - 'SYSTEM_ERROR'\n - 'RESOURCE_NOT_FOUND'\n", + "enum": [ + "INVALID_DATA", + "SYSTEM_ERROR", + "RESOURCE_NOT_FOUND" + ] + }, + "message": { + "type": "string", + "description": "Descriptive message for the error." + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid." + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.", + "example": "MISSING_FIELD" + } + } + } + } + } + } + }, + "404": { + "description": "Resource Not Found", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The http status description of the submitted request.", + "example": "NOT_FOUND" + }, + "reason": { + "type": "string", + "description": "Documented reason codes. Client should be able to use the key for generating their own error message\nPossible Values:\n - 'RESOURCE_NOT_FOUND'\n", + "enum": [ + "RESOURCE_NOT_FOUND" + ] + }, + "message": { + "type": "string", + "description": "Descriptive message for the error." + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid." + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.", + "example": "MISSING_FIELD" + } + } + } + } + } + } + }, + "500": { + "description": "Internal Server error", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "format": "date", + "example": "2019-06-11T22:47:57.000Z", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The http status description of the submitted request.", + "example": "INTERNAL_SERVER_ERROR" + }, + "reason": { + "type": "string", + "description": "Documented reason codes. Client should be able to use the key for generating their own error message\nPossible Values:\n - 'SYSTEM_ERROR'\n", + "enum": [ + "SYSTEM_ERROR" + ] + }, + "message": { + "type": "string", + "description": "Descriptive message for the error." + } + } + } + } + } + } + }, + "/kms/egress/v2/keys-sym": { + "post": { + "tags": [ + "Create New Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Create Webhook Security Keys", + "description": "Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature.\n\nSelect the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later.\n", + "operationId": "saveSymEgressKey", + "parameters": [ + { + "name": "v-c-correlation-id", + "in": "header", + "description": "A globally unique id associated with your request", + "type": "string", + "pattern": "^[A-Za-z0-9\\.\\-_:]+$", + "minLength": 2, + "maxLength": 100 + }, + { + "name": "v-c-sender-organization-id", + "in": "header", + "description": "Sender organization id", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9\\-_]+$", + "minLength": 2, + "maxLength": 100 + }, + { + "name": "v-c-permissions", + "in": "header", + "description": "Encoded user permissions returned by the CGK, for the entity user who initiated the boarding", + "required": true, + "type": "string" + }, + { + "name": "SaveSymEgressKey", + "in": "body", + "description": "Provide egress Symmetric key information to save (create or store or refresh)", + "schema": { + "type": "object", + "required": [ + "clientRequestAction", + "keyInformation" + ], + "properties": { + "clientReferenceInformation": { + "type": "object", + "description": "Object for client references.", + "properties": { + "code": { + "type": "string", + "maxLength": 50, + "description": "Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n" + } + } + }, + "clientRequestAction": { + "type": "string", + "description": "Client request action.\n" + }, + "keyInformation": { + "type": "object", + "description": "Egress Key Information Request\n", + "properties": { + "provider": { + "type": "string", + "description": "Provider name\n" + }, + "tenant": { + "type": "string", + "description": "Tenant name\n" + }, + "keyType": { + "type": "string", + "description": "Type of the key\n" + }, + "organizationId": { + "type": "string", + "description": "Organization Id\n" + }, + "clientKeyId": { + "type": "string", + "description": "Client key Id\n" + }, + "keyId": { + "type": "string", + "description": "Key Serial Number\n" + }, + "key": { + "type": "string", + "description": "Value of the key\n" + }, + "status": { + "type": "string", + "description": "The status of the key\n" + }, + "expiryDuration": { + "type": "string", + "description": "Key expiry duration in days\n" + } + } + } + } + } + } + ], + "responses": { + "201": { + "description": "Successful Response", + "schema": { + "type": "object", + "description": "Egress Key Information Response\n", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\nExample `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the\ntime. The `Z` indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The status of the submitted transaction.\nPossible values:\n - ACCEPTED\n" + }, + "clientReferenceInformation": { + "type": "object", + "description": "Object for client references.", + "properties": { + "code": { + "type": "string", + "maxLength": 50, + "description": "Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n" + } + } + }, + "keyInformation": { + "type": "object", + "description": "Egress Key Information\n", + "properties": { + "provider": { + "type": "string", + "description": "Provider name\n" + }, + "tenant": { + "type": "string", + "description": "Tenant name\n" + }, + "organizationId": { + "type": "string", + "description": "Organization Id\n" + }, + "clientKeyId": { + "type": "string", + "description": "Client key Id\n" + }, + "keyId": { + "type": "string", + "description": "Key Serial Number\n" + }, + "key": { + "type": "string", + "description": "Value of the key\n" + }, + "keyType": { + "type": "string", + "description": "Type of the key\n" + }, + "status": { + "type": "string", + "description": "The status of the key\n" + }, + "expirationDate": { + "type": "string", + "description": "The expiration time in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.\n" + }, + "message": { + "type": "string", + "description": "Message in case of failed key\n" + }, + "errorInformation": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason of the status.\nPossible values:\n - MISSING_FIELD\n - INVALID_DATA\n" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "This is the flattened JSON object field name/path that is either missing or invalid" + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.\nPossible values:\n - MISSING_FIELD\n - INVALID_DATA\n" + } + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized Request" + }, + "502": { + "description": "Unexpected system error or system timeout" + } + }, + "x-example": { + "example0": { + "summary": "Create Webhook Symmetric Key", + "value": { + "clientRequestAction": "CREATE", + "keyInformation": { + "provider": "nrtd", + "tenant": "merchantName", + "keyType": "sharedSecret", + "organizationId": "merchantName" + } + } + }, + "example1": { + "summary": "Store oAuth Credentials", + "value": { + "clientRequestAction": "STORE", + "keyInformation": { + "provider": "merchantName", + "tenant": "nrtd", + "keyType": "oAuthClientCredentials", + "clientKeyId": "client username", + "key": "client secret", + "organizationId": "merchantName", + "expiryDuration": "365" + } + } + } + } + } + }, + "/notification-subscriptions/v1/products/{organizationId}": { + "get": { + "tags": [ + "Create New Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Find Products You Can Subscribe To", + "description": "Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.", + "operationId": "findProductToSubscribe", + "parameters": [ + { + "name": "organizationId", + "in": "path", + "description": "The Organization Identifier.", + "type": "string", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "productId": { + "type": "string", + "description": "Product ID." + }, + "productName": { + "type": "string", + "description": "Product Name." + }, + "eventTypes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "eventName": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "frequency": { + "type": "integer", + "default": -1 + }, + "timeSensitivity": { + "type": "boolean", + "default": false + }, + "payloadEncryption": { + "type": "boolean", + "default": false + } + }, + "example": { + "eventName": "payments.credits.accepted", + "payloadEncryption": true + } + } + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Server error" + } + }, + "x-queryParameterDefaults": { + "organizationId": "testrest" + } + } + }, + "/notification-subscriptions/v1/webhooks": { + "post": { + "tags": [ + "Create New Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Create a Webhook", + "description": "Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section.\nYou will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file.\n", + "operationId": "createWebhook", + "parameters": [ + { + "name": "createWebhook", + "in": "body", + "description": "The webhook payload", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Client friendly webhook name." + }, + "description": { + "type": "string", + "description": "Client friendly webhook description." + }, + "organizationId": { + "type": "string", + "description": "Organization Identifier (OrgId) or Merchant Identifier (MID)." + }, + "productId": { + "type": "string", + "description": "To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint." + }, + "eventTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of the different events for a given product id." + }, + "webhookUrl": { + "type": "string", + "description": "The client's endpoint (URL) to receive webhooks." + }, + "healthCheckUrl": { + "type": "string", + "description": "The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint.\n" + }, + "notificationScope": { + "type": "string", + "description": "The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field.\n" + }, + "retryPolicy": { + "type": "object", + "description": "Retry policy for the individual webhooks that are a part of your subscription. If a message fails to deliver, it will execute through this retry policy.\n\nAutomatic suspend and resume:\n\nIf you experience downtime and have `deactivateFlag = true` any new messages will be held in a \"SUSPENDED\" status.\nWhen your healthCheckUrl returns healthy again, the subscription will automatically be re-enabled and your messages will be sent.\nWe will ping your healthCheckUrl routinely using a POST call with an empty payload to check availability.\nIf your endpoint returns an unhealthy status of != 200, we will check the healthCheckUrl at a more frequent rate until it is healthy again.\n\nIf you experience downtime and have `deactivateFlag = false` and your message exhausts all retry attempts the message will go to a \"FAILED\" status.\nSupport will be notified and will reach out to suggest you execute the \"REPLAY\" endpoint at a later date when your server is healthy.\n\n\nReference the below values for formulas and calculations related to the frequency of retries depending on algorithm and configuration.\n", + "properties": { + "algorithm": { + "type": "string", + "description": "This is used to calculate the Retry Sequence.\n\nSample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3\nArithmetic = a+r(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10+30x1 = 40 minutes\nRetry 3 - 10+30x2 = 70 minutes\n\nGeometric = ar^(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10x30^1 = 300 minutes\nRetry 3 - 10x30^2 = 9,000 minutes\n" + }, + "firstRetry": { + "type": "integer", + "description": "When to initiate first retry, after the initial call failed. (in mins)." + }, + "interval": { + "type": "integer", + "description": "The interval between retries (in mins)." + }, + "numberOfRetries": { + "type": "integer", + "description": "The number of retries per sequence." + }, + "deactivateFlag": { + "type": "string", + "description": "Deactivate the subscription if your retries fail to deliver.\n\nIf this is set to `true`, the automatic suspend and resume feature will occur.\nThis would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent.\n\nIf this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active.\n" + }, + "repeatSequenceCount": { + "type": "integer", + "description": "The number of times to repeat the complete retry sequence.\n0 => don't repeat the retry sequence\n1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3)\n2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3)\n" + }, + "repeatSequenceWaitTime": { + "type": "integer", + "description": "The time to wait to before repeating the complete retry sequence.\nAmount of time to wait between each sequence.\nSample calculation using repeatSequenceWaitTime=10\n(R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3)\n" + }, + "additionalAttributes": { + "description": "Additional data, if any.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "securityPolicy": { + "type": "object", + "description": "The security option to authenticate with your API or client server.", + "properties": { + "securityType": { + "type": "string", + "description": "Security Policy of the client server." + }, + "proxyType": { + "type": "string", + "description": "Internal client proxy type to be used by security policy." + }, + "config": { + "description": "Optional configuration object for if your API or server requires oAuth for an incoming webhook.", + "type": "object", + "properties": { + "oAuthTokenExpiry": { + "type": "string", + "description": "Token expiration for the oAuth server." + }, + "oAuthURL": { + "type": "string", + "description": "Client direct endpoint to the oAuth server." + }, + "oAuthTokenType": { + "type": "string", + "description": "Token type for the oAuth config." + }, + "additionalConfig": { + "description": "Additional, free form configuration data.", + "type": "object", + "properties": { + "aud": { + "type": "string" + }, + "client_id": { + "type": "string" + }, + "keyId": { + "type": "string" + }, + "scope": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object", + "properties": { + "webhookId": { + "type": "string", + "description": "Webhook Id. This is generated by the server." + }, + "organizationId": { + "type": "string", + "description": "Organization ID" + }, + "productId": { + "type": "string", + "description": "The product you are receiving a webhook for." + }, + "eventTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of the different events for a given product id." + }, + "webhookUrl": { + "type": "string", + "description": "The client's endpoint (URL) to receive webhooks." + }, + "healthCheckUrl": { + "type": "string", + "description": "The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl." + }, + "notificationScope": { + "type": "object", + "properties": { + "scope": { + "type": "string", + "description": "The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field", + "default": "SELF" + }, + "scopeData": { + "type": "array", + "description": "Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable.", + "items": { + "type": "string" + } + } + } + }, + "status": { + "type": "string", + "description": "Webhook status.", + "default": "INACTIVE" + }, + "name": { + "type": "string", + "description": "Client friendly webhook name." + }, + "description": { + "type": "string", + "description": "Client friendly webhook description." + }, + "retryPolicy": { + "type": "object", + "description": "Retry policy for the individual webhooks that are a part of your subscription. If a message fails to deliver, it will execute through this retry policy.\n\nAutomatic suspend and resume:\n\nIf you experience downtime and have `deactivateFlag = true` any new messages will be held in a \"SUSPENDED\" status.\nWhen your healthCheckUrl returns healthy again, the subscription will automatically be re-enabled and your messages will be sent.\nWe will ping your healthCheckUrl routinely using a POST call with an empty payload to check availability.\nIf your endpoint returns an unhealthy status of != 200, we will check the healthCheckUrl at a more frequent rate until it is healthy again.\n\nIf you experience downtime and have `deactivateFlag = false` and your message exhausts all retry attempts the message will go to a \"FAILED\" status.\nSupport will be notified and will reach out to suggest you execute the \"REPLAY\" endpoint at a later date when your server is healthy.\n\n\nReference the below values for formulas and calculations related to the frequency of retries depending on algorithm and configuration.\n", + "properties": { + "algorithm": { + "type": "string", + "description": "This is used to calculate the Retry Sequence.\n\nSample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3\nArithmetic = a+r(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10+30x1 = 40 minutes\nRetry 3 - 10+30x2 = 70 minutes\n\nGeometric = ar^(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10x30^1 = 300 minutes\nRetry 3 - 10x30^2 = 9,000 minutes\n" + }, + "firstRetry": { + "type": "integer", + "description": "When to initiate first retry, after the initial call failed. (in mins)." + }, + "interval": { + "type": "integer", + "description": "The interval between retries (in mins)." + }, + "numberOfRetries": { + "type": "integer", + "description": "The number of retries per sequence." + }, + "deactivateFlag": { + "type": "string", + "description": "Deactivate the subscription if your retries fail to deliver.\n\nIf this is set to `true`, the automatic suspend and resume feature will occur.\nThis would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent.\n\nIf this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active.\n" + }, + "repeatSequenceCount": { + "type": "integer", + "description": "The number of times to repeat the complete retry sequence.\n0 => don't repeat the retry sequence\n1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3)\n2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3)\n" + }, + "repeatSequenceWaitTime": { + "type": "integer", + "description": "The time to wait to before repeating the complete retry sequence.\nAmount of time to wait between each sequence.\nSample calculation using repeatSequenceWaitTime=10\n(R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3)\n" + }, + "additionalAttributes": { + "description": "Additional data, if any.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "securityPolicy": { + "type": "object", + "properties": { + "securityType": { + "type": "string", + "description": "Security Policy of the client server." + }, + "config": { + "description": "Optional configuration object for if your API or server requires oAuth for an incoming webhook.", + "type": "object", + "properties": { + "oAuthTokenExpiry": { + "type": "string", + "description": "Token expiration for the oAuth server." + }, + "oAuthURL": { + "type": "string", + "description": "Client direct endpoint to the oAuth server." + }, + "oAuthTokenType": { + "type": "string", + "description": "Token type for the oAuth config." + } + } + } + }, + "description": "The security option to authenticate with your API or client server." + }, + "createdOn": { + "type": "string", + "description": "Date on which webhook was created/registered." + }, + "updatedOn": { + "type": "string", + "description": "Date on which webhook was most recently updated." + }, + "additionalAttributes": { + "description": "Additional, free form configuration data.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "example": { + "webhookId": "b555a545-58a9-47c7-aef9-10a8e17f201a", + "organizationId": "123456", + "productId": "payments", + "eventTypes": [ + "payments.payments.accept", + "payments.payments.reject", + "payments.refunds.accept" + ], + "webhookUrl": "https://example.com:443/cybs", + "healthCheckUrl": "https://example.com:443/cybs/healthcheck", + "notificationScope": "SELF", + "status": "INACTIVE", + "name": "Billing Update Webhook", + "description": null, + "retryPolicy": null, + "securityPolicy": { + "securityType": "oAuth", + "config": { + "oAuthUrl": "https://acquirers.authorization-server.com/token", + "oAuthTokenType": "Bearer", + "oAuthTokenExpiry": 300, + "keyId": "IdFromSecureUSAPI2LookupClientIdAndClientSecret" + } + }, + "createdOn": "2021-02-25T23:25:11.000Z", + "updatedOn": null, + "additionalAttributes": [] + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "500": { + "description": "Server error" + } + }, + "x-example": { + "example0": { + "summary": "Create Token Management Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "tokenManagement", + "eventTypes": [ + "tms.networktoken.provisioned", + "tms.networktoken.updated", + "tms.token.pan_updated", + "tms.token.created", + "tms.token.updated" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example1": { + "summary": "Create Outage and Key Expiration Notification Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "cns", + "eventTypes": [ + "cns.outage.notify.freeform", + "cns.report.keyExpiration.detail" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example2": { + "summary": "Create Alternative Payments Notification Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "alternativePaymentMethods", + "eventTypes": [ + "payments.payments.updated" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example3": { + "summary": "Create Recurring Billing Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "recurringBilling", + "eventTypes": [ + "rbs.subscriptions.charge.pre-notified", + "rbs.subscriptions.charge.created", + "rbs.subscriptions.charge.failed" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example4": { + "summary": "Create Secure Acceptance Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "secureAcceptance", + "eventTypes": [ + "sa.orders.rawtransactionresults", + "sa.orders.cardholderreceipts", + "sa.orders.merchantreceipts" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example5": { + "summary": "Create Invoicing Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "customerInvoicing", + "eventTypes": [ + "invoicing.customer.invoice.cancel", + "invoicing.customer.invoice.overdue-reminder", + "invoicing.customer.invoice.paid", + "invoicing.customer.invoice.partial-payment", + "invoicing.customer.invoice.partial-resend", + "invoicing.customer.invoice.reminder", + "invoicing.customer.invoice.send" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example6": { + "summary": "Create Terminal Management Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "terminalManagement", + "eventTypes": [ + "terminalManagement.assignment.update", + "terminalManagement.status.update", + "terminalManagement.reAssignment.update" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example7": { + "summary": "Create Fraud Management Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "fraudManagementEssentials", + "eventTypes": [ + "risk.profile.decision.review", + "risk.profile.decision.reject", + "risk.profile.decision.monitor", + "risk.casemanagement.addnote", + "risk.casemanagement.decision.accept", + "risk.casemanagement.decision.reject" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example8": { + "summary": "Create Decision Manager Webhook", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "decisionManager", + "eventTypes": [ + "risk.profile.decision.reject", + "risk.casemanagement.addnote", + "risk.casemanagement.decision.accept", + "risk.casemanagement.decision.reject" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "KEY", + "proxyType": "external" + } + } + }, + "example9": { + "summary": "Create Webhook using oAuth with Client Credentials", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "terminalManagement", + "eventTypes": [ + "terminalManagement.assignment.update" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "oAuth", + "proxyType": "external", + "config": { + "oAuthTokenExpiry": 365, + "oAuthURL": "https://MyWebhookServer.com:8443/oAuthToken", + "oAuthTokenType": "Bearer" + } + } + } + }, + "example10": { + "summary": "Create Webhook using oAuth with JWT", + "value": { + "name": "My Custom Webhook", + "description": "Sample Webhook from Developer Center", + "organizationId": "organizationId", + "productId": "terminalManagement", + "eventTypes": [ + "terminalManagement.assignment.update" + ], + "webhookUrl": "https://MyWebhookServer.com:8443/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443/simulateClientHealthCheck", + "notificationScope": "SELF", + "retryPolicy": { + "algorithm": "ARITHMETIC", + "firstRetry": 1, + "interval": 1, + "numberOfRetries": 3, + "deactivateFlag": "false", + "repeatSequenceCount": 0, + "repeatSequenceWaitTime": 0 + }, + "securityPolicy": { + "securityType": "oAuth_JWT", + "proxyType": "external", + "config": { + "oAuthTokenExpiry": 365, + "oAuthURL": "https://MyWebhookServer.com:8443/oAuthToken", + "oAuthTokenType": "Bearer", + "additionalConfig": { + "aud": "idp.api.myServer.com", + "client_id": "650538A1-7AB0-AD3A-51AB-932ABC57AD70", + "keyId": "y-daaaAVyF0176M7-eAZ34pR9Ts", + "scope": "merchantacq:rte:write" + } + } + } + } + } + } + }, + "get": { + "tags": [ + "Manage Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Get Details On All Created Webhooks", + "description": "Retrieve a list of all previously created webhooks.", + "operationId": "getAllWebhooks", + "parameters": [ + { + "name": "organizationId", + "in": "query", + "description": "The Organization Identifier.", + "type": "string", + "required": true + }, + { + "name": "productId", + "in": "query", + "description": "The Product Identifier.", + "type": "string", + "required": true + }, + { + "name": "eventType", + "in": "query", + "description": "The Event Type.", + "type": "string", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "webhookId": { + "type": "string", + "description": "Webhook Id. This is generated by the server." + }, + "organizationId": { + "type": "string", + "description": "Organization ID." + }, + "products": { + "type": "array", + "items": { + "type": "object", + "properties": { + "productId": { + "type": "string", + "description": "Product ID." + }, + "eventTypes": { + "type": "array", + "items": { + "type": "string", + "description": "Event types within the product that you would like subscriptions for." + } + } + }, + "example": { + "productId": "payments", + "eventTypes": [ + "payments.credits.accept", + "payments.credits.partial.approval", + "payments.payments.accept", + "payments.payments.reject" + ] + } + } + }, + "webhookUrl": { + "type": "string", + "description": "The client's endpoint (URL) to receive webhooks." + }, + "healthCheckUrl": { + "type": "string", + "description": "The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl." + }, + "notificationScope": { + "type": "object", + "properties": { + "scope": { + "type": "string", + "description": "The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field", + "default": "SELF" + }, + "scopeData": { + "type": "array", + "description": "Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable.", + "items": { + "type": "string" + } + } + } + }, + "status": { + "type": "string", + "description": "Webhook status.", + "default": "INACTIVE" + }, + "name": { + "type": "string", + "description": "Client friendly webhook name." + }, + "description": { + "type": "string", + "description": "Client friendly webhook description." + }, + "retryPolicy": { + "type": "object", + "description": "Retry policy for the individual webhooks that are a part of your subscription. If a message fails to deliver, it will execute through this retry policy.\n\nAutomatic suspend and resume:\n\nIf you experience downtime and have `deactivateFlag = true` any new messages will be held in a \"SUSPENDED\" status.\nWhen your healthCheckUrl returns healthy again, the subscription will automatically be re-enabled and your messages will be sent.\nWe will ping your healthCheckUrl routinely using a POST call with an empty payload to check availability.\nIf your endpoint returns an unhealthy status of != 200, we will check the healthCheckUrl at a more frequent rate until it is healthy again.\n\nIf you experience downtime and have `deactivateFlag = false` and your message exhausts all retry attempts the message will go to a \"FAILED\" status.\nSupport will be notified and will reach out to suggest you execute the \"REPLAY\" endpoint at a later date when your server is healthy.\n\n\nReference the below values for formulas and calculations related to the frequency of retries depending on algorithm and configuration.\n", + "properties": { + "algorithm": { + "type": "string", + "description": "This is used to calculate the Retry Sequence.\n\nSample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3\nArithmetic = a+r(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10+30x1 = 40 minutes\nRetry 3 - 10+30x2 = 70 minutes\n\nGeometric = ar^(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10x30^1 = 300 minutes\nRetry 3 - 10x30^2 = 9,000 minutes\n" + }, + "firstRetry": { + "type": "integer", + "description": "When to initiate first retry, after the initial call failed. (in mins)." + }, + "interval": { + "type": "integer", + "description": "The interval between retries (in mins)." + }, + "numberOfRetries": { + "type": "integer", + "description": "The number of retries per sequence." + }, + "deactivateFlag": { + "type": "string", + "description": "Deactivate the subscription if your retries fail to deliver.\n\nIf this is set to `true`, the automatic suspend and resume feature will occur.\nThis would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent.\n\nIf this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active.\n" + }, + "repeatSequenceCount": { + "type": "integer", + "description": "The number of times to repeat the complete retry sequence.\n0 => don't repeat the retry sequence\n1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3)\n2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3)\n" + }, + "repeatSequenceWaitTime": { + "type": "integer", + "description": "The time to wait to before repeating the complete retry sequence.\nAmount of time to wait between each sequence.\nSample calculation using repeatSequenceWaitTime=10\n(R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3)\n" + }, + "additionalAttributes": { + "description": "Additional data, if any.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "securityPolicy": { + "type": "object", + "properties": { + "securityType": { + "type": "string", + "description": "Security Policy of the client server." + }, + "config": { + "description": "Optional configuration object for if your API or server requires oAuth for an incoming webhook.", + "type": "object", + "properties": { + "oAuthTokenExpiry": { + "type": "string", + "description": "Token expiration for the oAuth server." + }, + "oAuthURL": { + "type": "string", + "description": "Client direct endpoint to the oAuth server." + }, + "oAuthTokenType": { + "type": "string", + "description": "Token type for the oAuth config." + } + } + } + }, + "description": "The security option to authenticate with your API or client server." + }, + "createdOn": { + "type": "string", + "description": "Date on which webhook was created/registered." + }, + "updatedOn": { + "type": "string", + "description": "Date on which webhook was most recently updated." + }, + "additionalAttributes": { + "description": "Additional, free form configuration data.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "example": { + "webhookId": "b555a545-58a9-47c7-aef9-10a8e17f201a", + "organizationId": "123456", + "productId": "payments", + "eventTypes": [ + "payments.payments.accept", + "payments.payments.reject", + "payments.refunds.accept" + ], + "webhookUrl": "https://example.com:443/cybs", + "healthCheckUrl": "https://example.com:443/cybs/healthcheck", + "notificationScope": "SELF", + "status": "INACTIVE", + "name": "Billing Update Webhook", + "description": null, + "retryPolicy": null, + "securityPolicy": { + "securityType": "oAuth", + "config": { + "oAuthUrl": "https://acquirers.authorization-server.com/token", + "oAuthTokenType": "Bearer", + "oAuthTokenExpiry": 300, + "keyId": "IdFromSecureUSAPI2LookupClientIdAndClientSecret" + } + }, + "createdOn": "2021-02-25T23:25:11.000Z", + "updatedOn": null, + "additionalAttributes": [] + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "500": { + "description": "Server error" + } + } + } + }, + "/notification-subscriptions/v1/webhooks/{webhookId}": { + "patch": { + "tags": [ + "Manage Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Update a Webhook Subscription", + "description": "Update the webhook subscription using PATCH.", + "operationId": "updateWebhookSubscription", + "parameters": [ + { + "name": "webhookId", + "in": "path", + "type": "string", + "description": "The Webhook Identifier.", + "required": true + }, + { + "name": "updateWebhook", + "in": "body", + "description": "The webhook payload or changes to apply.", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Client friendly webhook name." + }, + "description": { + "type": "string", + "description": "Client friendly webhook description.\\" + }, + "organizationId": { + "type": "string", + "description": "Organization Id." + }, + "productId": { + "type": "string", + "description": "The product you are receiving a webhook for." + }, + "eventTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of the different events for a given product id." + }, + "webhookUrl": { + "type": "string", + "description": "The client's endpoint (URL) to receive webhooks." + }, + "healthCheckUrl": { + "type": "string", + "description": "The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl." + }, + "status": { + "type": "string", + "description": "Webhook status.", + "default": "INACTIVE" + }, + "notificationScope": { + "type": "object", + "properties": { + "scope": { + "type": "string", + "description": "The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field", + "default": "SELF" + }, + "scopeData": { + "type": "array", + "description": "Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable.", + "items": { + "type": "string" + } + } + } + }, + "retryPolicy": { + "type": "object", + "description": "Retry policy for the individual webhooks that are a part of your subscription. If a message fails to deliver, it will execute through this retry policy.\n\nAutomatic suspend and resume:\n\nIf you experience downtime and have `deactivateFlag = true` any new messages will be held in a \"SUSPENDED\" status.\nWhen your healthCheckUrl returns healthy again, the subscription will automatically be re-enabled and your messages will be sent.\nWe will ping your healthCheckUrl routinely using a POST call with an empty payload to check availability.\nIf your endpoint returns an unhealthy status of != 200, we will check the healthCheckUrl at a more frequent rate until it is healthy again.\n\nIf you experience downtime and have `deactivateFlag = false` and your message exhausts all retry attempts the message will go to a \"FAILED\" status.\nSupport will be notified and will reach out to suggest you execute the \"REPLAY\" endpoint at a later date when your server is healthy.\n\n\nReference the below values for formulas and calculations related to the frequency of retries depending on algorithm and configuration.\n", + "properties": { + "algorithm": { + "type": "string", + "description": "This is used to calculate the Retry Sequence.\n\nSample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3\nArithmetic = a+r(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10+30x1 = 40 minutes\nRetry 3 - 10+30x2 = 70 minutes\n\nGeometric = ar^(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10x30^1 = 300 minutes\nRetry 3 - 10x30^2 = 9,000 minutes\n" + }, + "firstRetry": { + "type": "integer", + "description": "When to initiate first retry, after the initial call failed. (in mins)." + }, + "interval": { + "type": "integer", + "description": "The interval between retries (in mins)." + }, + "numberOfRetries": { + "type": "integer", + "description": "The number of retries per sequence." + }, + "deactivateFlag": { + "type": "string", + "description": "Deactivate the subscription if your retries fail to deliver.\n\nIf this is set to `true`, the automatic suspend and resume feature will occur.\nThis would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent.\n\nIf this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active.\n" + }, + "repeatSequenceCount": { + "type": "integer", + "description": "The number of times to repeat the complete retry sequence.\n0 => don't repeat the retry sequence\n1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3)\n2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3)\n" + }, + "repeatSequenceWaitTime": { + "type": "integer", + "description": "The time to wait to before repeating the complete retry sequence.\nAmount of time to wait between each sequence.\nSample calculation using repeatSequenceWaitTime=10\n(R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3)\n" + }, + "additionalAttributes": { + "description": "Additional data, if any.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "securityPolicy": { + "type": "object", + "properties": { + "securityType": { + "type": "string", + "description": "Security Policy of the client server." + }, + "config": { + "description": "Optional configuration object for if your API or server requires oAuth for an incoming webhook.", + "type": "object", + "properties": { + "oAuthTokenExpiry": { + "type": "string", + "description": "Token expiration for the oAuth server." + }, + "oAuthURL": { + "type": "string", + "description": "Client direct endpoint to the oAuth server." + }, + "oAuthTokenType": { + "type": "string", + "description": "Token type for the oAuth config." + } + } + } + }, + "description": "The security option to authenticate with your API or client server." + }, + "additionalAttributes": { + "description": "Additional, free form configuration data.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "example": { + "status": "ACTIVE" + } + } + } + ], + "responses": { + "200": { + "description": "Updated" + }, + "401": { + "description": "Unauthorized" + }, + "404": { + "description": "Not found", + "schema": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string" + } + } + } + } + } + } + }, + "500": { + "description": "Server error" + } + }, + "x-example": { + "example0": { + "summary": "Update Webhook", + "value": { + "name": "My Sample Webhook", + "description": "Update to my sample webhook", + "organizationId": "testOrgId", + "productId": "terminalManagement", + "eventTypes": [ + "terminalManagement.assignment.update", + "terminalManagement.status.update" + ], + "webhookUrl": "https://MyWebhookServer.com:8443:/simulateClient", + "healthCheckUrl": "https://MyWebhookServer.com:8443:/simulateClientHealthCheck", + "notificationScope": "SELF" + } + } + } + }, + "get": { + "tags": [ + "Manage Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Get Details On a Single Webhook", + "description": "Retrieve the details of a specific webhook by supplying the webhook ID in the path.", + "operationId": "getWebhookDetails", + "parameters": [ + { + "name": "webhookId", + "in": "path", + "type": "string", + "description": "The webhook Identifier", + "required": true + } + ], + "responses": { + "200": { + "description": "Ok", + "schema": { + "type": "object", + "properties": { + "webhookId": { + "type": "string", + "description": "Webhook Id. This is generated by the server." + }, + "organizationId": { + "type": "string", + "description": "Organization ID." + }, + "products": { + "type": "array", + "items": { + "type": "object", + "properties": { + "productId": { + "type": "string", + "description": "Product ID." + }, + "eventTypes": { + "type": "array", + "items": { + "type": "string", + "description": "Event types within the product that you would like subscriptions for." + } + } + }, + "example": { + "productId": "payments", + "eventTypes": [ + "payments.credits.accept", + "payments.credits.partial.approval", + "payments.payments.accept", + "payments.payments.reject" + ] + } + } + }, + "webhookUrl": { + "type": "string", + "description": "The client's endpoint (URL) to receive webhooks." + }, + "healthCheckUrl": { + "type": "string", + "description": "The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl." + }, + "notificationScope": { + "type": "object", + "properties": { + "scope": { + "type": "string", + "description": "The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field", + "default": "SELF" + }, + "scopeData": { + "type": "array", + "description": "Applicable only if scope=CUSTOM. This should contains a Set of MIDs or OrgIDs for which this subscription is applicable.", + "items": { + "type": "string" + } + } + } + }, + "status": { + "type": "string", + "description": "Webhook status.", + "default": "INACTIVE" + }, + "name": { + "type": "string", + "description": "Client friendly webhook name." + }, + "description": { + "type": "string", + "description": "Client friendly webhook description." + }, + "retryPolicy": { + "type": "object", + "description": "Retry policy for the individual webhooks that are a part of your subscription. If a message fails to deliver, it will execute through this retry policy.\n\nAutomatic suspend and resume:\n\nIf you experience downtime and have `deactivateFlag = true` any new messages will be held in a \"SUSPENDED\" status.\nWhen your healthCheckUrl returns healthy again, the subscription will automatically be re-enabled and your messages will be sent.\nWe will ping your healthCheckUrl routinely using a POST call with an empty payload to check availability.\nIf your endpoint returns an unhealthy status of != 200, we will check the healthCheckUrl at a more frequent rate until it is healthy again.\n\nIf you experience downtime and have `deactivateFlag = false` and your message exhausts all retry attempts the message will go to a \"FAILED\" status.\nSupport will be notified and will reach out to suggest you execute the \"REPLAY\" endpoint at a later date when your server is healthy.\n\n\nReference the below values for formulas and calculations related to the frequency of retries depending on algorithm and configuration.\n", + "properties": { + "algorithm": { + "type": "string", + "description": "This is used to calculate the Retry Sequence.\n\nSample calculations using firstRetry=10, interval=30, maxNumberOfRetries=3\nArithmetic = a+r(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10+30x1 = 40 minutes\nRetry 3 - 10+30x2 = 70 minutes\n\nGeometric = ar^(n-1)\nRetry 1 - 10 minutes\nRetry 2 - 10x30^1 = 300 minutes\nRetry 3 - 10x30^2 = 9,000 minutes\n" + }, + "firstRetry": { + "type": "integer", + "description": "When to initiate first retry, after the initial call failed. (in mins)." + }, + "interval": { + "type": "integer", + "description": "The interval between retries (in mins)." + }, + "numberOfRetries": { + "type": "integer", + "description": "The number of retries per sequence." + }, + "deactivateFlag": { + "type": "string", + "description": "Deactivate the subscription if your retries fail to deliver.\n\nIf this is set to `true`, the automatic suspend and resume feature will occur.\nThis would prevent new webhooks from attempting to deliver and to queue up until your healthCheckUrl returns 200 again, then all messages will be sent.\n\nIf this is set to `false`, new individual messages will continue to retry and exhaust all failures, but the subscription will stay active.\n" + }, + "repeatSequenceCount": { + "type": "integer", + "description": "The number of times to repeat the complete retry sequence.\n0 => don't repeat the retry sequence\n1 => repeat the retry sequence once (R1, R2, R3)+ (R1, R2, R3)\n2 => repeat the retry sequence twice (R1, R2, R3) + (R1, R2, R3) + (R1, R2, R3)\n" + }, + "repeatSequenceWaitTime": { + "type": "integer", + "description": "The time to wait to before repeating the complete retry sequence.\nAmount of time to wait between each sequence.\nSample calculation using repeatSequenceWaitTime=10\n(R1, R2, R3) + (10) + (R1, R2, R3) + (10) + (R1, R2, R3)\n" + }, + "additionalAttributes": { + "description": "Additional data, if any.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "securityPolicy": { + "type": "object", + "properties": { + "securityType": { + "type": "string", + "description": "Security Policy of the client server." + }, + "config": { + "description": "Optional configuration object for if your API or server requires oAuth for an incoming webhook.", + "type": "object", + "properties": { + "oAuthTokenExpiry": { + "type": "string", + "description": "Token expiration for the oAuth server." + }, + "oAuthURL": { + "type": "string", + "description": "Client direct endpoint to the oAuth server." + }, + "oAuthTokenType": { + "type": "string", + "description": "Token type for the oAuth config." + } + } + } + }, + "description": "The security option to authenticate with your API or client server." + }, + "createdOn": { + "type": "string", + "description": "Date on which webhook was created/registered." + }, + "updatedOn": { + "type": "string", + "description": "Date on which webhook was most recently updated." + }, + "additionalAttributes": { + "description": "Additional, free form configuration data.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "example": { + "webhookId": "b555a545-58a9-47c7-aef9-10a8e17f201a", + "organizationId": "123456", + "productId": "payments", + "eventTypes": [ + "payments.payments.accept", + "payments.payments.reject", + "payments.refunds.accept" + ], + "webhookUrl": "https://example.com:443/cybs", + "healthCheckUrl": "https://example.com:443/cybs/healthcheck", + "notificationScope": "SELF", + "status": "INACTIVE", + "name": "Billing Update Webhook", + "description": null, + "retryPolicy": null, + "securityPolicy": { + "securityType": "oAuth", + "config": { + "oAuthUrl": "https://acquirers.authorization-server.com/token", + "oAuthTokenType": "Bearer", + "oAuthTokenExpiry": 300, + "keyId": "IdFromSecureUSAPI2LookupClientIdAndClientSecret" + } + }, + "createdOn": "2021-02-25T23:25:11.000Z", + "updatedOn": null, + "additionalAttributes": [] + } + } + }, + "401": { + "description": "Unauthorized" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Server error" + } + } + }, + "delete": { + "tags": [ + "Manage Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Delete a Webhook Subscription", + "description": "Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications.", + "operationId": "deleteWebhookSubscription", + "parameters": [ + { + "name": "webhookId", + "in": "path", + "type": "string", + "description": "The webhook identifier.", + "required": true + } + ], + "responses": { + "200": { + "description": "Ok" + }, + "401": { + "description": "Unauthorized" + }, + "404": { + "description": "Not found" + }, + "500": { + "description": "Server error" + } + } + } + }, + "/nrtf/v1/webhooks/{webhookId}/replays": { + "post": { + "tags": [ + "Manage Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Replay Previous Webhooks", + "description": "Initiate a webhook replay request to replay transactions that happened in the past.\n\nCannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay.\n\nThe difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay.\n", + "operationId": "replayPreviousWebhook", + "parameters": [ + { + "name": "webhookId", + "in": "path", + "required": true, + "type": "string", + "description": "The webhook uuid identifier." + }, + { + "name": "replayWebhooks", + "in": "body", + "description": "The request query", + "schema": { + "type": "object", + "properties": { + "byTransactionTraceIdentifiers": { + "type": "array", + "items": { + "type": "string", + "description": "Array list of webhook trace identifiers that would be replayed." + } + }, + "byDeliveryStatus": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The status of the webhook. Options are FAILED or RETRY" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time in yyyy-mm-dd hh:mm:ss.ms format. Maximum value is 1 month prior to todays system time.\n\nThe difference between Start Time and End Time cannot exceed a 24 hour window within the last month.\n" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time in yyyy-mm-dd hh:mm:ss.ms format.\n\nThe difference between Start Time and End Time cannot exceed a 24 hour window within the last month.\n" + }, + "hoursBack": { + "type": "integer", + "description": "Alternative parameter to startTime/endTime.\n\nIt evaluates the startTime using the current system time (endTime) and the hoursBack value (default = 24hrs).\n" + }, + "productId": { + "type": "string" + }, + "eventType": { + "type": "string" + } + }, + "example": { + "status": "FAILED", + "startTime": "2021-02-25T09:35:52.284Z", + "endTime": "2021-02-25T21:35:52.284Z" + } + } + }, + "example": { + "transactionTraceIdentifiers": [ + "1f1d0bf4-9299-418d-99d8-faa3313829f1", + "d19fb205-20e5-43a2-867e-bd0f574b771e", + "2f2461a3-457c-40e9-867f-aced89662bbb", + "e23ddc19-93d5-4f1f-8482-d7cafbb3ed9b", + "eb9fc4a9-b31f-48d5-81a9-b1d773fd76d8" + ], + "deliveryStatus": { + "status": "FAILED", + "startTime": "2021-02-25T09:35:52.284Z", + "endTime": "2021-02-25T21:35:52.284Z" + } + } + } + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "400": { + "description": "Bad request" + }, + "401": { + "description": "Unauthorized" + }, + "404": { + "description": "Not Found" + }, + "500": { + "description": "Server error" + } + }, + "x-example": { + "example0": { + "summary": "Replay failed transactions by a set start and end time", + "value": { + "byDeliveryStatus": { + "status": "FAILED", + "startTime": "2021-01-01T09:35:52.284Z", + "endTime": "2021-01-01T21:35:52.284Z", + "productId": "tokenManagement", + "eventType": "tms.token.created" + } + } + }, + "example1": { + "summary": "Replay failed transactions in the last 24 hours", + "value": { + "byDeliveryStatus": { + "status": "FAILED", + "hoursBack": 24, + "productId": "tokenManagement", + "eventType": "tms.token.created" + } + } + }, + "example2": { + "summary": "Replay a specific list of transactions", + "value": { + "byTransactionTraceIdentifiers": [ + "1f1d0bf4-9299-418d-99d8-faa3313829f1", + "d19fb205-20e5-43a2-867e-bd0f574b771e", + "2f2461a3-457c-40e9-867f-aced89662bbb", + "e23ddc19-93d5-4f1f-8482-d7cafbb3ed9b", + "eb9fc4a9-b31f-48d5-81a9-b1d773fd76d8" + ] + } + } + } + } + }, + "/kms/egress/v2/keys-asym": { + "post": { + "tags": [ + "Manage Webhooks" + ], + "x-devcenter-metaData": { + "categoryTag": "Webhooks", + "firstLevelApiLifeCycle": "beta", + "secondLevelApiLifeCycle": "beta", + "apiLifeCycle": "beta", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/webhooks/implementation/all/rest/webhooks/wh-fg-intro.html" + }, + "summary": "Message Level Encryption", + "description": "Store and manage certificates that will be used to preform Message Level Encryption (MLE).\nEach new webhook will need its own unique asymmetric certificate.\nYou can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide.\n", + "operationId": "saveAsymEgressKey", + "parameters": [ + { + "name": "v-c-correlation-id", + "in": "header", + "description": "A globally unique id associated with your request", + "type": "string", + "pattern": "^[A-Za-z0-9\\.\\-_:]+$", + "minLength": 2, + "maxLength": 100 + }, + { + "name": "v-c-sender-organization-id", + "in": "header", + "description": "Sender organization id", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9\\-_]+$", + "minLength": 2, + "maxLength": 100 + }, + { + "name": "v-c-permissions", + "in": "header", + "description": "Encoded user permissions returned by the CGK, for the entity user who initiated the boarding", + "required": true, + "type": "string" + }, + { + "name": "SaveAsymEgressKey", + "in": "body", + "description": "Provide egress Asymmetric key information to save (create or store)", + "required": true, + "schema": { + "type": "object", + "required": [ + "clientRequestAction", + "keyInformation" + ], + "properties": { + "clientReferenceInformation": { + "description": "Client object", + "type": "object", + "properties": { + "code": { + "type": "string", + "maxLength": 50, + "description": "Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n" + } + } + }, + "clientRequestAction": { + "type": "string", + "description": "Client request action.\n" + }, + "keyInformation": { + "type": "object", + "description": "Egress Asymmetric Key Information Request\n", + "properties": { + "provider": { + "type": "string", + "description": "Provider name\n" + }, + "tenant": { + "type": "string", + "description": "Tenant name\n" + }, + "keyType": { + "type": "string", + "description": "Type of the key\n" + }, + "organizationId": { + "type": "string", + "description": "Organization Id\n" + }, + "pub": { + "type": "string", + "description": "Public certificate with only base64 encoded payload and not the header (BEGIN CERTIFICATE) and footer (END CERTIFICATE)\n" + }, + "keyId": { + "type": "string", + "description": "Key Serial Number\n" + }, + "pvt": { + "type": "string", + "description": "Private certificate with only base64 encoded payload and not header (BEGIN CERTIFICATE) and footer (END CERTIFICATE)\n" + }, + "status": { + "type": "string", + "description": "The status of the key\n" + }, + "expiryDuration": { + "type": "string", + "description": "Key expiry duration in days\n" + } + } + } + } + } + } + ], + "responses": { + "201": { + "description": "Successful Response", + "schema": { + "type": "object", + "description": "Egress Asymmetric Key Information Response.\n", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\nExample `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the\ntime. The `Z` indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "The status of the submitted transaction.\nPossible values:\n - ACCEPTED\n" + }, + "clientReferenceInformation": { + "type": "object", + "description": "Object for client references.", + "properties": { + "code": { + "type": "string", + "maxLength": 50, + "description": "Client generated order reference or tracking number. CyberSource recommends that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n" + } + } + }, + "keyInformation": { + "type": "object", + "description": "Egress Asymmetric Key Information Request\n", + "properties": { + "provider": { + "type": "string", + "description": "Provider name\n" + }, + "tenant": { + "type": "string", + "description": "Tenant name\n" + }, + "keyType": { + "type": "string", + "description": "Type of the key\n" + }, + "organizationId": { + "type": "string", + "description": "Organization Id\n" + }, + "pub": { + "type": "string", + "description": "Public certificate with only base64 encoded payload and not the header (BEGIN CERTIFICATE) and footer (END CERTIFICATE)\n" + }, + "keyId": { + "type": "string", + "description": "Key Serial Number\n" + }, + "pvt": { + "type": "string", + "description": "Private certificate with only base64 encoded payload and not header (BEGIN CERTIFICATE) and footer (END CERTIFICATE)\n" + }, + "status": { + "type": "string", + "description": "The status of the key\n" + }, + "expiryDuration": { + "type": "string", + "description": "Key expiry duration in days\n" + } + } + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized Request" + }, + "502": { + "description": "Unexpected system error or system timeout" + } + }, + "x-example": { + "example0": { + "summary": "Create Asymmetric Key", + "value": { + "clientRequestAction": "STORE", + "keyInformation": { + "provider": "merchantName", + "tenant": "nrtd", + "keyType": "publickey", + "organizationId": "merchantName", + "pub": "MIIDbDCCAlQCCQD4lcSlmasmCTANBgkqhkiG9w0BAQsFADB4MQswCQYDVQQGEwJVUzELMAkGA1UECAwCVFgxDzANBgNVBAcMBkF1c3RpbjENMAsGA1UECgwEVGVzdDEOMAwGA1UECwwFVGVzdDIxDjAMBgNVBAMMBVRlc3QzMRwwGgYJKoZIhvcNAQkBFg10ZXN0QHRlc3QuY29tMB4XDTIxMDgwOTE0MTcxNFoXDTIyMDgwOTE0MTcxNFoweDELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlRYMQ8wDQYDVQQHDAZBdXN0aW4xDTALBgNVBAoMBFRlc3QxDjAMBgNVBAsMBVRlc3QyMQ4wDAYDVQQDDAVUZXN0MzEcMBoGCSqGSIb3DQEJARYNdGVzdEB0ZXN0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcHQWZRETqim3XzUQlAiujFEvsHIi1uJZKj+1lvPH36Ucqo3ORcoh/MM/zxVdahjhSyyp7MHuKBWnzft6bFeDEul6qKWGPAAzaxG/2xZSV3FggA9SyAZEDUpJ6mblwqm/EY4KmZi1FrNBUHfW2wwaqDexHPRDesRG6aI7Wuu4GdQUUqoTa2+Nv7kVgEDmGcfIjoWkGKHe+Yan95EITrq4jEFCE5Tg/vERnMvHfK2SovENZ13/pnwFYbeh1kfJSBzWW7yq8AyQAgAE9iqJXbJ/MAasir2vjUQ2+Hcl7WbkpoVjLqDt3rzV1T0Bsd4T9SC3wij9qjJSxa6vAgV4xn6bECAwEAATANBgkqhkiG9w0BAQsFAAOCAQEADuMrtYW1Sf0IsZ4ZD9ipjUrFuTxqh+0M5Jk8h0QqAXEHA/MawedlU3JmE3NB/UR82/XUwdmtObGnFANuUQQ+8WMFpcNo/Sq2kg7juneHZroRh72o73UUMtHWHzo8s0fXElNal8h3SaAAnjMblCiN+gM1RvWMvhGrMTXp2XAcdIezXf8/FOZLlzOF9QylbSk1U4ayWBag6MydkxgHjkPKdShZROEm0oz/O7J/gNp/r7J8F42Rw9MmJh9qH3SFre13nQa8V7Kg+dJHZ/jpGtSlDHAxO0SSTrPXkwB+iBJ6hSkiL/J2Ep+lYHqVe3p5NXMOlTtJdbU4enHeLkD6PazKTw", + "expiryDuration": "365" + } + } + } + } + } + }, "/up/v1/capture-contexts": { "x-name": "Generate Unified Checkout Capture Context", "x-description": "Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the parameters for how Unified Checkout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initiate Unified Checkout within a merchant web page", diff --git a/generator/cybersource_dotnet_sdk_gen.bat b/generator/cybersource_dotnet_sdk_gen.bat index 758868d7..6ba57074 100644 --- a/generator/cybersource_dotnet_sdk_gen.bat +++ b/generator/cybersource_dotnet_sdk_gen.bat @@ -40,6 +40,62 @@ powershell Rename-Item ..\src\Cybersource.Test\Model\Tmsv2customersEmbeddedDefau powershell Rename-Item ..\src\Cybersource.Test\Model\Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationTests.cs Tmsv2customersEmbeddedDefaultProcessingInformationTests.cs + +@REM renaming +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformationTests.cs PaymentProductsCardProcessingMerchantDescriptorInformationTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrenciesTests.cs PaymentProductsCardProcessingPayoutsCurrenciesTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnlyTests.cs PaymentProductsECheckServiceInternalOnlyTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessorsTests.cs PaymentProductsECheckProcessorsTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrenciesTests.cs PaymentProductsPayerAuthVerifiedByVisaCurrenciesTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotificationsTests.cs PaymentProductsSecureAcceptanceCustomerNotificationsTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotificationsTests.cs PaymentProductsSecureAcceptanceMerchantNotificationsTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformationTests.cs PaymentProductsVirtualTerminalPaymentInformationBasicInformationTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFieldsTests.cs PaymentProductsVirtualTerminalMerchantDefinedDataFieldsTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformationTests.cs PaymentProductsVirtualTerminalPaymentInformationTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationTests.cs PaymentProductsVirtualTerminalCardNotPresentGlobalPaymentInformationTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceiptTests.cs PaymentProductsVirtualTerminalReceiptInformationEmailReceiptTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeaderTests.cs PaymentProductsVirtualTerminalReceiptInformationHeaderTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformationTests.cs PaymentProductsVirtualTerminalReceiptInformationOrderInformationTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentialsTests.cs RiskProductsDecisionManagerThirdpartyAccurintCredentialsTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentialsTests.cs RiskProductsDecisionManagerThirdpartyCredilinkCredentialsTests.cs + +powershell Rename-Item ..\src\Cybersource.Test\Model\RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentialsTests.cs RiskProductsDecisionManagerThirdpartySignifydCredentialsTests.cs + +powershell Rename-Item ..\src\Cybersource\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation.cs PaymentProductsVirtualTerminalPaymentInformationBasicInformation.cs + +powershell Rename-Item ..\src\Cybersource\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.cs PaymentProductsVirtualTerminalMerchantDefinedDataFields.cs + +powershell Rename-Item ..\src\Cybersource\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation.cs PaymentProductsVirtualTerminalPaymentInformation.cs + +powershell Rename-Item ..\src\Cybersource\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt.cs PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.cs + +powershell Rename-Item ..\src\Cybersource\Model\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation.cs PaymentProductsVirtualTerminalReceiptInformationOrderInformation.cs + +powershell Rename-Item ..\docs\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation.md PaymentProductsVirtualTerminalPaymentInformationBasicInformation.md + +powershell Rename-Item ..\docs\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.md PaymentProductsVirtualTerminalMerchantDefinedDataFields.md + +powershell Rename-Item ..\docs\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation.md PaymentProductsVirtualTerminalPaymentInformation.md + +powershell Rename-Item ..\docs\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt.md PaymentProductsVirtualTerminalReceiptInformationEmailReceipt.md + +powershell Rename-Item ..\docs\PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation.md PaymentProductsVirtualTerminalReceiptInformationOrderInformation.md + powershell -Command " Set-Content ..\src\CyberSource\Api\SecureFileShareApi.cs ((get-content ..\src\CyberSource\Api\SecureFileShareApi.cs -raw) -replace '\*_\/_\*;charset=utf-8', '*/*;charset=utf-8') " REM For changing nuspec filename in csproj file diff --git a/packages.config b/packages.config index 19e56c97..47b79964 100644 --- a/packages.config +++ b/packages.config @@ -1,9 +1,9 @@  - + - + diff --git a/test/Api/BatchesApiTests.cs b/test/Api/BatchesApiTests.cs index 632bc3fc..74855a56 100644 --- a/test/Api/BatchesApiTests.cs +++ b/test/Api/BatchesApiTests.cs @@ -73,7 +73,7 @@ public void GetBatchReportTest() // TODO uncomment below to test the method and replace null with proper value //string batchId = null; //var response = instance.GetBatchReport(batchId); - //Assert.IsInstanceOf (response, "response is InlineResponse2004"); + //Assert.IsInstanceOf (response, "response is InlineResponse2007"); } /// @@ -85,7 +85,7 @@ public void GetBatchStatusTest() // TODO uncomment below to test the method and replace null with proper value //string batchId = null; //var response = instance.GetBatchStatus(batchId); - //Assert.IsInstanceOf (response, "response is InlineResponse2003"); + //Assert.IsInstanceOf (response, "response is InlineResponse2006"); } /// @@ -100,7 +100,7 @@ public void GetBatchesListTest() //string fromDate = null; //string toDate = null; //var response = instance.GetBatchesList(offset, limit, fromDate, toDate); - //Assert.IsInstanceOf (response, "response is InlineResponse2002"); + //Assert.IsInstanceOf (response, "response is InlineResponse2005"); } /// diff --git a/test/Api/CreateNewWebhooksApiTests.cs b/test/Api/CreateNewWebhooksApiTests.cs new file mode 100644 index 00000000..2a1bba6a --- /dev/null +++ b/test/Api/CreateNewWebhooksApiTests.cs @@ -0,0 +1,108 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.IO; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Reflection; +using RestSharp; +using NUnit.Framework; + +using CyberSource.Client; +using CyberSource.Api; +using CyberSource.Model; + +namespace CyberSource.Test +{ + /// + /// Class for testing CreateNewWebhooksApi + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the API endpoint. + /// + [TestFixture] + public class CreateNewWebhooksApiTests + { + private CreateNewWebhooksApi instance; + + /// + /// Setup before each unit test + /// + [SetUp] + public void Init() + { + instance = new CreateNewWebhooksApi(); + } + + /// + /// Clean up after each unit test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CreateNewWebhooksApi + /// + [Test] + public void InstanceTest() + { + // TODO uncomment below to test 'IsInstanceOfType' CreateNewWebhooksApi + //Assert.IsInstanceOfType(typeof(CreateNewWebhooksApi), instance, "instance is a CreateNewWebhooksApi"); + } + + + /// + /// Test CreateWebhook + /// + [Test] + public void CreateWebhookTest() + { + // TODO uncomment below to test the method and replace null with proper value + //CreateWebhook createWebhook = null; + //var response = instance.CreateWebhook(createWebhook); + //Assert.IsInstanceOf (response, "response is InlineResponse2013"); + } + + /// + /// Test FindProductToSubscribe + /// + [Test] + public void FindProductToSubscribeTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string organizationId = null; + //var response = instance.FindProductToSubscribe(organizationId); + //Assert.IsInstanceOf> (response, "response is List"); + } + + /// + /// Test SaveSymEgressKey + /// + [Test] + public void SaveSymEgressKeyTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string vCSenderOrganizationId = null; + //string vCPermissions = null; + //string vCCorrelationId = null; + //SaveSymEgressKey saveSymEgressKey = null; + //var response = instance.SaveSymEgressKey(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey); + //Assert.IsInstanceOf (response, "response is InlineResponse2012"); + } + + } + +} diff --git a/test/Api/ManageWebhooksApiTests.cs b/test/Api/ManageWebhooksApiTests.cs new file mode 100644 index 00000000..e87e2546 --- /dev/null +++ b/test/Api/ManageWebhooksApiTests.cs @@ -0,0 +1,148 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.IO; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Reflection; +using RestSharp; +using NUnit.Framework; + +using CyberSource.Client; +using CyberSource.Api; +using CyberSource.Model; + +namespace CyberSource.Test +{ + /// + /// Class for testing ManageWebhooksApi + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the API endpoint. + /// + [TestFixture] + public class ManageWebhooksApiTests + { + private ManageWebhooksApi instance; + + /// + /// Setup before each unit test + /// + [SetUp] + public void Init() + { + instance = new ManageWebhooksApi(); + } + + /// + /// Clean up after each unit test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of ManageWebhooksApi + /// + [Test] + public void InstanceTest() + { + // TODO uncomment below to test 'IsInstanceOfType' ManageWebhooksApi + //Assert.IsInstanceOfType(typeof(ManageWebhooksApi), instance, "instance is a ManageWebhooksApi"); + } + + + /// + /// Test DeleteWebhookSubscription + /// + [Test] + public void DeleteWebhookSubscriptionTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string webhookId = null; + //instance.DeleteWebhookSubscription(webhookId); + + } + + /// + /// Test GetAllWebhooks + /// + [Test] + public void GetAllWebhooksTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string organizationId = null; + //string productId = null; + //string eventType = null; + //var response = instance.GetAllWebhooks(organizationId, productId, eventType); + //Assert.IsInstanceOf> (response, "response is List"); + } + + /// + /// Test GetWebhookDetails + /// + [Test] + public void GetWebhookDetailsTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string webhookId = null; + //var response = instance.GetWebhookDetails(webhookId); + //Assert.IsInstanceOf (response, "response is InlineResponse2004"); + } + + /// + /// Test ReplayPreviousWebhook + /// + [Test] + public void ReplayPreviousWebhookTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string webhookId = null; + //ReplayWebhooks replayWebhooks = null; + //instance.ReplayPreviousWebhook(webhookId, replayWebhooks); + + } + + /// + /// Test SaveAsymEgressKey + /// + [Test] + public void SaveAsymEgressKeyTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string vCSenderOrganizationId = null; + //string vCPermissions = null; + //SaveAsymEgressKey saveAsymEgressKey = null; + //string vCCorrelationId = null; + //var response = instance.SaveAsymEgressKey(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId); + //Assert.IsInstanceOf (response, "response is InlineResponse2014"); + } + + /// + /// Test UpdateWebhookSubscription + /// + [Test] + public void UpdateWebhookSubscriptionTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string webhookId = null; + //UpdateWebhook updateWebhook = null; + //instance.UpdateWebhookSubscription(webhookId, updateWebhook); + + } + + } + +} diff --git a/test/Api/MerchantBoardingApiTests.cs b/test/Api/MerchantBoardingApiTests.cs new file mode 100644 index 00000000..be5ac076 --- /dev/null +++ b/test/Api/MerchantBoardingApiTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.IO; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Reflection; +using RestSharp; +using NUnit.Framework; + +using CyberSource.Client; +using CyberSource.Api; +using CyberSource.Model; + +namespace CyberSource.Test +{ + /// + /// Class for testing MerchantBoardingApi + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the API endpoint. + /// + [TestFixture] + public class MerchantBoardingApiTests + { + private MerchantBoardingApi instance; + + /// + /// Setup before each unit test + /// + [SetUp] + public void Init() + { + instance = new MerchantBoardingApi(); + } + + /// + /// Clean up after each unit test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of MerchantBoardingApi + /// + [Test] + public void InstanceTest() + { + // TODO uncomment below to test 'IsInstanceOfType' MerchantBoardingApi + //Assert.IsInstanceOfType(typeof(MerchantBoardingApi), instance, "instance is a MerchantBoardingApi"); + } + + + /// + /// Test GetRegistration + /// + [Test] + public void GetRegistrationTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string registrationId = null; + //var response = instance.GetRegistration(registrationId); + //Assert.IsInstanceOf (response, "response is InlineResponse2002"); + } + + /// + /// Test PostRegistration + /// + [Test] + public void PostRegistrationTest() + { + // TODO uncomment below to test the method and replace null with proper value + //PostRegistrationBody postRegistrationBody = null; + //string vCIdempotencyId = null; + //var response = instance.PostRegistration(postRegistrationBody, vCIdempotencyId); + //Assert.IsInstanceOf (response, "response is InlineResponse2011"); + } + + } + +} diff --git a/test/Model/Boardingv1registrationsDocumentInformationSignedDocumentsTests.cs b/test/Model/Boardingv1registrationsDocumentInformationSignedDocumentsTests.cs new file mode 100644 index 00000000..af5e1057 --- /dev/null +++ b/test/Model/Boardingv1registrationsDocumentInformationSignedDocumentsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsDocumentInformationSignedDocuments + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsDocumentInformationSignedDocumentsTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsDocumentInformationSignedDocuments + //private Boardingv1registrationsDocumentInformationSignedDocuments instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsDocumentInformationSignedDocuments + //instance = new Boardingv1registrationsDocumentInformationSignedDocuments(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsDocumentInformationSignedDocuments + /// + [Test] + public void Boardingv1registrationsDocumentInformationSignedDocumentsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsDocumentInformationSignedDocuments + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsDocumentInformationSignedDocuments"); + } + + /// + /// Test the property 'DocumentId' + /// + [Test] + public void DocumentIdTest() + { + // TODO unit test for the property 'DocumentId' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsDocumentInformationTests.cs b/test/Model/Boardingv1registrationsDocumentInformationTests.cs new file mode 100644 index 00000000..b9aa3946 --- /dev/null +++ b/test/Model/Boardingv1registrationsDocumentInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsDocumentInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsDocumentInformationTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsDocumentInformation + //private Boardingv1registrationsDocumentInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsDocumentInformation + //instance = new Boardingv1registrationsDocumentInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsDocumentInformation + /// + [Test] + public void Boardingv1registrationsDocumentInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsDocumentInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsDocumentInformation"); + } + + /// + /// Test the property 'SignedDocuments' + /// + [Test] + public void SignedDocumentsTest() + { + // TODO unit test for the property 'SignedDocuments' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsIntegrationInformationOauth2Tests.cs b/test/Model/Boardingv1registrationsIntegrationInformationOauth2Tests.cs new file mode 100644 index 00000000..7fb7aa43 --- /dev/null +++ b/test/Model/Boardingv1registrationsIntegrationInformationOauth2Tests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsIntegrationInformationOauth2 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsIntegrationInformationOauth2Tests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsIntegrationInformationOauth2 + //private Boardingv1registrationsIntegrationInformationOauth2 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsIntegrationInformationOauth2 + //instance = new Boardingv1registrationsIntegrationInformationOauth2(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsIntegrationInformationOauth2 + /// + [Test] + public void Boardingv1registrationsIntegrationInformationOauth2InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsIntegrationInformationOauth2 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsIntegrationInformationOauth2"); + } + + /// + /// Test the property 'ClientId' + /// + [Test] + public void ClientIdTest() + { + // TODO unit test for the property 'ClientId' + } + /// + /// Test the property 'State' + /// + [Test] + public void StateTest() + { + // TODO unit test for the property 'State' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsIntegrationInformationTenantConfigurationsTests.cs b/test/Model/Boardingv1registrationsIntegrationInformationTenantConfigurationsTests.cs new file mode 100644 index 00000000..ac8326bb --- /dev/null +++ b/test/Model/Boardingv1registrationsIntegrationInformationTenantConfigurationsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsIntegrationInformationTenantConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsIntegrationInformationTenantConfigurationsTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsIntegrationInformationTenantConfigurations + //private Boardingv1registrationsIntegrationInformationTenantConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsIntegrationInformationTenantConfigurations + //instance = new Boardingv1registrationsIntegrationInformationTenantConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsIntegrationInformationTenantConfigurations + /// + [Test] + public void Boardingv1registrationsIntegrationInformationTenantConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsIntegrationInformationTenantConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsIntegrationInformationTenantConfigurations"); + } + + /// + /// Test the property 'SolutionId' + /// + [Test] + public void SolutionIdTest() + { + // TODO unit test for the property 'SolutionId' + } + /// + /// Test the property 'TenantInformation' + /// + [Test] + public void TenantInformationTest() + { + // TODO unit test for the property 'TenantInformation' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsIntegrationInformationTenantInformationTests.cs b/test/Model/Boardingv1registrationsIntegrationInformationTenantInformationTests.cs new file mode 100644 index 00000000..71449021 --- /dev/null +++ b/test/Model/Boardingv1registrationsIntegrationInformationTenantInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsIntegrationInformationTenantInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsIntegrationInformationTenantInformationTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsIntegrationInformationTenantInformation + //private Boardingv1registrationsIntegrationInformationTenantInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsIntegrationInformationTenantInformation + //instance = new Boardingv1registrationsIntegrationInformationTenantInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsIntegrationInformationTenantInformation + /// + [Test] + public void Boardingv1registrationsIntegrationInformationTenantInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsIntegrationInformationTenantInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsIntegrationInformationTenantInformation"); + } + + /// + /// Test the property 'TenantId' + /// + [Test] + public void TenantIdTest() + { + // TODO unit test for the property 'TenantId' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsIntegrationInformationTests.cs b/test/Model/Boardingv1registrationsIntegrationInformationTests.cs new file mode 100644 index 00000000..5dd2771d --- /dev/null +++ b/test/Model/Boardingv1registrationsIntegrationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsIntegrationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsIntegrationInformationTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsIntegrationInformation + //private Boardingv1registrationsIntegrationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsIntegrationInformation + //instance = new Boardingv1registrationsIntegrationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsIntegrationInformation + /// + [Test] + public void Boardingv1registrationsIntegrationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsIntegrationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsIntegrationInformation"); + } + + /// + /// Test the property 'Oauth2' + /// + [Test] + public void Oauth2Test() + { + // TODO unit test for the property 'Oauth2' + } + /// + /// Test the property 'TenantConfigurations' + /// + [Test] + public void TenantConfigurationsTest() + { + // TODO unit test for the property 'TenantConfigurations' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddressTests.cs b/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddressTests.cs new file mode 100644 index 00000000..840a5bbb --- /dev/null +++ b/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddressTests.cs @@ -0,0 +1,118 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsOrganizationInformationBusinessInformationAddress + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsOrganizationInformationBusinessInformationAddressTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsOrganizationInformationBusinessInformationAddress + //private Boardingv1registrationsOrganizationInformationBusinessInformationAddress instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsOrganizationInformationBusinessInformationAddress + //instance = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsOrganizationInformationBusinessInformationAddress + /// + [Test] + public void Boardingv1registrationsOrganizationInformationBusinessInformationAddressInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsOrganizationInformationBusinessInformationAddress + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsOrganizationInformationBusinessInformationAddress"); + } + + /// + /// Test the property 'Country' + /// + [Test] + public void CountryTest() + { + // TODO unit test for the property 'Country' + } + /// + /// Test the property 'Address1' + /// + [Test] + public void Address1Test() + { + // TODO unit test for the property 'Address1' + } + /// + /// Test the property 'Address2' + /// + [Test] + public void Address2Test() + { + // TODO unit test for the property 'Address2' + } + /// + /// Test the property 'Locality' + /// + [Test] + public void LocalityTest() + { + // TODO unit test for the property 'Locality' + } + /// + /// Test the property 'AdministrativeArea' + /// + [Test] + public void AdministrativeAreaTest() + { + // TODO unit test for the property 'AdministrativeArea' + } + /// + /// Test the property 'PostalCode' + /// + [Test] + public void PostalCodeTest() + { + // TODO unit test for the property 'PostalCode' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContactTests.cs b/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContactTests.cs new file mode 100644 index 00000000..49b9164a --- /dev/null +++ b/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContactTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContactTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact + //private Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact + //instance = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact + /// + [Test] + public void Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContactInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact"); + } + + /// + /// Test the property 'FirstName' + /// + [Test] + public void FirstNameTest() + { + // TODO unit test for the property 'FirstName' + } + /// + /// Test the property 'MiddleName' + /// + [Test] + public void MiddleNameTest() + { + // TODO unit test for the property 'MiddleName' + } + /// + /// Test the property 'LastName' + /// + [Test] + public void LastNameTest() + { + // TODO unit test for the property 'LastName' + } + /// + /// Test the property 'PhoneNumber' + /// + [Test] + public void PhoneNumberTest() + { + // TODO unit test for the property 'PhoneNumber' + } + /// + /// Test the property 'Email' + /// + [Test] + public void EmailTest() + { + // TODO unit test for the property 'Email' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationTests.cs b/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationTests.cs new file mode 100644 index 00000000..a69aae35 --- /dev/null +++ b/test/Model/Boardingv1registrationsOrganizationInformationBusinessInformationTests.cs @@ -0,0 +1,182 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsOrganizationInformationBusinessInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsOrganizationInformationBusinessInformationTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsOrganizationInformationBusinessInformation + //private Boardingv1registrationsOrganizationInformationBusinessInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsOrganizationInformationBusinessInformation + //instance = new Boardingv1registrationsOrganizationInformationBusinessInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsOrganizationInformationBusinessInformation + /// + [Test] + public void Boardingv1registrationsOrganizationInformationBusinessInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsOrganizationInformationBusinessInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsOrganizationInformationBusinessInformation"); + } + + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'DoingBusinessAs' + /// + [Test] + public void DoingBusinessAsTest() + { + // TODO unit test for the property 'DoingBusinessAs' + } + /// + /// Test the property 'Description' + /// + [Test] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + /// + /// Test the property 'StartDate' + /// + [Test] + public void StartDateTest() + { + // TODO unit test for the property 'StartDate' + } + /// + /// Test the property 'Address' + /// + [Test] + public void AddressTest() + { + // TODO unit test for the property 'Address' + } + /// + /// Test the property 'TimeZone' + /// + [Test] + public void TimeZoneTest() + { + // TODO unit test for the property 'TimeZone' + } + /// + /// Test the property 'WebsiteUrl' + /// + [Test] + public void WebsiteUrlTest() + { + // TODO unit test for the property 'WebsiteUrl' + } + /// + /// Test the property 'Type' + /// + [Test] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + /// + /// Test the property 'TaxId' + /// + [Test] + public void TaxIdTest() + { + // TODO unit test for the property 'TaxId' + } + /// + /// Test the property 'PhoneNumber' + /// + [Test] + public void PhoneNumberTest() + { + // TODO unit test for the property 'PhoneNumber' + } + /// + /// Test the property 'BusinessContact' + /// + [Test] + public void BusinessContactTest() + { + // TODO unit test for the property 'BusinessContact' + } + /// + /// Test the property 'TechnicalContact' + /// + [Test] + public void TechnicalContactTest() + { + // TODO unit test for the property 'TechnicalContact' + } + /// + /// Test the property 'EmergencyContact' + /// + [Test] + public void EmergencyContactTest() + { + // TODO unit test for the property 'EmergencyContact' + } + /// + /// Test the property 'MerchantCategoryCode' + /// + [Test] + public void MerchantCategoryCodeTest() + { + // TODO unit test for the property 'MerchantCategoryCode' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccountTests.cs b/test/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccountTests.cs new file mode 100644 index 00000000..e829c698 --- /dev/null +++ b/test/Model/Boardingv1registrationsOrganizationInformationKYCDepositBankAccountTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsOrganizationInformationKYCDepositBankAccount + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsOrganizationInformationKYCDepositBankAccountTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsOrganizationInformationKYCDepositBankAccount + //private Boardingv1registrationsOrganizationInformationKYCDepositBankAccount instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsOrganizationInformationKYCDepositBankAccount + //instance = new Boardingv1registrationsOrganizationInformationKYCDepositBankAccount(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsOrganizationInformationKYCDepositBankAccount + /// + [Test] + public void Boardingv1registrationsOrganizationInformationKYCDepositBankAccountInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsOrganizationInformationKYCDepositBankAccount + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsOrganizationInformationKYCDepositBankAccount"); + } + + /// + /// Test the property 'AccountHolderName' + /// + [Test] + public void AccountHolderNameTest() + { + // TODO unit test for the property 'AccountHolderName' + } + /// + /// Test the property 'AccountType' + /// + [Test] + public void AccountTypeTest() + { + // TODO unit test for the property 'AccountType' + } + /// + /// Test the property 'AccountRoutingNumber' + /// + [Test] + public void AccountRoutingNumberTest() + { + // TODO unit test for the property 'AccountRoutingNumber' + } + /// + /// Test the property 'AccountNumber' + /// + [Test] + public void AccountNumberTest() + { + // TODO unit test for the property 'AccountNumber' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsOrganizationInformationKYCTests.cs b/test/Model/Boardingv1registrationsOrganizationInformationKYCTests.cs new file mode 100644 index 00000000..3ba21993 --- /dev/null +++ b/test/Model/Boardingv1registrationsOrganizationInformationKYCTests.cs @@ -0,0 +1,166 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsOrganizationInformationKYC + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsOrganizationInformationKYCTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsOrganizationInformationKYC + //private Boardingv1registrationsOrganizationInformationKYC instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsOrganizationInformationKYC + //instance = new Boardingv1registrationsOrganizationInformationKYC(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsOrganizationInformationKYC + /// + [Test] + public void Boardingv1registrationsOrganizationInformationKYCInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsOrganizationInformationKYC + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsOrganizationInformationKYC"); + } + + /// + /// Test the property 'WhenIsCustomerCharged' + /// + [Test] + public void WhenIsCustomerChargedTest() + { + // TODO unit test for the property 'WhenIsCustomerCharged' + } + /// + /// Test the property 'WhenIsCustomerChargedDescription' + /// + [Test] + public void WhenIsCustomerChargedDescriptionTest() + { + // TODO unit test for the property 'WhenIsCustomerChargedDescription' + } + /// + /// Test the property 'OfferSubscriptions' + /// + [Test] + public void OfferSubscriptionsTest() + { + // TODO unit test for the property 'OfferSubscriptions' + } + /// + /// Test the property 'MonthlySubscriptionPercent' + /// + [Test] + public void MonthlySubscriptionPercentTest() + { + // TODO unit test for the property 'MonthlySubscriptionPercent' + } + /// + /// Test the property 'QuarterlySubscriptionPercent' + /// + [Test] + public void QuarterlySubscriptionPercentTest() + { + // TODO unit test for the property 'QuarterlySubscriptionPercent' + } + /// + /// Test the property 'SemiAnnualSubscriptionPercent' + /// + [Test] + public void SemiAnnualSubscriptionPercentTest() + { + // TODO unit test for the property 'SemiAnnualSubscriptionPercent' + } + /// + /// Test the property 'AnnualSubscriptionPercent' + /// + [Test] + public void AnnualSubscriptionPercentTest() + { + // TODO unit test for the property 'AnnualSubscriptionPercent' + } + /// + /// Test the property 'TimeToProductDelivery' + /// + [Test] + public void TimeToProductDeliveryTest() + { + // TODO unit test for the property 'TimeToProductDelivery' + } + /// + /// Test the property 'EstimatedMonthlySales' + /// + [Test] + public void EstimatedMonthlySalesTest() + { + // TODO unit test for the property 'EstimatedMonthlySales' + } + /// + /// Test the property 'AverageOrderAmount' + /// + [Test] + public void AverageOrderAmountTest() + { + // TODO unit test for the property 'AverageOrderAmount' + } + /// + /// Test the property 'LargestExpectedOrderAmount' + /// + [Test] + public void LargestExpectedOrderAmountTest() + { + // TODO unit test for the property 'LargestExpectedOrderAmount' + } + /// + /// Test the property 'DepositBankAccount' + /// + [Test] + public void DepositBankAccountTest() + { + // TODO unit test for the property 'DepositBankAccount' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsOrganizationInformationOwnersTests.cs b/test/Model/Boardingv1registrationsOrganizationInformationOwnersTests.cs new file mode 100644 index 00000000..5b369061 --- /dev/null +++ b/test/Model/Boardingv1registrationsOrganizationInformationOwnersTests.cs @@ -0,0 +1,182 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsOrganizationInformationOwners + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsOrganizationInformationOwnersTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsOrganizationInformationOwners + //private Boardingv1registrationsOrganizationInformationOwners instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsOrganizationInformationOwners + //instance = new Boardingv1registrationsOrganizationInformationOwners(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsOrganizationInformationOwners + /// + [Test] + public void Boardingv1registrationsOrganizationInformationOwnersInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsOrganizationInformationOwners + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsOrganizationInformationOwners"); + } + + /// + /// Test the property 'FirstName' + /// + [Test] + public void FirstNameTest() + { + // TODO unit test for the property 'FirstName' + } + /// + /// Test the property 'MiddleName' + /// + [Test] + public void MiddleNameTest() + { + // TODO unit test for the property 'MiddleName' + } + /// + /// Test the property 'LastName' + /// + [Test] + public void LastNameTest() + { + // TODO unit test for the property 'LastName' + } + /// + /// Test the property 'BirthDate' + /// + [Test] + public void BirthDateTest() + { + // TODO unit test for the property 'BirthDate' + } + /// + /// Test the property 'IsPrimary' + /// + [Test] + public void IsPrimaryTest() + { + // TODO unit test for the property 'IsPrimary' + } + /// + /// Test the property 'Ssn' + /// + [Test] + public void SsnTest() + { + // TODO unit test for the property 'Ssn' + } + /// + /// Test the property 'PassportNumber' + /// + [Test] + public void PassportNumberTest() + { + // TODO unit test for the property 'PassportNumber' + } + /// + /// Test the property 'PassportCountry' + /// + [Test] + public void PassportCountryTest() + { + // TODO unit test for the property 'PassportCountry' + } + /// + /// Test the property 'JobTitle' + /// + [Test] + public void JobTitleTest() + { + // TODO unit test for the property 'JobTitle' + } + /// + /// Test the property 'HasSignificantResponsability' + /// + [Test] + public void HasSignificantResponsabilityTest() + { + // TODO unit test for the property 'HasSignificantResponsability' + } + /// + /// Test the property 'OwnershipPercentage' + /// + [Test] + public void OwnershipPercentageTest() + { + // TODO unit test for the property 'OwnershipPercentage' + } + /// + /// Test the property 'PhoneNumber' + /// + [Test] + public void PhoneNumberTest() + { + // TODO unit test for the property 'PhoneNumber' + } + /// + /// Test the property 'Email' + /// + [Test] + public void EmailTest() + { + // TODO unit test for the property 'Email' + } + /// + /// Test the property 'Address' + /// + [Test] + public void AddressTest() + { + // TODO unit test for the property 'Address' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsOrganizationInformationTests.cs b/test/Model/Boardingv1registrationsOrganizationInformationTests.cs new file mode 100644 index 00000000..9216c9ae --- /dev/null +++ b/test/Model/Boardingv1registrationsOrganizationInformationTests.cs @@ -0,0 +1,142 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsOrganizationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsOrganizationInformationTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsOrganizationInformation + //private Boardingv1registrationsOrganizationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsOrganizationInformation + //instance = new Boardingv1registrationsOrganizationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsOrganizationInformation + /// + [Test] + public void Boardingv1registrationsOrganizationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsOrganizationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsOrganizationInformation"); + } + + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'ParentOrganizationId' + /// + [Test] + public void ParentOrganizationIdTest() + { + // TODO unit test for the property 'ParentOrganizationId' + } + /// + /// Test the property 'ChildOrganizations' + /// + [Test] + public void ChildOrganizationsTest() + { + // TODO unit test for the property 'ChildOrganizations' + } + /// + /// Test the property 'Type' + /// + [Test] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Configurable' + /// + [Test] + public void ConfigurableTest() + { + // TODO unit test for the property 'Configurable' + } + /// + /// Test the property 'BusinessInformation' + /// + [Test] + public void BusinessInformationTest() + { + // TODO unit test for the property 'BusinessInformation' + } + /// + /// Test the property 'KYC' + /// + [Test] + public void KYCTest() + { + // TODO unit test for the property 'KYC' + } + /// + /// Test the property 'Owners' + /// + [Test] + public void OwnersTest() + { + // TODO unit test for the property 'Owners' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsProductInformationSelectedProductsTests.cs b/test/Model/Boardingv1registrationsProductInformationSelectedProductsTests.cs new file mode 100644 index 00000000..4b2c0d6f --- /dev/null +++ b/test/Model/Boardingv1registrationsProductInformationSelectedProductsTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsProductInformationSelectedProducts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsProductInformationSelectedProductsTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsProductInformationSelectedProducts + //private Boardingv1registrationsProductInformationSelectedProducts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsProductInformationSelectedProducts + //instance = new Boardingv1registrationsProductInformationSelectedProducts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsProductInformationSelectedProducts + /// + [Test] + public void Boardingv1registrationsProductInformationSelectedProductsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsProductInformationSelectedProducts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsProductInformationSelectedProducts"); + } + + /// + /// Test the property 'Payments' + /// + [Test] + public void PaymentsTest() + { + // TODO unit test for the property 'Payments' + } + /// + /// Test the property 'Risk' + /// + [Test] + public void RiskTest() + { + // TODO unit test for the property 'Risk' + } + /// + /// Test the property 'CommerceSolutions' + /// + [Test] + public void CommerceSolutionsTest() + { + // TODO unit test for the property 'CommerceSolutions' + } + /// + /// Test the property 'ValueAddedServices' + /// + [Test] + public void ValueAddedServicesTest() + { + // TODO unit test for the property 'ValueAddedServices' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsProductInformationTests.cs b/test/Model/Boardingv1registrationsProductInformationTests.cs new file mode 100644 index 00000000..ed82430a --- /dev/null +++ b/test/Model/Boardingv1registrationsProductInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsProductInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsProductInformationTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsProductInformation + //private Boardingv1registrationsProductInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsProductInformation + //instance = new Boardingv1registrationsProductInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsProductInformation + /// + [Test] + public void Boardingv1registrationsProductInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsProductInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsProductInformation"); + } + + /// + /// Test the property 'SelectedProducts' + /// + [Test] + public void SelectedProductsTest() + { + // TODO unit test for the property 'SelectedProducts' + } + + } + +} diff --git a/test/Model/Boardingv1registrationsRegistrationInformationTests.cs b/test/Model/Boardingv1registrationsRegistrationInformationTests.cs new file mode 100644 index 00000000..1eb77f83 --- /dev/null +++ b/test/Model/Boardingv1registrationsRegistrationInformationTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Boardingv1registrationsRegistrationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Boardingv1registrationsRegistrationInformationTests + { + // TODO uncomment below to declare an instance variable for Boardingv1registrationsRegistrationInformation + //private Boardingv1registrationsRegistrationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Boardingv1registrationsRegistrationInformation + //instance = new Boardingv1registrationsRegistrationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Boardingv1registrationsRegistrationInformation + /// + [Test] + public void Boardingv1registrationsRegistrationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Boardingv1registrationsRegistrationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Boardingv1registrationsRegistrationInformation"); + } + + /// + /// Test the property 'BoardingRegistrationId' + /// + [Test] + public void BoardingRegistrationIdTest() + { + // TODO unit test for the property 'BoardingRegistrationId' + } + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'BoardingPackageId' + /// + [Test] + public void BoardingPackageIdTest() + { + // TODO unit test for the property 'BoardingPackageId' + } + /// + /// Test the property 'BoardingFlow' + /// + [Test] + public void BoardingFlowTest() + { + // TODO unit test for the property 'BoardingFlow' + } + /// + /// Test the property 'Mode' + /// + [Test] + public void ModeTest() + { + // TODO unit test for the property 'Mode' + } + /// + /// Test the property 'SalesRepId' + /// + [Test] + public void SalesRepIdTest() + { + // TODO unit test for the property 'SalesRepId' + } + + } + +} diff --git a/test/Model/CapturePaymentRequestTests.cs b/test/Model/CapturePaymentRequestTests.cs index d9c457dd..c4b3d268 100644 --- a/test/Model/CapturePaymentRequestTests.cs +++ b/test/Model/CapturePaymentRequestTests.cs @@ -145,6 +145,14 @@ public void MerchantDefinedInformationTest() // TODO unit test for the property 'MerchantDefinedInformation' } /// + /// Test the property 'MerchantDefinedSecureInformation' + /// + [Test] + public void MerchantDefinedSecureInformationTest() + { + // TODO unit test for the property 'MerchantDefinedSecureInformation' + } + /// /// Test the property 'InstallmentInformation' /// [Test] diff --git a/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmexTests.cs b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmexTests.cs new file mode 100644 index 00000000..2dde913c --- /dev/null +++ b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmexTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmexTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex + //private CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex + //instance = new CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex + /// + [Test] + public void CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmexInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex"); + } + + /// + /// Test the property 'Mode' + /// + [Test] + public void ModeTest() + { + // TODO unit test for the property 'Mode' + } + /// + /// Test the property 'SeNumber' + /// + [Test] + public void SeNumberTest() + { + // TODO unit test for the property 'SeNumber' + } + /// + /// Test the property 'SubscriberId' + /// + [Test] + public void SubscriberIdTest() + { + // TODO unit test for the property 'SubscriberId' + } + /// + /// Test the property 'Active' + /// + [Test] + public void ActiveTest() + { + // TODO unit test for the property 'Active' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCardTests.cs b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCardTests.cs new file mode 100644 index 00000000..0d7ab1b4 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCardTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCardTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard + //private CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard + //instance = new CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard + /// + [Test] + public void CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCardInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard"); + } + + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'InterbankCardAssociationNumber' + /// + [Test] + public void InterbankCardAssociationNumberTest() + { + // TODO unit test for the property 'InterbankCardAssociationNumber' + } + /// + /// Test the property 'Active' + /// + [Test] + public void ActiveTest() + { + // TODO unit test for the property 'Active' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsTests.cs b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..258b05b5 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations + //private CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations + //instance = new CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations + /// + [Test] + public void CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'MasterCard' + /// + [Test] + public void MasterCardTest() + { + // TODO unit test for the property 'MasterCard' + } + /// + /// Test the property 'Visa' + /// + [Test] + public void VisaTest() + { + // TODO unit test for the property 'Visa' + } + /// + /// Test the property 'Amex' + /// + [Test] + public void AmexTest() + { + // TODO unit test for the property 'Amex' + } + /// + /// Test the property 'PreferredDay' + /// + [Test] + public void PreferredDayTest() + { + // TODO unit test for the property 'PreferredDay' + } + /// + /// Test the property 'DaysWindow' + /// + [Test] + public void DaysWindowTest() + { + // TODO unit test for the property 'DaysWindow' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisaTests.cs b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisaTests.cs new file mode 100644 index 00000000..a9ebaf05 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisaTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisaTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa + //private CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa + //instance = new CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa + /// + [Test] + public void CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisaInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa"); + } + + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'SegmentId' + /// + [Test] + public void SegmentIdTest() + { + // TODO unit test for the property 'SegmentId' + } + /// + /// Test the property 'Active' + /// + [Test] + public void ActiveTest() + { + // TODO unit test for the property 'Active' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationTests.cs b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationTests.cs new file mode 100644 index 00000000..b19226f8 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsAccountUpdaterConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsAccountUpdaterConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsAccountUpdaterConfigurationInformation + //private CommerceSolutionsProductsAccountUpdaterConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformation + //instance = new CommerceSolutionsProductsAccountUpdaterConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsAccountUpdaterConfigurationInformation + /// + [Test] + public void CommerceSolutionsProductsAccountUpdaterConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsAccountUpdaterConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsAccountUpdaterConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsAccountUpdaterTests.cs b/test/Model/CommerceSolutionsProductsAccountUpdaterTests.cs new file mode 100644 index 00000000..9f5921c1 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsAccountUpdaterTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsAccountUpdater + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsAccountUpdaterTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsAccountUpdater + //private CommerceSolutionsProductsAccountUpdater instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsAccountUpdater + //instance = new CommerceSolutionsProductsAccountUpdater(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsAccountUpdater + /// + [Test] + public void CommerceSolutionsProductsAccountUpdaterInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsAccountUpdater + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsAccountUpdater"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurationsTests.cs b/test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..c64bb77c --- /dev/null +++ b/test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsBinLookupConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations + //private CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations + //instance = new CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations + /// + [Test] + public void CommerceSolutionsProductsBinLookupConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'IsPayoutOptionsEnabled' + /// + [Test] + public void IsPayoutOptionsEnabledTest() + { + // TODO unit test for the property 'IsPayoutOptionsEnabled' + } + /// + /// Test the property 'IsAccountPrefixEnabled' + /// + [Test] + public void IsAccountPrefixEnabledTest() + { + // TODO unit test for the property 'IsAccountPrefixEnabled' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationTests.cs b/test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationTests.cs new file mode 100644 index 00000000..6fb5aa3b --- /dev/null +++ b/test/Model/CommerceSolutionsProductsBinLookupConfigurationInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsBinLookupConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsBinLookupConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsBinLookupConfigurationInformation + //private CommerceSolutionsProductsBinLookupConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsBinLookupConfigurationInformation + //instance = new CommerceSolutionsProductsBinLookupConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsBinLookupConfigurationInformation + /// + [Test] + public void CommerceSolutionsProductsBinLookupConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsBinLookupConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsBinLookupConfigurationInformation"); + } + + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsBinLookupTests.cs b/test/Model/CommerceSolutionsProductsBinLookupTests.cs new file mode 100644 index 00000000..5fbbac7f --- /dev/null +++ b/test/Model/CommerceSolutionsProductsBinLookupTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsBinLookup + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsBinLookupTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsBinLookup + //private CommerceSolutionsProductsBinLookup instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsBinLookup + //instance = new CommerceSolutionsProductsBinLookup(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsBinLookup + /// + [Test] + public void CommerceSolutionsProductsBinLookupInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsBinLookup + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsBinLookup"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsTests.cs b/test/Model/CommerceSolutionsProductsTests.cs new file mode 100644 index 00000000..e3989d5b --- /dev/null +++ b/test/Model/CommerceSolutionsProductsTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProducts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProducts + //private CommerceSolutionsProducts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProducts + //instance = new CommerceSolutionsProducts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProducts + /// + [Test] + public void CommerceSolutionsProductsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProducts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProducts"); + } + + /// + /// Test the property 'TokenManagement' + /// + [Test] + public void TokenManagementTest() + { + // TODO unit test for the property 'TokenManagement' + } + /// + /// Test the property 'AccountUpdater' + /// + [Test] + public void AccountUpdaterTest() + { + // TODO unit test for the property 'AccountUpdater' + } + /// + /// Test the property 'BinLookup' + /// + [Test] + public void BinLookupTest() + { + // TODO unit test for the property 'BinLookup' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsTests.cs b/test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..ed2ef4d8 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations + //private CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations + //instance = new CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations + /// + [Test] + public void CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'ParentProfileId' + /// + [Test] + public void ParentProfileIdTest() + { + // TODO unit test for the property 'ParentProfileId' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationTests.cs b/test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationTests.cs new file mode 100644 index 00000000..7208de47 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsTokenManagementConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsTokenManagementConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsTokenManagementConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsTokenManagementConfigurationInformation + //private CommerceSolutionsProductsTokenManagementConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsTokenManagementConfigurationInformation + //instance = new CommerceSolutionsProductsTokenManagementConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsTokenManagementConfigurationInformation + /// + [Test] + public void CommerceSolutionsProductsTokenManagementConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsTokenManagementConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsTokenManagementConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/CommerceSolutionsProductsTokenManagementTests.cs b/test/Model/CommerceSolutionsProductsTokenManagementTests.cs new file mode 100644 index 00000000..124d7aa3 --- /dev/null +++ b/test/Model/CommerceSolutionsProductsTokenManagementTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CommerceSolutionsProductsTokenManagement + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CommerceSolutionsProductsTokenManagementTests + { + // TODO uncomment below to declare an instance variable for CommerceSolutionsProductsTokenManagement + //private CommerceSolutionsProductsTokenManagement instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CommerceSolutionsProductsTokenManagement + //instance = new CommerceSolutionsProductsTokenManagement(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CommerceSolutionsProductsTokenManagement + /// + [Test] + public void CommerceSolutionsProductsTokenManagementInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsTokenManagement + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CommerceSolutionsProductsTokenManagement"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/CreateCreditRequestTests.cs b/test/Model/CreateCreditRequestTests.cs index 1bd8dba5..95f3c47b 100644 --- a/test/Model/CreateCreditRequestTests.cs +++ b/test/Model/CreateCreditRequestTests.cs @@ -145,6 +145,14 @@ public void MerchantDefinedInformationTest() // TODO unit test for the property 'MerchantDefinedInformation' } /// + /// Test the property 'MerchantDefinedSecureInformation' + /// + [Test] + public void MerchantDefinedSecureInformationTest() + { + // TODO unit test for the property 'MerchantDefinedSecureInformation' + } + /// /// Test the property 'InstallmentInformation' /// [Test] diff --git a/test/Model/CreatePaymentRequestTests.cs b/test/Model/CreatePaymentRequestTests.cs index 65fcce4d..91d8f9f2 100644 --- a/test/Model/CreatePaymentRequestTests.cs +++ b/test/Model/CreatePaymentRequestTests.cs @@ -169,6 +169,14 @@ public void MerchantDefinedInformationTest() // TODO unit test for the property 'MerchantDefinedInformation' } /// + /// Test the property 'MerchantDefinedSecureInformation' + /// + [Test] + public void MerchantDefinedSecureInformationTest() + { + // TODO unit test for the property 'MerchantDefinedSecureInformation' + } + /// /// Test the property 'InstallmentInformation' /// [Test] diff --git a/test/Model/CreateWebhookTests.cs b/test/Model/CreateWebhookTests.cs new file mode 100644 index 00000000..3eefdc42 --- /dev/null +++ b/test/Model/CreateWebhookTests.cs @@ -0,0 +1,150 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing CreateWebhook + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class CreateWebhookTests + { + // TODO uncomment below to declare an instance variable for CreateWebhook + //private CreateWebhook instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of CreateWebhook + //instance = new CreateWebhook(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of CreateWebhook + /// + [Test] + public void CreateWebhookInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CreateWebhook + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CreateWebhook"); + } + + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'Description' + /// + [Test] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'ProductId' + /// + [Test] + public void ProductIdTest() + { + // TODO unit test for the property 'ProductId' + } + /// + /// Test the property 'EventTypes' + /// + [Test] + public void EventTypesTest() + { + // TODO unit test for the property 'EventTypes' + } + /// + /// Test the property 'WebhookUrl' + /// + [Test] + public void WebhookUrlTest() + { + // TODO unit test for the property 'WebhookUrl' + } + /// + /// Test the property 'HealthCheckUrl' + /// + [Test] + public void HealthCheckUrlTest() + { + // TODO unit test for the property 'HealthCheckUrl' + } + /// + /// Test the property 'NotificationScope' + /// + [Test] + public void NotificationScopeTest() + { + // TODO unit test for the property 'NotificationScope' + } + /// + /// Test the property 'RetryPolicy' + /// + [Test] + public void RetryPolicyTest() + { + // TODO unit test for the property 'RetryPolicy' + } + /// + /// Test the property 'SecurityPolicy' + /// + [Test] + public void SecurityPolicyTest() + { + // TODO unit test for the property 'SecurityPolicy' + } + + } + +} diff --git a/test/Model/InlineResponse2002IntegrationInformationTenantConfigurationsTests.cs b/test/Model/InlineResponse2002IntegrationInformationTenantConfigurationsTests.cs new file mode 100644 index 00000000..bec623ea --- /dev/null +++ b/test/Model/InlineResponse2002IntegrationInformationTenantConfigurationsTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2002IntegrationInformationTenantConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2002IntegrationInformationTenantConfigurationsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2002IntegrationInformationTenantConfigurations + //private InlineResponse2002IntegrationInformationTenantConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2002IntegrationInformationTenantConfigurations + //instance = new InlineResponse2002IntegrationInformationTenantConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2002IntegrationInformationTenantConfigurations + /// + [Test] + public void InlineResponse2002IntegrationInformationTenantConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002IntegrationInformationTenantConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002IntegrationInformationTenantConfigurations"); + } + + /// + /// Test the property 'SolutionId' + /// + [Test] + public void SolutionIdTest() + { + // TODO unit test for the property 'SolutionId' + } + /// + /// Test the property 'TenantConfigurationId' + /// + [Test] + public void TenantConfigurationIdTest() + { + // TODO unit test for the property 'TenantConfigurationId' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'TenantInformation' + /// + [Test] + public void TenantInformationTest() + { + // TODO unit test for the property 'TenantInformation' + } + + } + +} diff --git a/test/Model/InlineResponse2002IntegrationInformationTests.cs b/test/Model/InlineResponse2002IntegrationInformationTests.cs new file mode 100644 index 00000000..c3a91d62 --- /dev/null +++ b/test/Model/InlineResponse2002IntegrationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2002IntegrationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2002IntegrationInformationTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2002IntegrationInformation + //private InlineResponse2002IntegrationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2002IntegrationInformation + //instance = new InlineResponse2002IntegrationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2002IntegrationInformation + /// + [Test] + public void InlineResponse2002IntegrationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002IntegrationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002IntegrationInformation"); + } + + /// + /// Test the property 'Oauth2' + /// + [Test] + public void Oauth2Test() + { + // TODO unit test for the property 'Oauth2' + } + /// + /// Test the property 'TenantConfigurations' + /// + [Test] + public void TenantConfigurationsTest() + { + // TODO unit test for the property 'TenantConfigurations' + } + + } + +} diff --git a/test/Model/InlineResponse2002Tests.cs b/test/Model/InlineResponse2002Tests.cs index af2ad829..837a071a 100644 --- a/test/Model/InlineResponse2002Tests.cs +++ b/test/Model/InlineResponse2002Tests.cs @@ -65,60 +65,60 @@ public void InlineResponse2002InstanceTest() } /// - /// Test the property 'Links' + /// Test the property 'RegistrationInformation' /// [Test] - public void LinksTest() + public void RegistrationInformationTest() { - // TODO unit test for the property 'Links' + // TODO unit test for the property 'RegistrationInformation' } /// - /// Test the property '_Object' + /// Test the property 'IntegrationInformation' /// [Test] - public void _ObjectTest() + public void IntegrationInformationTest() { - // TODO unit test for the property '_Object' + // TODO unit test for the property 'IntegrationInformation' } /// - /// Test the property 'Offset' + /// Test the property 'OrganizationInformation' /// [Test] - public void OffsetTest() + public void OrganizationInformationTest() { - // TODO unit test for the property 'Offset' + // TODO unit test for the property 'OrganizationInformation' } /// - /// Test the property 'Limit' + /// Test the property 'ProductInformation' /// [Test] - public void LimitTest() + public void ProductInformationTest() { - // TODO unit test for the property 'Limit' + // TODO unit test for the property 'ProductInformation' } /// - /// Test the property 'Count' + /// Test the property 'ProductInformationSetups' /// [Test] - public void CountTest() + public void ProductInformationSetupsTest() { - // TODO unit test for the property 'Count' + // TODO unit test for the property 'ProductInformationSetups' } /// - /// Test the property 'Total' + /// Test the property 'DocumentInformation' /// [Test] - public void TotalTest() + public void DocumentInformationTest() { - // TODO unit test for the property 'Total' + // TODO unit test for the property 'DocumentInformation' } /// - /// Test the property 'Embedded' + /// Test the property 'Details' /// [Test] - public void EmbeddedTest() + public void DetailsTest() { - // TODO unit test for the property 'Embedded' + // TODO unit test for the property 'Details' } } diff --git a/test/Model/InlineResponse2003Tests.cs b/test/Model/InlineResponse2003Tests.cs index 05df141f..2407865b 100644 --- a/test/Model/InlineResponse2003Tests.cs +++ b/test/Model/InlineResponse2003Tests.cs @@ -65,84 +65,28 @@ public void InlineResponse2003InstanceTest() } /// - /// Test the property 'Links' + /// Test the property 'ProductId' /// [Test] - public void LinksTest() + public void ProductIdTest() { - // TODO unit test for the property 'Links' + // TODO unit test for the property 'ProductId' } /// - /// Test the property 'BatchId' + /// Test the property 'ProductName' /// [Test] - public void BatchIdTest() + public void ProductNameTest() { - // TODO unit test for the property 'BatchId' + // TODO unit test for the property 'ProductName' } /// - /// Test the property 'BatchCreatedDate' + /// Test the property 'EventTypes' /// [Test] - public void BatchCreatedDateTest() + public void EventTypesTest() { - // TODO unit test for the property 'BatchCreatedDate' - } - /// - /// Test the property 'BatchSource' - /// - [Test] - public void BatchSourceTest() - { - // TODO unit test for the property 'BatchSource' - } - /// - /// Test the property 'MerchantReference' - /// - [Test] - public void MerchantReferenceTest() - { - // TODO unit test for the property 'MerchantReference' - } - /// - /// Test the property 'BatchCaEndpoints' - /// - [Test] - public void BatchCaEndpointsTest() - { - // TODO unit test for the property 'BatchCaEndpoints' - } - /// - /// Test the property 'Status' - /// - [Test] - public void StatusTest() - { - // TODO unit test for the property 'Status' - } - /// - /// Test the property 'Totals' - /// - [Test] - public void TotalsTest() - { - // TODO unit test for the property 'Totals' - } - /// - /// Test the property 'Billing' - /// - [Test] - public void BillingTest() - { - // TODO unit test for the property 'Billing' - } - /// - /// Test the property 'Description' - /// - [Test] - public void DescriptionTest() - { - // TODO unit test for the property 'Description' + // TODO unit test for the property 'EventTypes' } } diff --git a/test/Model/InlineResponse2004Tests.cs b/test/Model/InlineResponse2004Tests.cs index b1187755..8a4c44f6 100644 --- a/test/Model/InlineResponse2004Tests.cs +++ b/test/Model/InlineResponse2004Tests.cs @@ -65,84 +65,116 @@ public void InlineResponse2004InstanceTest() } /// - /// Test the property 'Version' + /// Test the property 'WebhookId' /// [Test] - public void VersionTest() + public void WebhookIdTest() { - // TODO unit test for the property 'Version' + // TODO unit test for the property 'WebhookId' } /// - /// Test the property 'ReportCreatedDate' + /// Test the property 'OrganizationId' /// [Test] - public void ReportCreatedDateTest() + public void OrganizationIdTest() { - // TODO unit test for the property 'ReportCreatedDate' + // TODO unit test for the property 'OrganizationId' } /// - /// Test the property 'BatchId' + /// Test the property 'Products' /// [Test] - public void BatchIdTest() + public void ProductsTest() { - // TODO unit test for the property 'BatchId' + // TODO unit test for the property 'Products' } /// - /// Test the property 'BatchSource' + /// Test the property 'WebhookUrl' /// [Test] - public void BatchSourceTest() + public void WebhookUrlTest() { - // TODO unit test for the property 'BatchSource' + // TODO unit test for the property 'WebhookUrl' } /// - /// Test the property 'BatchCaEndpoints' + /// Test the property 'HealthCheckUrl' /// [Test] - public void BatchCaEndpointsTest() + public void HealthCheckUrlTest() { - // TODO unit test for the property 'BatchCaEndpoints' + // TODO unit test for the property 'HealthCheckUrl' } /// - /// Test the property 'BatchCreatedDate' + /// Test the property 'NotificationScope' /// [Test] - public void BatchCreatedDateTest() + public void NotificationScopeTest() { - // TODO unit test for the property 'BatchCreatedDate' + // TODO unit test for the property 'NotificationScope' } /// - /// Test the property 'MerchantReference' + /// Test the property 'Status' /// [Test] - public void MerchantReferenceTest() + public void StatusTest() { - // TODO unit test for the property 'MerchantReference' + // TODO unit test for the property 'Status' } /// - /// Test the property 'Totals' + /// Test the property 'Name' /// [Test] - public void TotalsTest() + public void NameTest() { - // TODO unit test for the property 'Totals' + // TODO unit test for the property 'Name' } /// - /// Test the property 'Billing' + /// Test the property 'Description' /// [Test] - public void BillingTest() + public void DescriptionTest() { - // TODO unit test for the property 'Billing' + // TODO unit test for the property 'Description' } /// - /// Test the property 'Records' + /// Test the property 'RetryPolicy' /// [Test] - public void RecordsTest() + public void RetryPolicyTest() { - // TODO unit test for the property 'Records' + // TODO unit test for the property 'RetryPolicy' + } + /// + /// Test the property 'SecurityPolicy' + /// + [Test] + public void SecurityPolicyTest() + { + // TODO unit test for the property 'SecurityPolicy' + } + /// + /// Test the property 'CreatedOn' + /// + [Test] + public void CreatedOnTest() + { + // TODO unit test for the property 'CreatedOn' + } + /// + /// Test the property 'UpdatedOn' + /// + [Test] + public void UpdatedOnTest() + { + // TODO unit test for the property 'UpdatedOn' + } + /// + /// Test the property 'AdditionalAttributes' + /// + [Test] + public void AdditionalAttributesTest() + { + // TODO unit test for the property 'AdditionalAttributes' } } diff --git a/test/Model/InlineResponse2002EmbeddedBatchesTests.cs b/test/Model/InlineResponse2005EmbeddedBatchesTests.cs similarity index 85% rename from test/Model/InlineResponse2002EmbeddedBatchesTests.cs rename to test/Model/InlineResponse2005EmbeddedBatchesTests.cs index 1b6d0ee6..4047e6f2 100644 --- a/test/Model/InlineResponse2002EmbeddedBatchesTests.cs +++ b/test/Model/InlineResponse2005EmbeddedBatchesTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2002EmbeddedBatches + /// Class for testing InlineResponse2005EmbeddedBatches /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2002EmbeddedBatchesTests + public class InlineResponse2005EmbeddedBatchesTests { - // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedBatches - //private InlineResponse2002EmbeddedBatches instance; + // TODO uncomment below to declare an instance variable for InlineResponse2005EmbeddedBatches + //private InlineResponse2005EmbeddedBatches instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2002EmbeddedBatchesTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2002EmbeddedBatches - //instance = new InlineResponse2002EmbeddedBatches(); + // TODO uncomment below to create an instance of InlineResponse2005EmbeddedBatches + //instance = new InlineResponse2005EmbeddedBatches(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2002EmbeddedBatches + /// Test an instance of InlineResponse2005EmbeddedBatches /// [Test] - public void InlineResponse2002EmbeddedBatchesInstanceTest() + public void InlineResponse2005EmbeddedBatchesInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedBatches - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedBatches"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2005EmbeddedBatches + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2005EmbeddedBatches"); } /// diff --git a/test/Model/InlineResponse2002EmbeddedLinksReportsTests.cs b/test/Model/InlineResponse2005EmbeddedLinksReportsTests.cs similarity index 73% rename from test/Model/InlineResponse2002EmbeddedLinksReportsTests.cs rename to test/Model/InlineResponse2005EmbeddedLinksReportsTests.cs index bcf71324..bd3d3c3f 100644 --- a/test/Model/InlineResponse2002EmbeddedLinksReportsTests.cs +++ b/test/Model/InlineResponse2005EmbeddedLinksReportsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2002EmbeddedLinksReports + /// Class for testing InlineResponse2005EmbeddedLinksReports /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2002EmbeddedLinksReportsTests + public class InlineResponse2005EmbeddedLinksReportsTests { - // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedLinksReports - //private InlineResponse2002EmbeddedLinksReports instance; + // TODO uncomment below to declare an instance variable for InlineResponse2005EmbeddedLinksReports + //private InlineResponse2005EmbeddedLinksReports instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2002EmbeddedLinksReportsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2002EmbeddedLinksReports - //instance = new InlineResponse2002EmbeddedLinksReports(); + // TODO uncomment below to create an instance of InlineResponse2005EmbeddedLinksReports + //instance = new InlineResponse2005EmbeddedLinksReports(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2002EmbeddedLinksReports + /// Test an instance of InlineResponse2005EmbeddedLinksReports /// [Test] - public void InlineResponse2002EmbeddedLinksReportsInstanceTest() + public void InlineResponse2005EmbeddedLinksReportsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedLinksReports - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedLinksReports"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2005EmbeddedLinksReports + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2005EmbeddedLinksReports"); } /// diff --git a/test/Model/InlineResponse2002EmbeddedLinksTests.cs b/test/Model/InlineResponse2005EmbeddedLinksTests.cs similarity index 72% rename from test/Model/InlineResponse2002EmbeddedLinksTests.cs rename to test/Model/InlineResponse2005EmbeddedLinksTests.cs index 53b4feb7..32d46a02 100644 --- a/test/Model/InlineResponse2002EmbeddedLinksTests.cs +++ b/test/Model/InlineResponse2005EmbeddedLinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2002EmbeddedLinks + /// Class for testing InlineResponse2005EmbeddedLinks /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2002EmbeddedLinksTests + public class InlineResponse2005EmbeddedLinksTests { - // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedLinks - //private InlineResponse2002EmbeddedLinks instance; + // TODO uncomment below to declare an instance variable for InlineResponse2005EmbeddedLinks + //private InlineResponse2005EmbeddedLinks instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2002EmbeddedLinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2002EmbeddedLinks - //instance = new InlineResponse2002EmbeddedLinks(); + // TODO uncomment below to create an instance of InlineResponse2005EmbeddedLinks + //instance = new InlineResponse2005EmbeddedLinks(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2002EmbeddedLinks + /// Test an instance of InlineResponse2005EmbeddedLinks /// [Test] - public void InlineResponse2002EmbeddedLinksInstanceTest() + public void InlineResponse2005EmbeddedLinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedLinks - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedLinks"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2005EmbeddedLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2005EmbeddedLinks"); } /// diff --git a/test/Model/InlineResponse2002EmbeddedTests.cs b/test/Model/InlineResponse2005EmbeddedTests.cs similarity index 73% rename from test/Model/InlineResponse2002EmbeddedTests.cs rename to test/Model/InlineResponse2005EmbeddedTests.cs index ff6b4c9a..43d9aa38 100644 --- a/test/Model/InlineResponse2002EmbeddedTests.cs +++ b/test/Model/InlineResponse2005EmbeddedTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2002Embedded + /// Class for testing InlineResponse2005Embedded /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2002EmbeddedTests + public class InlineResponse2005EmbeddedTests { - // TODO uncomment below to declare an instance variable for InlineResponse2002Embedded - //private InlineResponse2002Embedded instance; + // TODO uncomment below to declare an instance variable for InlineResponse2005Embedded + //private InlineResponse2005Embedded instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2002EmbeddedTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2002Embedded - //instance = new InlineResponse2002Embedded(); + // TODO uncomment below to create an instance of InlineResponse2005Embedded + //instance = new InlineResponse2005Embedded(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2002Embedded + /// Test an instance of InlineResponse2005Embedded /// [Test] - public void InlineResponse2002EmbeddedInstanceTest() + public void InlineResponse2005EmbeddedInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002Embedded - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002Embedded"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2005Embedded + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2005Embedded"); } /// diff --git a/test/Model/InlineResponse2002EmbeddedTotalsTests.cs b/test/Model/InlineResponse2005EmbeddedTotalsTests.cs similarity index 80% rename from test/Model/InlineResponse2002EmbeddedTotalsTests.cs rename to test/Model/InlineResponse2005EmbeddedTotalsTests.cs index a84bb765..90f381c3 100644 --- a/test/Model/InlineResponse2002EmbeddedTotalsTests.cs +++ b/test/Model/InlineResponse2005EmbeddedTotalsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2002EmbeddedTotals + /// Class for testing InlineResponse2005EmbeddedTotals /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2002EmbeddedTotalsTests + public class InlineResponse2005EmbeddedTotalsTests { - // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedTotals - //private InlineResponse2002EmbeddedTotals instance; + // TODO uncomment below to declare an instance variable for InlineResponse2005EmbeddedTotals + //private InlineResponse2005EmbeddedTotals instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2002EmbeddedTotalsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2002EmbeddedTotals - //instance = new InlineResponse2002EmbeddedTotals(); + // TODO uncomment below to create an instance of InlineResponse2005EmbeddedTotals + //instance = new InlineResponse2005EmbeddedTotals(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2002EmbeddedTotals + /// Test an instance of InlineResponse2005EmbeddedTotals /// [Test] - public void InlineResponse2002EmbeddedTotalsInstanceTest() + public void InlineResponse2005EmbeddedTotalsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedTotals - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedTotals"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2005EmbeddedTotals + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2005EmbeddedTotals"); } /// diff --git a/test/Model/InlineResponse2002LinksTests.cs b/test/Model/InlineResponse2005LinksTests.cs similarity index 76% rename from test/Model/InlineResponse2002LinksTests.cs rename to test/Model/InlineResponse2005LinksTests.cs index f4585cdc..985a93f5 100644 --- a/test/Model/InlineResponse2002LinksTests.cs +++ b/test/Model/InlineResponse2005LinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2002Links + /// Class for testing InlineResponse2005Links /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2002LinksTests + public class InlineResponse2005LinksTests { - // TODO uncomment below to declare an instance variable for InlineResponse2002Links - //private InlineResponse2002Links instance; + // TODO uncomment below to declare an instance variable for InlineResponse2005Links + //private InlineResponse2005Links instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2002LinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2002Links - //instance = new InlineResponse2002Links(); + // TODO uncomment below to create an instance of InlineResponse2005Links + //instance = new InlineResponse2005Links(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2002Links + /// Test an instance of InlineResponse2005Links /// [Test] - public void InlineResponse2002LinksInstanceTest() + public void InlineResponse2005LinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002Links - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002Links"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2005Links + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2005Links"); } /// diff --git a/test/Model/InlineResponse2005Tests.cs b/test/Model/InlineResponse2005Tests.cs new file mode 100644 index 00000000..04bcbc4f --- /dev/null +++ b/test/Model/InlineResponse2005Tests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2005 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2005Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse2005 + //private InlineResponse2005 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2005 + //instance = new InlineResponse2005(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2005 + /// + [Test] + public void InlineResponse2005InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2005 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2005"); + } + + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + /// + /// Test the property '_Object' + /// + [Test] + public void _ObjectTest() + { + // TODO unit test for the property '_Object' + } + /// + /// Test the property 'Offset' + /// + [Test] + public void OffsetTest() + { + // TODO unit test for the property 'Offset' + } + /// + /// Test the property 'Limit' + /// + [Test] + public void LimitTest() + { + // TODO unit test for the property 'Limit' + } + /// + /// Test the property 'Count' + /// + [Test] + public void CountTest() + { + // TODO unit test for the property 'Count' + } + /// + /// Test the property 'Total' + /// + [Test] + public void TotalTest() + { + // TODO unit test for the property 'Total' + } + /// + /// Test the property 'Embedded' + /// + [Test] + public void EmbeddedTest() + { + // TODO unit test for the property 'Embedded' + } + + } + +} diff --git a/test/Model/InlineResponse2003BillingTests.cs b/test/Model/InlineResponse2006BillingTests.cs similarity index 79% rename from test/Model/InlineResponse2003BillingTests.cs rename to test/Model/InlineResponse2006BillingTests.cs index a6b610af..70a6e57b 100644 --- a/test/Model/InlineResponse2003BillingTests.cs +++ b/test/Model/InlineResponse2006BillingTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2003Billing + /// Class for testing InlineResponse2006Billing /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2003BillingTests + public class InlineResponse2006BillingTests { - // TODO uncomment below to declare an instance variable for InlineResponse2003Billing - //private InlineResponse2003Billing instance; + // TODO uncomment below to declare an instance variable for InlineResponse2006Billing + //private InlineResponse2006Billing instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2003BillingTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2003Billing - //instance = new InlineResponse2003Billing(); + // TODO uncomment below to create an instance of InlineResponse2006Billing + //instance = new InlineResponse2006Billing(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2003Billing + /// Test an instance of InlineResponse2006Billing /// [Test] - public void InlineResponse2003BillingInstanceTest() + public void InlineResponse2006BillingInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2003Billing - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2003Billing"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2006Billing + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2006Billing"); } /// diff --git a/test/Model/InlineResponse2003LinksReportTests.cs b/test/Model/InlineResponse2006LinksReportTests.cs similarity index 72% rename from test/Model/InlineResponse2003LinksReportTests.cs rename to test/Model/InlineResponse2006LinksReportTests.cs index 1af1b4cb..47886db4 100644 --- a/test/Model/InlineResponse2003LinksReportTests.cs +++ b/test/Model/InlineResponse2006LinksReportTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2003LinksReport + /// Class for testing InlineResponse2006LinksReport /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2003LinksReportTests + public class InlineResponse2006LinksReportTests { - // TODO uncomment below to declare an instance variable for InlineResponse2003LinksReport - //private InlineResponse2003LinksReport instance; + // TODO uncomment below to declare an instance variable for InlineResponse2006LinksReport + //private InlineResponse2006LinksReport instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2003LinksReportTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2003LinksReport - //instance = new InlineResponse2003LinksReport(); + // TODO uncomment below to create an instance of InlineResponse2006LinksReport + //instance = new InlineResponse2006LinksReport(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2003LinksReport + /// Test an instance of InlineResponse2006LinksReport /// [Test] - public void InlineResponse2003LinksReportInstanceTest() + public void InlineResponse2006LinksReportInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2003LinksReport - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2003LinksReport"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2006LinksReport + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2006LinksReport"); } /// diff --git a/test/Model/InlineResponse2003LinksTests.cs b/test/Model/InlineResponse2006LinksTests.cs similarity index 76% rename from test/Model/InlineResponse2003LinksTests.cs rename to test/Model/InlineResponse2006LinksTests.cs index 9183da90..e44f9457 100644 --- a/test/Model/InlineResponse2003LinksTests.cs +++ b/test/Model/InlineResponse2006LinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2003Links + /// Class for testing InlineResponse2006Links /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2003LinksTests + public class InlineResponse2006LinksTests { - // TODO uncomment below to declare an instance variable for InlineResponse2003Links - //private InlineResponse2003Links instance; + // TODO uncomment below to declare an instance variable for InlineResponse2006Links + //private InlineResponse2006Links instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2003LinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2003Links - //instance = new InlineResponse2003Links(); + // TODO uncomment below to create an instance of InlineResponse2006Links + //instance = new InlineResponse2006Links(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2003Links + /// Test an instance of InlineResponse2006Links /// [Test] - public void InlineResponse2003LinksInstanceTest() + public void InlineResponse2006LinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2003Links - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2003Links"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2006Links + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2006Links"); } /// diff --git a/test/Model/InlineResponse2006Tests.cs b/test/Model/InlineResponse2006Tests.cs new file mode 100644 index 00000000..c55ec09f --- /dev/null +++ b/test/Model/InlineResponse2006Tests.cs @@ -0,0 +1,150 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2006 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2006Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse2006 + //private InlineResponse2006 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2006 + //instance = new InlineResponse2006(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2006 + /// + [Test] + public void InlineResponse2006InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2006 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2006"); + } + + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + /// + /// Test the property 'BatchId' + /// + [Test] + public void BatchIdTest() + { + // TODO unit test for the property 'BatchId' + } + /// + /// Test the property 'BatchCreatedDate' + /// + [Test] + public void BatchCreatedDateTest() + { + // TODO unit test for the property 'BatchCreatedDate' + } + /// + /// Test the property 'BatchSource' + /// + [Test] + public void BatchSourceTest() + { + // TODO unit test for the property 'BatchSource' + } + /// + /// Test the property 'MerchantReference' + /// + [Test] + public void MerchantReferenceTest() + { + // TODO unit test for the property 'MerchantReference' + } + /// + /// Test the property 'BatchCaEndpoints' + /// + [Test] + public void BatchCaEndpointsTest() + { + // TODO unit test for the property 'BatchCaEndpoints' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Totals' + /// + [Test] + public void TotalsTest() + { + // TODO unit test for the property 'Totals' + } + /// + /// Test the property 'Billing' + /// + [Test] + public void BillingTest() + { + // TODO unit test for the property 'Billing' + } + /// + /// Test the property 'Description' + /// + [Test] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + + } + +} diff --git a/test/Model/InlineResponse2004RecordsTests.cs b/test/Model/InlineResponse2007RecordsTests.cs similarity index 78% rename from test/Model/InlineResponse2004RecordsTests.cs rename to test/Model/InlineResponse2007RecordsTests.cs index d29c9890..1c54f31e 100644 --- a/test/Model/InlineResponse2004RecordsTests.cs +++ b/test/Model/InlineResponse2007RecordsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2004Records + /// Class for testing InlineResponse2007Records /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2004RecordsTests + public class InlineResponse2007RecordsTests { - // TODO uncomment below to declare an instance variable for InlineResponse2004Records - //private InlineResponse2004Records instance; + // TODO uncomment below to declare an instance variable for InlineResponse2007Records + //private InlineResponse2007Records instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2004RecordsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2004Records - //instance = new InlineResponse2004Records(); + // TODO uncomment below to create an instance of InlineResponse2007Records + //instance = new InlineResponse2007Records(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2004Records + /// Test an instance of InlineResponse2007Records /// [Test] - public void InlineResponse2004RecordsInstanceTest() + public void InlineResponse2007RecordsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2004Records - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2004Records"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2007Records + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2007Records"); } /// diff --git a/test/Model/InlineResponse2004ResponseRecordAdditionalUpdatesTests.cs b/test/Model/InlineResponse2007ResponseRecordAdditionalUpdatesTests.cs similarity index 79% rename from test/Model/InlineResponse2004ResponseRecordAdditionalUpdatesTests.cs rename to test/Model/InlineResponse2007ResponseRecordAdditionalUpdatesTests.cs index a269c6d9..95637283 100644 --- a/test/Model/InlineResponse2004ResponseRecordAdditionalUpdatesTests.cs +++ b/test/Model/InlineResponse2007ResponseRecordAdditionalUpdatesTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2004ResponseRecordAdditionalUpdates + /// Class for testing InlineResponse2007ResponseRecordAdditionalUpdates /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2004ResponseRecordAdditionalUpdatesTests + public class InlineResponse2007ResponseRecordAdditionalUpdatesTests { - // TODO uncomment below to declare an instance variable for InlineResponse2004ResponseRecordAdditionalUpdates - //private InlineResponse2004ResponseRecordAdditionalUpdates instance; + // TODO uncomment below to declare an instance variable for InlineResponse2007ResponseRecordAdditionalUpdates + //private InlineResponse2007ResponseRecordAdditionalUpdates instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2004ResponseRecordAdditionalUpdatesTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2004ResponseRecordAdditionalUpdates - //instance = new InlineResponse2004ResponseRecordAdditionalUpdates(); + // TODO uncomment below to create an instance of InlineResponse2007ResponseRecordAdditionalUpdates + //instance = new InlineResponse2007ResponseRecordAdditionalUpdates(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2004ResponseRecordAdditionalUpdates + /// Test an instance of InlineResponse2007ResponseRecordAdditionalUpdates /// [Test] - public void InlineResponse2004ResponseRecordAdditionalUpdatesInstanceTest() + public void InlineResponse2007ResponseRecordAdditionalUpdatesInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2004ResponseRecordAdditionalUpdates - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2004ResponseRecordAdditionalUpdates"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2007ResponseRecordAdditionalUpdates + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2007ResponseRecordAdditionalUpdates"); } /// diff --git a/test/Model/InlineResponse2004ResponseRecordTests.cs b/test/Model/InlineResponse2007ResponseRecordTests.cs similarity index 85% rename from test/Model/InlineResponse2004ResponseRecordTests.cs rename to test/Model/InlineResponse2007ResponseRecordTests.cs index 94aa80ae..ea941d32 100644 --- a/test/Model/InlineResponse2004ResponseRecordTests.cs +++ b/test/Model/InlineResponse2007ResponseRecordTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2004ResponseRecord + /// Class for testing InlineResponse2007ResponseRecord /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2004ResponseRecordTests + public class InlineResponse2007ResponseRecordTests { - // TODO uncomment below to declare an instance variable for InlineResponse2004ResponseRecord - //private InlineResponse2004ResponseRecord instance; + // TODO uncomment below to declare an instance variable for InlineResponse2007ResponseRecord + //private InlineResponse2007ResponseRecord instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2004ResponseRecordTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2004ResponseRecord - //instance = new InlineResponse2004ResponseRecord(); + // TODO uncomment below to create an instance of InlineResponse2007ResponseRecord + //instance = new InlineResponse2007ResponseRecord(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2004ResponseRecord + /// Test an instance of InlineResponse2007ResponseRecord /// [Test] - public void InlineResponse2004ResponseRecordInstanceTest() + public void InlineResponse2007ResponseRecordInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2004ResponseRecord - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2004ResponseRecord"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2007ResponseRecord + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2007ResponseRecord"); } /// diff --git a/test/Model/InlineResponse2004SourceRecordTests.cs b/test/Model/InlineResponse2007SourceRecordTests.cs similarity index 84% rename from test/Model/InlineResponse2004SourceRecordTests.cs rename to test/Model/InlineResponse2007SourceRecordTests.cs index d72519fe..96e1f3eb 100644 --- a/test/Model/InlineResponse2004SourceRecordTests.cs +++ b/test/Model/InlineResponse2007SourceRecordTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2004SourceRecord + /// Class for testing InlineResponse2007SourceRecord /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2004SourceRecordTests + public class InlineResponse2007SourceRecordTests { - // TODO uncomment below to declare an instance variable for InlineResponse2004SourceRecord - //private InlineResponse2004SourceRecord instance; + // TODO uncomment below to declare an instance variable for InlineResponse2007SourceRecord + //private InlineResponse2007SourceRecord instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2004SourceRecordTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2004SourceRecord - //instance = new InlineResponse2004SourceRecord(); + // TODO uncomment below to create an instance of InlineResponse2007SourceRecord + //instance = new InlineResponse2007SourceRecord(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2004SourceRecord + /// Test an instance of InlineResponse2007SourceRecord /// [Test] - public void InlineResponse2004SourceRecordInstanceTest() + public void InlineResponse2007SourceRecordInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2004SourceRecord - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2004SourceRecord"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2007SourceRecord + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2007SourceRecord"); } /// diff --git a/test/Model/InlineResponse2007Tests.cs b/test/Model/InlineResponse2007Tests.cs new file mode 100644 index 00000000..a4fe7b6c --- /dev/null +++ b/test/Model/InlineResponse2007Tests.cs @@ -0,0 +1,150 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2007 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2007Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse2007 + //private InlineResponse2007 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2007 + //instance = new InlineResponse2007(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2007 + /// + [Test] + public void InlineResponse2007InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2007 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2007"); + } + + /// + /// Test the property 'Version' + /// + [Test] + public void VersionTest() + { + // TODO unit test for the property 'Version' + } + /// + /// Test the property 'ReportCreatedDate' + /// + [Test] + public void ReportCreatedDateTest() + { + // TODO unit test for the property 'ReportCreatedDate' + } + /// + /// Test the property 'BatchId' + /// + [Test] + public void BatchIdTest() + { + // TODO unit test for the property 'BatchId' + } + /// + /// Test the property 'BatchSource' + /// + [Test] + public void BatchSourceTest() + { + // TODO unit test for the property 'BatchSource' + } + /// + /// Test the property 'BatchCaEndpoints' + /// + [Test] + public void BatchCaEndpointsTest() + { + // TODO unit test for the property 'BatchCaEndpoints' + } + /// + /// Test the property 'BatchCreatedDate' + /// + [Test] + public void BatchCreatedDateTest() + { + // TODO unit test for the property 'BatchCreatedDate' + } + /// + /// Test the property 'MerchantReference' + /// + [Test] + public void MerchantReferenceTest() + { + // TODO unit test for the property 'MerchantReference' + } + /// + /// Test the property 'Totals' + /// + [Test] + public void TotalsTest() + { + // TODO unit test for the property 'Totals' + } + /// + /// Test the property 'Billing' + /// + [Test] + public void BillingTest() + { + // TODO unit test for the property 'Billing' + } + /// + /// Test the property 'Records' + /// + [Test] + public void RecordsTest() + { + // TODO unit test for the property 'Records' + } + + } + +} diff --git a/test/Model/InlineResponse2011IntegrationInformationTenantConfigurationsTests.cs b/test/Model/InlineResponse2011IntegrationInformationTenantConfigurationsTests.cs new file mode 100644 index 00000000..3d790033 --- /dev/null +++ b/test/Model/InlineResponse2011IntegrationInformationTenantConfigurationsTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011IntegrationInformationTenantConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011IntegrationInformationTenantConfigurationsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011IntegrationInformationTenantConfigurations + //private InlineResponse2011IntegrationInformationTenantConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011IntegrationInformationTenantConfigurations + //instance = new InlineResponse2011IntegrationInformationTenantConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011IntegrationInformationTenantConfigurations + /// + [Test] + public void InlineResponse2011IntegrationInformationTenantConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011IntegrationInformationTenantConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011IntegrationInformationTenantConfigurations"); + } + + /// + /// Test the property 'SolutionId' + /// + [Test] + public void SolutionIdTest() + { + // TODO unit test for the property 'SolutionId' + } + /// + /// Test the property 'TenantConfigurationId' + /// + [Test] + public void TenantConfigurationIdTest() + { + // TODO unit test for the property 'TenantConfigurationId' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + + } + +} diff --git a/test/Model/InlineResponse2011IntegrationInformationTests.cs b/test/Model/InlineResponse2011IntegrationInformationTests.cs new file mode 100644 index 00000000..f3a0bfcc --- /dev/null +++ b/test/Model/InlineResponse2011IntegrationInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011IntegrationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011IntegrationInformationTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011IntegrationInformation + //private InlineResponse2011IntegrationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011IntegrationInformation + //instance = new InlineResponse2011IntegrationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011IntegrationInformation + /// + [Test] + public void InlineResponse2011IntegrationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011IntegrationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011IntegrationInformation"); + } + + /// + /// Test the property 'TenantConfigurations' + /// + [Test] + public void TenantConfigurationsTest() + { + // TODO unit test for the property 'TenantConfigurations' + } + + } + +} diff --git a/test/Model/InlineResponse2011OrganizationInformationTests.cs b/test/Model/InlineResponse2011OrganizationInformationTests.cs new file mode 100644 index 00000000..39957a59 --- /dev/null +++ b/test/Model/InlineResponse2011OrganizationInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011OrganizationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011OrganizationInformationTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011OrganizationInformation + //private InlineResponse2011OrganizationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011OrganizationInformation + //instance = new InlineResponse2011OrganizationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011OrganizationInformation + /// + [Test] + public void InlineResponse2011OrganizationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011OrganizationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011OrganizationInformation"); + } + + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'ParentOrganizationId' + /// + [Test] + public void ParentOrganizationIdTest() + { + // TODO unit test for the property 'ParentOrganizationId' + } + /// + /// Test the property 'ChildOrganizations' + /// + [Test] + public void ChildOrganizationsTest() + { + // TODO unit test for the property 'ChildOrganizations' + } + + } + +} diff --git a/test/Model/InlineResponse2011ProductInformationSetupsTests.cs b/test/Model/InlineResponse2011ProductInformationSetupsTests.cs new file mode 100644 index 00000000..671079b9 --- /dev/null +++ b/test/Model/InlineResponse2011ProductInformationSetupsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011ProductInformationSetups + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011ProductInformationSetupsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011ProductInformationSetups + //private InlineResponse2011ProductInformationSetups instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011ProductInformationSetups + //instance = new InlineResponse2011ProductInformationSetups(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011ProductInformationSetups + /// + [Test] + public void InlineResponse2011ProductInformationSetupsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011ProductInformationSetups + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011ProductInformationSetups"); + } + + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'Setups' + /// + [Test] + public void SetupsTest() + { + // TODO unit test for the property 'Setups' + } + + } + +} diff --git a/test/Model/InlineResponse2011RegistrationInformationTests.cs b/test/Model/InlineResponse2011RegistrationInformationTests.cs new file mode 100644 index 00000000..78862b58 --- /dev/null +++ b/test/Model/InlineResponse2011RegistrationInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011RegistrationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011RegistrationInformationTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011RegistrationInformation + //private InlineResponse2011RegistrationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011RegistrationInformation + //instance = new InlineResponse2011RegistrationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011RegistrationInformation + /// + [Test] + public void InlineResponse2011RegistrationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011RegistrationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011RegistrationInformation"); + } + + /// + /// Test the property 'BoardingPackageId' + /// + [Test] + public void BoardingPackageIdTest() + { + // TODO unit test for the property 'BoardingPackageId' + } + /// + /// Test the property 'Mode' + /// + [Test] + public void ModeTest() + { + // TODO unit test for the property 'Mode' + } + /// + /// Test the property 'SalesRepId' + /// + [Test] + public void SalesRepIdTest() + { + // TODO unit test for the property 'SalesRepId' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsCommerceSolutionsTests.cs b/test/Model/InlineResponse2011SetupsCommerceSolutionsTests.cs new file mode 100644 index 00000000..9a57a7f6 --- /dev/null +++ b/test/Model/InlineResponse2011SetupsCommerceSolutionsTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsCommerceSolutions + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsCommerceSolutionsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsCommerceSolutions + //private InlineResponse2011SetupsCommerceSolutions instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsCommerceSolutions + //instance = new InlineResponse2011SetupsCommerceSolutions(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsCommerceSolutions + /// + [Test] + public void InlineResponse2011SetupsCommerceSolutionsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsCommerceSolutions + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsCommerceSolutions"); + } + + /// + /// Test the property 'TokenManagement' + /// + [Test] + public void TokenManagementTest() + { + // TODO unit test for the property 'TokenManagement' + } + /// + /// Test the property 'AccountUpdater' + /// + [Test] + public void AccountUpdaterTest() + { + // TODO unit test for the property 'AccountUpdater' + } + /// + /// Test the property 'BinLookup' + /// + [Test] + public void BinLookupTest() + { + // TODO unit test for the property 'BinLookup' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatusTests.cs b/test/Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatusTests.cs new file mode 100644 index 00000000..943099d1 --- /dev/null +++ b/test/Model/InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatusTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatusTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus + //private InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus + //instance = new InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus + /// + [Test] + public void InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatusInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsPaymentsCardProcessingConfigurationStatus"); + } + + /// + /// Test the property 'ConfigurationId' + /// + [Test] + public void ConfigurationIdTest() + { + // TODO unit test for the property 'ConfigurationId' + } + /// + /// Test the property 'Version' + /// + [Test] + public void VersionTest() + { + // TODO unit test for the property 'Version' + } + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatusTests.cs b/test/Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatusTests.cs new file mode 100644 index 00000000..f1853339 --- /dev/null +++ b/test/Model/InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatusTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatusTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus + //private InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus + //instance = new InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus + /// + [Test] + public void InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatusInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsPaymentsCardProcessingSubscriptionStatus"); + } + + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsPaymentsCardProcessingTests.cs b/test/Model/InlineResponse2011SetupsPaymentsCardProcessingTests.cs new file mode 100644 index 00000000..4f59576f --- /dev/null +++ b/test/Model/InlineResponse2011SetupsPaymentsCardProcessingTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsPaymentsCardProcessing + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsPaymentsCardProcessingTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsPaymentsCardProcessing + //private InlineResponse2011SetupsPaymentsCardProcessing instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsPaymentsCardProcessing + //instance = new InlineResponse2011SetupsPaymentsCardProcessing(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsPaymentsCardProcessing + /// + [Test] + public void InlineResponse2011SetupsPaymentsCardProcessingInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsPaymentsCardProcessing + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsPaymentsCardProcessing"); + } + + /// + /// Test the property 'SubscriptionStatus' + /// + [Test] + public void SubscriptionStatusTest() + { + // TODO unit test for the property 'SubscriptionStatus' + } + /// + /// Test the property 'ConfigurationStatus' + /// + [Test] + public void ConfigurationStatusTest() + { + // TODO unit test for the property 'ConfigurationStatus' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsPaymentsDigitalPaymentsTests.cs b/test/Model/InlineResponse2011SetupsPaymentsDigitalPaymentsTests.cs new file mode 100644 index 00000000..80d5863f --- /dev/null +++ b/test/Model/InlineResponse2011SetupsPaymentsDigitalPaymentsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsPaymentsDigitalPayments + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsPaymentsDigitalPaymentsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsPaymentsDigitalPayments + //private InlineResponse2011SetupsPaymentsDigitalPayments instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsPaymentsDigitalPayments + //instance = new InlineResponse2011SetupsPaymentsDigitalPayments(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsPaymentsDigitalPayments + /// + [Test] + public void InlineResponse2011SetupsPaymentsDigitalPaymentsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsPaymentsDigitalPayments + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsPaymentsDigitalPayments"); + } + + /// + /// Test the property 'SubscriptionStatus' + /// + [Test] + public void SubscriptionStatusTest() + { + // TODO unit test for the property 'SubscriptionStatus' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsPaymentsTests.cs b/test/Model/InlineResponse2011SetupsPaymentsTests.cs new file mode 100644 index 00000000..61df5aea --- /dev/null +++ b/test/Model/InlineResponse2011SetupsPaymentsTests.cs @@ -0,0 +1,198 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsPayments + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsPaymentsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsPayments + //private InlineResponse2011SetupsPayments instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsPayments + //instance = new InlineResponse2011SetupsPayments(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsPayments + /// + [Test] + public void InlineResponse2011SetupsPaymentsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsPayments + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsPayments"); + } + + /// + /// Test the property 'CardProcessing' + /// + [Test] + public void CardProcessingTest() + { + // TODO unit test for the property 'CardProcessing' + } + /// + /// Test the property 'CardPresentConnect' + /// + [Test] + public void CardPresentConnectTest() + { + // TODO unit test for the property 'CardPresentConnect' + } + /// + /// Test the property 'ECheck' + /// + [Test] + public void ECheckTest() + { + // TODO unit test for the property 'ECheck' + } + /// + /// Test the property 'PayerAuthentication' + /// + [Test] + public void PayerAuthenticationTest() + { + // TODO unit test for the property 'PayerAuthentication' + } + /// + /// Test the property 'DigitalPayments' + /// + [Test] + public void DigitalPaymentsTest() + { + // TODO unit test for the property 'DigitalPayments' + } + /// + /// Test the property 'SecureAcceptance' + /// + [Test] + public void SecureAcceptanceTest() + { + // TODO unit test for the property 'SecureAcceptance' + } + /// + /// Test the property 'VirtualTerminal' + /// + [Test] + public void VirtualTerminalTest() + { + // TODO unit test for the property 'VirtualTerminal' + } + /// + /// Test the property 'CurrencyConversion' + /// + [Test] + public void CurrencyConversionTest() + { + // TODO unit test for the property 'CurrencyConversion' + } + /// + /// Test the property 'Tax' + /// + [Test] + public void TaxTest() + { + // TODO unit test for the property 'Tax' + } + /// + /// Test the property 'CustomerInvoicing' + /// + [Test] + public void CustomerInvoicingTest() + { + // TODO unit test for the property 'CustomerInvoicing' + } + /// + /// Test the property 'RecurringBilling' + /// + [Test] + public void RecurringBillingTest() + { + // TODO unit test for the property 'RecurringBilling' + } + /// + /// Test the property 'CybsReadyTerminal' + /// + [Test] + public void CybsReadyTerminalTest() + { + // TODO unit test for the property 'CybsReadyTerminal' + } + /// + /// Test the property 'PaymentOrchestration' + /// + [Test] + public void PaymentOrchestrationTest() + { + // TODO unit test for the property 'PaymentOrchestration' + } + /// + /// Test the property 'Payouts' + /// + [Test] + public void PayoutsTest() + { + // TODO unit test for the property 'Payouts' + } + /// + /// Test the property 'PayByLink' + /// + [Test] + public void PayByLinkTest() + { + // TODO unit test for the property 'PayByLink' + } + /// + /// Test the property 'UnifiedCheckout' + /// + [Test] + public void UnifiedCheckoutTest() + { + // TODO unit test for the property 'UnifiedCheckout' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsRiskTests.cs b/test/Model/InlineResponse2011SetupsRiskTests.cs new file mode 100644 index 00000000..b5a0fdab --- /dev/null +++ b/test/Model/InlineResponse2011SetupsRiskTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsRisk + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsRiskTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsRisk + //private InlineResponse2011SetupsRisk instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsRisk + //instance = new InlineResponse2011SetupsRisk(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsRisk + /// + [Test] + public void InlineResponse2011SetupsRiskInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsRisk + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsRisk"); + } + + /// + /// Test the property 'FraudManagementEssentials' + /// + [Test] + public void FraudManagementEssentialsTest() + { + // TODO unit test for the property 'FraudManagementEssentials' + } + /// + /// Test the property 'DecisionManager' + /// + [Test] + public void DecisionManagerTest() + { + // TODO unit test for the property 'DecisionManager' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsTests.cs b/test/Model/InlineResponse2011SetupsTests.cs new file mode 100644 index 00000000..29bae1ad --- /dev/null +++ b/test/Model/InlineResponse2011SetupsTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011Setups + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011Setups + //private InlineResponse2011Setups instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011Setups + //instance = new InlineResponse2011Setups(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011Setups + /// + [Test] + public void InlineResponse2011SetupsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011Setups + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011Setups"); + } + + /// + /// Test the property 'Payments' + /// + [Test] + public void PaymentsTest() + { + // TODO unit test for the property 'Payments' + } + /// + /// Test the property 'Risk' + /// + [Test] + public void RiskTest() + { + // TODO unit test for the property 'Risk' + } + /// + /// Test the property 'CommerceSolutions' + /// + [Test] + public void CommerceSolutionsTest() + { + // TODO unit test for the property 'CommerceSolutions' + } + /// + /// Test the property 'ValueAddedServices' + /// + [Test] + public void ValueAddedServicesTest() + { + // TODO unit test for the property 'ValueAddedServices' + } + + } + +} diff --git a/test/Model/InlineResponse2011SetupsValueAddedServicesTests.cs b/test/Model/InlineResponse2011SetupsValueAddedServicesTests.cs new file mode 100644 index 00000000..eb2efa43 --- /dev/null +++ b/test/Model/InlineResponse2011SetupsValueAddedServicesTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011SetupsValueAddedServices + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011SetupsValueAddedServicesTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011SetupsValueAddedServices + //private InlineResponse2011SetupsValueAddedServices instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011SetupsValueAddedServices + //instance = new InlineResponse2011SetupsValueAddedServices(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011SetupsValueAddedServices + /// + [Test] + public void InlineResponse2011SetupsValueAddedServicesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011SetupsValueAddedServices + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011SetupsValueAddedServices"); + } + + /// + /// Test the property 'Reporting' + /// + [Test] + public void ReportingTest() + { + // TODO unit test for the property 'Reporting' + } + /// + /// Test the property 'TransactionSearch' + /// + [Test] + public void TransactionSearchTest() + { + // TODO unit test for the property 'TransactionSearch' + } + + } + +} diff --git a/test/Model/InlineResponse2011Tests.cs b/test/Model/InlineResponse2011Tests.cs new file mode 100644 index 00000000..b4dc1735 --- /dev/null +++ b/test/Model/InlineResponse2011Tests.cs @@ -0,0 +1,142 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2011 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2011Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse2011 + //private InlineResponse2011 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2011 + //instance = new InlineResponse2011(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2011 + /// + [Test] + public void InlineResponse2011InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2011 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2011"); + } + + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'RegistrationInformation' + /// + [Test] + public void RegistrationInformationTest() + { + // TODO unit test for the property 'RegistrationInformation' + } + /// + /// Test the property 'IntegrationInformation' + /// + [Test] + public void IntegrationInformationTest() + { + // TODO unit test for the property 'IntegrationInformation' + } + /// + /// Test the property 'OrganizationInformation' + /// + [Test] + public void OrganizationInformationTest() + { + // TODO unit test for the property 'OrganizationInformation' + } + /// + /// Test the property 'ProductInformationSetups' + /// + [Test] + public void ProductInformationSetupsTest() + { + // TODO unit test for the property 'ProductInformationSetups' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + + } + +} diff --git a/test/Model/InlineResponse2012KeyInformationErrorInformationDetailsTests.cs b/test/Model/InlineResponse2012KeyInformationErrorInformationDetailsTests.cs new file mode 100644 index 00000000..eee50331 --- /dev/null +++ b/test/Model/InlineResponse2012KeyInformationErrorInformationDetailsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2012KeyInformationErrorInformationDetails + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2012KeyInformationErrorInformationDetailsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2012KeyInformationErrorInformationDetails + //private InlineResponse2012KeyInformationErrorInformationDetails instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2012KeyInformationErrorInformationDetails + //instance = new InlineResponse2012KeyInformationErrorInformationDetails(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2012KeyInformationErrorInformationDetails + /// + [Test] + public void InlineResponse2012KeyInformationErrorInformationDetailsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2012KeyInformationErrorInformationDetails + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2012KeyInformationErrorInformationDetails"); + } + + /// + /// Test the property 'Field' + /// + [Test] + public void FieldTest() + { + // TODO unit test for the property 'Field' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + + } + +} diff --git a/test/Model/InlineResponse2012KeyInformationErrorInformationTests.cs b/test/Model/InlineResponse2012KeyInformationErrorInformationTests.cs new file mode 100644 index 00000000..9f83a067 --- /dev/null +++ b/test/Model/InlineResponse2012KeyInformationErrorInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2012KeyInformationErrorInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2012KeyInformationErrorInformationTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2012KeyInformationErrorInformation + //private InlineResponse2012KeyInformationErrorInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2012KeyInformationErrorInformation + //instance = new InlineResponse2012KeyInformationErrorInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2012KeyInformationErrorInformation + /// + [Test] + public void InlineResponse2012KeyInformationErrorInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2012KeyInformationErrorInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2012KeyInformationErrorInformation"); + } + + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + + } + +} diff --git a/test/Model/InlineResponse2012KeyInformationTests.cs b/test/Model/InlineResponse2012KeyInformationTests.cs new file mode 100644 index 00000000..e0fd074b --- /dev/null +++ b/test/Model/InlineResponse2012KeyInformationTests.cs @@ -0,0 +1,158 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2012KeyInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2012KeyInformationTests + { + // TODO uncomment below to declare an instance variable for InlineResponse2012KeyInformation + //private InlineResponse2012KeyInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2012KeyInformation + //instance = new InlineResponse2012KeyInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2012KeyInformation + /// + [Test] + public void InlineResponse2012KeyInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2012KeyInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2012KeyInformation"); + } + + /// + /// Test the property 'Provider' + /// + [Test] + public void ProviderTest() + { + // TODO unit test for the property 'Provider' + } + /// + /// Test the property 'Tenant' + /// + [Test] + public void TenantTest() + { + // TODO unit test for the property 'Tenant' + } + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'ClientKeyId' + /// + [Test] + public void ClientKeyIdTest() + { + // TODO unit test for the property 'ClientKeyId' + } + /// + /// Test the property 'KeyId' + /// + [Test] + public void KeyIdTest() + { + // TODO unit test for the property 'KeyId' + } + /// + /// Test the property 'Key' + /// + [Test] + public void KeyTest() + { + // TODO unit test for the property 'Key' + } + /// + /// Test the property 'KeyType' + /// + [Test] + public void KeyTypeTest() + { + // TODO unit test for the property 'KeyType' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'ExpirationDate' + /// + [Test] + public void ExpirationDateTest() + { + // TODO unit test for the property 'ExpirationDate' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + /// + /// Test the property 'ErrorInformation' + /// + [Test] + public void ErrorInformationTest() + { + // TODO unit test for the property 'ErrorInformation' + } + + } + +} diff --git a/test/Model/InlineResponse2012Tests.cs b/test/Model/InlineResponse2012Tests.cs new file mode 100644 index 00000000..38846d9b --- /dev/null +++ b/test/Model/InlineResponse2012Tests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2012 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2012Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse2012 + //private InlineResponse2012 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2012 + //instance = new InlineResponse2012(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2012 + /// + [Test] + public void InlineResponse2012InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2012 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2012"); + } + + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// + /// Test the property 'KeyInformation' + /// + [Test] + public void KeyInformationTest() + { + // TODO unit test for the property 'KeyInformation' + } + + } + +} diff --git a/test/Model/InlineResponse2013Tests.cs b/test/Model/InlineResponse2013Tests.cs new file mode 100644 index 00000000..fe158188 --- /dev/null +++ b/test/Model/InlineResponse2013Tests.cs @@ -0,0 +1,190 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2013 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2013Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse2013 + //private InlineResponse2013 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2013 + //instance = new InlineResponse2013(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2013 + /// + [Test] + public void InlineResponse2013InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2013 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2013"); + } + + /// + /// Test the property 'WebhookId' + /// + [Test] + public void WebhookIdTest() + { + // TODO unit test for the property 'WebhookId' + } + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'ProductId' + /// + [Test] + public void ProductIdTest() + { + // TODO unit test for the property 'ProductId' + } + /// + /// Test the property 'EventTypes' + /// + [Test] + public void EventTypesTest() + { + // TODO unit test for the property 'EventTypes' + } + /// + /// Test the property 'WebhookUrl' + /// + [Test] + public void WebhookUrlTest() + { + // TODO unit test for the property 'WebhookUrl' + } + /// + /// Test the property 'HealthCheckUrl' + /// + [Test] + public void HealthCheckUrlTest() + { + // TODO unit test for the property 'HealthCheckUrl' + } + /// + /// Test the property 'NotificationScope' + /// + [Test] + public void NotificationScopeTest() + { + // TODO unit test for the property 'NotificationScope' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'Description' + /// + [Test] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + /// + /// Test the property 'RetryPolicy' + /// + [Test] + public void RetryPolicyTest() + { + // TODO unit test for the property 'RetryPolicy' + } + /// + /// Test the property 'SecurityPolicy' + /// + [Test] + public void SecurityPolicyTest() + { + // TODO unit test for the property 'SecurityPolicy' + } + /// + /// Test the property 'CreatedOn' + /// + [Test] + public void CreatedOnTest() + { + // TODO unit test for the property 'CreatedOn' + } + /// + /// Test the property 'UpdatedOn' + /// + [Test] + public void UpdatedOnTest() + { + // TODO unit test for the property 'UpdatedOn' + } + /// + /// Test the property 'AdditionalAttributes' + /// + [Test] + public void AdditionalAttributesTest() + { + // TODO unit test for the property 'AdditionalAttributes' + } + + } + +} diff --git a/test/Model/InlineResponse2014Tests.cs b/test/Model/InlineResponse2014Tests.cs new file mode 100644 index 00000000..e391b64a --- /dev/null +++ b/test/Model/InlineResponse2014Tests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse2014 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse2014Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse2014 + //private InlineResponse2014 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse2014 + //instance = new InlineResponse2014(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse2014 + /// + [Test] + public void InlineResponse2014InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2014 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2014"); + } + + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// + /// Test the property 'KeyInformation' + /// + [Test] + public void KeyInformationTest() + { + // TODO unit test for the property 'KeyInformation' + } + + } + +} diff --git a/test/Model/InlineResponse4007DetailsTests.cs b/test/Model/InlineResponse4007DetailsTests.cs index 09d0a7eb..9f89510d 100644 --- a/test/Model/InlineResponse4007DetailsTests.cs +++ b/test/Model/InlineResponse4007DetailsTests.cs @@ -65,20 +65,20 @@ public void InlineResponse4007DetailsInstanceTest() } /// - /// Test the property 'Location' + /// Test the property 'Field' /// [Test] - public void LocationTest() + public void FieldTest() { - // TODO unit test for the property 'Location' + // TODO unit test for the property 'Field' } /// - /// Test the property 'Message' + /// Test the property 'Reason' /// [Test] - public void MessageTest() + public void ReasonTest() { - // TODO unit test for the property 'Message' + // TODO unit test for the property 'Reason' } } diff --git a/test/Model/InlineResponse4007Tests.cs b/test/Model/InlineResponse4007Tests.cs index 172e5aa5..d6ae5d09 100644 --- a/test/Model/InlineResponse4007Tests.cs +++ b/test/Model/InlineResponse4007Tests.cs @@ -65,28 +65,28 @@ public void InlineResponse4007InstanceTest() } /// - /// Test the property 'CorrelationId' + /// Test the property 'SubmitTimeUtc' /// [Test] - public void CorrelationIdTest() + public void SubmitTimeUtcTest() { - // TODO unit test for the property 'CorrelationId' + // TODO unit test for the property 'SubmitTimeUtc' } /// - /// Test the property 'Details' + /// Test the property 'Status' /// [Test] - public void DetailsTest() + public void StatusTest() { - // TODO unit test for the property 'Details' + // TODO unit test for the property 'Status' } /// - /// Test the property 'InformationLink' + /// Test the property 'Reason' /// [Test] - public void InformationLinkTest() + public void ReasonTest() { - // TODO unit test for the property 'InformationLink' + // TODO unit test for the property 'Reason' } /// /// Test the property 'Message' @@ -97,12 +97,12 @@ public void MessageTest() // TODO unit test for the property 'Message' } /// - /// Test the property 'Reason' + /// Test the property 'Details' /// [Test] - public void ReasonTest() + public void DetailsTest() { - // TODO unit test for the property 'Reason' + // TODO unit test for the property 'Details' } } diff --git a/test/Model/InlineResponse4008DetailsTests.cs b/test/Model/InlineResponse4008DetailsTests.cs new file mode 100644 index 00000000..b8252482 --- /dev/null +++ b/test/Model/InlineResponse4008DetailsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse4008Details + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse4008DetailsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse4008Details + //private InlineResponse4008Details instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse4008Details + //instance = new InlineResponse4008Details(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse4008Details + /// + [Test] + public void InlineResponse4008DetailsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4008Details + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4008Details"); + } + + /// + /// Test the property 'Location' + /// + [Test] + public void LocationTest() + { + // TODO unit test for the property 'Location' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + + } + +} diff --git a/test/Model/InlineResponse4008Tests.cs b/test/Model/InlineResponse4008Tests.cs new file mode 100644 index 00000000..91d2d628 --- /dev/null +++ b/test/Model/InlineResponse4008Tests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse4008 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse4008Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse4008 + //private InlineResponse4008 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse4008 + //instance = new InlineResponse4008(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse4008 + /// + [Test] + public void InlineResponse4008InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4008 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4008"); + } + + /// + /// Test the property 'CorrelationId' + /// + [Test] + public void CorrelationIdTest() + { + // TODO unit test for the property 'CorrelationId' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + /// + /// Test the property 'InformationLink' + /// + [Test] + public void InformationLinkTest() + { + // TODO unit test for the property 'InformationLink' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + + } + +} diff --git a/test/Model/InlineResponse4041Tests.cs b/test/Model/InlineResponse4041Tests.cs new file mode 100644 index 00000000..3c49d05c --- /dev/null +++ b/test/Model/InlineResponse4041Tests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse4041 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse4041Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse4041 + //private InlineResponse4041 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse4041 + //instance = new InlineResponse4041(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse4041 + /// + [Test] + public void InlineResponse4041InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4041 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4041"); + } + + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + + } + +} diff --git a/test/Model/InlineResponse4042DetailsTests.cs b/test/Model/InlineResponse4042DetailsTests.cs new file mode 100644 index 00000000..56772385 --- /dev/null +++ b/test/Model/InlineResponse4042DetailsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse4042Details + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse4042DetailsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse4042Details + //private InlineResponse4042Details instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse4042Details + //instance = new InlineResponse4042Details(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse4042Details + /// + [Test] + public void InlineResponse4042DetailsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4042Details + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4042Details"); + } + + /// + /// Test the property 'Field' + /// + [Test] + public void FieldTest() + { + // TODO unit test for the property 'Field' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + + } + +} diff --git a/test/Model/InlineResponse4042Tests.cs b/test/Model/InlineResponse4042Tests.cs new file mode 100644 index 00000000..2434cf89 --- /dev/null +++ b/test/Model/InlineResponse4042Tests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse4042 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse4042Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse4042 + //private InlineResponse4042 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse4042 + //instance = new InlineResponse4042(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse4042 + /// + [Test] + public void InlineResponse4042InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4042 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4042"); + } + + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + + } + +} diff --git a/test/Model/InlineResponse4221Tests.cs b/test/Model/InlineResponse4221Tests.cs new file mode 100644 index 00000000..90bc938a --- /dev/null +++ b/test/Model/InlineResponse4221Tests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse4221 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse4221Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse4221 + //private InlineResponse4221 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse4221 + //instance = new InlineResponse4221(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse4221 + /// + [Test] + public void InlineResponse4221InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4221 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4221"); + } + + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + + } + +} diff --git a/test/Model/InlineResponse5003Tests.cs b/test/Model/InlineResponse5003Tests.cs new file mode 100644 index 00000000..98b55a1f --- /dev/null +++ b/test/Model/InlineResponse5003Tests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse5003 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse5003Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse5003 + //private InlineResponse5003 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse5003 + //instance = new InlineResponse5003(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse5003 + /// + [Test] + public void InlineResponse5003InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse5003 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse5003"); + } + + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Reason' + /// + [Test] + public void ReasonTest() + { + // TODO unit test for the property 'Reason' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + + } + +} diff --git a/test/Model/Kmsegressv2keysasymClientReferenceInformationTests.cs b/test/Model/Kmsegressv2keysasymClientReferenceInformationTests.cs new file mode 100644 index 00000000..fb364a4c --- /dev/null +++ b/test/Model/Kmsegressv2keysasymClientReferenceInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Kmsegressv2keysasymClientReferenceInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Kmsegressv2keysasymClientReferenceInformationTests + { + // TODO uncomment below to declare an instance variable for Kmsegressv2keysasymClientReferenceInformation + //private Kmsegressv2keysasymClientReferenceInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Kmsegressv2keysasymClientReferenceInformation + //instance = new Kmsegressv2keysasymClientReferenceInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Kmsegressv2keysasymClientReferenceInformation + /// + [Test] + public void Kmsegressv2keysasymClientReferenceInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Kmsegressv2keysasymClientReferenceInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Kmsegressv2keysasymClientReferenceInformation"); + } + + /// + /// Test the property 'Code' + /// + [Test] + public void CodeTest() + { + // TODO unit test for the property 'Code' + } + + } + +} diff --git a/test/Model/Kmsegressv2keysasymKeyInformationTests.cs b/test/Model/Kmsegressv2keysasymKeyInformationTests.cs new file mode 100644 index 00000000..65960520 --- /dev/null +++ b/test/Model/Kmsegressv2keysasymKeyInformationTests.cs @@ -0,0 +1,142 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Kmsegressv2keysasymKeyInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Kmsegressv2keysasymKeyInformationTests + { + // TODO uncomment below to declare an instance variable for Kmsegressv2keysasymKeyInformation + //private Kmsegressv2keysasymKeyInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Kmsegressv2keysasymKeyInformation + //instance = new Kmsegressv2keysasymKeyInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Kmsegressv2keysasymKeyInformation + /// + [Test] + public void Kmsegressv2keysasymKeyInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Kmsegressv2keysasymKeyInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Kmsegressv2keysasymKeyInformation"); + } + + /// + /// Test the property 'Provider' + /// + [Test] + public void ProviderTest() + { + // TODO unit test for the property 'Provider' + } + /// + /// Test the property 'Tenant' + /// + [Test] + public void TenantTest() + { + // TODO unit test for the property 'Tenant' + } + /// + /// Test the property 'KeyType' + /// + [Test] + public void KeyTypeTest() + { + // TODO unit test for the property 'KeyType' + } + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'Pub' + /// + [Test] + public void PubTest() + { + // TODO unit test for the property 'Pub' + } + /// + /// Test the property 'KeyId' + /// + [Test] + public void KeyIdTest() + { + // TODO unit test for the property 'KeyId' + } + /// + /// Test the property 'Pvt' + /// + [Test] + public void PvtTest() + { + // TODO unit test for the property 'Pvt' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'ExpiryDuration' + /// + [Test] + public void ExpiryDurationTest() + { + // TODO unit test for the property 'ExpiryDuration' + } + + } + +} diff --git a/test/Model/Kmsegressv2keyssymClientReferenceInformationTests.cs b/test/Model/Kmsegressv2keyssymClientReferenceInformationTests.cs new file mode 100644 index 00000000..168959e6 --- /dev/null +++ b/test/Model/Kmsegressv2keyssymClientReferenceInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Kmsegressv2keyssymClientReferenceInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Kmsegressv2keyssymClientReferenceInformationTests + { + // TODO uncomment below to declare an instance variable for Kmsegressv2keyssymClientReferenceInformation + //private Kmsegressv2keyssymClientReferenceInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Kmsegressv2keyssymClientReferenceInformation + //instance = new Kmsegressv2keyssymClientReferenceInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Kmsegressv2keyssymClientReferenceInformation + /// + [Test] + public void Kmsegressv2keyssymClientReferenceInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Kmsegressv2keyssymClientReferenceInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Kmsegressv2keyssymClientReferenceInformation"); + } + + /// + /// Test the property 'Code' + /// + [Test] + public void CodeTest() + { + // TODO unit test for the property 'Code' + } + + } + +} diff --git a/test/Model/Kmsegressv2keyssymKeyInformationTests.cs b/test/Model/Kmsegressv2keyssymKeyInformationTests.cs new file mode 100644 index 00000000..94a7bb1f --- /dev/null +++ b/test/Model/Kmsegressv2keyssymKeyInformationTests.cs @@ -0,0 +1,142 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Kmsegressv2keyssymKeyInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Kmsegressv2keyssymKeyInformationTests + { + // TODO uncomment below to declare an instance variable for Kmsegressv2keyssymKeyInformation + //private Kmsegressv2keyssymKeyInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Kmsegressv2keyssymKeyInformation + //instance = new Kmsegressv2keyssymKeyInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Kmsegressv2keyssymKeyInformation + /// + [Test] + public void Kmsegressv2keyssymKeyInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Kmsegressv2keyssymKeyInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Kmsegressv2keyssymKeyInformation"); + } + + /// + /// Test the property 'Provider' + /// + [Test] + public void ProviderTest() + { + // TODO unit test for the property 'Provider' + } + /// + /// Test the property 'Tenant' + /// + [Test] + public void TenantTest() + { + // TODO unit test for the property 'Tenant' + } + /// + /// Test the property 'KeyType' + /// + [Test] + public void KeyTypeTest() + { + // TODO unit test for the property 'KeyType' + } + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'ClientKeyId' + /// + [Test] + public void ClientKeyIdTest() + { + // TODO unit test for the property 'ClientKeyId' + } + /// + /// Test the property 'KeyId' + /// + [Test] + public void KeyIdTest() + { + // TODO unit test for the property 'KeyId' + } + /// + /// Test the property 'Key' + /// + [Test] + public void KeyTest() + { + // TODO unit test for the property 'Key' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'ExpiryDuration' + /// + [Test] + public void ExpiryDurationTest() + { + // TODO unit test for the property 'ExpiryDuration' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1productsorganizationIdEventTypesTests.cs b/test/Model/Notificationsubscriptionsv1productsorganizationIdEventTypesTests.cs new file mode 100644 index 00000000..e0fedc4b --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1productsorganizationIdEventTypesTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1productsorganizationIdEventTypes + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1productsorganizationIdEventTypesTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1productsorganizationIdEventTypes + //private Notificationsubscriptionsv1productsorganizationIdEventTypes instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1productsorganizationIdEventTypes + //instance = new Notificationsubscriptionsv1productsorganizationIdEventTypes(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1productsorganizationIdEventTypes + /// + [Test] + public void Notificationsubscriptionsv1productsorganizationIdEventTypesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1productsorganizationIdEventTypes + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1productsorganizationIdEventTypes"); + } + + /// + /// Test the property 'EventName' + /// + [Test] + public void EventNameTest() + { + // TODO unit test for the property 'EventName' + } + /// + /// Test the property 'DisplayName' + /// + [Test] + public void DisplayNameTest() + { + // TODO unit test for the property 'DisplayName' + } + /// + /// Test the property 'Frequency' + /// + [Test] + public void FrequencyTest() + { + // TODO unit test for the property 'Frequency' + } + /// + /// Test the property 'TimeSensitivity' + /// + [Test] + public void TimeSensitivityTest() + { + // TODO unit test for the property 'TimeSensitivity' + } + /// + /// Test the property 'PayloadEncryption' + /// + [Test] + public void PayloadEncryptionTest() + { + // TODO unit test for the property 'PayloadEncryption' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksNotificationScopeTests.cs b/test/Model/Notificationsubscriptionsv1webhooksNotificationScopeTests.cs new file mode 100644 index 00000000..fc61591f --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksNotificationScopeTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksNotificationScope + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksNotificationScopeTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksNotificationScope + //private Notificationsubscriptionsv1webhooksNotificationScope instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksNotificationScope + //instance = new Notificationsubscriptionsv1webhooksNotificationScope(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksNotificationScope + /// + [Test] + public void Notificationsubscriptionsv1webhooksNotificationScopeInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksNotificationScope + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksNotificationScope"); + } + + /// + /// Test the property 'Scope' + /// + [Test] + public void ScopeTest() + { + // TODO unit test for the property 'Scope' + } + /// + /// Test the property 'ScopeData' + /// + [Test] + public void ScopeDataTest() + { + // TODO unit test for the property 'ScopeData' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksProductsTests.cs b/test/Model/Notificationsubscriptionsv1webhooksProductsTests.cs new file mode 100644 index 00000000..f0c43dac --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksProductsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksProducts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksProductsTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksProducts + //private Notificationsubscriptionsv1webhooksProducts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksProducts + //instance = new Notificationsubscriptionsv1webhooksProducts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksProducts + /// + [Test] + public void Notificationsubscriptionsv1webhooksProductsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksProducts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksProducts"); + } + + /// + /// Test the property 'ProductId' + /// + [Test] + public void ProductIdTest() + { + // TODO unit test for the property 'ProductId' + } + /// + /// Test the property 'EventTypes' + /// + [Test] + public void EventTypesTest() + { + // TODO unit test for the property 'EventTypes' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksRetryPolicyTests.cs b/test/Model/Notificationsubscriptionsv1webhooksRetryPolicyTests.cs new file mode 100644 index 00000000..efd43a72 --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksRetryPolicyTests.cs @@ -0,0 +1,134 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksRetryPolicy + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksRetryPolicyTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksRetryPolicy + //private Notificationsubscriptionsv1webhooksRetryPolicy instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksRetryPolicy + //instance = new Notificationsubscriptionsv1webhooksRetryPolicy(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksRetryPolicy + /// + [Test] + public void Notificationsubscriptionsv1webhooksRetryPolicyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksRetryPolicy + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksRetryPolicy"); + } + + /// + /// Test the property 'Algorithm' + /// + [Test] + public void AlgorithmTest() + { + // TODO unit test for the property 'Algorithm' + } + /// + /// Test the property 'FirstRetry' + /// + [Test] + public void FirstRetryTest() + { + // TODO unit test for the property 'FirstRetry' + } + /// + /// Test the property 'Interval' + /// + [Test] + public void IntervalTest() + { + // TODO unit test for the property 'Interval' + } + /// + /// Test the property 'NumberOfRetries' + /// + [Test] + public void NumberOfRetriesTest() + { + // TODO unit test for the property 'NumberOfRetries' + } + /// + /// Test the property 'DeactivateFlag' + /// + [Test] + public void DeactivateFlagTest() + { + // TODO unit test for the property 'DeactivateFlag' + } + /// + /// Test the property 'RepeatSequenceCount' + /// + [Test] + public void RepeatSequenceCountTest() + { + // TODO unit test for the property 'RepeatSequenceCount' + } + /// + /// Test the property 'RepeatSequenceWaitTime' + /// + [Test] + public void RepeatSequenceWaitTimeTest() + { + // TODO unit test for the property 'RepeatSequenceWaitTime' + } + /// + /// Test the property 'AdditionalAttributes' + /// + [Test] + public void AdditionalAttributesTest() + { + // TODO unit test for the property 'AdditionalAttributes' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfigTests.cs b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfigTests.cs new file mode 100644 index 00000000..aac43253 --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfigTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfigTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig + //private Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig + //instance = new Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig + /// + [Test] + public void Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfigInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigAdditionalConfig"); + } + + /// + /// Test the property 'Aud' + /// + [Test] + public void AudTest() + { + // TODO unit test for the property 'Aud' + } + /// + /// Test the property 'ClientId' + /// + [Test] + public void ClientIdTest() + { + // TODO unit test for the property 'ClientId' + } + /// + /// Test the property 'KeyId' + /// + [Test] + public void KeyIdTest() + { + // TODO unit test for the property 'KeyId' + } + /// + /// Test the property 'Scope' + /// + [Test] + public void ScopeTest() + { + // TODO unit test for the property 'Scope' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigTests.cs b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigTests.cs new file mode 100644 index 00000000..88d45e33 --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksSecurityPolicy1Config + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksSecurityPolicy1Config + //private Notificationsubscriptionsv1webhooksSecurityPolicy1Config instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksSecurityPolicy1Config + //instance = new Notificationsubscriptionsv1webhooksSecurityPolicy1Config(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksSecurityPolicy1Config + /// + [Test] + public void Notificationsubscriptionsv1webhooksSecurityPolicy1ConfigInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksSecurityPolicy1Config + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksSecurityPolicy1Config"); + } + + /// + /// Test the property 'OAuthTokenExpiry' + /// + [Test] + public void OAuthTokenExpiryTest() + { + // TODO unit test for the property 'OAuthTokenExpiry' + } + /// + /// Test the property 'OAuthURL' + /// + [Test] + public void OAuthURLTest() + { + // TODO unit test for the property 'OAuthURL' + } + /// + /// Test the property 'OAuthTokenType' + /// + [Test] + public void OAuthTokenTypeTest() + { + // TODO unit test for the property 'OAuthTokenType' + } + /// + /// Test the property 'AdditionalConfig' + /// + [Test] + public void AdditionalConfigTest() + { + // TODO unit test for the property 'AdditionalConfig' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Tests.cs b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Tests.cs new file mode 100644 index 00000000..b85e3dbc --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicy1Tests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksSecurityPolicy1 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksSecurityPolicy1Tests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksSecurityPolicy1 + //private Notificationsubscriptionsv1webhooksSecurityPolicy1 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksSecurityPolicy1 + //instance = new Notificationsubscriptionsv1webhooksSecurityPolicy1(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksSecurityPolicy1 + /// + [Test] + public void Notificationsubscriptionsv1webhooksSecurityPolicy1InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksSecurityPolicy1 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksSecurityPolicy1"); + } + + /// + /// Test the property 'SecurityType' + /// + [Test] + public void SecurityTypeTest() + { + // TODO unit test for the property 'SecurityType' + } + /// + /// Test the property 'ProxyType' + /// + [Test] + public void ProxyTypeTest() + { + // TODO unit test for the property 'ProxyType' + } + /// + /// Test the property 'Config' + /// + [Test] + public void ConfigTest() + { + // TODO unit test for the property 'Config' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfigTests.cs b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfigTests.cs new file mode 100644 index 00000000..d3595250 --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyConfigTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksSecurityPolicyConfig + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksSecurityPolicyConfigTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksSecurityPolicyConfig + //private Notificationsubscriptionsv1webhooksSecurityPolicyConfig instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksSecurityPolicyConfig + //instance = new Notificationsubscriptionsv1webhooksSecurityPolicyConfig(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksSecurityPolicyConfig + /// + [Test] + public void Notificationsubscriptionsv1webhooksSecurityPolicyConfigInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksSecurityPolicyConfig + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksSecurityPolicyConfig"); + } + + /// + /// Test the property 'OAuthTokenExpiry' + /// + [Test] + public void OAuthTokenExpiryTest() + { + // TODO unit test for the property 'OAuthTokenExpiry' + } + /// + /// Test the property 'OAuthURL' + /// + [Test] + public void OAuthURLTest() + { + // TODO unit test for the property 'OAuthURL' + } + /// + /// Test the property 'OAuthTokenType' + /// + [Test] + public void OAuthTokenTypeTest() + { + // TODO unit test for the property 'OAuthTokenType' + } + + } + +} diff --git a/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyTests.cs b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyTests.cs new file mode 100644 index 00000000..a09c3b60 --- /dev/null +++ b/test/Model/Notificationsubscriptionsv1webhooksSecurityPolicyTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Notificationsubscriptionsv1webhooksSecurityPolicy + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Notificationsubscriptionsv1webhooksSecurityPolicyTests + { + // TODO uncomment below to declare an instance variable for Notificationsubscriptionsv1webhooksSecurityPolicy + //private Notificationsubscriptionsv1webhooksSecurityPolicy instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Notificationsubscriptionsv1webhooksSecurityPolicy + //instance = new Notificationsubscriptionsv1webhooksSecurityPolicy(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Notificationsubscriptionsv1webhooksSecurityPolicy + /// + [Test] + public void Notificationsubscriptionsv1webhooksSecurityPolicyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Notificationsubscriptionsv1webhooksSecurityPolicy + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Notificationsubscriptionsv1webhooksSecurityPolicy"); + } + + /// + /// Test the property 'SecurityType' + /// + [Test] + public void SecurityTypeTest() + { + // TODO unit test for the property 'SecurityType' + } + /// + /// Test the property 'Config' + /// + [Test] + public void ConfigTest() + { + // TODO unit test for the property 'Config' + } + + } + +} diff --git a/test/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatusTests.cs b/test/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatusTests.cs new file mode 100644 index 00000000..b65240f1 --- /dev/null +++ b/test/Model/Nrtfv1webhookswebhookIdreplaysByDeliveryStatusTests.cs @@ -0,0 +1,118 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Nrtfv1webhookswebhookIdreplaysByDeliveryStatus + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Nrtfv1webhookswebhookIdreplaysByDeliveryStatusTests + { + // TODO uncomment below to declare an instance variable for Nrtfv1webhookswebhookIdreplaysByDeliveryStatus + //private Nrtfv1webhookswebhookIdreplaysByDeliveryStatus instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Nrtfv1webhookswebhookIdreplaysByDeliveryStatus + //instance = new Nrtfv1webhookswebhookIdreplaysByDeliveryStatus(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Nrtfv1webhookswebhookIdreplaysByDeliveryStatus + /// + [Test] + public void Nrtfv1webhookswebhookIdreplaysByDeliveryStatusInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Nrtfv1webhookswebhookIdreplaysByDeliveryStatus + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Nrtfv1webhookswebhookIdreplaysByDeliveryStatus"); + } + + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'StartTime' + /// + [Test] + public void StartTimeTest() + { + // TODO unit test for the property 'StartTime' + } + /// + /// Test the property 'EndTime' + /// + [Test] + public void EndTimeTest() + { + // TODO unit test for the property 'EndTime' + } + /// + /// Test the property 'HoursBack' + /// + [Test] + public void HoursBackTest() + { + // TODO unit test for the property 'HoursBack' + } + /// + /// Test the property 'ProductId' + /// + [Test] + public void ProductIdTest() + { + // TODO unit test for the property 'ProductId' + } + /// + /// Test the property 'EventType' + /// + [Test] + public void EventTypeTest() + { + // TODO unit test for the property 'EventType' + } + + } + +} diff --git a/test/Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..000224b4 --- /dev/null +++ b/test/Model/PaymentProductsCardPresentConnectConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardPresentConnectConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardPresentConnectConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardPresentConnectConfigurationInformationConfigurations + //private PaymentProductsCardPresentConnectConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardPresentConnectConfigurationInformationConfigurations + //instance = new PaymentProductsCardPresentConnectConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardPresentConnectConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsCardPresentConnectConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardPresentConnectConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardPresentConnectConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'PartnerSolutionIdentifier' + /// + [Test] + public void PartnerSolutionIdentifierTest() + { + // TODO unit test for the property 'PartnerSolutionIdentifier' + } + + } + +} diff --git a/test/Model/PaymentProductsCardPresentConnectConfigurationInformationTests.cs b/test/Model/PaymentProductsCardPresentConnectConfigurationInformationTests.cs new file mode 100644 index 00000000..88bad4d1 --- /dev/null +++ b/test/Model/PaymentProductsCardPresentConnectConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardPresentConnectConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardPresentConnectConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardPresentConnectConfigurationInformation + //private PaymentProductsCardPresentConnectConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardPresentConnectConfigurationInformation + //instance = new PaymentProductsCardPresentConnectConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardPresentConnectConfigurationInformation + /// + [Test] + public void PaymentProductsCardPresentConnectConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardPresentConnectConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardPresentConnectConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsCardPresentConnectSubscriptionInformationTests.cs b/test/Model/PaymentProductsCardPresentConnectSubscriptionInformationTests.cs new file mode 100644 index 00000000..8b1ecf57 --- /dev/null +++ b/test/Model/PaymentProductsCardPresentConnectSubscriptionInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardPresentConnectSubscriptionInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardPresentConnectSubscriptionInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardPresentConnectSubscriptionInformation + //private PaymentProductsCardPresentConnectSubscriptionInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardPresentConnectSubscriptionInformation + //instance = new PaymentProductsCardPresentConnectSubscriptionInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardPresentConnectSubscriptionInformation + /// + [Test] + public void PaymentProductsCardPresentConnectSubscriptionInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardPresentConnectSubscriptionInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardPresentConnectSubscriptionInformation"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'SelfServiceability' + /// + [Test] + public void SelfServiceabilityTest() + { + // TODO unit test for the property 'SelfServiceability' + } + + } + +} diff --git a/test/Model/PaymentProductsCardPresentConnectTests.cs b/test/Model/PaymentProductsCardPresentConnectTests.cs new file mode 100644 index 00000000..09ec6140 --- /dev/null +++ b/test/Model/PaymentProductsCardPresentConnectTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardPresentConnect + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardPresentConnectTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardPresentConnect + //private PaymentProductsCardPresentConnect instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardPresentConnect + //instance = new PaymentProductsCardPresentConnect(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardPresentConnect + /// + [Test] + public void PaymentProductsCardPresentConnectInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardPresentConnect + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardPresentConnect"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirerTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirerTests.cs new file mode 100644 index 00000000..ffd84856 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirerTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirerTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirerInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonAcquirer"); + } + + /// + /// Test the property 'InstitutionId' + /// + [Test] + public void InstitutionIdTest() + { + // TODO unit test for the property 'InstitutionId' + } + /// + /// Test the property 'InterbankCardAssociationId' + /// + [Test] + public void InterbankCardAssociationIdTest() + { + // TODO unit test for the property 'InterbankCardAssociationId' + } + /// + /// Test the property 'DiscoverInstitutionId' + /// + [Test] + public void DiscoverInstitutionIdTest() + { + // TODO unit test for the property 'DiscoverInstitutionId' + } + /// + /// Test the property 'CountryCode' + /// + [Test] + public void CountryCodeTest() + { + // TODO unit test for the property 'CountryCode' + } + /// + /// Test the property 'FileDestinationBin' + /// + [Test] + public void FileDestinationBinTest() + { + // TODO unit test for the property 'FileDestinationBin' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1Tests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1Tests.cs new file mode 100644 index 00000000..f001c439 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1Tests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1Tests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies1"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'EnabledCardPresent' + /// + [Test] + public void EnabledCardPresentTest() + { + // TODO unit test for the property 'EnabledCardPresent' + } + /// + /// Test the property 'EnabledCardNotPresent' + /// + [Test] + public void EnabledCardNotPresentTest() + { + // TODO unit test for the property 'EnabledCardNotPresent' + } + /// + /// Test the property 'TerminalIds' + /// + [Test] + public void TerminalIdsTest() + { + // TODO unit test for the property 'TerminalIds' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrenciesTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrenciesTests.cs new file mode 100644 index 00000000..359f0b1c --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrenciesTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrenciesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrenciesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonCurrencies"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'EnabledCardPresent' + /// + [Test] + public void EnabledCardPresentTest() + { + // TODO unit test for the property 'EnabledCardPresent' + } + /// + /// Test the property 'EnabledCardNotPresent' + /// + [Test] + public void EnabledCardNotPresentTest() + { + // TODO unit test for the property 'EnabledCardNotPresent' + } + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'TerminalId' + /// + [Test] + public void TerminalIdTest() + { + // TODO unit test for the property 'TerminalId' + } + /// + /// Test the property 'TerminalIds' + /// + [Test] + public void TerminalIdsTest() + { + // TODO unit test for the property 'TerminalIds' + } + /// + /// Test the property 'ServiceEnablementNumber' + /// + [Test] + public void ServiceEnablementNumberTest() + { + // TODO unit test for the property 'ServiceEnablementNumber' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypesTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypesTests.cs new file mode 100644 index 00000000..5662720e --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypesTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonPaymentTypes"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'Currencies' + /// + [Test] + public void CurrenciesTest() + { + // TODO unit test for the property 'Currencies' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessorsTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessorsTests.cs new file mode 100644 index 00000000..ac0d3e64 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessorsTests.cs @@ -0,0 +1,422 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessorsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors"); + } + + /// + /// Test the property 'BatchGroup' + /// + [Test] + public void BatchGroupTest() + { + // TODO unit test for the property 'BatchGroup' + } + /// + /// Test the property 'BusinessApplicationId' + /// + [Test] + public void BusinessApplicationIdTest() + { + // TODO unit test for the property 'BusinessApplicationId' + } + /// + /// Test the property 'MerchantVerificationValue' + /// + [Test] + public void MerchantVerificationValueTest() + { + // TODO unit test for the property 'MerchantVerificationValue' + } + /// + /// Test the property 'AbaNumber' + /// + [Test] + public void AbaNumberTest() + { + // TODO unit test for the property 'AbaNumber' + } + /// + /// Test the property 'Acquirer' + /// + [Test] + public void AcquirerTest() + { + // TODO unit test for the property 'Acquirer' + } + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'TerminalId' + /// + [Test] + public void TerminalIdTest() + { + // TODO unit test for the property 'TerminalId' + } + /// + /// Test the property 'PaymentTypes' + /// + [Test] + public void PaymentTypesTest() + { + // TODO unit test for the property 'PaymentTypes' + } + /// + /// Test the property 'Currencies' + /// + [Test] + public void CurrenciesTest() + { + // TODO unit test for the property 'Currencies' + } + /// + /// Test the property 'SicCode' + /// + [Test] + public void SicCodeTest() + { + // TODO unit test for the property 'SicCode' + } + /// + /// Test the property 'AllowMultipleBills' + /// + [Test] + public void AllowMultipleBillsTest() + { + // TODO unit test for the property 'AllowMultipleBills' + } + /// + /// Test the property 'AllowMerchantDescriptorOverride' + /// + [Test] + public void AllowMerchantDescriptorOverrideTest() + { + // TODO unit test for the property 'AllowMerchantDescriptorOverride' + } + /// + /// Test the property 'EnhancedData' + /// + [Test] + public void EnhancedDataTest() + { + // TODO unit test for the property 'EnhancedData' + } + /// + /// Test the property 'FireSafetyIndicator' + /// + [Test] + public void FireSafetyIndicatorTest() + { + // TODO unit test for the property 'FireSafetyIndicator' + } + /// + /// Test the property 'QuasiCash' + /// + [Test] + public void QuasiCashTest() + { + // TODO unit test for the property 'QuasiCash' + } + /// + /// Test the property 'AcquirerMerchantId' + /// + [Test] + public void AcquirerMerchantIdTest() + { + // TODO unit test for the property 'AcquirerMerchantId' + } + /// + /// Test the property 'AvsFormat' + /// + [Test] + public void AvsFormatTest() + { + // TODO unit test for the property 'AvsFormat' + } + /// + /// Test the property 'EnableLongTransRefNo' + /// + [Test] + public void EnableLongTransRefNoTest() + { + // TODO unit test for the property 'EnableLongTransRefNo' + } + /// + /// Test the property 'EnableLevel2' + /// + [Test] + public void EnableLevel2Test() + { + // TODO unit test for the property 'EnableLevel2' + } + /// + /// Test the property 'EnableMultipleTransactionAdviceAddendum' + /// + [Test] + public void EnableMultipleTransactionAdviceAddendumTest() + { + // TODO unit test for the property 'EnableMultipleTransactionAdviceAddendum' + } + /// + /// Test the property 'AmexTransactionAdviceAddendum1' + /// + [Test] + public void AmexTransactionAdviceAddendum1Test() + { + // TODO unit test for the property 'AmexTransactionAdviceAddendum1' + } + /// + /// Test the property 'EnableMultiLineItems' + /// + [Test] + public void EnableMultiLineItemsTest() + { + // TODO unit test for the property 'EnableMultiLineItems' + } + /// + /// Test the property 'EnableTransactionReferenceNumber' + /// + [Test] + public void EnableTransactionReferenceNumberTest() + { + // TODO unit test for the property 'EnableTransactionReferenceNumber' + } + /// + /// Test the property 'EnableAutoAuthReversalAfterVoid' + /// + [Test] + public void EnableAutoAuthReversalAfterVoidTest() + { + // TODO unit test for the property 'EnableAutoAuthReversalAfterVoid' + } + /// + /// Test the property 'EnableExpresspayPanTranslation' + /// + [Test] + public void EnableExpresspayPanTranslationTest() + { + // TODO unit test for the property 'EnableExpresspayPanTranslation' + } + /// + /// Test the property 'EnableCreditAuth' + /// + [Test] + public void EnableCreditAuthTest() + { + // TODO unit test for the property 'EnableCreditAuth' + } + /// + /// Test the property 'IndustryCode' + /// + [Test] + public void IndustryCodeTest() + { + // TODO unit test for the property 'IndustryCode' + } + /// + /// Test the property 'SendAmexLevel2Data' + /// + [Test] + public void SendAmexLevel2DataTest() + { + // TODO unit test for the property 'SendAmexLevel2Data' + } + /// + /// Test the property 'SoftDescriptorType' + /// + [Test] + public void SoftDescriptorTypeTest() + { + // TODO unit test for the property 'SoftDescriptorType' + } + /// + /// Test the property 'VitalNumber' + /// + [Test] + public void VitalNumberTest() + { + // TODO unit test for the property 'VitalNumber' + } + /// + /// Test the property 'BankNumber' + /// + [Test] + public void BankNumberTest() + { + // TODO unit test for the property 'BankNumber' + } + /// + /// Test the property 'ChainNumber' + /// + [Test] + public void ChainNumberTest() + { + // TODO unit test for the property 'ChainNumber' + } + /// + /// Test the property 'MerchantBinNumber' + /// + [Test] + public void MerchantBinNumberTest() + { + // TODO unit test for the property 'MerchantBinNumber' + } + /// + /// Test the property 'MerchantLocationNumber' + /// + [Test] + public void MerchantLocationNumberTest() + { + // TODO unit test for the property 'MerchantLocationNumber' + } + /// + /// Test the property 'StoreID' + /// + [Test] + public void StoreIDTest() + { + // TODO unit test for the property 'StoreID' + } + /// + /// Test the property 'TravelAgencyCode' + /// + [Test] + public void TravelAgencyCodeTest() + { + // TODO unit test for the property 'TravelAgencyCode' + } + /// + /// Test the property 'TravelAgencyName' + /// + [Test] + public void TravelAgencyNameTest() + { + // TODO unit test for the property 'TravelAgencyName' + } + /// + /// Test the property 'SettlementCurrency' + /// + [Test] + public void SettlementCurrencyTest() + { + // TODO unit test for the property 'SettlementCurrency' + } + /// + /// Test the property 'EnableLeastCostRouting' + /// + [Test] + public void EnableLeastCostRoutingTest() + { + // TODO unit test for the property 'EnableLeastCostRouting' + } + /// + /// Test the property 'EnableCVVResponseIndicator' + /// + [Test] + public void EnableCVVResponseIndicatorTest() + { + // TODO unit test for the property 'EnableCVVResponseIndicator' + } + /// + /// Test the property 'EnableMultiCurrencyProcessing' + /// + [Test] + public void EnableMultiCurrencyProcessingTest() + { + // TODO unit test for the property 'EnableMultiCurrencyProcessing' + } + /// + /// Test the property 'EnablePosNetworkSwitching' + /// + [Test] + public void EnablePosNetworkSwitchingTest() + { + // TODO unit test for the property 'EnablePosNetworkSwitching' + } + /// + /// Test the property 'EnableDynamicCurrencyConversion' + /// + [Test] + public void EnableDynamicCurrencyConversionTest() + { + // TODO unit test for the property 'EnableDynamicCurrencyConversion' + } + /// + /// Test the property 'MerchantTier' + /// + [Test] + public void MerchantTierTest() + { + // TODO unit test for the property 'MerchantTier' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonTests.cs new file mode 100644 index 00000000..d120028d --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonTests.cs @@ -0,0 +1,238 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsCommon"); + } + + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + /// + /// Test the property 'AmexVendorCode' + /// + [Test] + public void AmexVendorCodeTest() + { + // TODO unit test for the property 'AmexVendorCode' + } + /// + /// Test the property 'DefaultAuthTypeCode' + /// + [Test] + public void DefaultAuthTypeCodeTest() + { + // TODO unit test for the property 'DefaultAuthTypeCode' + } + /// + /// Test the property 'MasterCardAssignedId' + /// + [Test] + public void MasterCardAssignedIdTest() + { + // TODO unit test for the property 'MasterCardAssignedId' + } + /// + /// Test the property 'EnablePartialAuth' + /// + [Test] + public void EnablePartialAuthTest() + { + // TODO unit test for the property 'EnablePartialAuth' + } + /// + /// Test the property 'MerchantCategoryCode' + /// + [Test] + public void MerchantCategoryCodeTest() + { + // TODO unit test for the property 'MerchantCategoryCode' + } + /// + /// Test the property 'SicCode' + /// + [Test] + public void SicCodeTest() + { + // TODO unit test for the property 'SicCode' + } + /// + /// Test the property 'FoodAndConsumerServiceId' + /// + [Test] + public void FoodAndConsumerServiceIdTest() + { + // TODO unit test for the property 'FoodAndConsumerServiceId' + } + /// + /// Test the property 'EnableSplitShipment' + /// + [Test] + public void EnableSplitShipmentTest() + { + // TODO unit test for the property 'EnableSplitShipment' + } + /// + /// Test the property 'EnableInterchangeOptimization' + /// + [Test] + public void EnableInterchangeOptimizationTest() + { + // TODO unit test for the property 'EnableInterchangeOptimization' + } + /// + /// Test the property 'VisaDelegatedAuthenticationId' + /// + [Test] + public void VisaDelegatedAuthenticationIdTest() + { + // TODO unit test for the property 'VisaDelegatedAuthenticationId' + } + /// + /// Test the property 'CreditCardRefundLimitPercent' + /// + [Test] + public void CreditCardRefundLimitPercentTest() + { + // TODO unit test for the property 'CreditCardRefundLimitPercent' + } + /// + /// Test the property 'BusinessCenterCreditCardRefundLimitPercent' + /// + [Test] + public void BusinessCenterCreditCardRefundLimitPercentTest() + { + // TODO unit test for the property 'BusinessCenterCreditCardRefundLimitPercent' + } + /// + /// Test the property 'AllowCapturesGreaterThanAuthorizations' + /// + [Test] + public void AllowCapturesGreaterThanAuthorizationsTest() + { + // TODO unit test for the property 'AllowCapturesGreaterThanAuthorizations' + } + /// + /// Test the property 'EnableDuplicateMerchantReferenceNumberBlocking' + /// + [Test] + public void EnableDuplicateMerchantReferenceNumberBlockingTest() + { + // TODO unit test for the property 'EnableDuplicateMerchantReferenceNumberBlocking' + } + /// + /// Test the property 'DomesticMerchantId' + /// + [Test] + public void DomesticMerchantIdTest() + { + // TODO unit test for the property 'DomesticMerchantId' + } + /// + /// Test the property 'ProcessLevel3Data' + /// + [Test] + public void ProcessLevel3DataTest() + { + // TODO unit test for the property 'ProcessLevel3Data' + } + /// + /// Test the property 'SubMerchantId' + /// + [Test] + public void SubMerchantIdTest() + { + // TODO unit test for the property 'SubMerchantId' + } + /// + /// Test the property 'SubMerchantBusinessName' + /// + [Test] + public void SubMerchantBusinessNameTest() + { + // TODO unit test for the property 'SubMerchantBusinessName' + } + /// + /// Test the property 'PreferCobadgedSecondaryBrand' + /// + [Test] + public void PreferCobadgedSecondaryBrandTest() + { + // TODO unit test for the property 'PreferCobadgedSecondaryBrand' + } + /// + /// Test the property 'MerchantDescriptorInformation' + /// + [Test] + public void MerchantDescriptorInformationTest() + { + // TODO unit test for the property 'MerchantDescriptorInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallmentTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallmentTests.cs new file mode 100644 index 00000000..bb2ff162 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallmentTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallmentTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallmentInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstallment"); + } + + /// + /// Test the property 'EnableInstallment' + /// + [Test] + public void EnableInstallmentTest() + { + // TODO unit test for the property 'EnableInstallment' + } + /// + /// Test the property 'InstallmentPlan' + /// + [Test] + public void InstallmentPlanTest() + { + // TODO unit test for the property 'InstallmentPlan' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsTests.cs new file mode 100644 index 00000000..2e288bcb --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsTests.cs @@ -0,0 +1,142 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayouts"); + } + + /// + /// Test the property 'ReimbursementCode' + /// + [Test] + public void ReimbursementCodeTest() + { + // TODO unit test for the property 'ReimbursementCode' + } + /// + /// Test the property 'AcquiringInstitutionId' + /// + [Test] + public void AcquiringInstitutionIdTest() + { + // TODO unit test for the property 'AcquiringInstitutionId' + } + /// + /// Test the property 'BusinessApplicationId' + /// + [Test] + public void BusinessApplicationIdTest() + { + // TODO unit test for the property 'BusinessApplicationId' + } + /// + /// Test the property 'FinancialInstitutionId' + /// + [Test] + public void FinancialInstitutionIdTest() + { + // TODO unit test for the property 'FinancialInstitutionId' + } + /// + /// Test the property 'MerchantAbaNumber' + /// + [Test] + public void MerchantAbaNumberTest() + { + // TODO unit test for the property 'MerchantAbaNumber' + } + /// + /// Test the property 'NetworkOrder' + /// + [Test] + public void NetworkOrderTest() + { + // TODO unit test for the property 'NetworkOrder' + } + /// + /// Test the property 'Currencies' + /// + [Test] + public void CurrenciesTest() + { + // TODO unit test for the property 'Currencies' + } + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'TerminalId' + /// + [Test] + public void TerminalIdTest() + { + // TODO unit test for the property 'TerminalId' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessorsTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessorsTests.cs new file mode 100644 index 00000000..2ec41131 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessorsTests.cs @@ -0,0 +1,118 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessorsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentProcessors"); + } + + /// + /// Test the property 'RelaxAddressVerificationSystem' + /// + [Test] + public void RelaxAddressVerificationSystemTest() + { + // TODO unit test for the property 'RelaxAddressVerificationSystem' + } + /// + /// Test the property 'RelaxAddressVerificationSystemAllowZipWithoutCountry' + /// + [Test] + public void RelaxAddressVerificationSystemAllowZipWithoutCountryTest() + { + // TODO unit test for the property 'RelaxAddressVerificationSystemAllowZipWithoutCountry' + } + /// + /// Test the property 'RelaxAddressVerificationSystemAllowExpiredCard' + /// + [Test] + public void RelaxAddressVerificationSystemAllowExpiredCardTest() + { + // TODO unit test for the property 'RelaxAddressVerificationSystemAllowExpiredCard' + } + /// + /// Test the property 'EnableEmsTransactionRiskScore' + /// + [Test] + public void EnableEmsTransactionRiskScoreTest() + { + // TODO unit test for the property 'EnableEmsTransactionRiskScore' + } + /// + /// Test the property 'PrestigiousPropertyIndicator' + /// + [Test] + public void PrestigiousPropertyIndicatorTest() + { + // TODO unit test for the property 'PrestigiousPropertyIndicator' + } + /// + /// Test the property 'Payouts' + /// + [Test] + public void PayoutsTest() + { + // TODO unit test for the property 'Payouts' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentTests.cs new file mode 100644 index 00000000..d258463f --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresent"); + } + + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + /// + /// Test the property 'IgnoreAddressVerificationSystem' + /// + [Test] + public void IgnoreAddressVerificationSystemTest() + { + // TODO unit test for the property 'IgnoreAddressVerificationSystem' + } + /// + /// Test the property 'VisaStraightThroughProcessingOnly' + /// + [Test] + public void VisaStraightThroughProcessingOnlyTest() + { + // TODO unit test for the property 'VisaStraightThroughProcessingOnly' + } + /// + /// Test the property 'AmexTransactionAdviceAddendum1' + /// + [Test] + public void AmexTransactionAdviceAddendum1Test() + { + // TODO unit test for the property 'AmexTransactionAdviceAddendum1' + } + /// + /// Test the property 'Installment' + /// + [Test] + public void InstallmentTest() + { + // TODO unit test for the property 'Installment' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessorsTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessorsTests.cs new file mode 100644 index 00000000..c72dffaf --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessorsTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessorsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentProcessors"); + } + + /// + /// Test the property 'DefaultPointOfSaleTerminalId' + /// + [Test] + public void DefaultPointOfSaleTerminalIdTest() + { + // TODO unit test for the property 'DefaultPointOfSaleTerminalId' + } + /// + /// Test the property 'PointOfSaleTerminalIds' + /// + [Test] + public void PointOfSaleTerminalIdsTest() + { + // TODO unit test for the property 'PointOfSaleTerminalIds' + } + /// + /// Test the property 'DisablePointOfSaleTerminalIdValidation' + /// + [Test] + public void DisablePointOfSaleTerminalIdValidationTest() + { + // TODO unit test for the property 'DisablePointOfSaleTerminalIdValidation' + } + /// + /// Test the property 'PinDebitNetworkOrder' + /// + [Test] + public void PinDebitNetworkOrderTest() + { + // TODO unit test for the property 'PinDebitNetworkOrder' + } + /// + /// Test the property 'PinDebitReimbursementCode' + /// + [Test] + public void PinDebitReimbursementCodeTest() + { + // TODO unit test for the property 'PinDebitReimbursementCode' + } + /// + /// Test the property 'FinancialInstitutionId' + /// + [Test] + public void FinancialInstitutionIdTest() + { + // TODO unit test for the property 'FinancialInstitutionId' + } + /// + /// Test the property 'EnablePinTranslation' + /// + [Test] + public void EnablePinTranslationTest() + { + // TODO unit test for the property 'EnablePinTranslation' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentTests.cs new file mode 100644 index 00000000..06a0a62e --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresentInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardPresent"); + } + + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + /// + /// Test the property 'EnableTerminalIdLookup' + /// + [Test] + public void EnableTerminalIdLookupTest() + { + // TODO unit test for the property 'EnableTerminalIdLookup' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesTests.cs new file mode 100644 index 00000000..118f7896 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeatures"); + } + + /// + /// Test the property 'CardNotPresent' + /// + [Test] + public void CardNotPresentTest() + { + // TODO unit test for the property 'CardNotPresent' + } + /// + /// Test the property 'CardPresent' + /// + [Test] + public void CardPresentTest() + { + // TODO unit test for the property 'CardPresent' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..a56567b9 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurations + //private PaymentProductsCardProcessingConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurations + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'Common' + /// + [Test] + public void CommonTest() + { + // TODO unit test for the property 'Common' + } + /// + /// Test the property 'Features' + /// + [Test] + public void FeaturesTest() + { + // TODO unit test for the property 'Features' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingConfigurationInformationTests.cs b/test/Model/PaymentProductsCardProcessingConfigurationInformationTests.cs new file mode 100644 index 00000000..6fd97a32 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformation + //private PaymentProductsCardProcessingConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformation + //instance = new PaymentProductsCardProcessingConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformation + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingMerchantDescriptorInformationTests.cs b/test/Model/PaymentProductsCardProcessingMerchantDescriptorInformationTests.cs new file mode 100644 index 00000000..4fd19bc8 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingMerchantDescriptorInformationTests.cs @@ -0,0 +1,134 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation"); + } + + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'City' + /// + [Test] + public void CityTest() + { + // TODO unit test for the property 'City' + } + /// + /// Test the property 'Country' + /// + [Test] + public void CountryTest() + { + // TODO unit test for the property 'Country' + } + /// + /// Test the property 'Phone' + /// + [Test] + public void PhoneTest() + { + // TODO unit test for the property 'Phone' + } + /// + /// Test the property 'State' + /// + [Test] + public void StateTest() + { + // TODO unit test for the property 'State' + } + /// + /// Test the property 'Street' + /// + [Test] + public void StreetTest() + { + // TODO unit test for the property 'Street' + } + /// + /// Test the property 'Zip' + /// + [Test] + public void ZipTest() + { + // TODO unit test for the property 'Zip' + } + /// + /// Test the property 'Url' + /// + [Test] + public void UrlTest() + { + // TODO unit test for the property 'Url' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingPayoutsCurrenciesTests.cs b/test/Model/PaymentProductsCardProcessingPayoutsCurrenciesTests.cs new file mode 100644 index 00000000..efd47d92 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingPayoutsCurrenciesTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrenciesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies + //private PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies + //instance = new PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies + /// + [Test] + public void PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrenciesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingConfigurationInformationConfigurationsFeaturesCardNotPresentPayoutsCurrencies"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'EnabledCardPresent' + /// + [Test] + public void EnabledCardPresentTest() + { + // TODO unit test for the property 'EnabledCardPresent' + } + /// + /// Test the property 'EnabledCardNotPresent' + /// + [Test] + public void EnabledCardNotPresentTest() + { + // TODO unit test for the property 'EnabledCardNotPresent' + } + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'TerminalId' + /// + [Test] + public void TerminalIdTest() + { + // TODO unit test for the property 'TerminalId' + } + /// + /// Test the property 'TerminalIds' + /// + [Test] + public void TerminalIdsTest() + { + // TODO unit test for the property 'TerminalIds' + } + /// + /// Test the property 'ServiceEnablementNumber' + /// + [Test] + public void ServiceEnablementNumberTest() + { + // TODO unit test for the property 'ServiceEnablementNumber' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingSubscriptionInformationFeaturesTests.cs b/test/Model/PaymentProductsCardProcessingSubscriptionInformationFeaturesTests.cs new file mode 100644 index 00000000..12ab5462 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingSubscriptionInformationFeaturesTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingSubscriptionInformationFeatures + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingSubscriptionInformationFeaturesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingSubscriptionInformationFeatures + //private PaymentProductsCardProcessingSubscriptionInformationFeatures instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingSubscriptionInformationFeatures + //instance = new PaymentProductsCardProcessingSubscriptionInformationFeatures(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingSubscriptionInformationFeatures + /// + [Test] + public void PaymentProductsCardProcessingSubscriptionInformationFeaturesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingSubscriptionInformationFeatures + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingSubscriptionInformationFeatures"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingSubscriptionInformationTests.cs b/test/Model/PaymentProductsCardProcessingSubscriptionInformationTests.cs new file mode 100644 index 00000000..a0550397 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingSubscriptionInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessingSubscriptionInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingSubscriptionInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessingSubscriptionInformation + //private PaymentProductsCardProcessingSubscriptionInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessingSubscriptionInformation + //instance = new PaymentProductsCardProcessingSubscriptionInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessingSubscriptionInformation + /// + [Test] + public void PaymentProductsCardProcessingSubscriptionInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessingSubscriptionInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessingSubscriptionInformation"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'SelfServiceability' + /// + [Test] + public void SelfServiceabilityTest() + { + // TODO unit test for the property 'SelfServiceability' + } + /// + /// Test the property 'Features' + /// + [Test] + public void FeaturesTest() + { + // TODO unit test for the property 'Features' + } + + } + +} diff --git a/test/Model/PaymentProductsCardProcessingTests.cs b/test/Model/PaymentProductsCardProcessingTests.cs new file mode 100644 index 00000000..946cd0f4 --- /dev/null +++ b/test/Model/PaymentProductsCardProcessingTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCardProcessing + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCardProcessingTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCardProcessing + //private PaymentProductsCardProcessing instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCardProcessing + //instance = new PaymentProductsCardProcessing(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCardProcessing + /// + [Test] + public void PaymentProductsCardProcessingInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCardProcessing + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCardProcessing"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessorsTests.cs b/test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessorsTests.cs new file mode 100644 index 00000000..f03d03d9 --- /dev/null +++ b/test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessorsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessorsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors + //private PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors + //instance = new PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors + /// + [Test] + public void PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors"); + } + + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'AcquirerId' + /// + [Test] + public void AcquirerIdTest() + { + // TODO unit test for the property 'AcquirerId' + } + + } + +} diff --git a/test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..91fcc58a --- /dev/null +++ b/test/Model/PaymentProductsCurrencyConversionConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCurrencyConversionConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCurrencyConversionConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCurrencyConversionConfigurationInformationConfigurations + //private PaymentProductsCurrencyConversionConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCurrencyConversionConfigurationInformationConfigurations + //instance = new PaymentProductsCurrencyConversionConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCurrencyConversionConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsCurrencyConversionConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCurrencyConversionConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCurrencyConversionConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + + } + +} diff --git a/test/Model/PaymentProductsCurrencyConversionConfigurationInformationTests.cs b/test/Model/PaymentProductsCurrencyConversionConfigurationInformationTests.cs new file mode 100644 index 00000000..ef56f7bd --- /dev/null +++ b/test/Model/PaymentProductsCurrencyConversionConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCurrencyConversionConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCurrencyConversionConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCurrencyConversionConfigurationInformation + //private PaymentProductsCurrencyConversionConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCurrencyConversionConfigurationInformation + //instance = new PaymentProductsCurrencyConversionConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCurrencyConversionConfigurationInformation + /// + [Test] + public void PaymentProductsCurrencyConversionConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCurrencyConversionConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCurrencyConversionConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsCurrencyConversionTests.cs b/test/Model/PaymentProductsCurrencyConversionTests.cs new file mode 100644 index 00000000..53ef43dd --- /dev/null +++ b/test/Model/PaymentProductsCurrencyConversionTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCurrencyConversion + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCurrencyConversionTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCurrencyConversion + //private PaymentProductsCurrencyConversion instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCurrencyConversion + //instance = new PaymentProductsCurrencyConversion(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCurrencyConversion + /// + [Test] + public void PaymentProductsCurrencyConversionInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCurrencyConversion + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCurrencyConversion"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsCybsReadyTerminalTests.cs b/test/Model/PaymentProductsCybsReadyTerminalTests.cs new file mode 100644 index 00000000..d314c766 --- /dev/null +++ b/test/Model/PaymentProductsCybsReadyTerminalTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsCybsReadyTerminal + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsCybsReadyTerminalTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsCybsReadyTerminal + //private PaymentProductsCybsReadyTerminal instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsCybsReadyTerminal + //instance = new PaymentProductsCybsReadyTerminal(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsCybsReadyTerminal + /// + [Test] + public void PaymentProductsCybsReadyTerminalInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsCybsReadyTerminal + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsCybsReadyTerminal"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsDifferentialFeeSubscriptionInformationFeaturesTests.cs b/test/Model/PaymentProductsDifferentialFeeSubscriptionInformationFeaturesTests.cs new file mode 100644 index 00000000..37a593d6 --- /dev/null +++ b/test/Model/PaymentProductsDifferentialFeeSubscriptionInformationFeaturesTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsDifferentialFeeSubscriptionInformationFeatures + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsDifferentialFeeSubscriptionInformationFeaturesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsDifferentialFeeSubscriptionInformationFeatures + //private PaymentProductsDifferentialFeeSubscriptionInformationFeatures instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsDifferentialFeeSubscriptionInformationFeatures + //instance = new PaymentProductsDifferentialFeeSubscriptionInformationFeatures(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsDifferentialFeeSubscriptionInformationFeatures + /// + [Test] + public void PaymentProductsDifferentialFeeSubscriptionInformationFeaturesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsDifferentialFeeSubscriptionInformationFeatures + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsDifferentialFeeSubscriptionInformationFeatures"); + } + + /// + /// Test the property 'Surcharge' + /// + [Test] + public void SurchargeTest() + { + // TODO unit test for the property 'Surcharge' + } + + } + +} diff --git a/test/Model/PaymentProductsDifferentialFeeSubscriptionInformationTests.cs b/test/Model/PaymentProductsDifferentialFeeSubscriptionInformationTests.cs new file mode 100644 index 00000000..7febd9b1 --- /dev/null +++ b/test/Model/PaymentProductsDifferentialFeeSubscriptionInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsDifferentialFeeSubscriptionInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsDifferentialFeeSubscriptionInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsDifferentialFeeSubscriptionInformation + //private PaymentProductsDifferentialFeeSubscriptionInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsDifferentialFeeSubscriptionInformation + //instance = new PaymentProductsDifferentialFeeSubscriptionInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsDifferentialFeeSubscriptionInformation + /// + [Test] + public void PaymentProductsDifferentialFeeSubscriptionInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsDifferentialFeeSubscriptionInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsDifferentialFeeSubscriptionInformation"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'SelfServiceability' + /// + [Test] + public void SelfServiceabilityTest() + { + // TODO unit test for the property 'SelfServiceability' + } + /// + /// Test the property 'Features' + /// + [Test] + public void FeaturesTest() + { + // TODO unit test for the property 'Features' + } + + } + +} diff --git a/test/Model/PaymentProductsDifferentialFeeTests.cs b/test/Model/PaymentProductsDifferentialFeeTests.cs new file mode 100644 index 00000000..9f24be85 --- /dev/null +++ b/test/Model/PaymentProductsDifferentialFeeTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsDifferentialFee + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsDifferentialFeeTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsDifferentialFee + //private PaymentProductsDifferentialFee instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsDifferentialFee + //instance = new PaymentProductsDifferentialFee(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsDifferentialFee + /// + [Test] + public void PaymentProductsDifferentialFeeInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsDifferentialFee + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsDifferentialFee"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsDigitalPaymentsSubscriptionInformationTests.cs b/test/Model/PaymentProductsDigitalPaymentsSubscriptionInformationTests.cs new file mode 100644 index 00000000..bbf9a691 --- /dev/null +++ b/test/Model/PaymentProductsDigitalPaymentsSubscriptionInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsDigitalPaymentsSubscriptionInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsDigitalPaymentsSubscriptionInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsDigitalPaymentsSubscriptionInformation + //private PaymentProductsDigitalPaymentsSubscriptionInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsDigitalPaymentsSubscriptionInformation + //instance = new PaymentProductsDigitalPaymentsSubscriptionInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsDigitalPaymentsSubscriptionInformation + /// + [Test] + public void PaymentProductsDigitalPaymentsSubscriptionInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsDigitalPaymentsSubscriptionInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsDigitalPaymentsSubscriptionInformation"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'SelfServiceability' + /// + [Test] + public void SelfServiceabilityTest() + { + // TODO unit test for the property 'SelfServiceability' + } + /// + /// Test the property 'Features' + /// + [Test] + public void FeaturesTest() + { + // TODO unit test for the property 'Features' + } + + } + +} diff --git a/test/Model/PaymentProductsDigitalPaymentsTests.cs b/test/Model/PaymentProductsDigitalPaymentsTests.cs new file mode 100644 index 00000000..ebf5abb4 --- /dev/null +++ b/test/Model/PaymentProductsDigitalPaymentsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsDigitalPayments + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsDigitalPaymentsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsDigitalPayments + //private PaymentProductsDigitalPayments instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsDigitalPayments + //instance = new PaymentProductsDigitalPayments(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsDigitalPayments + /// + [Test] + public void PaymentProductsDigitalPaymentsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsDigitalPayments + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsDigitalPayments"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessorsTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessorsTests.cs new file mode 100644 index 00000000..111e1b66 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessorsTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessorsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors + //private PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors"); + } + + /// + /// Test the property 'EnableCCS' + /// + [Test] + public void EnableCCSTest() + { + // TODO unit test for the property 'EnableCCS' + } + /// + /// Test the property 'TerminalId' + /// + [Test] + public void TerminalIdTest() + { + // TODO unit test for the property 'TerminalId' + } + /// + /// Test the property 'Enable15anTransactionReferenceNumber' + /// + [Test] + public void Enable15anTransactionReferenceNumberTest() + { + // TODO unit test for the property 'Enable15anTransactionReferenceNumber' + } + /// + /// Test the property 'PortalSupportedPaytypes' + /// + [Test] + public void PortalSupportedPaytypesTest() + { + // TODO unit test for the property 'PortalSupportedPaytypes' + } + /// + /// Test the property 'SetCompletedState' + /// + [Test] + public void SetCompletedStateTest() + { + // TODO unit test for the property 'SetCompletedState' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyTests.cs new file mode 100644 index 00000000..292f6240 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly + //private PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly"); + } + + /// + /// Test the property 'DisplayEcheckInfo' + /// + [Test] + public void DisplayEcheckInfoTest() + { + // TODO unit test for the property 'DisplayEcheckInfo' + } + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessorsTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessorsTests.cs new file mode 100644 index 00000000..64b4be55 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessorsTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessorsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors + //private PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors"); + } + + /// + /// Test the property 'CompanyEntryDescription' + /// + [Test] + public void CompanyEntryDescriptionTest() + { + // TODO unit test for the property 'CompanyEntryDescription' + } + /// + /// Test the property 'CompanyId' + /// + [Test] + public void CompanyIdTest() + { + // TODO unit test for the property 'CompanyId' + } + /// + /// Test the property 'BatchGroup' + /// + [Test] + public void BatchGroupTest() + { + // TODO unit test for the property 'BatchGroup' + } + /// + /// Test the property 'EnableAccuityForAvs' + /// + [Test] + public void EnableAccuityForAvsTest() + { + // TODO unit test for the property 'EnableAccuityForAvs' + } + /// + /// Test the property 'SetCompletedState' + /// + [Test] + public void SetCompletedStateTest() + { + // TODO unit test for the property 'SetCompletedState' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonTests.cs new file mode 100644 index 00000000..2744e588 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsCommonTests.cs @@ -0,0 +1,118 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsCommon + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsCommonTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsCommon + //private PaymentProductsECheckConfigurationInformationConfigurationsCommon instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommon + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsCommon(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsCommon + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsCommonInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsCommon + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsCommon"); + } + + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + /// + /// Test the property 'InternalOnly' + /// + [Test] + public void InternalOnlyTest() + { + // TODO unit test for the property 'InternalOnly' + } + /// + /// Test the property 'AccountHolderName' + /// + [Test] + public void AccountHolderNameTest() + { + // TODO unit test for the property 'AccountHolderName' + } + /// + /// Test the property 'AccountType' + /// + [Test] + public void AccountTypeTest() + { + // TODO unit test for the property 'AccountType' + } + /// + /// Test the property 'AccountRoutingNumber' + /// + [Test] + public void AccountRoutingNumberTest() + { + // TODO unit test for the property 'AccountRoutingNumber' + } + /// + /// Test the property 'AccountNumber' + /// + [Test] + public void AccountNumberTest() + { + // TODO unit test for the property 'AccountNumber' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceTests.cs new file mode 100644 index 00000000..3c7ab74c --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService + //private PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService"); + } + + /// + /// Test the property 'InternalOnly' + /// + [Test] + public void InternalOnlyTest() + { + // TODO unit test for the property 'InternalOnly' + } + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesTests.cs new file mode 100644 index 00000000..1bb51cd4 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsFeaturesTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsFeatures + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsFeatures + //private PaymentProductsECheckConfigurationInformationConfigurationsFeatures instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeatures + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsFeatures(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeatures + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsFeaturesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsFeatures + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsFeatures"); + } + + /// + /// Test the property 'AccountValidationService' + /// + [Test] + public void AccountValidationServiceTest() + { + // TODO unit test for the property 'AccountValidationService' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..d8e76009 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurations + //private PaymentProductsECheckConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurations + //instance = new PaymentProductsECheckConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'Common' + /// + [Test] + public void CommonTest() + { + // TODO unit test for the property 'Common' + } + /// + /// Test the property 'Underwriting' + /// + [Test] + public void UnderwritingTest() + { + // TODO unit test for the property 'Underwriting' + } + /// + /// Test the property 'Features' + /// + [Test] + public void FeaturesTest() + { + // TODO unit test for the property 'Features' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwritingTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwritingTests.cs new file mode 100644 index 00000000..dc949b37 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationConfigurationsUnderwritingTests.cs @@ -0,0 +1,150 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsUnderwritingTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting + //private PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsUnderwritingInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting"); + } + + /// + /// Test the property 'StandardEntryClassCodes' + /// + [Test] + public void StandardEntryClassCodesTest() + { + // TODO unit test for the property 'StandardEntryClassCodes' + } + /// + /// Test the property 'EnableHold' + /// + [Test] + public void EnableHoldTest() + { + // TODO unit test for the property 'EnableHold' + } + /// + /// Test the property 'MonthlyTotalTransactionAmountLimit' + /// + [Test] + public void MonthlyTotalTransactionAmountLimitTest() + { + // TODO unit test for the property 'MonthlyTotalTransactionAmountLimit' + } + /// + /// Test the property 'HoldingDays' + /// + [Test] + public void HoldingDaysTest() + { + // TODO unit test for the property 'HoldingDays' + } + /// + /// Test the property 'EnableCredits' + /// + [Test] + public void EnableCreditsTest() + { + // TODO unit test for the property 'EnableCredits' + } + /// + /// Test the property 'TransactionAmountLimit' + /// + [Test] + public void TransactionAmountLimitTest() + { + // TODO unit test for the property 'TransactionAmountLimit' + } + /// + /// Test the property 'RiskReserveMethod' + /// + [Test] + public void RiskReserveMethodTest() + { + // TODO unit test for the property 'RiskReserveMethod' + } + /// + /// Test the property 'RiskReserveRate' + /// + [Test] + public void RiskReserveRateTest() + { + // TODO unit test for the property 'RiskReserveRate' + } + /// + /// Test the property 'RiskReserveTargetAmount' + /// + [Test] + public void RiskReserveTargetAmountTest() + { + // TODO unit test for the property 'RiskReserveTargetAmount' + } + /// + /// Test the property 'SolutionOrganizationId' + /// + [Test] + public void SolutionOrganizationIdTest() + { + // TODO unit test for the property 'SolutionOrganizationId' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckConfigurationInformationTests.cs b/test/Model/PaymentProductsECheckConfigurationInformationTests.cs new file mode 100644 index 00000000..226ccae7 --- /dev/null +++ b/test/Model/PaymentProductsECheckConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformation + //private PaymentProductsECheckConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformation + //instance = new PaymentProductsECheckConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformation + /// + [Test] + public void PaymentProductsECheckConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckProcessorsTests.cs b/test/Model/PaymentProductsECheckProcessorsTests.cs new file mode 100644 index 00000000..76cfd722 --- /dev/null +++ b/test/Model/PaymentProductsECheckProcessorsTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessorsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors + //private PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceProcessors"); + } + + /// + /// Test the property 'AvsAccountOwnershipService' + /// + [Test] + public void AvsAccountOwnershipServiceTest() + { + // TODO unit test for the property 'AvsAccountOwnershipService' + } + /// + /// Test the property 'AvsAccountStatusService' + /// + [Test] + public void AvsAccountStatusServiceTest() + { + // TODO unit test for the property 'AvsAccountStatusService' + } + /// + /// Test the property 'AvsSignedAgreement' + /// + [Test] + public void AvsSignedAgreementTest() + { + // TODO unit test for the property 'AvsSignedAgreement' + } + /// + /// Test the property 'AvsAdditionalId' + /// + [Test] + public void AvsAdditionalIdTest() + { + // TODO unit test for the property 'AvsAdditionalId' + } + /// + /// Test the property 'EnableAvs' + /// + [Test] + public void EnableAvsTest() + { + // TODO unit test for the property 'EnableAvs' + } + /// + /// Test the property 'AvsEntityId' + /// + [Test] + public void AvsEntityIdTest() + { + // TODO unit test for the property 'AvsEntityId' + } + /// + /// Test the property 'EnableAvsTokenCreation' + /// + [Test] + public void EnableAvsTokenCreationTest() + { + // TODO unit test for the property 'EnableAvsTokenCreation' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckServiceInternalOnlyTests.cs b/test/Model/PaymentProductsECheckServiceInternalOnlyTests.cs new file mode 100644 index 00000000..b573458a --- /dev/null +++ b/test/Model/PaymentProductsECheckServiceInternalOnlyTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnlyTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly + //private PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly + //instance = new PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly + /// + [Test] + public void PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnlyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationServiceInternalOnly"); + } + + /// + /// Test the property 'Processors' + /// + [Test] + public void ProcessorsTest() + { + // TODO unit test for the property 'Processors' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckSubscriptionInformationTests.cs b/test/Model/PaymentProductsECheckSubscriptionInformationTests.cs new file mode 100644 index 00000000..1bfe3d8f --- /dev/null +++ b/test/Model/PaymentProductsECheckSubscriptionInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheckSubscriptionInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckSubscriptionInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheckSubscriptionInformation + //private PaymentProductsECheckSubscriptionInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheckSubscriptionInformation + //instance = new PaymentProductsECheckSubscriptionInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheckSubscriptionInformation + /// + [Test] + public void PaymentProductsECheckSubscriptionInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheckSubscriptionInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheckSubscriptionInformation"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'SelfServiceability' + /// + [Test] + public void SelfServiceabilityTest() + { + // TODO unit test for the property 'SelfServiceability' + } + /// + /// Test the property 'Mode' + /// + [Test] + public void ModeTest() + { + // TODO unit test for the property 'Mode' + } + + } + +} diff --git a/test/Model/PaymentProductsECheckTests.cs b/test/Model/PaymentProductsECheckTests.cs new file mode 100644 index 00000000..ff916e6e --- /dev/null +++ b/test/Model/PaymentProductsECheckTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsECheck + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsECheckTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsECheck + //private PaymentProductsECheck instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsECheck + //instance = new PaymentProductsECheck(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsECheck + /// + [Test] + public void PaymentProductsECheckInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsECheck + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsECheck"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthVerifiedByVisaCurrenciesTests.cs b/test/Model/PaymentProductsPayerAuthVerifiedByVisaCurrenciesTests.cs new file mode 100644 index 00000000..0851ca54 --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthVerifiedByVisaCurrenciesTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrenciesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies + //private PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies + //instance = new PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies + /// + [Test] + public void PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrenciesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies"); + } + + /// + /// Test the property 'CurrencyCodes' + /// + [Test] + public void CurrencyCodesTest() + { + // TODO unit test for the property 'CurrencyCodes' + } + /// + /// Test the property 'AcquirerId' + /// + [Test] + public void AcquirerIdTest() + { + // TODO unit test for the property 'AcquirerId' + } + /// + /// Test the property 'ProcessorMerchantId' + /// + [Test] + public void ProcessorMerchantIdTest() + { + // TODO unit test for the property 'ProcessorMerchantId' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCBTests.cs b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCBTests.cs new file mode 100644 index 00000000..2dc4f693 --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCBTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCBTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB + //private PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB + //instance = new PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB + /// + [Test] + public void PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCBInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB"); + } + + /// + /// Test the property 'RequestorId' + /// + [Test] + public void RequestorIdTest() + { + // TODO unit test for the property 'RequestorId' + } + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'Currencies' + /// + [Test] + public void CurrenciesTest() + { + // TODO unit test for the property 'Currencies' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecureTests.cs b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecureTests.cs new file mode 100644 index 00000000..26830675 --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecureTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecureTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure + //private PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure + //instance = new PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure + /// + [Test] + public void PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecureInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure"); + } + + /// + /// Test the property 'SecurePasswordForJCB' + /// + [Test] + public void SecurePasswordForJCBTest() + { + // TODO unit test for the property 'SecurePasswordForJCB' + } + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'Currencies' + /// + [Test] + public void CurrenciesTest() + { + // TODO unit test for the property 'Currencies' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesTests.cs b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesTests.cs new file mode 100644 index 00000000..a59470e5 --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesTests.cs @@ -0,0 +1,134 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes + //private PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes + //instance = new PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes + /// + [Test] + public void PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes"); + } + + /// + /// Test the property 'VerifiedByVisa' + /// + [Test] + public void VerifiedByVisaTest() + { + // TODO unit test for the property 'VerifiedByVisa' + } + /// + /// Test the property 'MasterCardSecureCode' + /// + [Test] + public void MasterCardSecureCodeTest() + { + // TODO unit test for the property 'MasterCardSecureCode' + } + /// + /// Test the property 'AmexSafeKey' + /// + [Test] + public void AmexSafeKeyTest() + { + // TODO unit test for the property 'AmexSafeKey' + } + /// + /// Test the property 'JCBJSecure' + /// + [Test] + public void JCBJSecureTest() + { + // TODO unit test for the property 'JCBJSecure' + } + /// + /// Test the property 'DinersClubInternationalProtectBuy' + /// + [Test] + public void DinersClubInternationalProtectBuyTest() + { + // TODO unit test for the property 'DinersClubInternationalProtectBuy' + } + /// + /// Test the property 'ELO' + /// + [Test] + public void ELOTest() + { + // TODO unit test for the property 'ELO' + } + /// + /// Test the property 'UPI' + /// + [Test] + public void UPITest() + { + // TODO unit test for the property 'UPI' + } + /// + /// Test the property 'CB' + /// + [Test] + public void CBTest() + { + // TODO unit test for the property 'CB' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaTests.cs b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaTests.cs new file mode 100644 index 00000000..2d2c71bf --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa + //private PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa + //instance = new PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa + /// + [Test] + public void PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'Currencies' + /// + [Test] + public void CurrenciesTest() + { + // TODO unit test for the property 'Currencies' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..43f608cd --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationConfigurationInformationConfigurations + //private PaymentProductsPayerAuthenticationConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurations + //instance = new PaymentProductsPayerAuthenticationConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsPayerAuthenticationConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'CardTypes' + /// + [Test] + public void CardTypesTest() + { + // TODO unit test for the property 'CardTypes' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationTests.cs b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationTests.cs new file mode 100644 index 00000000..93c86ec2 --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationConfigurationInformation + //private PaymentProductsPayerAuthenticationConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationConfigurationInformation + //instance = new PaymentProductsPayerAuthenticationConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationConfigurationInformation + /// + [Test] + public void PaymentProductsPayerAuthenticationConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationSubscriptionInformationTests.cs b/test/Model/PaymentProductsPayerAuthenticationSubscriptionInformationTests.cs new file mode 100644 index 00000000..50597008 --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationSubscriptionInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthenticationSubscriptionInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationSubscriptionInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthenticationSubscriptionInformation + //private PaymentProductsPayerAuthenticationSubscriptionInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthenticationSubscriptionInformation + //instance = new PaymentProductsPayerAuthenticationSubscriptionInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthenticationSubscriptionInformation + /// + [Test] + public void PaymentProductsPayerAuthenticationSubscriptionInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthenticationSubscriptionInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthenticationSubscriptionInformation"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'SelfServiceability' + /// + [Test] + public void SelfServiceabilityTest() + { + // TODO unit test for the property 'SelfServiceability' + } + + } + +} diff --git a/test/Model/PaymentProductsPayerAuthenticationTests.cs b/test/Model/PaymentProductsPayerAuthenticationTests.cs new file mode 100644 index 00000000..efa9ae24 --- /dev/null +++ b/test/Model/PaymentProductsPayerAuthenticationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayerAuthentication + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayerAuthenticationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayerAuthentication + //private PaymentProductsPayerAuthentication instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayerAuthentication + //instance = new PaymentProductsPayerAuthentication(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayerAuthentication + /// + [Test] + public void PaymentProductsPayerAuthenticationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayerAuthentication + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayerAuthentication"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccountTests.cs b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccountTests.cs new file mode 100644 index 00000000..d8cf3781 --- /dev/null +++ b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccountTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccountTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount + //private PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount + //instance = new PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount + /// + [Test] + public void PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccountInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayoutsConfigurationInformationConfigurationsProcessorAccount"); + } + + /// + /// Test the property 'OriginatorMerchantId' + /// + [Test] + public void OriginatorMerchantIdTest() + { + // TODO unit test for the property 'OriginatorMerchantId' + } + /// + /// Test the property 'OriginatorTerminalId' + /// + [Test] + public void OriginatorTerminalIdTest() + { + // TODO unit test for the property 'OriginatorTerminalId' + } + /// + /// Test the property 'SupportedCurrencies' + /// + [Test] + public void SupportedCurrenciesTest() + { + // TODO unit test for the property 'SupportedCurrencies' + } + + } + +} diff --git a/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfundsTests.cs b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfundsTests.cs new file mode 100644 index 00000000..6800cfc5 --- /dev/null +++ b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPullfundsTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayoutsConfigurationInformationConfigurationsPullfundsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds + //private PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds + //instance = new PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds + /// + [Test] + public void PaymentProductsPayoutsConfigurationInformationConfigurationsPullfundsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayoutsConfigurationInformationConfigurationsPullfunds"); + } + + /// + /// Test the property 'AcquirerOrganizationId' + /// + [Test] + public void AcquirerOrganizationIdTest() + { + // TODO unit test for the property 'AcquirerOrganizationId' + } + /// + /// Test the property 'AcquiringBIN' + /// + [Test] + public void AcquiringBINTest() + { + // TODO unit test for the property 'AcquiringBIN' + } + /// + /// Test the property 'AllowCryptoCurrencyPurchase' + /// + [Test] + public void AllowCryptoCurrencyPurchaseTest() + { + // TODO unit test for the property 'AllowCryptoCurrencyPurchase' + } + /// + /// Test the property 'CardAcceptorId' + /// + [Test] + public void CardAcceptorIdTest() + { + // TODO unit test for the property 'CardAcceptorId' + } + /// + /// Test the property 'OriginatorMvv' + /// + [Test] + public void OriginatorMvvTest() + { + // TODO unit test for the property 'OriginatorMvv' + } + /// + /// Test the property 'OriginatorNameAbbreviation' + /// + [Test] + public void OriginatorNameAbbreviationTest() + { + // TODO unit test for the property 'OriginatorNameAbbreviation' + } + /// + /// Test the property 'CardTerminalId' + /// + [Test] + public void CardTerminalIdTest() + { + // TODO unit test for the property 'CardTerminalId' + } + + } + +} diff --git a/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfundsTests.cs b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfundsTests.cs new file mode 100644 index 00000000..789fe6f9 --- /dev/null +++ b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsPushfundsTests.cs @@ -0,0 +1,142 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayoutsConfigurationInformationConfigurationsPushfundsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds + //private PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds + //instance = new PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds + /// + [Test] + public void PaymentProductsPayoutsConfigurationInformationConfigurationsPushfundsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayoutsConfigurationInformationConfigurationsPushfunds"); + } + + /// + /// Test the property 'AcquirerCountryCode' + /// + [Test] + public void AcquirerCountryCodeTest() + { + // TODO unit test for the property 'AcquirerCountryCode' + } + /// + /// Test the property 'AcquiringBIN' + /// + [Test] + public void AcquiringBINTest() + { + // TODO unit test for the property 'AcquiringBIN' + } + /// + /// Test the property 'AllowCryptoCurrencyPurchase' + /// + [Test] + public void AllowCryptoCurrencyPurchaseTest() + { + // TODO unit test for the property 'AllowCryptoCurrencyPurchase' + } + /// + /// Test the property 'FinancialInstitutionId' + /// + [Test] + public void FinancialInstitutionIdTest() + { + // TODO unit test for the property 'FinancialInstitutionId' + } + /// + /// Test the property 'NetworkOrder' + /// + [Test] + public void NetworkOrderTest() + { + // TODO unit test for the property 'NetworkOrder' + } + /// + /// Test the property 'NationalReimbursementFee' + /// + [Test] + public void NationalReimbursementFeeTest() + { + // TODO unit test for the property 'NationalReimbursementFee' + } + /// + /// Test the property 'OriginatorBusinessApplicationId' + /// + [Test] + public void OriginatorBusinessApplicationIdTest() + { + // TODO unit test for the property 'OriginatorBusinessApplicationId' + } + /// + /// Test the property 'OriginatorPseudoAbaNumber' + /// + [Test] + public void OriginatorPseudoAbaNumberTest() + { + // TODO unit test for the property 'OriginatorPseudoAbaNumber' + } + /// + /// Test the property 'ProcessorAccount' + /// + [Test] + public void ProcessorAccountTest() + { + // TODO unit test for the property 'ProcessorAccount' + } + + } + +} diff --git a/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..5ba8f2cd --- /dev/null +++ b/test/Model/PaymentProductsPayoutsConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayoutsConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayoutsConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayoutsConfigurationInformationConfigurations + //private PaymentProductsPayoutsConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayoutsConfigurationInformationConfigurations + //instance = new PaymentProductsPayoutsConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayoutsConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsPayoutsConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayoutsConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayoutsConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'Pullfunds' + /// + [Test] + public void PullfundsTest() + { + // TODO unit test for the property 'Pullfunds' + } + /// + /// Test the property 'Pushfunds' + /// + [Test] + public void PushfundsTest() + { + // TODO unit test for the property 'Pushfunds' + } + + } + +} diff --git a/test/Model/PaymentProductsPayoutsConfigurationInformationTests.cs b/test/Model/PaymentProductsPayoutsConfigurationInformationTests.cs new file mode 100644 index 00000000..501815fc --- /dev/null +++ b/test/Model/PaymentProductsPayoutsConfigurationInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayoutsConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayoutsConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayoutsConfigurationInformation + //private PaymentProductsPayoutsConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayoutsConfigurationInformation + //instance = new PaymentProductsPayoutsConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayoutsConfigurationInformation + /// + [Test] + public void PaymentProductsPayoutsConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayoutsConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayoutsConfigurationInformation"); + } + + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsPayoutsTests.cs b/test/Model/PaymentProductsPayoutsTests.cs new file mode 100644 index 00000000..68befad0 --- /dev/null +++ b/test/Model/PaymentProductsPayoutsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsPayouts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsPayoutsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsPayouts + //private PaymentProductsPayouts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsPayouts + //instance = new PaymentProductsPayouts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsPayouts + /// + [Test] + public void PaymentProductsPayoutsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsPayouts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsPayouts"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckoutTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckoutTests.cs new file mode 100644 index 00000000..a311cd97 --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckoutTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckoutTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckoutInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout"); + } + + /// + /// Test the property 'DisplayTaxAmount' + /// + [Test] + public void DisplayTaxAmountTest() + { + // TODO unit test for the property 'DisplayTaxAmount' + } + /// + /// Test the property 'TemplateType' + /// + [Test] + public void TemplateTypeTest() + { + // TODO unit test for the property 'TemplateType' + } + /// + /// Test the property 'ReturnToMerchantSiteUrl' + /// + [Test] + public void ReturnToMerchantSiteUrlTest() + { + // TODO unit test for the property 'ReturnToMerchantSiteUrl' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformationTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformationTests.cs new file mode 100644 index 00000000..91d39e1d --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformationTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation"); + } + + /// + /// Test the property 'Phone' + /// + [Test] + public void PhoneTest() + { + // TODO unit test for the property 'Phone' + } + /// + /// Test the property 'CompanyName' + /// + [Test] + public void CompanyNameTest() + { + // TODO unit test for the property 'CompanyName' + } + /// + /// Test the property 'Email' + /// + [Test] + public void EmailTest() + { + // TODO unit test for the property 'Email' + } + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsTests.cs new file mode 100644 index 00000000..6867d672 --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications"); + } + + /// + /// Test the property 'MerchantNotifications' + /// + [Test] + public void MerchantNotificationsTest() + { + // TODO unit test for the property 'MerchantNotifications' + } + /// + /// Test the property 'CustomerNotifications' + /// + [Test] + public void CustomerNotificationsTest() + { + // TODO unit test for the property 'CustomerNotifications' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethodsTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethodsTests.cs new file mode 100644 index 00000000..ca992665 --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethodsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethodsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethodsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods"); + } + + /// + /// Test the property 'EnabledPaymentMethods' + /// + [Test] + public void EnabledPaymentMethodsTest() + { + // TODO unit test for the property 'EnabledPaymentMethods' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscoverTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscoverTests.cs new file mode 100644 index 00000000..183b806c --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscoverTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscoverTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscoverInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover"); + } + + /// + /// Test the property 'CardVerificationNumberSupported' + /// + [Test] + public void CardVerificationNumberSupportedTest() + { + // TODO unit test for the property 'CardVerificationNumberSupported' + } + /// + /// Test the property 'CardVerificationNumberDisplay' + /// + [Test] + public void CardVerificationNumberDisplayTest() + { + // TODO unit test for the property 'CardVerificationNumberDisplay' + } + /// + /// Test the property 'PayerAuthenticationSupported' + /// + [Test] + public void PayerAuthenticationSupportedTest() + { + // TODO unit test for the property 'PayerAuthenticationSupported' + } + /// + /// Test the property 'SupportedCurrencies' + /// + [Test] + public void SupportedCurrenciesTest() + { + // TODO unit test for the property 'SupportedCurrencies' + } + /// + /// Test the property 'Method' + /// + [Test] + public void MethodTest() + { + // TODO unit test for the property 'Method' + } + /// + /// Test the property 'CardVerificationNumberRequired' + /// + [Test] + public void CardVerificationNumberRequiredTest() + { + // TODO unit test for the property 'CardVerificationNumberRequired' + } + /// + /// Test the property 'PayerAuthenticationEnabled' + /// + [Test] + public void PayerAuthenticationEnabledTest() + { + // TODO unit test for the property 'PayerAuthenticationEnabled' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesTests.cs new file mode 100644 index 00000000..c3637aee --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes"); + } + + /// + /// Test the property 'Discover' + /// + [Test] + public void DiscoverTest() + { + // TODO unit test for the property 'Discover' + } + /// + /// Test the property 'Amex' + /// + [Test] + public void AmexTest() + { + // TODO unit test for the property 'Amex' + } + /// + /// Test the property 'MasterCard' + /// + [Test] + public void MasterCardTest() + { + // TODO unit test for the property 'MasterCard' + } + /// + /// Test the property 'Visa' + /// + [Test] + public void VisaTest() + { + // TODO unit test for the property 'Visa' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesTests.cs new file mode 100644 index 00000000..dd35dafb --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes"); + } + + /// + /// Test the property 'CardTypes' + /// + [Test] + public void CardTypesTest() + { + // TODO unit test for the property 'CardTypes' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsServiceTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsServiceTests.cs new file mode 100644 index 00000000..bd16a80b --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsServiceTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsServiceTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsServiceInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsService"); + } + + /// + /// Test the property 'DecisionManagerVerboseEnabled' + /// + [Test] + public void DecisionManagerVerboseEnabledTest() + { + // TODO unit test for the property 'DecisionManagerVerboseEnabled' + } + /// + /// Test the property 'DeclinedRetryLimit' + /// + [Test] + public void DeclinedRetryLimitTest() + { + // TODO unit test for the property 'DeclinedRetryLimit' + } + /// + /// Test the property 'DecisionManagerEnabled' + /// + [Test] + public void DecisionManagerEnabledTest() + { + // TODO unit test for the property 'DecisionManagerEnabled' + } + /// + /// Test the property 'TokenizationEnabled' + /// + [Test] + public void TokenizationEnabledTest() + { + // TODO unit test for the property 'TokenizationEnabled' + } + /// + /// Test the property 'ReverseAuthOnAddressVerificationSystemFailure' + /// + [Test] + public void ReverseAuthOnAddressVerificationSystemFailureTest() + { + // TODO unit test for the property 'ReverseAuthOnAddressVerificationSystemFailure' + } + /// + /// Test the property 'DeviceFingerprintEnabled' + /// + [Test] + public void DeviceFingerprintEnabledTest() + { + // TODO unit test for the property 'DeviceFingerprintEnabled' + } + /// + /// Test the property 'ReverseAuthOnCardVerificationNumberFailure' + /// + [Test] + public void ReverseAuthOnCardVerificationNumberFailureTest() + { + // TODO unit test for the property 'ReverseAuthOnCardVerificationNumberFailure' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..c94e58f1 --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurations + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurations + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'ParentProfileId' + /// + [Test] + public void ParentProfileIdTest() + { + // TODO unit test for the property 'ParentProfileId' + } + /// + /// Test the property 'ContactInformation' + /// + [Test] + public void ContactInformationTest() + { + // TODO unit test for the property 'ContactInformation' + } + /// + /// Test the property 'Notifications' + /// + [Test] + public void NotificationsTest() + { + // TODO unit test for the property 'Notifications' + } + /// + /// Test the property 'Service' + /// + [Test] + public void ServiceTest() + { + // TODO unit test for the property 'Service' + } + /// + /// Test the property 'PaymentMethods' + /// + [Test] + public void PaymentMethodsTest() + { + // TODO unit test for the property 'PaymentMethods' + } + /// + /// Test the property 'Checkout' + /// + [Test] + public void CheckoutTest() + { + // TODO unit test for the property 'Checkout' + } + /// + /// Test the property 'PaymentTypes' + /// + [Test] + public void PaymentTypesTest() + { + // TODO unit test for the property 'PaymentTypes' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationTests.cs b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationTests.cs new file mode 100644 index 00000000..13f1e6ad --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformation + //private PaymentProductsSecureAcceptanceConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformation + //instance = new PaymentProductsSecureAcceptanceConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformation + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceCustomerNotificationsTests.cs b/test/Model/PaymentProductsSecureAcceptanceCustomerNotificationsTests.cs new file mode 100644 index 00000000..36f64f18 --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceCustomerNotificationsTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotificationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotificationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications"); + } + + /// + /// Test the property 'CustomReceiptPageEnabled' + /// + [Test] + public void CustomReceiptPageEnabledTest() + { + // TODO unit test for the property 'CustomReceiptPageEnabled' + } + /// + /// Test the property 'ReceiptEmailAddress' + /// + [Test] + public void ReceiptEmailAddressTest() + { + // TODO unit test for the property 'ReceiptEmailAddress' + } + /// + /// Test the property 'CustomerReceiptEmailEnabled' + /// + [Test] + public void CustomerReceiptEmailEnabledTest() + { + // TODO unit test for the property 'CustomerReceiptEmailEnabled' + } + /// + /// Test the property 'CustomCancelPage' + /// + [Test] + public void CustomCancelPageTest() + { + // TODO unit test for the property 'CustomCancelPage' + } + /// + /// Test the property 'CustomReceiptPage' + /// + [Test] + public void CustomReceiptPageTest() + { + // TODO unit test for the property 'CustomReceiptPage' + } + /// + /// Test the property 'CustomCancelPageEnabled' + /// + [Test] + public void CustomCancelPageEnabledTest() + { + // TODO unit test for the property 'CustomCancelPageEnabled' + } + /// + /// Test the property 'NotificationReceiptEmailEnabled' + /// + [Test] + public void NotificationReceiptEmailEnabledTest() + { + // TODO unit test for the property 'NotificationReceiptEmailEnabled' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceMerchantNotificationsTests.cs b/test/Model/PaymentProductsSecureAcceptanceMerchantNotificationsTests.cs new file mode 100644 index 00000000..0e11d945 --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceMerchantNotificationsTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotificationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications + //private PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications + //instance = new PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications + /// + [Test] + public void PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotificationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications"); + } + + /// + /// Test the property 'BackofficePostEnabled' + /// + [Test] + public void BackofficePostEnabledTest() + { + // TODO unit test for the property 'BackofficePostEnabled' + } + /// + /// Test the property 'BackofficeEmailAddress' + /// + [Test] + public void BackofficeEmailAddressTest() + { + // TODO unit test for the property 'BackofficeEmailAddress' + } + /// + /// Test the property 'BackofficeEmailEnabled' + /// + [Test] + public void BackofficeEmailEnabledTest() + { + // TODO unit test for the property 'BackofficeEmailEnabled' + } + /// + /// Test the property 'BackofficePostUrl' + /// + [Test] + public void BackofficePostUrlTest() + { + // TODO unit test for the property 'BackofficePostUrl' + } + /// + /// Test the property 'CardNumberFormat' + /// + [Test] + public void CardNumberFormatTest() + { + // TODO unit test for the property 'CardNumberFormat' + } + + } + +} diff --git a/test/Model/PaymentProductsSecureAcceptanceTests.cs b/test/Model/PaymentProductsSecureAcceptanceTests.cs new file mode 100644 index 00000000..f941d919 --- /dev/null +++ b/test/Model/PaymentProductsSecureAcceptanceTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsSecureAcceptance + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsSecureAcceptanceTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsSecureAcceptance + //private PaymentProductsSecureAcceptance instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsSecureAcceptance + //instance = new PaymentProductsSecureAcceptance(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsSecureAcceptance + /// + [Test] + public void PaymentProductsSecureAcceptanceInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsSecureAcceptance + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsSecureAcceptance"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsTaxTests.cs b/test/Model/PaymentProductsTaxTests.cs new file mode 100644 index 00000000..77ee9c9b --- /dev/null +++ b/test/Model/PaymentProductsTaxTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsTax + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsTaxTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsTax + //private PaymentProductsTax instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsTax + //instance = new PaymentProductsTax(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsTax + /// + [Test] + public void PaymentProductsTaxInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsTax + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsTax"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsTests.cs b/test/Model/PaymentProductsTests.cs new file mode 100644 index 00000000..c81803b7 --- /dev/null +++ b/test/Model/PaymentProductsTests.cs @@ -0,0 +1,206 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProducts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsTests + { + // TODO uncomment below to declare an instance variable for PaymentProducts + //private PaymentProducts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProducts + //instance = new PaymentProducts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProducts + /// + [Test] + public void PaymentProductsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProducts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProducts"); + } + + /// + /// Test the property 'CardProcessing' + /// + [Test] + public void CardProcessingTest() + { + // TODO unit test for the property 'CardProcessing' + } + /// + /// Test the property 'CardPresentConnect' + /// + [Test] + public void CardPresentConnectTest() + { + // TODO unit test for the property 'CardPresentConnect' + } + /// + /// Test the property 'CybsReadyTerminal' + /// + [Test] + public void CybsReadyTerminalTest() + { + // TODO unit test for the property 'CybsReadyTerminal' + } + /// + /// Test the property 'ECheck' + /// + [Test] + public void ECheckTest() + { + // TODO unit test for the property 'ECheck' + } + /// + /// Test the property 'PayerAuthentication' + /// + [Test] + public void PayerAuthenticationTest() + { + // TODO unit test for the property 'PayerAuthentication' + } + /// + /// Test the property 'DigitalPayments' + /// + [Test] + public void DigitalPaymentsTest() + { + // TODO unit test for the property 'DigitalPayments' + } + /// + /// Test the property 'SecureAcceptance' + /// + [Test] + public void SecureAcceptanceTest() + { + // TODO unit test for the property 'SecureAcceptance' + } + /// + /// Test the property 'VirtualTerminal' + /// + [Test] + public void VirtualTerminalTest() + { + // TODO unit test for the property 'VirtualTerminal' + } + /// + /// Test the property 'CurrencyConversion' + /// + [Test] + public void CurrencyConversionTest() + { + // TODO unit test for the property 'CurrencyConversion' + } + /// + /// Test the property 'Tax' + /// + [Test] + public void TaxTest() + { + // TODO unit test for the property 'Tax' + } + /// + /// Test the property 'CustomerInvoicing' + /// + [Test] + public void CustomerInvoicingTest() + { + // TODO unit test for the property 'CustomerInvoicing' + } + /// + /// Test the property 'RecurringBilling' + /// + [Test] + public void RecurringBillingTest() + { + // TODO unit test for the property 'RecurringBilling' + } + /// + /// Test the property 'PaymentOrchestration' + /// + [Test] + public void PaymentOrchestrationTest() + { + // TODO unit test for the property 'PaymentOrchestration' + } + /// + /// Test the property 'Payouts' + /// + [Test] + public void PayoutsTest() + { + // TODO unit test for the property 'Payouts' + } + /// + /// Test the property 'DifferentialFee' + /// + [Test] + public void DifferentialFeeTest() + { + // TODO unit test for the property 'DifferentialFee' + } + /// + /// Test the property 'PayByLink' + /// + [Test] + public void PayByLinkTest() + { + // TODO unit test for the property 'PayByLink' + } + /// + /// Test the property 'UnifiedCheckout' + /// + [Test] + public void UnifiedCheckoutTest() + { + // TODO unit test for the property 'UnifiedCheckout' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalCardNotPresentGlobalPaymentInformationTests.cs b/test/Model/PaymentProductsVirtualTerminalCardNotPresentGlobalPaymentInformationTests.cs new file mode 100644 index 00000000..71ec4ee1 --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalCardNotPresentGlobalPaymentInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformation"); + } + + /// + /// Test the property 'BasicInformation' + /// + [Test] + public void BasicInformationTest() + { + // TODO unit test for the property 'BasicInformation' + } + /// + /// Test the property 'PaymentInformation' + /// + [Test] + public void PaymentInformationTest() + { + // TODO unit test for the property 'PaymentInformation' + } + /// + /// Test the property 'MerchantDefinedDataFields' + /// + [Test] + public void MerchantDefinedDataFieldsTest() + { + // TODO unit test for the property 'MerchantDefinedDataFields' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationTests.cs b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationTests.cs new file mode 100644 index 00000000..23e6d51b --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformation"); + } + + /// + /// Test the property 'Header' + /// + [Test] + public void HeaderTest() + { + // TODO unit test for the property 'Header' + } + /// + /// Test the property 'OrderInformation' + /// + [Test] + public void OrderInformationTest() + { + // TODO unit test for the property 'OrderInformation' + } + /// + /// Test the property 'EmailReceipt' + /// + [Test] + public void EmailReceiptTest() + { + // TODO unit test for the property 'EmailReceipt' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentTests.cs b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentTests.cs new file mode 100644 index 00000000..61129052 --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresent"); + } + + /// + /// Test the property 'GlobalPaymentInformation' + /// + [Test] + public void GlobalPaymentInformationTest() + { + // TODO unit test for the property 'GlobalPaymentInformation' + } + /// + /// Test the property 'ReceiptInformation' + /// + [Test] + public void ReceiptInformationTest() + { + // TODO unit test for the property 'ReceiptInformation' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsTests.cs b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..b3b9eb4e --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurations + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurations + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurations + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'CardNotPresent' + /// + [Test] + public void CardNotPresentTest() + { + // TODO unit test for the property 'CardNotPresent' + } + /// + /// Test the property 'CardPresent' + /// + [Test] + public void CardPresentTest() + { + // TODO unit test for the property 'CardPresent' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalConfigurationInformationTests.cs b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationTests.cs new file mode 100644 index 00000000..813db4dd --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformation + //private PaymentProductsVirtualTerminalConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformation + //instance = new PaymentProductsVirtualTerminalConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformation + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalMerchantDefinedDataFieldsTests.cs b/test/Model/PaymentProductsVirtualTerminalMerchantDefinedDataFieldsTests.cs new file mode 100644 index 00000000..bb17dc75 --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalMerchantDefinedDataFieldsTests.cs @@ -0,0 +1,270 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFieldsTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFieldsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields"); + } + + /// + /// Test the property 'DisplayMerchantDefinedData1' + /// + [Test] + public void DisplayMerchantDefinedData1Test() + { + // TODO unit test for the property 'DisplayMerchantDefinedData1' + } + /// + /// Test the property 'DisplayMerchantDefinedData2' + /// + [Test] + public void DisplayMerchantDefinedData2Test() + { + // TODO unit test for the property 'DisplayMerchantDefinedData2' + } + /// + /// Test the property 'DisplayMerchantDefinedData3' + /// + [Test] + public void DisplayMerchantDefinedData3Test() + { + // TODO unit test for the property 'DisplayMerchantDefinedData3' + } + /// + /// Test the property 'DisplayMerchantDefinedData4' + /// + [Test] + public void DisplayMerchantDefinedData4Test() + { + // TODO unit test for the property 'DisplayMerchantDefinedData4' + } + /// + /// Test the property 'DisplayMerchantDefinedData5' + /// + [Test] + public void DisplayMerchantDefinedData5Test() + { + // TODO unit test for the property 'DisplayMerchantDefinedData5' + } + /// + /// Test the property 'MerchantDefinedData1DefaultValue' + /// + [Test] + public void MerchantDefinedData1DefaultValueTest() + { + // TODO unit test for the property 'MerchantDefinedData1DefaultValue' + } + /// + /// Test the property 'MerchantDefinedData1Label' + /// + [Test] + public void MerchantDefinedData1LabelTest() + { + // TODO unit test for the property 'MerchantDefinedData1Label' + } + /// + /// Test the property 'RequireMerchantDefinedData1' + /// + [Test] + public void RequireMerchantDefinedData1Test() + { + // TODO unit test for the property 'RequireMerchantDefinedData1' + } + /// + /// Test the property 'MerchantDefinedData2DefaultValue' + /// + [Test] + public void MerchantDefinedData2DefaultValueTest() + { + // TODO unit test for the property 'MerchantDefinedData2DefaultValue' + } + /// + /// Test the property 'MerchantDefinedData2Label' + /// + [Test] + public void MerchantDefinedData2LabelTest() + { + // TODO unit test for the property 'MerchantDefinedData2Label' + } + /// + /// Test the property 'RequireMerchantDefinedData2' + /// + [Test] + public void RequireMerchantDefinedData2Test() + { + // TODO unit test for the property 'RequireMerchantDefinedData2' + } + /// + /// Test the property 'MerchantDefinedData3DefaultValue' + /// + [Test] + public void MerchantDefinedData3DefaultValueTest() + { + // TODO unit test for the property 'MerchantDefinedData3DefaultValue' + } + /// + /// Test the property 'MerchantDefinedData3Label' + /// + [Test] + public void MerchantDefinedData3LabelTest() + { + // TODO unit test for the property 'MerchantDefinedData3Label' + } + /// + /// Test the property 'RequireMerchantDefinedData3' + /// + [Test] + public void RequireMerchantDefinedData3Test() + { + // TODO unit test for the property 'RequireMerchantDefinedData3' + } + /// + /// Test the property 'MerchantDefinedData4DefaultValue' + /// + [Test] + public void MerchantDefinedData4DefaultValueTest() + { + // TODO unit test for the property 'MerchantDefinedData4DefaultValue' + } + /// + /// Test the property 'MerchantDefinedData4Label' + /// + [Test] + public void MerchantDefinedData4LabelTest() + { + // TODO unit test for the property 'MerchantDefinedData4Label' + } + /// + /// Test the property 'RequireMerchantDefinedData4' + /// + [Test] + public void RequireMerchantDefinedData4Test() + { + // TODO unit test for the property 'RequireMerchantDefinedData4' + } + /// + /// Test the property 'MerchantDefinedData5DefaultValue' + /// + [Test] + public void MerchantDefinedData5DefaultValueTest() + { + // TODO unit test for the property 'MerchantDefinedData5DefaultValue' + } + /// + /// Test the property 'MerchantDefinedData5Label' + /// + [Test] + public void MerchantDefinedData5LabelTest() + { + // TODO unit test for the property 'MerchantDefinedData5Label' + } + /// + /// Test the property 'RequireMerchantDefinedData5' + /// + [Test] + public void RequireMerchantDefinedData5Test() + { + // TODO unit test for the property 'RequireMerchantDefinedData5' + } + /// + /// Test the property 'MerchantDefinedData1DisplayOnReceipt' + /// + [Test] + public void MerchantDefinedData1DisplayOnReceiptTest() + { + // TODO unit test for the property 'MerchantDefinedData1DisplayOnReceipt' + } + /// + /// Test the property 'MerchantDefinedData2DisplayOnReceipt' + /// + [Test] + public void MerchantDefinedData2DisplayOnReceiptTest() + { + // TODO unit test for the property 'MerchantDefinedData2DisplayOnReceipt' + } + /// + /// Test the property 'MerchantDefinedData3DisplayOnReceipt' + /// + [Test] + public void MerchantDefinedData3DisplayOnReceiptTest() + { + // TODO unit test for the property 'MerchantDefinedData3DisplayOnReceipt' + } + /// + /// Test the property 'MerchantDefinedData4DisplayOnReceipt' + /// + [Test] + public void MerchantDefinedData4DisplayOnReceiptTest() + { + // TODO unit test for the property 'MerchantDefinedData4DisplayOnReceipt' + } + /// + /// Test the property 'MerchantDefinedData5DisplayOnReceipt' + /// + [Test] + public void MerchantDefinedData5DisplayOnReceiptTest() + { + // TODO unit test for the property 'MerchantDefinedData5DisplayOnReceipt' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformationTests.cs b/test/Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformationTests.cs new file mode 100644 index 00000000..6e91fc7d --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalPaymentInformationBasicInformationTests.cs @@ -0,0 +1,142 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationBasicInformation"); + } + + /// + /// Test the property 'DefaultStandardEntryClassCode' + /// + [Test] + public void DefaultStandardEntryClassCodeTest() + { + // TODO unit test for the property 'DefaultStandardEntryClassCode' + } + /// + /// Test the property 'DefaultCountryCode' + /// + [Test] + public void DefaultCountryCodeTest() + { + // TODO unit test for the property 'DefaultCountryCode' + } + /// + /// Test the property 'DefaultCurrencyCode' + /// + [Test] + public void DefaultCurrencyCodeTest() + { + // TODO unit test for the property 'DefaultCurrencyCode' + } + /// + /// Test the property 'DefaultTransactionType' + /// + [Test] + public void DefaultTransactionTypeTest() + { + // TODO unit test for the property 'DefaultTransactionType' + } + /// + /// Test the property 'DefaultPaymentType' + /// + [Test] + public void DefaultPaymentTypeTest() + { + // TODO unit test for the property 'DefaultPaymentType' + } + /// + /// Test the property 'DefaultTransactionSource' + /// + [Test] + public void DefaultTransactionSourceTest() + { + // TODO unit test for the property 'DefaultTransactionSource' + } + /// + /// Test the property 'DisplayRetail' + /// + [Test] + public void DisplayRetailTest() + { + // TODO unit test for the property 'DisplayRetail' + } + /// + /// Test the property 'DisplayMoto' + /// + [Test] + public void DisplayMotoTest() + { + // TODO unit test for the property 'DisplayMoto' + } + /// + /// Test the property 'DisplayInternet' + /// + [Test] + public void DisplayInternetTest() + { + // TODO unit test for the property 'DisplayInternet' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalPaymentInformationTests.cs b/test/Model/PaymentProductsVirtualTerminalPaymentInformationTests.cs new file mode 100644 index 00000000..5af5fe3e --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalPaymentInformationTests.cs @@ -0,0 +1,174 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentGlobalPaymentInformationPaymentInformation"); + } + + /// + /// Test the property 'DisplayCardVerificationValue' + /// + [Test] + public void DisplayCardVerificationValueTest() + { + // TODO unit test for the property 'DisplayCardVerificationValue' + } + /// + /// Test the property 'RequireCardVerificationValue' + /// + [Test] + public void RequireCardVerificationValueTest() + { + // TODO unit test for the property 'RequireCardVerificationValue' + } + /// + /// Test the property 'AcceptedCardTypes' + /// + [Test] + public void AcceptedCardTypesTest() + { + // TODO unit test for the property 'AcceptedCardTypes' + } + /// + /// Test the property 'DisplayCreditCards' + /// + [Test] + public void DisplayCreditCardsTest() + { + // TODO unit test for the property 'DisplayCreditCards' + } + /// + /// Test the property 'DisplayEchecks' + /// + [Test] + public void DisplayEchecksTest() + { + // TODO unit test for the property 'DisplayEchecks' + } + /// + /// Test the property 'DisplayDebtIndicator' + /// + [Test] + public void DisplayDebtIndicatorTest() + { + // TODO unit test for the property 'DisplayDebtIndicator' + } + /// + /// Test the property 'DisplayBillPayment' + /// + [Test] + public void DisplayBillPaymentTest() + { + // TODO unit test for the property 'DisplayBillPayment' + } + /// + /// Test the property 'EnableEchecks' + /// + [Test] + public void EnableEchecksTest() + { + // TODO unit test for the property 'EnableEchecks' + } + /// + /// Test the property 'DisplayIgnoreECheckAvsCheckbox' + /// + [Test] + public void DisplayIgnoreECheckAvsCheckboxTest() + { + // TODO unit test for the property 'DisplayIgnoreECheckAvsCheckbox' + } + /// + /// Test the property 'FirstNameRequired' + /// + [Test] + public void FirstNameRequiredTest() + { + // TODO unit test for the property 'FirstNameRequired' + } + /// + /// Test the property 'LastNameRequired' + /// + [Test] + public void LastNameRequiredTest() + { + // TODO unit test for the property 'LastNameRequired' + } + /// + /// Test the property 'DisplayFirstName' + /// + [Test] + public void DisplayFirstNameTest() + { + // TODO unit test for the property 'DisplayFirstName' + } + /// + /// Test the property 'DisplayLastName' + /// + [Test] + public void DisplayLastNameTest() + { + // TODO unit test for the property 'DisplayLastName' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceiptTests.cs b/test/Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceiptTests.cs new file mode 100644 index 00000000..e0827975 --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalReceiptInformationEmailReceiptTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceiptTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceiptInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationEmailReceipt"); + } + + /// + /// Test the property 'SendersEmailAddress' + /// + [Test] + public void SendersEmailAddressTest() + { + // TODO unit test for the property 'SendersEmailAddress' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalReceiptInformationHeaderTests.cs b/test/Model/PaymentProductsVirtualTerminalReceiptInformationHeaderTests.cs new file mode 100644 index 00000000..7079744c --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalReceiptInformationHeaderTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeaderTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeaderInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationHeader"); + } + + /// + /// Test the property 'VirtualTerminalReceiptHeader' + /// + [Test] + public void VirtualTerminalReceiptHeaderTest() + { + // TODO unit test for the property 'VirtualTerminalReceiptHeader' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformationTests.cs b/test/Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformationTests.cs new file mode 100644 index 00000000..a9dc9970 --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalReceiptInformationOrderInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformationTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation + //private PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation + //instance = new PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation + /// + [Test] + public void PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminalConfigurationInformationConfigurationsCardNotPresentReceiptInformationOrderInformation"); + } + + /// + /// Test the property 'EmailAliasName' + /// + [Test] + public void EmailAliasNameTest() + { + // TODO unit test for the property 'EmailAliasName' + } + /// + /// Test the property 'CustomReplyToEmailAddress' + /// + [Test] + public void CustomReplyToEmailAddressTest() + { + // TODO unit test for the property 'CustomReplyToEmailAddress' + } + + } + +} diff --git a/test/Model/PaymentProductsVirtualTerminalTests.cs b/test/Model/PaymentProductsVirtualTerminalTests.cs new file mode 100644 index 00000000..67de04b6 --- /dev/null +++ b/test/Model/PaymentProductsVirtualTerminalTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PaymentProductsVirtualTerminal + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PaymentProductsVirtualTerminalTests + { + // TODO uncomment below to declare an instance variable for PaymentProductsVirtualTerminal + //private PaymentProductsVirtualTerminal instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PaymentProductsVirtualTerminal + //instance = new PaymentProductsVirtualTerminal(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PaymentProductsVirtualTerminal + /// + [Test] + public void PaymentProductsVirtualTerminalInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PaymentProductsVirtualTerminal + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PaymentProductsVirtualTerminal"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/PostRegistrationBodyTests.cs b/test/Model/PostRegistrationBodyTests.cs new file mode 100644 index 00000000..c540e08e --- /dev/null +++ b/test/Model/PostRegistrationBodyTests.cs @@ -0,0 +1,110 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PostRegistrationBody + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PostRegistrationBodyTests + { + // TODO uncomment below to declare an instance variable for PostRegistrationBody + //private PostRegistrationBody instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PostRegistrationBody + //instance = new PostRegistrationBody(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PostRegistrationBody + /// + [Test] + public void PostRegistrationBodyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PostRegistrationBody + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PostRegistrationBody"); + } + + /// + /// Test the property 'RegistrationInformation' + /// + [Test] + public void RegistrationInformationTest() + { + // TODO unit test for the property 'RegistrationInformation' + } + /// + /// Test the property 'IntegrationInformation' + /// + [Test] + public void IntegrationInformationTest() + { + // TODO unit test for the property 'IntegrationInformation' + } + /// + /// Test the property 'OrganizationInformation' + /// + [Test] + public void OrganizationInformationTest() + { + // TODO unit test for the property 'OrganizationInformation' + } + /// + /// Test the property 'ProductInformation' + /// + [Test] + public void ProductInformationTest() + { + // TODO unit test for the property 'ProductInformation' + } + /// + /// Test the property 'DocumentInformation' + /// + [Test] + public void DocumentInformationTest() + { + // TODO unit test for the property 'DocumentInformation' + } + + } + +} diff --git a/test/Model/PtsV2PaymentsPost201ResponseIssuerInformationTests.cs b/test/Model/PtsV2PaymentsPost201ResponseIssuerInformationTests.cs index 4cdf313b..6456c8bd 100644 --- a/test/Model/PtsV2PaymentsPost201ResponseIssuerInformationTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponseIssuerInformationTests.cs @@ -96,6 +96,14 @@ public void ResponseCodeTest() { // TODO unit test for the property 'ResponseCode' } + /// + /// Test the property 'PinRequestIndicator' + /// + [Test] + public void PinRequestIndicatorTest() + { + // TODO unit test for the property 'PinRequestIndicator' + } } diff --git a/test/Model/Ptsv2paymentsConsumerAuthenticationInformationTests.cs b/test/Model/Ptsv2paymentsConsumerAuthenticationInformationTests.cs index ef9798f6..8990ec1a 100644 --- a/test/Model/Ptsv2paymentsConsumerAuthenticationInformationTests.cs +++ b/test/Model/Ptsv2paymentsConsumerAuthenticationInformationTests.cs @@ -73,6 +73,14 @@ public void CavvTest() // TODO unit test for the property 'Cavv' } /// + /// Test the property 'TransactionFlowIndicator' + /// + [Test] + public void TransactionFlowIndicatorTest() + { + // TODO unit test for the property 'TransactionFlowIndicator' + } + /// /// Test the property 'CavvAlgorithm' /// [Test] diff --git a/test/Model/Ptsv2paymentsMerchantDefinedSecureInformationTests.cs b/test/Model/Ptsv2paymentsMerchantDefinedSecureInformationTests.cs new file mode 100644 index 00000000..fccc7fc8 --- /dev/null +++ b/test/Model/Ptsv2paymentsMerchantDefinedSecureInformationTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Ptsv2paymentsMerchantDefinedSecureInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Ptsv2paymentsMerchantDefinedSecureInformationTests + { + // TODO uncomment below to declare an instance variable for Ptsv2paymentsMerchantDefinedSecureInformation + //private Ptsv2paymentsMerchantDefinedSecureInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Ptsv2paymentsMerchantDefinedSecureInformation + //instance = new Ptsv2paymentsMerchantDefinedSecureInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Ptsv2paymentsMerchantDefinedSecureInformation + /// + [Test] + public void Ptsv2paymentsMerchantDefinedSecureInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Ptsv2paymentsMerchantDefinedSecureInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Ptsv2paymentsMerchantDefinedSecureInformation"); + } + + /// + /// Test the property 'Secure1' + /// + [Test] + public void Secure1Test() + { + // TODO unit test for the property 'Secure1' + } + /// + /// Test the property 'Secure2' + /// + [Test] + public void Secure2Test() + { + // TODO unit test for the property 'Secure2' + } + /// + /// Test the property 'Secure3' + /// + [Test] + public void Secure3Test() + { + // TODO unit test for the property 'Secure3' + } + /// + /// Test the property 'Secure4' + /// + [Test] + public void Secure4Test() + { + // TODO unit test for the property 'Secure4' + } + + } + +} diff --git a/test/Model/Ptsv2paymentsProcessingInformationTests.cs b/test/Model/Ptsv2paymentsProcessingInformationTests.cs index cc9448af..b184bdc0 100644 --- a/test/Model/Ptsv2paymentsProcessingInformationTests.cs +++ b/test/Model/Ptsv2paymentsProcessingInformationTests.cs @@ -320,6 +320,14 @@ public void IsReturnAuthRecordEnabledTest() { // TODO unit test for the property 'IsReturnAuthRecordEnabled' } + /// + /// Test the property 'NetworkPartnerId' + /// + [Test] + public void NetworkPartnerIdTest() + { + // TODO unit test for the property 'NetworkPartnerId' + } } diff --git a/test/Model/Ptsv2paymentsTravelInformationTests.cs b/test/Model/Ptsv2paymentsTravelInformationTests.cs index ad6c53df..cd297b68 100644 --- a/test/Model/Ptsv2paymentsTravelInformationTests.cs +++ b/test/Model/Ptsv2paymentsTravelInformationTests.cs @@ -104,6 +104,14 @@ public void TransitTest() { // TODO unit test for the property 'Transit' } + /// + /// Test the property 'VehicleData' + /// + [Test] + public void VehicleDataTest() + { + // TODO unit test for the property 'VehicleData' + } } diff --git a/test/Model/Ptsv2paymentsTravelInformationVehicleDataTests.cs b/test/Model/Ptsv2paymentsTravelInformationVehicleDataTests.cs new file mode 100644 index 00000000..f2332ae1 --- /dev/null +++ b/test/Model/Ptsv2paymentsTravelInformationVehicleDataTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Ptsv2paymentsTravelInformationVehicleData + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Ptsv2paymentsTravelInformationVehicleDataTests + { + // TODO uncomment below to declare an instance variable for Ptsv2paymentsTravelInformationVehicleData + //private Ptsv2paymentsTravelInformationVehicleData instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Ptsv2paymentsTravelInformationVehicleData + //instance = new Ptsv2paymentsTravelInformationVehicleData(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Ptsv2paymentsTravelInformationVehicleData + /// + [Test] + public void Ptsv2paymentsTravelInformationVehicleDataInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Ptsv2paymentsTravelInformationVehicleData + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Ptsv2paymentsTravelInformationVehicleData"); + } + + /// + /// Test the property 'ConnectorType' + /// + [Test] + public void ConnectorTypeTest() + { + // TODO unit test for the property 'ConnectorType' + } + /// + /// Test the property 'ChargingReasonCode' + /// + [Test] + public void ChargingReasonCodeTest() + { + // TODO unit test for the property 'ChargingReasonCode' + } + + } + +} diff --git a/test/Model/Ptsv2payoutsMerchantInformationMerchantDescriptorTests.cs b/test/Model/Ptsv2payoutsMerchantInformationMerchantDescriptorTests.cs index 404e8ef1..4b6cd495 100644 --- a/test/Model/Ptsv2payoutsMerchantInformationMerchantDescriptorTests.cs +++ b/test/Model/Ptsv2payoutsMerchantInformationMerchantDescriptorTests.cs @@ -112,6 +112,14 @@ public void ContactTest() { // TODO unit test for the property 'Contact' } + /// + /// Test the property 'Address1' + /// + [Test] + public void Address1Test() + { + // TODO unit test for the property 'Address1' + } } diff --git a/test/Model/ReplayWebhooksTests.cs b/test/Model/ReplayWebhooksTests.cs new file mode 100644 index 00000000..6fdc0877 --- /dev/null +++ b/test/Model/ReplayWebhooksTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing ReplayWebhooks + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class ReplayWebhooksTests + { + // TODO uncomment below to declare an instance variable for ReplayWebhooks + //private ReplayWebhooks instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of ReplayWebhooks + //instance = new ReplayWebhooks(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of ReplayWebhooks + /// + [Test] + public void ReplayWebhooksInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ReplayWebhooks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ReplayWebhooks"); + } + + /// + /// Test the property 'ByTransactionTraceIdentifiers' + /// + [Test] + public void ByTransactionTraceIdentifiersTest() + { + // TODO unit test for the property 'ByTransactionTraceIdentifiers' + } + /// + /// Test the property 'ByDeliveryStatus' + /// + [Test] + public void ByDeliveryStatusTest() + { + // TODO unit test for the property 'ByDeliveryStatus' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganizationTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganizationTests.cs new file mode 100644 index 00000000..9af20286 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganizationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganizationTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganizationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsOrganization"); + } + + /// + /// Test the property 'HierarchyGroup' + /// + [Test] + public void HierarchyGroupTest() + { + // TODO unit test for the property 'HierarchyGroup' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControlsTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControlsTests.cs new file mode 100644 index 00000000..6060ced7 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControlsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControlsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControlsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsPortfolioControls"); + } + + /// + /// Test the property 'HideRiskMenus' + /// + [Test] + public void HideRiskMenusTest() + { + // TODO unit test for the property 'HideRiskMenus' + } + /// + /// Test the property 'HideRiskTransactionData' + /// + [Test] + public void HideRiskTransactionDataTest() + { + // TODO unit test for the property 'HideRiskTransactionData' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptionsTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptionsTests.cs new file mode 100644 index 00000000..fd0bfe56 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptionsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptionsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptionsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsProcessingOptions"); + } + + /// + /// Test the property 'StepUpAuthEnabled' + /// + [Test] + public void StepUpAuthEnabledTest() + { + // TODO unit test for the property 'StepUpAuthEnabled' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsTests.cs new file mode 100644 index 00000000..6f4cd448 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurations + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurations + //private RiskProductsDecisionManagerConfigurationInformationConfigurations instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurations + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurations(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurations + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurations"); + } + + /// + /// Test the property 'ProcessingOptions' + /// + [Test] + public void ProcessingOptionsTest() + { + // TODO unit test for the property 'ProcessingOptions' + } + /// + /// Test the property 'Organization' + /// + [Test] + public void OrganizationTest() + { + // TODO unit test for the property 'Organization' + } + /// + /// Test the property 'PortfolioControls' + /// + [Test] + public void PortfolioControlsTest() + { + // TODO unit test for the property 'PortfolioControls' + } + /// + /// Test the property 'Thirdparty' + /// + [Test] + public void ThirdpartyTest() + { + // TODO unit test for the property 'Thirdparty' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintTests.cs new file mode 100644 index 00000000..d766eef3 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurint"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'Credentials' + /// + [Test] + public void CredentialsTest() + { + // TODO unit test for the property 'Credentials' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkTests.cs new file mode 100644 index 00000000..eaf0cbac --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilink"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'EnableRealTime' + /// + [Test] + public void EnableRealTimeTest() + { + // TODO unit test for the property 'EnableRealTime' + } + /// + /// Test the property 'UseCybsCredentials' + /// + [Test] + public void UseCybsCredentialsTest() + { + // TODO unit test for the property 'UseCybsCredentials' + } + /// + /// Test the property 'Credentials' + /// + [Test] + public void CredentialsTest() + { + // TODO unit test for the property 'Credentials' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentialsTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentialsTests.cs new file mode 100644 index 00000000..193ed447 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentialsTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentialsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentialsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataCredentials"); + } + + /// + /// Test the property 'ApiKey' + /// + [Test] + public void ApiKeyTest() + { + // TODO unit test for the property 'ApiKey' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataTests.cs new file mode 100644 index 00000000..95129d5c --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkataInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEkata"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'EnableRealTime' + /// + [Test] + public void EnableRealTimeTest() + { + // TODO unit test for the property 'EnableRealTime' + } + /// + /// Test the property 'UseCybsCredentials' + /// + [Test] + public void UseCybsCredentialsTest() + { + // TODO unit test for the property 'UseCybsCredentials' + } + /// + /// Test the property 'Credentials' + /// + [Test] + public void CredentialsTest() + { + // TODO unit test for the property 'Credentials' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailageTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailageTests.cs new file mode 100644 index 00000000..a170fd6c --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailageTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailageTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailageInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderEmailage"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'EnableRealTime' + /// + [Test] + public void EnableRealTimeTest() + { + // TODO unit test for the property 'EnableRealTime' + } + /// + /// Test the property 'UseCybsCredentials' + /// + [Test] + public void UseCybsCredentialsTest() + { + // TODO unit test for the property 'UseCybsCredentials' + } + /// + /// Test the property 'Credentials' + /// + [Test] + public void CredentialsTest() + { + // TODO unit test for the property 'Credentials' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseussTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseussTests.cs new file mode 100644 index 00000000..ec731925 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseussTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseussTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseussInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderPerseuss"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'EnableRealTime' + /// + [Test] + public void EnableRealTimeTest() + { + // TODO unit test for the property 'EnableRealTime' + } + /// + /// Test the property 'Credentials' + /// + [Test] + public void CredentialsTest() + { + // TODO unit test for the property 'Credentials' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydTests.cs new file mode 100644 index 00000000..19d65b30 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifyd"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'Credentials' + /// + [Test] + public void CredentialsTest() + { + // TODO unit test for the property 'Credentials' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentialsTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentialsTests.cs new file mode 100644 index 00000000..6ea399e7 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentialsTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentialsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentialsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusCredentials"); + } + + /// + /// Test the property 'Username' + /// + [Test] + public void UsernameTest() + { + // TODO unit test for the property 'Username' + } + /// + /// Test the property 'Password' + /// + [Test] + public void PasswordTest() + { + // TODO unit test for the property 'Password' + } + /// + /// Test the property 'ServiceId' + /// + [Test] + public void ServiceIdTest() + { + // TODO unit test for the property 'ServiceId' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusTests.cs new file mode 100644 index 00000000..f78188e5 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargusInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTargus"); + } + + /// + /// Test the property 'Enabled' + /// + [Test] + public void EnabledTest() + { + // TODO unit test for the property 'Enabled' + } + /// + /// Test the property 'UseCybsCredentials' + /// + [Test] + public void UseCybsCredentialsTest() + { + // TODO unit test for the property 'UseCybsCredentials' + } + /// + /// Test the property 'Credentials' + /// + [Test] + public void CredentialsTest() + { + // TODO unit test for the property 'Credentials' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTests.cs new file mode 100644 index 00000000..79277a49 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTests.cs @@ -0,0 +1,126 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProvider"); + } + + /// + /// Test the property 'Accurint' + /// + [Test] + public void AccurintTest() + { + // TODO unit test for the property 'Accurint' + } + /// + /// Test the property 'Credilink' + /// + [Test] + public void CredilinkTest() + { + // TODO unit test for the property 'Credilink' + } + /// + /// Test the property 'Ekata' + /// + [Test] + public void EkataTest() + { + // TODO unit test for the property 'Ekata' + } + /// + /// Test the property 'Emailage' + /// + [Test] + public void EmailageTest() + { + // TODO unit test for the property 'Emailage' + } + /// + /// Test the property 'Perseuss' + /// + [Test] + public void PerseussTest() + { + // TODO unit test for the property 'Perseuss' + } + /// + /// Test the property 'Signifyd' + /// + [Test] + public void SignifydTest() + { + // TODO unit test for the property 'Signifyd' + } + /// + /// Test the property 'Targus' + /// + [Test] + public void TargusTest() + { + // TODO unit test for the property 'Targus' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyTests.cs new file mode 100644 index 00000000..cf83b691 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdparty"); + } + + /// + /// Test the property 'Provider' + /// + [Test] + public void ProviderTest() + { + // TODO unit test for the property 'Provider' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerConfigurationInformationTests.cs b/test/Model/RiskProductsDecisionManagerConfigurationInformationTests.cs new file mode 100644 index 00000000..811e68ce --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerConfigurationInformationTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformation + //private RiskProductsDecisionManagerConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformation + //instance = new RiskProductsDecisionManagerConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformation + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + /// + /// Test the property 'Configurations' + /// + [Test] + public void ConfigurationsTest() + { + // TODO unit test for the property 'Configurations' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerTests.cs b/test/Model/RiskProductsDecisionManagerTests.cs new file mode 100644 index 00000000..1dedbe5d --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManager + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManager + //private RiskProductsDecisionManager instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManager + //instance = new RiskProductsDecisionManager(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManager + /// + [Test] + public void RiskProductsDecisionManagerInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManager + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManager"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerThirdpartyAccurintCredentialsTests.cs b/test/Model/RiskProductsDecisionManagerThirdpartyAccurintCredentialsTests.cs new file mode 100644 index 00000000..512b6ffc --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerThirdpartyAccurintCredentialsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentialsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentialsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderAccurintCredentials"); + } + + /// + /// Test the property 'Username' + /// + [Test] + public void UsernameTest() + { + // TODO unit test for the property 'Username' + } + /// + /// Test the property 'Password' + /// + [Test] + public void PasswordTest() + { + // TODO unit test for the property 'Password' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerThirdpartyCredilinkCredentialsTests.cs b/test/Model/RiskProductsDecisionManagerThirdpartyCredilinkCredentialsTests.cs new file mode 100644 index 00000000..6df61d09 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerThirdpartyCredilinkCredentialsTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentialsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentialsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderCredilinkCredentials"); + } + + /// + /// Test the property 'Username' + /// + [Test] + public void UsernameTest() + { + // TODO unit test for the property 'Username' + } + /// + /// Test the property 'Password' + /// + [Test] + public void PasswordTest() + { + // TODO unit test for the property 'Password' + } + /// + /// Test the property 'Sigla' + /// + [Test] + public void SiglaTest() + { + // TODO unit test for the property 'Sigla' + } + + } + +} diff --git a/test/Model/RiskProductsDecisionManagerThirdpartySignifydCredentialsTests.cs b/test/Model/RiskProductsDecisionManagerThirdpartySignifydCredentialsTests.cs new file mode 100644 index 00000000..3633f929 --- /dev/null +++ b/test/Model/RiskProductsDecisionManagerThirdpartySignifydCredentialsTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentialsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials + //private RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials + //instance = new RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials + /// + [Test] + public void RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentialsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsDecisionManagerConfigurationInformationConfigurationsThirdpartyProviderSignifydCredentials"); + } + + /// + /// Test the property 'TeamId' + /// + [Test] + public void TeamIdTest() + { + // TODO unit test for the property 'TeamId' + } + /// + /// Test the property 'ApiKey' + /// + [Test] + public void ApiKeyTest() + { + // TODO unit test for the property 'ApiKey' + } + /// + /// Test the property 'SecretKeyid' + /// + [Test] + public void SecretKeyidTest() + { + // TODO unit test for the property 'SecretKeyid' + } + /// + /// Test the property 'SecretKey' + /// + [Test] + public void SecretKeyTest() + { + // TODO unit test for the property 'SecretKey' + } + + } + +} diff --git a/test/Model/RiskProductsFraudManagementEssentialsConfigurationInformationTests.cs b/test/Model/RiskProductsFraudManagementEssentialsConfigurationInformationTests.cs new file mode 100644 index 00000000..9fc95466 --- /dev/null +++ b/test/Model/RiskProductsFraudManagementEssentialsConfigurationInformationTests.cs @@ -0,0 +1,78 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsFraudManagementEssentialsConfigurationInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsFraudManagementEssentialsConfigurationInformationTests + { + // TODO uncomment below to declare an instance variable for RiskProductsFraudManagementEssentialsConfigurationInformation + //private RiskProductsFraudManagementEssentialsConfigurationInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsFraudManagementEssentialsConfigurationInformation + //instance = new RiskProductsFraudManagementEssentialsConfigurationInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsFraudManagementEssentialsConfigurationInformation + /// + [Test] + public void RiskProductsFraudManagementEssentialsConfigurationInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsFraudManagementEssentialsConfigurationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsFraudManagementEssentialsConfigurationInformation"); + } + + /// + /// Test the property 'TemplateId' + /// + [Test] + public void TemplateIdTest() + { + // TODO unit test for the property 'TemplateId' + } + + } + +} diff --git a/test/Model/RiskProductsFraudManagementEssentialsTests.cs b/test/Model/RiskProductsFraudManagementEssentialsTests.cs new file mode 100644 index 00000000..57ee228e --- /dev/null +++ b/test/Model/RiskProductsFraudManagementEssentialsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProductsFraudManagementEssentials + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsFraudManagementEssentialsTests + { + // TODO uncomment below to declare an instance variable for RiskProductsFraudManagementEssentials + //private RiskProductsFraudManagementEssentials instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProductsFraudManagementEssentials + //instance = new RiskProductsFraudManagementEssentials(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProductsFraudManagementEssentials + /// + [Test] + public void RiskProductsFraudManagementEssentialsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProductsFraudManagementEssentials + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProductsFraudManagementEssentials"); + } + + /// + /// Test the property 'SubscriptionInformation' + /// + [Test] + public void SubscriptionInformationTest() + { + // TODO unit test for the property 'SubscriptionInformation' + } + /// + /// Test the property 'ConfigurationInformation' + /// + [Test] + public void ConfigurationInformationTest() + { + // TODO unit test for the property 'ConfigurationInformation' + } + + } + +} diff --git a/test/Model/RiskProductsTests.cs b/test/Model/RiskProductsTests.cs new file mode 100644 index 00000000..36822322 --- /dev/null +++ b/test/Model/RiskProductsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing RiskProducts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class RiskProductsTests + { + // TODO uncomment below to declare an instance variable for RiskProducts + //private RiskProducts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of RiskProducts + //instance = new RiskProducts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of RiskProducts + /// + [Test] + public void RiskProductsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" RiskProducts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskProducts"); + } + + /// + /// Test the property 'FraudManagementEssentials' + /// + [Test] + public void FraudManagementEssentialsTest() + { + // TODO unit test for the property 'FraudManagementEssentials' + } + /// + /// Test the property 'DecisionManager' + /// + [Test] + public void DecisionManagerTest() + { + // TODO unit test for the property 'DecisionManager' + } + + } + +} diff --git a/test/Model/SaveAsymEgressKeyTests.cs b/test/Model/SaveAsymEgressKeyTests.cs new file mode 100644 index 00000000..6352c0de --- /dev/null +++ b/test/Model/SaveAsymEgressKeyTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing SaveAsymEgressKey + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class SaveAsymEgressKeyTests + { + // TODO uncomment below to declare an instance variable for SaveAsymEgressKey + //private SaveAsymEgressKey instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of SaveAsymEgressKey + //instance = new SaveAsymEgressKey(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of SaveAsymEgressKey + /// + [Test] + public void SaveAsymEgressKeyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" SaveAsymEgressKey + //Assert.IsInstanceOfType (instance, "variable 'instance' is a SaveAsymEgressKey"); + } + + /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// + /// Test the property 'ClientRequestAction' + /// + [Test] + public void ClientRequestActionTest() + { + // TODO unit test for the property 'ClientRequestAction' + } + /// + /// Test the property 'KeyInformation' + /// + [Test] + public void KeyInformationTest() + { + // TODO unit test for the property 'KeyInformation' + } + + } + +} diff --git a/test/Model/SaveSymEgressKeyTests.cs b/test/Model/SaveSymEgressKeyTests.cs new file mode 100644 index 00000000..daf82c2f --- /dev/null +++ b/test/Model/SaveSymEgressKeyTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing SaveSymEgressKey + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class SaveSymEgressKeyTests + { + // TODO uncomment below to declare an instance variable for SaveSymEgressKey + //private SaveSymEgressKey instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of SaveSymEgressKey + //instance = new SaveSymEgressKey(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of SaveSymEgressKey + /// + [Test] + public void SaveSymEgressKeyInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" SaveSymEgressKey + //Assert.IsInstanceOfType (instance, "variable 'instance' is a SaveSymEgressKey"); + } + + /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// + /// Test the property 'ClientRequestAction' + /// + [Test] + public void ClientRequestActionTest() + { + // TODO unit test for the property 'ClientRequestAction' + } + /// + /// Test the property 'KeyInformation' + /// + [Test] + public void KeyInformationTest() + { + // TODO unit test for the property 'KeyInformation' + } + + } + +} diff --git a/test/Model/UpdateWebhookTests.cs b/test/Model/UpdateWebhookTests.cs new file mode 100644 index 00000000..11b2d0b4 --- /dev/null +++ b/test/Model/UpdateWebhookTests.cs @@ -0,0 +1,166 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing UpdateWebhook + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class UpdateWebhookTests + { + // TODO uncomment below to declare an instance variable for UpdateWebhook + //private UpdateWebhook instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of UpdateWebhook + //instance = new UpdateWebhook(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of UpdateWebhook + /// + [Test] + public void UpdateWebhookInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" UpdateWebhook + //Assert.IsInstanceOfType (instance, "variable 'instance' is a UpdateWebhook"); + } + + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'Description' + /// + [Test] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + /// + /// Test the property 'OrganizationId' + /// + [Test] + public void OrganizationIdTest() + { + // TODO unit test for the property 'OrganizationId' + } + /// + /// Test the property 'ProductId' + /// + [Test] + public void ProductIdTest() + { + // TODO unit test for the property 'ProductId' + } + /// + /// Test the property 'EventTypes' + /// + [Test] + public void EventTypesTest() + { + // TODO unit test for the property 'EventTypes' + } + /// + /// Test the property 'WebhookUrl' + /// + [Test] + public void WebhookUrlTest() + { + // TODO unit test for the property 'WebhookUrl' + } + /// + /// Test the property 'HealthCheckUrl' + /// + [Test] + public void HealthCheckUrlTest() + { + // TODO unit test for the property 'HealthCheckUrl' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'NotificationScope' + /// + [Test] + public void NotificationScopeTest() + { + // TODO unit test for the property 'NotificationScope' + } + /// + /// Test the property 'RetryPolicy' + /// + [Test] + public void RetryPolicyTest() + { + // TODO unit test for the property 'RetryPolicy' + } + /// + /// Test the property 'SecurityPolicy' + /// + [Test] + public void SecurityPolicyTest() + { + // TODO unit test for the property 'SecurityPolicy' + } + /// + /// Test the property 'AdditionalAttributes' + /// + [Test] + public void AdditionalAttributesTest() + { + // TODO unit test for the property 'AdditionalAttributes' + } + + } + +} diff --git a/test/Model/ValueAddedServicesProductsTests.cs b/test/Model/ValueAddedServicesProductsTests.cs new file mode 100644 index 00000000..a521db89 --- /dev/null +++ b/test/Model/ValueAddedServicesProductsTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing ValueAddedServicesProducts + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class ValueAddedServicesProductsTests + { + // TODO uncomment below to declare an instance variable for ValueAddedServicesProducts + //private ValueAddedServicesProducts instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of ValueAddedServicesProducts + //instance = new ValueAddedServicesProducts(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of ValueAddedServicesProducts + /// + [Test] + public void ValueAddedServicesProductsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ValueAddedServicesProducts + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ValueAddedServicesProducts"); + } + + /// + /// Test the property 'Reporting' + /// + [Test] + public void ReportingTest() + { + // TODO unit test for the property 'Reporting' + } + /// + /// Test the property 'TransactionSearch' + /// + [Test] + public void TransactionSearchTest() + { + // TODO unit test for the property 'TransactionSearch' + } + + } + +} diff --git a/test/cybersource-rest-client-dotnet.Test.csproj b/test/cybersource-rest-client-dotnet.Test.csproj index 5bc9ceef..e4b64631 100644 --- a/test/cybersource-rest-client-dotnet.Test.csproj +++ b/test/cybersource-rest-client-dotnet.Test.csproj @@ -94,7 +94,7 @@ OpenAPI spec version: 0.0.1 - {DCD7A801-8A2F-4331-B3D2-0B68BEF007FE} + {7D6822A1-E86A-427C-9EF1-65C0E88D64FC} cybersource-rest-client-dotnet diff --git a/test/packages.config b/test/packages.config index 3276c0e3..3df46bf6 100644 --- a/test/packages.config +++ b/test/packages.config @@ -2,6 +2,7 @@ +