diff --git a/.gitignore b/.gitignore index 50ffbe000..261417aa9 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ build .classpath .project /.settings +/.idea +/.swagger-codegen diff --git a/build.gradle b/build.gradle deleted file mode 100644 index 1ac0bc0ae..000000000 --- a/build.gradle +++ /dev/null @@ -1,103 +0,0 @@ -apply plugin: 'idea' -apply plugin: 'eclipse' - -group = 'io.swagger' -version = '1.0.0' - -buildscript { - repositories { - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:2.3.+' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' - } -} - -repositories { - jcenter() -} - - -if(hasProperty('target') && target == 'android') { - - apply plugin: 'com.android.library' - apply plugin: 'com.github.dcendents.android-maven' - - android { - compileSdkVersion 25 - buildToolsVersion '25.0.2' - defaultConfig { - minSdkVersion 14 - targetSdkVersion 25 - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 - } - - // Rename the aar correctly - libraryVariants.all { variant -> - variant.outputs.each { output -> - def outputFile = output.outputFile - if (outputFile != null && outputFile.name.endsWith('.aar')) { - def fileName = "${project.name}-${variant.baseName}-${version}.aar" - output.outputFile = new File(outputFile.parent, fileName) - } - } - } - - dependencies { - provided 'javax.annotation:jsr250-api:1.0' - } - } - - afterEvaluate { - android.libraryVariants.all { variant -> - def task = project.tasks.create "jar${variant.name.capitalize()}", Jar - task.description = "Create jar artifact for ${variant.name}" - task.dependsOn variant.javaCompile - task.from variant.javaCompile.destinationDir - task.destinationDir = project.file("${project.buildDir}/outputs/jar") - task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" - artifacts.add('archives', task); - } - } - - task sourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier = 'sources' - } - - artifacts { - archives sourcesJar - } - -} else { - - apply plugin: 'java' - apply plugin: 'maven' - - sourceCompatibility = JavaVersion.VERSION_1_7 - targetCompatibility = JavaVersion.VERSION_1_7 - - install { - repositories.mavenInstaller { - pom.artifactId = 'swagger-java-client' - } - } - - task execute(type:JavaExec) { - main = System.getProperty('mainClass') - classpath = sourceSets.main.runtimeClasspath - } -} - -dependencies { - compile 'io.swagger:swagger-annotations:1.5.15' - compile 'com.squareup.okhttp:okhttp:2.7.5' - compile 'com.squareup.okhttp:logging-interceptor:2.7.5' - compile 'com.google.code.gson:gson:2.8.1' - compile 'joda-time:joda-time:2.9.9' - testCompile 'junit:junit:4.12' -} diff --git a/docs/AccountValidationsRequest.md b/docs/AccountValidationsRequest.md new file mode 100644 index 000000000..45f521786 --- /dev/null +++ b/docs/AccountValidationsRequest.md @@ -0,0 +1,12 @@ + +# AccountValidationsRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**clientReferenceInformation** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] +**processingInformation** | [**Bavsv1accountvalidationsProcessingInformation**](Bavsv1accountvalidationsProcessingInformation.md) | | +**paymentInformation** | [**Bavsv1accountvalidationsPaymentInformation**](Bavsv1accountvalidationsPaymentInformation.md) | | + + + diff --git a/docs/BankAccountValidationApi.md b/docs/BankAccountValidationApi.md new file mode 100644 index 000000000..9302db2d6 --- /dev/null +++ b/docs/BankAccountValidationApi.md @@ -0,0 +1,54 @@ +# BankAccountValidationApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**bankAccountValidationRequest**](BankAccountValidationApi.md#bankAccountValidationRequest) | **POST** /bavs/v1/account-validations | Visa Bank Account Validation Service + + + +# **bankAccountValidationRequest** +> InlineResponse20013 bankAccountValidationRequest(accountValidationsRequest) + +Visa Bank Account Validation Service + +The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions. + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.BankAccountValidationApi; + + +BankAccountValidationApi apiInstance = new BankAccountValidationApi(); +AccountValidationsRequest accountValidationsRequest = new AccountValidationsRequest(); // AccountValidationsRequest | +try { + InlineResponse20013 result = apiInstance.bankAccountValidationRequest(accountValidationsRequest); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BankAccountValidationApi#bankAccountValidationRequest"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **accountValidationsRequest** | [**AccountValidationsRequest**](AccountValidationsRequest.md)| | + +### Return type + +[**InlineResponse20013**](InlineResponse20013.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + diff --git a/docs/BatchesApi.md b/docs/BatchesApi.md index 30b7ac2df..a6e0e292a 100644 --- a/docs/BatchesApi.md +++ b/docs/BatchesApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **getBatchReport** -> InlineResponse20011 getBatchReport(batchId) +> InlineResponse20012 getBatchReport(batchId) Retrieve a Batch Report @@ -28,7 +28,7 @@ Retrieve a Batch Report BatchesApi apiInstance = new BatchesApi(); String batchId = "batchId_example"; // String | Unique identification number assigned to the submitted request. try { - InlineResponse20011 result = apiInstance.getBatchReport(batchId); + InlineResponse20012 result = apiInstance.getBatchReport(batchId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchesApi#getBatchReport"); @@ -44,7 +44,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20011**](InlineResponse20011.md) +[**InlineResponse20012**](InlineResponse20012.md) ### Authorization @@ -57,7 +57,7 @@ No authorization required # **getBatchStatus** -> InlineResponse20010 getBatchStatus(batchId) +> InlineResponse20011 getBatchStatus(batchId) Retrieve a Batch Status @@ -73,7 +73,7 @@ Retrieve a Batch Status BatchesApi apiInstance = new BatchesApi(); String batchId = "batchId_example"; // String | Unique identification number assigned to the submitted request. try { - InlineResponse20010 result = apiInstance.getBatchStatus(batchId); + InlineResponse20011 result = apiInstance.getBatchStatus(batchId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchesApi#getBatchStatus"); @@ -89,7 +89,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20010**](InlineResponse20010.md) +[**InlineResponse20011**](InlineResponse20011.md) ### Authorization @@ -102,7 +102,7 @@ No authorization required # **getBatchesList** -> InlineResponse2009 getBatchesList(offset, limit, fromDate, toDate) +> InlineResponse20010 getBatchesList(offset, limit, fromDate, toDate) List Batches @@ -121,7 +121,7 @@ Long limit = 20L; // Long | The maximum number that can be returned in the array String fromDate = "fromDate_example"; // String | ISO-8601 format: yyyyMMddTHHmmssZ String toDate = "toDate_example"; // String | ISO-8601 format: yyyyMMddTHHmmssZ try { - InlineResponse2009 result = apiInstance.getBatchesList(offset, limit, fromDate, toDate); + InlineResponse20010 result = apiInstance.getBatchesList(offset, limit, fromDate, toDate); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchesApi#getBatchesList"); @@ -140,7 +140,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2009**](InlineResponse2009.md) +[**InlineResponse20010**](InlineResponse20010.md) ### Authorization diff --git a/docs/Bavsv1accountvalidationsClientReferenceInformation.md b/docs/Bavsv1accountvalidationsClientReferenceInformation.md new file mode 100644 index 000000000..3117c60d6 --- /dev/null +++ b/docs/Bavsv1accountvalidationsClientReferenceInformation.md @@ -0,0 +1,10 @@ + +# Bavsv1accountvalidationsClientReferenceInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | Client reference code | [optional] + + + diff --git a/docs/Bavsv1accountvalidationsPaymentInformation.md b/docs/Bavsv1accountvalidationsPaymentInformation.md new file mode 100644 index 000000000..1993c57f7 --- /dev/null +++ b/docs/Bavsv1accountvalidationsPaymentInformation.md @@ -0,0 +1,10 @@ + +# Bavsv1accountvalidationsPaymentInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bank** | [**Bavsv1accountvalidationsPaymentInformationBank**](Bavsv1accountvalidationsPaymentInformationBank.md) | | + + + diff --git a/docs/Bavsv1accountvalidationsPaymentInformationBank.md b/docs/Bavsv1accountvalidationsPaymentInformationBank.md new file mode 100644 index 000000000..9d3a17365 --- /dev/null +++ b/docs/Bavsv1accountvalidationsPaymentInformationBank.md @@ -0,0 +1,11 @@ + +# Bavsv1accountvalidationsPaymentInformationBank + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**routingNumber** | **String** | Bank routing number. This is also called the transit number. Non-Negative Integer | +**account** | [**Bavsv1accountvalidationsPaymentInformationBankAccount**](Bavsv1accountvalidationsPaymentInformationBankAccount.md) | | + + + diff --git a/docs/Bavsv1accountvalidationsPaymentInformationBankAccount.md b/docs/Bavsv1accountvalidationsPaymentInformationBankAccount.md new file mode 100644 index 000000000..f6071d649 --- /dev/null +++ b/docs/Bavsv1accountvalidationsPaymentInformationBankAccount.md @@ -0,0 +1,10 @@ + +# Bavsv1accountvalidationsPaymentInformationBankAccount + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**number** | **String** | Account Number. Non-Negative Integer. example: 12345678901234577 | + + + diff --git a/docs/Bavsv1accountvalidationsProcessingInformation.md b/docs/Bavsv1accountvalidationsProcessingInformation.md new file mode 100644 index 000000000..938044c0a --- /dev/null +++ b/docs/Bavsv1accountvalidationsProcessingInformation.md @@ -0,0 +1,10 @@ + +# Bavsv1accountvalidationsProcessingInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**validationLevel** | **Integer** | Enter 1 for routing and account number validation. | + + + diff --git a/docs/CapturePaymentRequest.md b/docs/CapturePaymentRequest.md index 6c0e199e1..a2aac09ec 100644 --- a/docs/CapturePaymentRequest.md +++ b/docs/CapturePaymentRequest.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **installmentInformation** | [**Ptsv2paymentsidcapturesInstallmentInformation**](Ptsv2paymentsidcapturesInstallmentInformation.md) | | [optional] **travelInformation** | [**Ptsv2paymentsTravelInformation**](Ptsv2paymentsTravelInformation.md) | | [optional] **promotionInformation** | [**Ptsv2paymentsPromotionInformation**](Ptsv2paymentsPromotionInformation.md) | | [optional] +**processorInformation** | [**Ptsv2reversalsProcessorInformation**](Ptsv2reversalsProcessorInformation.md) | | [optional] diff --git a/docs/CardProcessingConfigCommonAcquirers.md b/docs/CardProcessingConfigCommonAcquirers.md new file mode 100644 index 000000000..017cf89da --- /dev/null +++ b/docs/CardProcessingConfigCommonAcquirers.md @@ -0,0 +1,21 @@ + +# CardProcessingConfigCommonAcquirers + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**institutionId** | **String** | Identifier of the acquirer. This number is usually assigned by Visa. | [optional] +**interbankCardAssociationId** | **String** | Number assigned by MasterCard to banks to identify the member in transactions. | [optional] +**discoverInstitutionId** | **String** | Assigned by Discover to identify the acquirer. | [optional] +**countryCode** | **String** | ISO 4217 format. | [optional] +**fileDestinationBin** | **String** | The BIN to which this capturefile is sent. This field must contain a valid BIN. | [optional] +**merchantVerificationValue** | **String** | Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. | [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] +**allowMultipleBills** | **Boolean** | Allows multiple captures for a single authorization transaction. | [optional] +**enableTransactionReferenceNumber** | **Boolean** | To enable merchant to send in transaction reference number (unique reconciliation ID). | [optional] +**paymentTypes** | [**Map<String, CardProcessingConfigCommonPaymentTypes>**](CardProcessingConfigCommonPaymentTypes.md) | Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB | [optional] +**currencies** | [**Map<String, CardProcessingConfigCommonCurrencies>**](CardProcessingConfigCommonCurrencies.md) | Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] + + + diff --git a/docs/CardProcessingConfigCommonProcessors.md b/docs/CardProcessingConfigCommonProcessors.md index c4d2c5222..afb92861f 100644 --- a/docs/CardProcessingConfigCommonProcessors.md +++ b/docs/CardProcessingConfigCommonProcessors.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **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** | [**CardProcessingConfigCommonAcquirer**](CardProcessingConfigCommonAcquirer.md) | | [optional] +**acquirers** | [**Map<String, CardProcessingConfigCommonAcquirers>**](CardProcessingConfigCommonAcquirers.md) | Identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. | [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** | [**Map<String, CardProcessingConfigCommonPaymentTypes>**](CardProcessingConfigCommonPaymentTypes.md) | Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB | [optional] diff --git a/docs/CommerceSolutionsProductsAccountUpdater.md b/docs/CommerceSolutionsProductsAccountUpdater.md index 5ba5ac2de..e6d2cdd9b 100644 --- a/docs/CommerceSolutionsProductsAccountUpdater.md +++ b/docs/CommerceSolutionsProductsAccountUpdater.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**CommerceSolutionsProductsAccountUpdaterConfigurationInformation**](CommerceSolutionsProductsAccountUpdaterConfigurationInformation.md) | | [optional] diff --git a/docs/CommerceSolutionsProductsBinLookup.md b/docs/CommerceSolutionsProductsBinLookup.md index 04a1c060e..042acf174 100644 --- a/docs/CommerceSolutionsProductsBinLookup.md +++ b/docs/CommerceSolutionsProductsBinLookup.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**CommerceSolutionsProductsBinLookupConfigurationInformation**](CommerceSolutionsProductsBinLookupConfigurationInformation.md) | | [optional] diff --git a/docs/CommerceSolutionsProductsTokenManagement.md b/docs/CommerceSolutionsProductsTokenManagement.md index 445f476bf..4c6812078 100644 --- a/docs/CommerceSolutionsProductsTokenManagement.md +++ b/docs/CommerceSolutionsProductsTokenManagement.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**CommerceSolutionsProductsTokenManagementConfigurationInformation**](CommerceSolutionsProductsTokenManagementConfigurationInformation.md) | | [optional] diff --git a/docs/CreateCreditRequest.md b/docs/CreateCreditRequest.md index c406db45d..35aa5c66b 100644 --- a/docs/CreateCreditRequest.md +++ b/docs/CreateCreditRequest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **recipientInformation** | [**Ptsv2creditsRecipientInformation**](Ptsv2creditsRecipientInformation.md) | | [optional] **senderInformation** | [**Ptsv2creditsSenderInformation**](Ptsv2creditsSenderInformation.md) | | [optional] **promotionInformation** | [**Ptsv2paymentsPromotionInformation**](Ptsv2paymentsPromotionInformation.md) | | [optional] +**processorInformation** | [**Ptsv2reversalsProcessorInformation**](Ptsv2reversalsProcessorInformation.md) | | [optional] diff --git a/docs/CreateInvoiceRequest.md b/docs/CreateInvoiceRequest.md index 07245e432..a6a50d353 100644 --- a/docs/CreateInvoiceRequest.md +++ b/docs/CreateInvoiceRequest.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **processingInformation** | [**Invoicingv2invoicesProcessingInformation**](Invoicingv2invoicesProcessingInformation.md) | | [optional] **invoiceInformation** | [**Invoicingv2invoicesInvoiceInformation**](Invoicingv2invoicesInvoiceInformation.md) | | **orderInformation** | [**Invoicingv2invoicesOrderInformation**](Invoicingv2invoicesOrderInformation.md) | | +**merchantDefinedFieldValues** | [**List<Invoicingv2invoicesMerchantDefinedFieldValues>**](Invoicingv2invoicesMerchantDefinedFieldValues.md) | | [optional] diff --git a/docs/CreateNewWebhooksApi.md b/docs/CreateNewWebhooksApi.md index 19d4e9d5b..af9252fcd 100644 --- a/docs/CreateNewWebhooksApi.md +++ b/docs/CreateNewWebhooksApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **findProductsToSubscribe** -> List<InlineResponse2003> findProductsToSubscribe(organizationId) +> List<InlineResponse2004> findProductsToSubscribe(organizationId) Find Products You Can Subscribe To @@ -27,7 +27,7 @@ Retrieve a list of products and event types that your account is eligible for. T CreateNewWebhooksApi apiInstance = new CreateNewWebhooksApi(); String organizationId = "organizationId_example"; // String | The Organization Identifier. try { - List result = apiInstance.findProductsToSubscribe(organizationId); + List result = apiInstance.findProductsToSubscribe(organizationId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CreateNewWebhooksApi#findProductsToSubscribe"); @@ -43,7 +43,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2003>**](InlineResponse2003.md) +[**List<InlineResponse2004>**](InlineResponse2004.md) ### Authorization diff --git a/docs/DeviceDeAssociationApi.md b/docs/DeviceDeAssociationApi.md index 03b95c469..5df07caf9 100644 --- a/docs/DeviceDeAssociationApi.md +++ b/docs/DeviceDeAssociationApi.md @@ -54,7 +54,7 @@ No authorization required # **postDeAssociateV3Terminal** -> List<InlineResponse2007> postDeAssociateV3Terminal(deviceDeAssociateV3Request) +> List<InlineResponse2008> postDeAssociateV3Terminal(deviceDeAssociateV3Request) De-associate a device from merchant to account or reseller and from account to reseller @@ -70,7 +70,7 @@ A device will be de-associated from its current organization and moved up in the DeviceDeAssociationApi apiInstance = new DeviceDeAssociationApi(); List deviceDeAssociateV3Request = Arrays.asList(new DeviceDeAssociateV3Request()); // List | deviceId that has to be de-associated to the destination organizationId. try { - List result = apiInstance.postDeAssociateV3Terminal(deviceDeAssociateV3Request); + List result = apiInstance.postDeAssociateV3Terminal(deviceDeAssociateV3Request); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DeviceDeAssociationApi#postDeAssociateV3Terminal"); @@ -86,7 +86,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2007>**](InlineResponse2007.md) +[**List<InlineResponse2008>**](InlineResponse2008.md) ### Authorization diff --git a/docs/DeviceSearchApi.md b/docs/DeviceSearchApi.md index f0fd58104..ed1a9a95d 100644 --- a/docs/DeviceSearchApi.md +++ b/docs/DeviceSearchApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **postSearchQuery** -> InlineResponse2006 postSearchQuery(postDeviceSearchRequest) +> InlineResponse2007 postSearchQuery(postDeviceSearchRequest) Retrieve List of Devices for a given search query V2 @@ -26,7 +26,7 @@ Retrieves list of terminals in paginated format. DeviceSearchApi apiInstance = new DeviceSearchApi(); PostDeviceSearchRequest postDeviceSearchRequest = new PostDeviceSearchRequest(); // PostDeviceSearchRequest | try { - InlineResponse2006 result = apiInstance.postSearchQuery(postDeviceSearchRequest); + InlineResponse2007 result = apiInstance.postSearchQuery(postDeviceSearchRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DeviceSearchApi#postSearchQuery"); @@ -42,7 +42,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](InlineResponse2006.md) +[**InlineResponse2007**](InlineResponse2007.md) ### Authorization @@ -55,7 +55,7 @@ No authorization required # **postSearchQueryV3** -> InlineResponse2008 postSearchQueryV3(postDeviceSearchRequestV3) +> InlineResponse2009 postSearchQueryV3(postDeviceSearchRequestV3) Retrieve List of Devices for a given search query @@ -71,7 +71,7 @@ Search for devices matching a given search query. The search query supports ser DeviceSearchApi apiInstance = new DeviceSearchApi(); PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = new PostDeviceSearchRequestV3(); // PostDeviceSearchRequestV3 | try { - InlineResponse2008 result = apiInstance.postSearchQueryV3(postDeviceSearchRequestV3); + InlineResponse2009 result = apiInstance.postSearchQueryV3(postDeviceSearchRequestV3); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DeviceSearchApi#postSearchQueryV3"); @@ -87,7 +87,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2008**](InlineResponse2008.md) +[**InlineResponse2009**](InlineResponse2009.md) ### Authorization diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md index b54ae0378..70cf590a3 100644 --- a/docs/InlineResponse20010.md +++ b/docs/InlineResponse20010.md @@ -4,16 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**InlineResponse20010Links**](InlineResponse20010Links.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** | [**InlineResponse2009EmbeddedTotals**](InlineResponse2009EmbeddedTotals.md) | | [optional] -**billing** | [**InlineResponse20010Billing**](InlineResponse20010Billing.md) | | [optional] -**description** | **String** | | [optional] +**links** | [**List<InlineResponse20010Links>**](InlineResponse20010Links.md) | | [optional] +**object** | **String** | | [optional] +**offset** | **Integer** | | [optional] +**limit** | **Integer** | | [optional] +**count** | **Integer** | | [optional] +**total** | **Integer** | | [optional] +**embedded** | [**InlineResponse20010Embedded**](InlineResponse20010Embedded.md) | | [optional] diff --git a/docs/InlineResponse20010Embedded.md b/docs/InlineResponse20010Embedded.md new file mode 100644 index 000000000..d01d65ded --- /dev/null +++ b/docs/InlineResponse20010Embedded.md @@ -0,0 +1,10 @@ + +# InlineResponse20010Embedded + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**batches** | [**List<InlineResponse20010EmbeddedBatches>**](InlineResponse20010EmbeddedBatches.md) | | [optional] + + + diff --git a/docs/InlineResponse2009EmbeddedBatches.md b/docs/InlineResponse20010EmbeddedBatches.md similarity index 80% rename from docs/InlineResponse2009EmbeddedBatches.md rename to docs/InlineResponse20010EmbeddedBatches.md index 89b891a78..2cd67e031 100644 --- a/docs/InlineResponse2009EmbeddedBatches.md +++ b/docs/InlineResponse20010EmbeddedBatches.md @@ -1,10 +1,10 @@ -# InlineResponse2009EmbeddedBatches +# InlineResponse20010EmbeddedBatches ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**InlineResponse2009EmbeddedLinks**](InlineResponse2009EmbeddedLinks.md) | | [optional] +**links** | [**InlineResponse20010EmbeddedLinks**](InlineResponse20010EmbeddedLinks.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] @@ -13,7 +13,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** | [**InlineResponse2009EmbeddedTotals**](InlineResponse2009EmbeddedTotals.md) | | [optional] +**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] diff --git a/docs/InlineResponse20010EmbeddedLinks.md b/docs/InlineResponse20010EmbeddedLinks.md new file mode 100644 index 000000000..b3e4c0e2c --- /dev/null +++ b/docs/InlineResponse20010EmbeddedLinks.md @@ -0,0 +1,10 @@ + +# InlineResponse20010EmbeddedLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reports** | [**List<InlineResponse20010EmbeddedLinksReports>**](InlineResponse20010EmbeddedLinksReports.md) | | [optional] + + + diff --git a/docs/InlineResponse2009EmbeddedLinksReports.md b/docs/InlineResponse20010EmbeddedLinksReports.md similarity index 78% rename from docs/InlineResponse2009EmbeddedLinksReports.md rename to docs/InlineResponse20010EmbeddedLinksReports.md index 7cc61af88..6f050c887 100644 --- a/docs/InlineResponse2009EmbeddedLinksReports.md +++ b/docs/InlineResponse20010EmbeddedLinksReports.md @@ -1,5 +1,5 @@ -# InlineResponse2009EmbeddedLinksReports +# InlineResponse20010EmbeddedLinksReports ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2009EmbeddedTotals.md b/docs/InlineResponse20010EmbeddedTotals.md similarity index 91% rename from docs/InlineResponse2009EmbeddedTotals.md rename to docs/InlineResponse20010EmbeddedTotals.md index e36299e2d..7edba34a9 100644 --- a/docs/InlineResponse2009EmbeddedTotals.md +++ b/docs/InlineResponse20010EmbeddedTotals.md @@ -1,5 +1,5 @@ -# InlineResponse2009EmbeddedTotals +# InlineResponse20010EmbeddedTotals ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20010Links.md b/docs/InlineResponse20010Links.md index 5b55a7aa2..96b94ed4e 100644 --- a/docs/InlineResponse20010Links.md +++ b/docs/InlineResponse20010Links.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] -**report** | [**List<InlineResponse20010LinksReport>**](InlineResponse20010LinksReport.md) | | [optional] +**rel** | **String** | Valid Values: * self * first * last * prev * next | [optional] +**href** | **String** | | [optional] diff --git a/docs/InlineResponse20011.md b/docs/InlineResponse20011.md index 0d791bfd9..272d2f726 100644 --- a/docs/InlineResponse20011.md +++ b/docs/InlineResponse20011.md @@ -4,16 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version** | **String** | | [optional] -**reportCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**links** | [**InlineResponse20011Links**](InlineResponse20011Links.md) | | [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] +**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] -**totals** | [**InlineResponse2009EmbeddedTotals**](InlineResponse2009EmbeddedTotals.md) | | [optional] -**billing** | [**InlineResponse20010Billing**](InlineResponse20010Billing.md) | | [optional] -**records** | [**List<InlineResponse20011Records>**](InlineResponse20011Records.md) | | [optional] +**batchCaEndpoints** | **String** | | [optional] +**status** | **String** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] +**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] +**billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] +**description** | **String** | | [optional] diff --git a/docs/InlineResponse20010Billing.md b/docs/InlineResponse20011Billing.md similarity index 90% rename from docs/InlineResponse20010Billing.md rename to docs/InlineResponse20011Billing.md index acd0f0f03..89da4fb56 100644 --- a/docs/InlineResponse20010Billing.md +++ b/docs/InlineResponse20011Billing.md @@ -1,5 +1,5 @@ -# InlineResponse20010Billing +# InlineResponse20011Billing ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20011Links.md b/docs/InlineResponse20011Links.md new file mode 100644 index 000000000..b1ea80b4c --- /dev/null +++ b/docs/InlineResponse20011Links.md @@ -0,0 +1,11 @@ + +# InlineResponse20011Links + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] +**report** | [**List<InlineResponse20011LinksReport>**](InlineResponse20011LinksReport.md) | | [optional] + + + diff --git a/docs/InlineResponse20010LinksReport.md b/docs/InlineResponse20011LinksReport.md similarity index 82% rename from docs/InlineResponse20010LinksReport.md rename to docs/InlineResponse20011LinksReport.md index 247b4b0d4..67b8c376e 100644 --- a/docs/InlineResponse20010LinksReport.md +++ b/docs/InlineResponse20011LinksReport.md @@ -1,5 +1,5 @@ -# InlineResponse20010LinksReport +# InlineResponse20011LinksReport ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20011Records.md b/docs/InlineResponse20011Records.md deleted file mode 100644 index cf128d6d9..000000000 --- a/docs/InlineResponse20011Records.md +++ /dev/null @@ -1,12 +0,0 @@ - -# InlineResponse20011Records - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**sourceRecord** | [**InlineResponse20011SourceRecord**](InlineResponse20011SourceRecord.md) | | [optional] -**responseRecord** | [**InlineResponse20011ResponseRecord**](InlineResponse20011ResponseRecord.md) | | [optional] - - - diff --git a/docs/InlineResponse20012.md b/docs/InlineResponse20012.md new file mode 100644 index 000000000..6d164e0d8 --- /dev/null +++ b/docs/InlineResponse20012.md @@ -0,0 +1,19 @@ + +# InlineResponse20012 + +## 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** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] +**billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] +**records** | [**List<InlineResponse20012Records>**](InlineResponse20012Records.md) | | [optional] + + + diff --git a/docs/InlineResponse20012Records.md b/docs/InlineResponse20012Records.md new file mode 100644 index 000000000..774ff9dd6 --- /dev/null +++ b/docs/InlineResponse20012Records.md @@ -0,0 +1,12 @@ + +# InlineResponse20012Records + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] +**sourceRecord** | [**InlineResponse20012SourceRecord**](InlineResponse20012SourceRecord.md) | | [optional] +**responseRecord** | [**InlineResponse20012ResponseRecord**](InlineResponse20012ResponseRecord.md) | | [optional] + + + diff --git a/docs/InlineResponse20011ResponseRecord.md b/docs/InlineResponse20012ResponseRecord.md similarity index 81% rename from docs/InlineResponse20011ResponseRecord.md rename to docs/InlineResponse20012ResponseRecord.md index beb47d6ba..8f3624937 100644 --- a/docs/InlineResponse20011ResponseRecord.md +++ b/docs/InlineResponse20012ResponseRecord.md @@ -1,5 +1,5 @@ -# InlineResponse20011ResponseRecord +# InlineResponse20012ResponseRecord ## Properties Name | Type | Description | Notes @@ -13,7 +13,7 @@ Name | Type | Description | Notes **cardExpiryMonth** | **String** | | [optional] **cardExpiryYear** | **String** | | [optional] **cardType** | **String** | | [optional] -**additionalUpdates** | [**List<InlineResponse20011ResponseRecordAdditionalUpdates>**](InlineResponse20011ResponseRecordAdditionalUpdates.md) | | [optional] +**additionalUpdates** | [**List<InlineResponse20012ResponseRecordAdditionalUpdates>**](InlineResponse20012ResponseRecordAdditionalUpdates.md) | | [optional] diff --git a/docs/InlineResponse20011ResponseRecordAdditionalUpdates.md b/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md similarity index 87% rename from docs/InlineResponse20011ResponseRecordAdditionalUpdates.md rename to docs/InlineResponse20012ResponseRecordAdditionalUpdates.md index aefdcc36b..8d46fcea9 100644 --- a/docs/InlineResponse20011ResponseRecordAdditionalUpdates.md +++ b/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md @@ -1,5 +1,5 @@ -# InlineResponse20011ResponseRecordAdditionalUpdates +# InlineResponse20012ResponseRecordAdditionalUpdates ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20011SourceRecord.md b/docs/InlineResponse20012SourceRecord.md similarity index 93% rename from docs/InlineResponse20011SourceRecord.md rename to docs/InlineResponse20012SourceRecord.md index 5f9ebf6be..4ff5d9b09 100644 --- a/docs/InlineResponse20011SourceRecord.md +++ b/docs/InlineResponse20012SourceRecord.md @@ -1,5 +1,5 @@ -# InlineResponse20011SourceRecord +# InlineResponse20012SourceRecord ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md new file mode 100644 index 000000000..97d4705c5 --- /dev/null +++ b/docs/InlineResponse20013.md @@ -0,0 +1,13 @@ + +# InlineResponse20013 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**clientReferenceInformation** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] +**requestId** | **String** | Request Id sent as part of the request. | [optional] +**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**bankAccountValidation** | [**TssV2TransactionsGet200ResponseBankAccountValidation**](TssV2TransactionsGet200ResponseBankAccountValidation.md) | | [optional] + + + diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md index 9d868cb0b..3a5d46c63 100644 --- a/docs/InlineResponse2002.md +++ b/docs/InlineResponse2002.md @@ -4,13 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**registrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] -**integrationInformation** | [**InlineResponse2002IntegrationInformation**](InlineResponse2002IntegrationInformation.md) | | [optional] -**organizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] -**productInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] -**productInformationSetups** | [**List<InlineResponse2013ProductInformationSetups>**](InlineResponse2013ProductInformationSetups.md) | | [optional] -**documentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] -**details** | [**Map<String, List<Object>>**](List.md) | | [optional] +**id** | **Long** | | [optional] +**fieldType** | **String** | | [optional] +**label** | **String** | | [optional] +**customerVisible** | **Boolean** | | [optional] +**textMinLength** | **Integer** | | [optional] +**textMaxLength** | **Integer** | | [optional] +**possibleValues** | **String** | | [optional] +**textDefaultValue** | **String** | | [optional] +**merchantId** | **String** | | [optional] +**referenceType** | **String** | | [optional] +**readOnly** | **Boolean** | | [optional] +**merchantDefinedDataIndex** | **Integer** | | [optional] diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md index 6cec92255..538fd4706 100644 --- a/docs/InlineResponse2003.md +++ b/docs/InlineResponse2003.md @@ -4,9 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**productId** | **String** | Product ID. | [optional] -**productName** | **String** | Product Name. | [optional] -**eventTypes** | [**List<Notificationsubscriptionsv2productsorganizationIdEventTypes>**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] +**registrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] +**integrationInformation** | [**InlineResponse2003IntegrationInformation**](InlineResponse2003IntegrationInformation.md) | | [optional] +**organizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] +**productInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] +**productInformationSetups** | [**List<InlineResponse2013ProductInformationSetups>**](InlineResponse2013ProductInformationSetups.md) | | [optional] +**documentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] +**details** | [**Map<String, List<Object>>**](List.md) | | [optional] diff --git a/docs/InlineResponse2002IntegrationInformation.md b/docs/InlineResponse2003IntegrationInformation.md similarity index 72% rename from docs/InlineResponse2002IntegrationInformation.md rename to docs/InlineResponse2003IntegrationInformation.md index a7e36b94e..2949d15d5 100644 --- a/docs/InlineResponse2002IntegrationInformation.md +++ b/docs/InlineResponse2003IntegrationInformation.md @@ -1,11 +1,11 @@ -# InlineResponse2002IntegrationInformation +# InlineResponse2003IntegrationInformation ## 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] +**tenantConfigurations** | [**List<InlineResponse2003IntegrationInformationTenantConfigurations>**](InlineResponse2003IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] diff --git a/docs/InlineResponse2002IntegrationInformationTenantConfigurations.md b/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md similarity index 93% rename from docs/InlineResponse2002IntegrationInformationTenantConfigurations.md rename to docs/InlineResponse2003IntegrationInformationTenantConfigurations.md index 58d983ea7..34a0eeadd 100644 --- a/docs/InlineResponse2002IntegrationInformationTenantConfigurations.md +++ b/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md @@ -1,5 +1,5 @@ -# InlineResponse2002IntegrationInformationTenantConfigurations +# InlineResponse2003IntegrationInformationTenantConfigurations ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md index f5ccee650..84eaac257 100644 --- a/docs/InlineResponse2004.md +++ b/docs/InlineResponse2004.md @@ -4,18 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**webhookId** | **String** | Webhook Id. This is generated by the server. | [optional] -**organizationId** | **String** | Organization ID. | [optional] -**products** | [**List<Notificationsubscriptionsv2webhooksProducts>**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] -**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional] -**healthCheckUrl** | **String** | The client's health check endpoint (URL). | [optional] -**status** | **String** | Webhook status. | [optional] -**name** | **String** | Client friendly webhook name. | [optional] -**description** | **String** | Client friendly webhook description. | [optional] -**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] -**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] -**createdOn** | **String** | Date on which webhook was created/registered. | [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. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] +**productId** | **String** | Product ID. | [optional] +**productName** | **String** | Product Name. | [optional] +**eventTypes** | [**List<Notificationsubscriptionsv2productsorganizationIdEventTypes>**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md index eea48b60b..464dadb3c 100644 --- a/docs/InlineResponse2005.md +++ b/docs/InlineResponse2005.md @@ -15,7 +15,6 @@ Name | Type | Description | Notes **retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] **securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] **createdOn** | **String** | Date on which webhook was created/registered. | [optional] -**updatedOn** | **String** | Date on which webhook was most recently updated. | [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. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md index 0812dadac..592dbb836 100644 --- a/docs/InlineResponse2006.md +++ b/docs/InlineResponse2006.md @@ -4,12 +4,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalCount** | **Integer** | Total number of results. | [optional] -**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**sort** | **String** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] -**count** | **Integer** | Results for this page, this could be below the limit. | [optional] -**devices** | [**List<InlineResponse2006Devices>**](InlineResponse2006Devices.md) | A collection of devices | [optional] +**webhookId** | **String** | Webhook Id. This is generated by the server. | [optional] +**organizationId** | **String** | Organization ID. | [optional] +**products** | [**List<Notificationsubscriptionsv2webhooksProducts>**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] +**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional] +**healthCheckUrl** | **String** | The client's health check endpoint (URL). | [optional] +**status** | **String** | Webhook status. | [optional] +**name** | **String** | Client friendly webhook name. | [optional] +**description** | **String** | Client friendly webhook description. | [optional] +**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] +**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] +**createdOn** | **String** | Date on which webhook was created/registered. | [optional] +**updatedOn** | **String** | Date on which webhook was most recently updated. | [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. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md index 5d8fdb72e..6c65ff033 100644 --- a/docs/InlineResponse2007.md +++ b/docs/InlineResponse2007.md @@ -4,8 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status** | **String** | Possible values: - OK | [optional] -**devices** | [**List<Dmsv3devicesdeassociateDevices>**](Dmsv3devicesdeassociateDevices.md) | | [optional] +**totalCount** | **Integer** | Total number of results. | [optional] +**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**sort** | **String** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] +**count** | **Integer** | Results for this page, this could be below the limit. | [optional] +**devices** | [**List<InlineResponse2007Devices>**](InlineResponse2007Devices.md) | A collection of devices | [optional] diff --git a/docs/InlineResponse2006Devices.md b/docs/InlineResponse2007Devices.md similarity index 95% rename from docs/InlineResponse2006Devices.md rename to docs/InlineResponse2007Devices.md index 22b2a1c24..3793c354e 100644 --- a/docs/InlineResponse2006Devices.md +++ b/docs/InlineResponse2007Devices.md @@ -1,5 +1,5 @@ -# InlineResponse2006Devices +# InlineResponse2007Devices ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md index fc68e31d6..c45afa757 100644 --- a/docs/InlineResponse2008.md +++ b/docs/InlineResponse2008.md @@ -4,12 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**totalCount** | **Integer** | Total number of results. | [optional] -**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**sort** | **String** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] -**count** | **Integer** | Results for this page, this could be below the limit. | [optional] -**devices** | [**List<InlineResponse2008Devices>**](InlineResponse2008Devices.md) | A collection of devices | [optional] +**status** | **String** | Possible values: - OK | [optional] +**devices** | [**List<Dmsv3devicesdeassociateDevices>**](Dmsv3devicesdeassociateDevices.md) | | [optional] diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md index d39674ce3..ce7f02a2c 100644 --- a/docs/InlineResponse2009.md +++ b/docs/InlineResponse2009.md @@ -4,13 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**List<InlineResponse2009Links>**](InlineResponse2009Links.md) | | [optional] -**object** | **String** | | [optional] -**offset** | **Integer** | | [optional] -**limit** | **Integer** | | [optional] -**count** | **Integer** | | [optional] -**total** | **Integer** | | [optional] -**embedded** | [**InlineResponse2009Embedded**](InlineResponse2009Embedded.md) | | [optional] +**totalCount** | **Integer** | Total number of results. | [optional] +**offset** | **Integer** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**limit** | **Integer** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**sort** | **String** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] +**count** | **Integer** | Results for this page, this could be below the limit. | [optional] +**devices** | [**List<InlineResponse2009Devices>**](InlineResponse2009Devices.md) | A collection of devices | [optional] diff --git a/docs/InlineResponse2008Devices.md b/docs/InlineResponse2009Devices.md similarity index 86% rename from docs/InlineResponse2008Devices.md rename to docs/InlineResponse2009Devices.md index 2d8038097..b0a159944 100644 --- a/docs/InlineResponse2008Devices.md +++ b/docs/InlineResponse2009Devices.md @@ -1,5 +1,5 @@ -# InlineResponse2008Devices +# InlineResponse2009Devices ## Properties Name | Type | Description | Notes @@ -15,7 +15,7 @@ Name | Type | Description | Notes **accountId** | **String** | ID of the account to whom the device assigned. | [optional] **terminalCreationDate** | [**DateTime**](DateTime.md) | Timestamp in which the device was created. | [optional] **terminalUpdationDate** | [**DateTime**](DateTime.md) | Timestamp in which the device was updated/modified. | [optional] -**paymentProcessorToTerminalMap** | [**InlineResponse2008PaymentProcessorToTerminalMap**](InlineResponse2008PaymentProcessorToTerminalMap.md) | | [optional] +**paymentProcessorToTerminalMap** | [**InlineResponse2009PaymentProcessorToTerminalMap**](InlineResponse2009PaymentProcessorToTerminalMap.md) | | [optional] diff --git a/docs/InlineResponse2009Embedded.md b/docs/InlineResponse2009Embedded.md deleted file mode 100644 index b5690cdbd..000000000 --- a/docs/InlineResponse2009Embedded.md +++ /dev/null @@ -1,10 +0,0 @@ - -# InlineResponse2009Embedded - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**batches** | [**List<InlineResponse2009EmbeddedBatches>**](InlineResponse2009EmbeddedBatches.md) | | [optional] - - - diff --git a/docs/InlineResponse2009EmbeddedLinks.md b/docs/InlineResponse2009EmbeddedLinks.md deleted file mode 100644 index 9caa7e3fd..000000000 --- a/docs/InlineResponse2009EmbeddedLinks.md +++ /dev/null @@ -1,10 +0,0 @@ - -# InlineResponse2009EmbeddedLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reports** | [**List<InlineResponse2009EmbeddedLinksReports>**](InlineResponse2009EmbeddedLinksReports.md) | | [optional] - - - diff --git a/docs/InlineResponse2009Links.md b/docs/InlineResponse2009Links.md deleted file mode 100644 index 43afad942..000000000 --- a/docs/InlineResponse2009Links.md +++ /dev/null @@ -1,11 +0,0 @@ - -# InlineResponse2009Links - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**rel** | **String** | Valid Values: * self * first * last * prev * next | [optional] -**href** | **String** | | [optional] - - - diff --git a/docs/InlineResponse2008PaymentProcessorToTerminalMap.md b/docs/InlineResponse2009PaymentProcessorToTerminalMap.md similarity index 80% rename from docs/InlineResponse2008PaymentProcessorToTerminalMap.md rename to docs/InlineResponse2009PaymentProcessorToTerminalMap.md index 1e7991892..9d1cac6fb 100644 --- a/docs/InlineResponse2008PaymentProcessorToTerminalMap.md +++ b/docs/InlineResponse2009PaymentProcessorToTerminalMap.md @@ -1,5 +1,5 @@ -# InlineResponse2008PaymentProcessorToTerminalMap +# InlineResponse2009PaymentProcessorToTerminalMap ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2012PayoutInformationPullFunds.md b/docs/InlineResponse2012PayoutInformationPullFunds.md index 6327d83d0..c53aefc9c 100644 --- a/docs/InlineResponse2012PayoutInformationPullFunds.md +++ b/docs/InlineResponse2012PayoutInformationPullFunds.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**domesticParticipant** | **String** | This field indicates if domestic AFTs (pull funds) are allowed. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` | [optional] -**crossBorderParticipant** | **String** | This field indicates if cross-border AFTs (pull funds) are allowed. Note: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` | [optional] +**domesticParticipant** | **String** | This field indicates if domestic AFTs (pull funds) are allowed. Possible values: - `true` - `false` | [optional] +**crossBorderParticipant** | **String** | This field indicates if cross-border AFTs (pull funds) are allowed. Possible values: - `true` - `false` | [optional] diff --git a/docs/InlineResponse2012PayoutInformationPushFunds.md b/docs/InlineResponse2012PayoutInformationPushFunds.md index a34eb4b9a..e6c1d98ec 100644 --- a/docs/InlineResponse2012PayoutInformationPushFunds.md +++ b/docs/InlineResponse2012PayoutInformationPushFunds.md @@ -16,8 +16,8 @@ Name | Type | Description | Notes **onlineGamblingFastFundsDomestic** | **String** | This field indicates if domestic gambling OCTs (fast push funds) are allowed. Possible values: - `Y` - `N` | [optional] **onlineGamblingCrossBorder** | **String** | This field indicates if cross-border gambling OCTs (push funds) are allowed. Possible values: - `Y` - `N` | [optional] **onlineGamblingDomestic** | **String** | This field indicates if domestic gambling OCTs (push funds) are allowed. Possible values: - `Y` - `N` | [optional] -**domesticParticipant** | **String** | This field indicates if domestic OCTs (push funds) are allowed. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` | [optional] -**crossBorderParticipant** | **String** | This field indicates if cross-border OCTs (push funds) are allowed. Note: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` | [optional] +**domesticParticipant** | **String** | This field indicates if domestic OCTs (push funds) are allowed. Possible values: - `true` - `false` | [optional] +**crossBorderParticipant** | **String** | This field indicates if cross-border OCTs (push funds) are allowed. Possible values: - `true` - `false` | [optional] diff --git a/docs/InlineResponse4009.md b/docs/InlineResponse4009.md new file mode 100644 index 000000000..979088018 --- /dev/null +++ b/docs/InlineResponse4009.md @@ -0,0 +1,14 @@ + +# InlineResponse4009 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**submitTimeUtc** | **String** | Time verification was requested Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**status** | **String** | Possible values: - `INVALID_REQUEST` | [optional] +**message** | **String** | The detail message related to the status and reason | [optional] +**reason** | **String** | The reason of the status. Possible values: - `INVALID_REQUEST` | [optional] +**details** | [**List<InlineResponse4009Details>**](InlineResponse4009Details.md) | | [optional] + + + diff --git a/docs/InlineResponse4009Details.md b/docs/InlineResponse4009Details.md new file mode 100644 index 000000000..3e2dbeaf7 --- /dev/null +++ b/docs/InlineResponse4009Details.md @@ -0,0 +1,11 @@ + +# InlineResponse4009Details + +## 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] + + + diff --git a/docs/InlineResponse4033.md b/docs/InlineResponse4033.md new file mode 100644 index 000000000..1c1132795 --- /dev/null +++ b/docs/InlineResponse4033.md @@ -0,0 +1,13 @@ + +# InlineResponse4033 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**status** | **String** | Possible values: - `UNAUTHORIZED` | [optional] +**reason** | **String** | The reason of the status. Possible values: - `UNAUTHORIZED` | [optional] +**message** | **String** | The detail message related to the status and reason. | [optional] + + + diff --git a/docs/InlineResponse4041.md b/docs/InlineResponse4041.md index 8ccf461f6..31aef613d 100644 --- a/docs/InlineResponse4041.md +++ b/docs/InlineResponse4041.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**submitTimeUtc** | [**DateTime**](DateTime.md) | 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] +**submitTimeUtc** | **String** | The time the response was submitted | [optional] +**status** | **Integer** | The status code of the response | [optional] +**reason** | **String** | The reason for the response | [optional] +**message** | **String** | The message of the response | [optional] +**details** | [**List<InlineResponse4041Details>**](InlineResponse4041Details.md) | The details of the validation error | [optional] diff --git a/docs/InlineResponse4041Details.md b/docs/InlineResponse4041Details.md new file mode 100644 index 000000000..713fca7be --- /dev/null +++ b/docs/InlineResponse4041Details.md @@ -0,0 +1,11 @@ + +# InlineResponse4041Details + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**field** | **String** | The field that caused the validation error | [optional] +**reason** | **String** | The reason for the validation error | [optional] + + + diff --git a/docs/InlineResponse4042.md b/docs/InlineResponse4042.md index 1563fa1a9..7175054c0 100644 --- a/docs/InlineResponse4042.md +++ b/docs/InlineResponse4042.md @@ -4,9 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reason** | **String** | | [optional] -**message** | **String** | | [optional] -**details** | [**List<InlineResponse4042Details>**](InlineResponse4042Details.md) | | [optional] +**submitTimeUtc** | [**DateTime**](DateTime.md) | 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] diff --git a/docs/InlineResponse4043.md b/docs/InlineResponse4043.md index 9e7d15635..2d3bcbb04 100644 --- a/docs/InlineResponse4043.md +++ b/docs/InlineResponse4043.md @@ -4,10 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status** | **String** | The status of the submitted request. Possible values: - NOT_FOUND | [optional] -**message** | **String** | The detail message related to the status and reason listed above. | [optional] -**code** | **String** | An optional short string which identifies the exact error. | [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] +**reason** | **String** | | [optional] +**message** | **String** | | [optional] +**details** | [**List<InlineResponse4043Details>**](InlineResponse4043Details.md) | | [optional] diff --git a/docs/InlineResponse4042Details.md b/docs/InlineResponse4043Details.md similarity index 87% rename from docs/InlineResponse4042Details.md rename to docs/InlineResponse4043Details.md index a3ea03338..5bd9008c2 100644 --- a/docs/InlineResponse4042Details.md +++ b/docs/InlineResponse4043Details.md @@ -1,5 +1,5 @@ -# InlineResponse4042Details +# InlineResponse4043Details ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse4044.md b/docs/InlineResponse4044.md new file mode 100644 index 000000000..7c3dac2b3 --- /dev/null +++ b/docs/InlineResponse4044.md @@ -0,0 +1,13 @@ + +# InlineResponse4044 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **String** | The status of the submitted request. Possible values: - NOT_FOUND | [optional] +**message** | **String** | The detail message related to the status and reason listed above. | [optional] +**code** | **String** | An optional short string which identifies the exact error. | [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] + + + diff --git a/docs/InlineResponse4045.md b/docs/InlineResponse4045.md new file mode 100644 index 000000000..df0fd8d81 --- /dev/null +++ b/docs/InlineResponse4045.md @@ -0,0 +1,13 @@ + +# InlineResponse4045 + +## 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 request. Possible values: - NOT_FOUND | [optional] +**reason** | **String** | The reason of the status. Possible values: - NOT_FOUND | [optional] +**message** | **String** | The detail message related to the status and reason listed above. | [optional] + + + diff --git a/docs/InlineResponse4222.md b/docs/InlineResponse4222.md new file mode 100644 index 000000000..adf0e6e02 --- /dev/null +++ b/docs/InlineResponse4222.md @@ -0,0 +1,13 @@ + +# InlineResponse4222 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**status** | **String** | Possible values: - `VALIDATION_ERROR` | [optional] +**reason** | **String** | The reason of the status. Possible values: - `PRODUCT_INACTIVE` - `INVALID_MERCHANT_CONFIGURATION` - `PRODUCT_NOT_CONFIGURED` | [optional] +**message** | **String** | The detail message related to the status and reason. | [optional] + + + diff --git a/docs/InlineResponse5021.md b/docs/InlineResponse5021.md new file mode 100644 index 000000000..244ac1b9f --- /dev/null +++ b/docs/InlineResponse5021.md @@ -0,0 +1,13 @@ + +# InlineResponse5021 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**submitTimeUtc** | **String** | Time verification was requested Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**status** | **String** | The status of the submitted transaction. Possible values: - `SERVER_ERROR` | [optional] +**message** | **String** | The detail message related to the status and reason | [optional] +**reason** | **String** | The reason of the status. Possible values: - `SYSTEM_ERROR` - `SERVER_TIMEOUT` - `SERVICE_TIMEOUT` | [optional] + + + diff --git a/docs/InvoicingV2InvoiceSettingsGet200Response.md b/docs/InvoicingV2InvoiceSettingsGet200Response.md index d418e201a..c335dbde8 100644 --- a/docs/InvoicingV2InvoiceSettingsGet200Response.md +++ b/docs/InvoicingV2InvoiceSettingsGet200Response.md @@ -6,6 +6,7 @@ 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. Returned by Cybersource for all services. | [optional] **invoiceSettingsInformation** | [**InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation**](InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.md) | | [optional] +**merchantInformation** | [**InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation**](InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation.md) | | [optional] diff --git a/docs/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation.md b/docs/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation.md new file mode 100644 index 000000000..c6349b390 --- /dev/null +++ b/docs/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation.md @@ -0,0 +1,12 @@ + +# InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | | [optional] +**phone** | **String** | | [optional] +**addressDetails** | [**InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails**](InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.md) | | [optional] + + + diff --git a/docs/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.md b/docs/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.md new file mode 100644 index 000000000..200ae5d97 --- /dev/null +++ b/docs/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.md @@ -0,0 +1,15 @@ + +# InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address1** | **String** | | [optional] +**address2** | **String** | | [optional] +**city** | **String** | | [optional] +**state** | **String** | | [optional] +**country** | **String** | | [optional] +**postalCode** | **String** | | [optional] + + + diff --git a/docs/InvoicingV2InvoicesGet200Response.md b/docs/InvoicingV2InvoicesGet200Response.md index cecebb889..72ccdca59 100644 --- a/docs/InvoicingV2InvoicesGet200Response.md +++ b/docs/InvoicingV2InvoicesGet200Response.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **processingInformation** | [**Invoicingv2invoicesProcessingInformation**](Invoicingv2invoicesProcessingInformation.md) | | [optional] **invoiceInformation** | [**InvoicingV2InvoicesPost201ResponseInvoiceInformation**](InvoicingV2InvoicesPost201ResponseInvoiceInformation.md) | | [optional] **orderInformation** | [**InvoicingV2InvoicesPost201ResponseOrderInformation**](InvoicingV2InvoicesPost201ResponseOrderInformation.md) | | [optional] +**merchantDefinedFieldValuesWithDefinition** | [**List<InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition>**](InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.md) | | [optional] **invoiceHistory** | [**List<InvoicingV2InvoicesGet200ResponseInvoiceHistory>**](InvoicingV2InvoicesGet200ResponseInvoiceHistory.md) | | [optional] diff --git a/docs/InvoicingV2InvoicesPost201Response.md b/docs/InvoicingV2InvoicesPost201Response.md index e86921136..40c1734fc 100644 --- a/docs/InvoicingV2InvoicesPost201Response.md +++ b/docs/InvoicingV2InvoicesPost201Response.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **processingInformation** | [**Invoicingv2invoicesProcessingInformation**](Invoicingv2invoicesProcessingInformation.md) | | [optional] **invoiceInformation** | [**InvoicingV2InvoicesPost201ResponseInvoiceInformation**](InvoicingV2InvoicesPost201ResponseInvoiceInformation.md) | | [optional] **orderInformation** | [**InvoicingV2InvoicesPost201ResponseOrderInformation**](InvoicingV2InvoicesPost201ResponseOrderInformation.md) | | [optional] +**merchantDefinedFieldValuesWithDefinition** | [**List<InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition>**](InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.md) | | [optional] diff --git a/docs/InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.md b/docs/InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.md new file mode 100644 index 000000000..ba2b8220e --- /dev/null +++ b/docs/InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.md @@ -0,0 +1,22 @@ + +# InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**referenceType** | **String** | | [optional] +**label** | **String** | | [optional] +**fieldType** | **String** | | [optional] +**customerVisible** | **Boolean** | | [optional] +**readOnly** | **Boolean** | | [optional] +**textMinLength** | **Integer** | | [optional] +**textMaxLength** | **Integer** | | [optional] +**textDefaultValue** | **String** | | [optional] +**possibleValues** | **String** | | [optional] +**value** | **String** | | [optional] +**position** | **Integer** | | [optional] +**definitionId** | **Integer** | | [optional] +**merchantDefinedDataIndex** | **Integer** | | [optional] + + + diff --git a/docs/InvoicingV2InvoicesPut200Response.md b/docs/InvoicingV2InvoicesPut200Response.md index 45685f520..d12cd695e 100644 --- a/docs/InvoicingV2InvoicesPut200Response.md +++ b/docs/InvoicingV2InvoicesPut200Response.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **processingInformation** | [**Invoicingv2invoicesProcessingInformation**](Invoicingv2invoicesProcessingInformation.md) | | [optional] **invoiceInformation** | [**InvoicingV2InvoicesPost201ResponseInvoiceInformation**](InvoicingV2InvoicesPost201ResponseInvoiceInformation.md) | | [optional] **orderInformation** | [**InvoicingV2InvoicesPost201ResponseOrderInformation**](InvoicingV2InvoicesPost201ResponseOrderInformation.md) | | [optional] +**merchantDefinedFieldValuesWithDefinition** | [**List<InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition>**](InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.md) | | [optional] diff --git a/docs/Invoicingv2invoicesMerchantDefinedFieldValues.md b/docs/Invoicingv2invoicesMerchantDefinedFieldValues.md new file mode 100644 index 000000000..373f56acf --- /dev/null +++ b/docs/Invoicingv2invoicesMerchantDefinedFieldValues.md @@ -0,0 +1,11 @@ + +# Invoicingv2invoicesMerchantDefinedFieldValues + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**definitionId** | **Long** | | [optional] +**value** | **String** | | [optional] + + + diff --git a/docs/ManageWebhooksApi.md b/docs/ManageWebhooksApi.md index a00354760..1ced30118 100644 --- a/docs/ManageWebhooksApi.md +++ b/docs/ManageWebhooksApi.md @@ -104,7 +104,7 @@ No authorization required # **getWebhookSubscriptionsByOrg** -> List<InlineResponse2004> getWebhookSubscriptionsByOrg(organizationId, productId, eventType) +> List<InlineResponse2005> getWebhookSubscriptionsByOrg(organizationId, productId, eventType) Get Details On All Created Webhooks @@ -122,7 +122,7 @@ String organizationId = "organizationId_example"; // String | The Organization I String productId = "productId_example"; // String | The Product Identifier. String eventType = "eventType_example"; // String | The Event Type. try { - List result = apiInstance.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); + List result = apiInstance.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ManageWebhooksApi#getWebhookSubscriptionsByOrg"); @@ -140,7 +140,7 @@ Name | Type | Description | Notes ### Return type -[**List<InlineResponse2004>**](InlineResponse2004.md) +[**List<InlineResponse2005>**](InlineResponse2005.md) ### Authorization @@ -198,7 +198,7 @@ No authorization required # **notificationSubscriptionsV2WebhooksWebhookIdPatch** -> InlineResponse2005 notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook) +> InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook) Update a Webhook Subscription @@ -215,7 +215,7 @@ ManageWebhooksApi apiInstance = new ManageWebhooksApi(); String webhookId = "webhookId_example"; // String | The Webhook Identifier. UpdateWebhook updateWebhook = new UpdateWebhook(); // UpdateWebhook | The webhook payload or changes to apply. try { - InlineResponse2005 result = apiInstance.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); + InlineResponse2006 result = apiInstance.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ManageWebhooksApi#notificationSubscriptionsV2WebhooksWebhookIdPatch"); @@ -232,7 +232,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2005**](InlineResponse2005.md) +[**InlineResponse2006**](InlineResponse2006.md) ### Authorization diff --git a/docs/MerchantBoardingApi.md b/docs/MerchantBoardingApi.md index da64711c1..38970e2b6 100644 --- a/docs/MerchantBoardingApi.md +++ b/docs/MerchantBoardingApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **getRegistration** -> InlineResponse2002 getRegistration(registrationId) +> InlineResponse2003 getRegistration(registrationId) Gets all the information on a boarding registration @@ -26,7 +26,7 @@ This end point will get all information of a boarding registration MerchantBoardingApi apiInstance = new MerchantBoardingApi(); String registrationId = "registrationId_example"; // String | Identifies the boarding registration to be updated try { - InlineResponse2002 result = apiInstance.getRegistration(registrationId); + InlineResponse2003 result = apiInstance.getRegistration(registrationId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling MerchantBoardingApi#getRegistration"); @@ -42,7 +42,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2002**](InlineResponse2002.md) +[**InlineResponse2003**](InlineResponse2003.md) ### Authorization diff --git a/docs/MerchantDefinedFieldCore.md b/docs/MerchantDefinedFieldCore.md new file mode 100644 index 000000000..7818def21 --- /dev/null +++ b/docs/MerchantDefinedFieldCore.md @@ -0,0 +1,18 @@ + +# MerchantDefinedFieldCore + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fieldType** | **String** | Possible values: - text - select | +**label** | **String** | | +**customerVisible** | **Boolean** | | [optional] +**textMinLength** | **Integer** | Should be used only if fieldType = \"text\" | [optional] +**textMaxLength** | **Integer** | Should be used only if fieldType = \"text\" | [optional] +**textDefaultValue** | **String** | Should be used only if fieldType = \"text\" | [optional] +**possibleValues** | **String** | Should be mandatory and used only if fieldType = \"select\" | [optional] +**readOnly** | **Boolean** | | [optional] +**merchantDefinedDataIndex** | **Integer** | | + + + diff --git a/docs/MerchantDefinedFieldDefinitionRequest.md b/docs/MerchantDefinedFieldDefinitionRequest.md new file mode 100644 index 000000000..6c0a3f2e5 --- /dev/null +++ b/docs/MerchantDefinedFieldDefinitionRequest.md @@ -0,0 +1,18 @@ + +# MerchantDefinedFieldDefinitionRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fieldType** | **String** | Possible values: - text - select | +**label** | **String** | | +**customerVisible** | **Boolean** | | [optional] +**textMinLength** | **Integer** | Should be used only if fieldType = \"text\" | [optional] +**textMaxLength** | **Integer** | Should be used only if fieldType = \"text\" | [optional] +**textDefaultValue** | **String** | Should be used only if fieldType = \"text\" | [optional] +**possibleValues** | **String** | Should be mandatory and used only if fieldType = \"select\" | [optional] +**readOnly** | **Boolean** | | [optional] +**merchantDefinedDataIndex** | **Integer** | | + + + diff --git a/docs/MerchantDefinedFieldsApi.md b/docs/MerchantDefinedFieldsApi.md new file mode 100644 index 000000000..448684333 --- /dev/null +++ b/docs/MerchantDefinedFieldsApi.md @@ -0,0 +1,191 @@ +# MerchantDefinedFieldsApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createMerchantDefinedFieldDefinition**](MerchantDefinedFieldsApi.md#createMerchantDefinedFieldDefinition) | **POST** /invoicing/v2/{referenceType}/merchantDefinedFields | Create merchant defined field for a given reference type +[**getMerchantDefinedFieldsDefinitions**](MerchantDefinedFieldsApi.md#getMerchantDefinedFieldsDefinitions) | **GET** /invoicing/v2/{referenceType}/merchantDefinedFields | Get all merchant defined fields for a given reference type +[**invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete**](MerchantDefinedFieldsApi.md#invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete) | **DELETE** /invoicing/v2/{referenceType}/merchantDefinedFields/{id} | Delete a MerchantDefinedField by ID +[**invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut**](MerchantDefinedFieldsApi.md#invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut) | **PUT** /invoicing/v2/{referenceType}/merchantDefinedFields/{id} | Update a MerchantDefinedField by ID + + + +# **createMerchantDefinedFieldDefinition** +> List<InlineResponse2002> createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest) + +Create merchant defined field for a given reference type + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.MerchantDefinedFieldsApi; + + +MerchantDefinedFieldsApi apiInstance = new MerchantDefinedFieldsApi(); +String referenceType = "referenceType_example"; // String | The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation +MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest = new MerchantDefinedFieldDefinitionRequest(); // MerchantDefinedFieldDefinitionRequest | +try { + List result = apiInstance.createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling MerchantDefinedFieldsApi#createMerchantDefinedFieldDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **referenceType** | **String**| The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation | [enum: Invoice, Purchase, Donation] + **merchantDefinedFieldDefinitionRequest** | [**MerchantDefinedFieldDefinitionRequest**](MerchantDefinedFieldDefinitionRequest.md)| | + +### Return type + +[**List<InlineResponse2002>**](InlineResponse2002.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **getMerchantDefinedFieldsDefinitions** +> List<InlineResponse2002> getMerchantDefinedFieldsDefinitions(referenceType) + +Get all merchant defined fields for a given reference type + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.MerchantDefinedFieldsApi; + + +MerchantDefinedFieldsApi apiInstance = new MerchantDefinedFieldsApi(); +String referenceType = "referenceType_example"; // String | The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation +try { + List result = apiInstance.getMerchantDefinedFieldsDefinitions(referenceType); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling MerchantDefinedFieldsApi#getMerchantDefinedFieldsDefinitions"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **referenceType** | **String**| The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation | [enum: Invoice, Purchase, Donation] + +### Return type + +[**List<InlineResponse2002>**](InlineResponse2002.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete** +> invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(referenceType, id) + +Delete a MerchantDefinedField by ID + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.MerchantDefinedFieldsApi; + + +MerchantDefinedFieldsApi apiInstance = new MerchantDefinedFieldsApi(); +String referenceType = "referenceType_example"; // String | +Long id = 789L; // Long | +try { + apiInstance.invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(referenceType, id); +} catch (ApiException e) { + System.err.println("Exception when calling MerchantDefinedFieldsApi#invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **referenceType** | **String**| | [enum: Invoice, Purchase, Donation] + **id** | **Long**| | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + + +# **invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut** +> List<InlineResponse2002> invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(referenceType, id, merchantDefinedFieldCore) + +Update a MerchantDefinedField by ID + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.MerchantDefinedFieldsApi; + + +MerchantDefinedFieldsApi apiInstance = new MerchantDefinedFieldsApi(); +String referenceType = "referenceType_example"; // String | +Long id = 789L; // Long | +MerchantDefinedFieldCore merchantDefinedFieldCore = new MerchantDefinedFieldCore(); // MerchantDefinedFieldCore | +try { + List result = apiInstance.invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(referenceType, id, merchantDefinedFieldCore); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling MerchantDefinedFieldsApi#invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **referenceType** | **String**| | [enum: Invoice, Purchase, Donation] + **id** | **Long**| | + **merchantDefinedFieldCore** | [**MerchantDefinedFieldCore**](MerchantDefinedFieldCore.md)| | + +### Return type + +[**List<InlineResponse2002>**](InlineResponse2002.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/hal+json;charset=utf-8 + diff --git a/docs/MitReversalRequest.md b/docs/MitReversalRequest.md index 3568ce118..256741de6 100644 --- a/docs/MitReversalRequest.md +++ b/docs/MitReversalRequest.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **processingInformation** | [**Ptsv2paymentsidreversalsProcessingInformation**](Ptsv2paymentsidreversalsProcessingInformation.md) | | [optional] **orderInformation** | [**Ptsv2paymentsidreversalsOrderInformation**](Ptsv2paymentsidreversalsOrderInformation.md) | | [optional] **pointOfSaleInformation** | [**Ptsv2paymentsidreversalsPointOfSaleInformation**](Ptsv2paymentsidreversalsPointOfSaleInformation.md) | | [optional] +**processorInformation** | [**Ptsv2reversalsProcessorInformation**](Ptsv2reversalsProcessorInformation.md) | | [optional] diff --git a/docs/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.md b/docs/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.md index c4deb756a..dbfa5f53f 100644 --- a/docs/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.md +++ b/docs/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **redirectSuccessUrl** | **String** | URL to redirect to after a successful transaction. This is where the user will be sent after completing the payment. example: http://www.test.com/success | [optional] **redirectCancelUrl** | **String** | URL to redirect to if the user cancels the transaction. This is where the user will be sent if they choose to cancel the payment. example: http://www.test.com/cancel | [optional] **redirectFailureUrl** | **String** | URL to redirect to if the transaction fails. This is where the user will be sent if there is an error during the payment process. example: http://www.test.com/failure | [optional] +**underwriting** | [**UnderwritingConfiguration**](UnderwritingConfiguration.md) | | [optional] **additionalConfigurations** | [**List<PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsAdditionalConfigurations>**](PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsAdditionalConfigurations.md) | Additional configurations for the payment method. This can include various settings specific to the payment method. | [optional] diff --git a/docs/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md b/docs/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md index 13e26f9ef..67d7625ef 100644 --- a/docs/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md +++ b/docs/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **enabled** | **Boolean** | | [optional] -**selfServiceability** | **String** | Indicates if the organization can enable this product using self service. Possible values: - SELF_SERVICEABLE - NOT_SELF_SERVICEABLE - SELF_SERVICE_ONLY | [optional] diff --git a/docs/PaymentsProductsCurrencyConversion.md b/docs/PaymentsProductsCurrencyConversion.md index fab77e871..6fa224bf7 100644 --- a/docs/PaymentsProductsCurrencyConversion.md +++ b/docs/PaymentsProductsCurrencyConversion.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**PaymentsProductsCurrencyConversionConfigurationInformation**](PaymentsProductsCurrencyConversionConfigurationInformation.md) | | [optional] diff --git a/docs/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.md b/docs/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.md index bf939090b..5cc992d54 100644 --- a/docs/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.md +++ b/docs/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**surcharge** | [**PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge**](PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.md) | | [optional] +**surcharge** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] diff --git a/docs/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.md b/docs/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.md deleted file mode 100644 index c9b16b688..000000000 --- a/docs/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.md +++ /dev/null @@ -1,10 +0,0 @@ - -# PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **Boolean** | | [optional] - - - diff --git a/docs/PaymentsProductsPayerAuthentication.md b/docs/PaymentsProductsPayerAuthentication.md index bfe15281f..8906866de 100644 --- a/docs/PaymentsProductsPayerAuthentication.md +++ b/docs/PaymentsProductsPayerAuthentication.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**PaymentsProductsPayerAuthenticationConfigurationInformation**](PaymentsProductsPayerAuthenticationConfigurationInformation.md) | | [optional] diff --git a/docs/PaymentsProductsPayerAuthenticationSubscriptionInformation.md b/docs/PaymentsProductsPayerAuthenticationSubscriptionInformation.md new file mode 100644 index 000000000..2d10bd4f1 --- /dev/null +++ b/docs/PaymentsProductsPayerAuthenticationSubscriptionInformation.md @@ -0,0 +1,11 @@ + +# PaymentsProductsPayerAuthenticationSubscriptionInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Boolean** | | [optional] +**selfServiceability** | **String** | Indicates if the organization can enable this product using self service. Possible values: - SELF_SERVICEABLE - NOT_SELF_SERVICEABLE - SELF_SERVICE_ONLY | [optional] + + + diff --git a/docs/PaymentsProductsPayouts.md b/docs/PaymentsProductsPayouts.md index 698ce08b3..998176c42 100644 --- a/docs/PaymentsProductsPayouts.md +++ b/docs/PaymentsProductsPayouts.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**PaymentsProductsPayoutsConfigurationInformation**](PaymentsProductsPayoutsConfigurationInformation.md) | | [optional] diff --git a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurations.md b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurations.md index 111ab717e..aa39ae3f4 100644 --- a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurations.md +++ b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurations.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pullfunds** | [**Map<String, PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds>**](PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.md) | | [optional] -**pushfunds** | [**Map<String, PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds>**](PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.md) | | [optional] +**common** | [**PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon**](PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.md) | | [optional] +**processors** | **Map<String, Object>** | | [optional] diff --git a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.md b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.md new file mode 100644 index 000000000..f8d6cc12e --- /dev/null +++ b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.md @@ -0,0 +1,12 @@ + +# PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**paymentTypes** | **List<String>** | List of card types supported by this merchant. | [optional] +**businessApplicationId** | **List<String>** | List of supported Business Application Indicators. | [optional] +**aggregator** | [**PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator**](PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.md) | | [optional] + + + diff --git a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.md b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.md new file mode 100644 index 000000000..cb3890ff1 --- /dev/null +++ b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.md @@ -0,0 +1,12 @@ + +# PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Marketplace or payment facilitator ID. | [optional] +**name** | **String** | Acceptor's legal business name associated with the card acceptor identification code. | [optional] +**subMerchantId** | **String** | Sub-merchant ID | [optional] + + + diff --git a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md deleted file mode 100644 index 6263fdb9d..000000000 --- a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md +++ /dev/null @@ -1,12 +0,0 @@ - -# PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount - -## 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] - - - diff --git a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.md b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.md deleted file mode 100644 index b95be4571..000000000 --- a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.md +++ /dev/null @@ -1,16 +0,0 @@ - -# PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**acquirerOrganizationId** | **String** | Valid organization in OMS with an organizationInformation.type as \"acquirer\". | [optional] -**acquiringBIN** | **Integer** | 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** | **Boolean** | 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. | - - - diff --git a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.md b/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.md deleted file mode 100644 index ad59608a2..000000000 --- a/docs/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.md +++ /dev/null @@ -1,18 +0,0 @@ - -# PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**acquirerCountryCode** | **Integer** | TBD | -**acquiringBIN** | **Integer** | TBD | -**allowCryptoCurrencyPurchase** | **Boolean** | 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<PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount>**](PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.md) | TBD | - - - diff --git a/docs/PaymentsProductsSecureAcceptance.md b/docs/PaymentsProductsSecureAcceptance.md index ff50debde..a3728b5ae 100644 --- a/docs/PaymentsProductsSecureAcceptance.md +++ b/docs/PaymentsProductsSecureAcceptance.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**PaymentsProductsSecureAcceptanceConfigurationInformation**](PaymentsProductsSecureAcceptanceConfigurationInformation.md) | | [optional] diff --git a/docs/PaymentsProductsServiceFee.md b/docs/PaymentsProductsServiceFee.md index d280b856a..f20531244 100644 --- a/docs/PaymentsProductsServiceFee.md +++ b/docs/PaymentsProductsServiceFee.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**PaymentsProductsServiceFeeConfigurationInformation**](PaymentsProductsServiceFeeConfigurationInformation.md) | | [optional] diff --git a/docs/PaymentsProductsTax.md b/docs/PaymentsProductsTax.md index 945ecaecd..efffa0f73 100644 --- a/docs/PaymentsProductsTax.md +++ b/docs/PaymentsProductsTax.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] diff --git a/docs/PaymentsProductsVirtualTerminal.md b/docs/PaymentsProductsVirtualTerminal.md index eb2806bfe..e15d749c6 100644 --- a/docs/PaymentsProductsVirtualTerminal.md +++ b/docs/PaymentsProductsVirtualTerminal.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**PaymentsProductsVirtualTerminalConfigurationInformation**](PaymentsProductsVirtualTerminalConfigurationInformation.md) | | [optional] diff --git a/docs/PostIssuerLifeCycleSimulationRequest.md b/docs/PostIssuerLifeCycleSimulationRequest.md new file mode 100644 index 000000000..549f4daee --- /dev/null +++ b/docs/PostIssuerLifeCycleSimulationRequest.md @@ -0,0 +1,12 @@ + +# PostIssuerLifeCycleSimulationRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**state** | **String** | The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED | [optional] +**card** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md) | | [optional] +**metadata** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md) | | [optional] + + + diff --git a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md index 5fa372e24..d82d04236 100644 --- a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md +++ b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md @@ -9,10 +9,11 @@ Name | Type | Description | Notes **networkTransactionId** | **String** | Same value as `processorInformation.transactionId` | [optional] **responseCode** | **String** | For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) #### paypalgateway Processor generated ID for the itemized detail. | [optional] **systemTraceAuditNumber** | **String** | This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt. | [optional] -**responseDetails** | **String** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] +**responseDetails** | **String** | This field might contain information about a decline. | [optional] **merchantAdvice** | [**PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice**](PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice.md) | | [optional] **merchantRiskPrediction** | **String** | Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. | [optional] **sellerProtection** | [**PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection**](PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.md) | | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.md b/docs/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.md index 6dc013412..46e13ff64 100644 --- a/docs/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.md +++ b/docs/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**level3TransmissionStatus** | **Boolean** | Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** | [optional] +**level3TransmissionStatus** | **String** | Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **Y** for true - **N** for false | [optional] diff --git a/docs/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.md b/docs/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.md index 180237e08..f523d6ec4 100644 --- a/docs/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.md +++ b/docs/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **responseCode** | **String** | For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) #### paypalgateway Processor generated ID for the itemized detail. | [optional] **providerResponse** | **String** | Processor response to the API request. | [optional] **updateTimeUtc** | **String** | The date and time when the transaction was last updated, in Internet date and time format. | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.md b/docs/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.md index 645e263b0..38668407f 100644 --- a/docs/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.md +++ b/docs/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **accountId** | **String** | The ID of the customer, passed in the return_url field by PayPal after customer approval. | [optional] **fundingSource** | **String** | Payment mode for the authorization or order transaction.  INSTANT_TRANSFER  MANUAL_BANK_TRANSFER  DELAYED_TRANSFER  ECHECK  UNRESTRICTED (default)—this value is available only when configured by PayPal for the merchant. INSTANT | [optional] **fundingSourceSale** | **String** | Payment method for the unit purchase. Possible values: - `UNRESTRICTED (default)—this value is only available if configured by PayPal for the merchant.` - `INSTANT` | [optional] -**userName** | **String** | The Venmo user name chosen by the user, also know as a Venmo handle. | [optional] +**userName** | **String** | The Venmo user name chosen by the user, also known as a Venmo handle. | [optional] diff --git a/docs/PtsV2PaymentsOrderPost201ResponseProcessorInformation.md b/docs/PtsV2PaymentsOrderPost201ResponseProcessorInformation.md index f1f8b1511..22e48eb7e 100644 --- a/docs/PtsV2PaymentsOrderPost201ResponseProcessorInformation.md +++ b/docs/PtsV2PaymentsOrderPost201ResponseProcessorInformation.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **sellerProtection** | [**PtsV2PaymentsOrderPost201ResponseProcessorInformationSellerProtection**](PtsV2PaymentsOrderPost201ResponseProcessorInformationSellerProtection.md) | | [optional] **avs** | [**PtsV2PaymentsPost201Response1ProcessorInformationAvs**](PtsV2PaymentsPost201Response1ProcessorInformationAvs.md) | | [optional] **transactionId** | **String** | Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003 | [optional] -**responseDetails** | **String** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] +**responseDetails** | **String** | This field might contain information about a decline. | [optional] diff --git a/docs/PtsV2PaymentsPost201Response1IssuerInformation.md b/docs/PtsV2PaymentsPost201Response1IssuerInformation.md index 368666c19..43ba50320 100644 --- a/docs/PtsV2PaymentsPost201Response1IssuerInformation.md +++ b/docs/PtsV2PaymentsPost201Response1IssuerInformation.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of the card issuer provided by the processor. | [optional] -**code** | **String** | Unique code for card issuer provided by the processor. | [optional] +**code** | **String** | Unique code for card issuer provided by the processor. | [optional] diff --git a/docs/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.md b/docs/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.md index b7482e8ad..67f5ac2f4 100644 --- a/docs/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.md +++ b/docs/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**refundBalance** | **String** | This field will carry the remaning amount which can be refunded. | [optional] +**refundBalance** | **String** | The remaining amount which can be refunded. | [optional] diff --git a/docs/PtsV2PaymentsPost201Response1ProcessorInformation.md b/docs/PtsV2PaymentsPost201Response1ProcessorInformation.md index e71fa80a7..3e320a442 100644 --- a/docs/PtsV2PaymentsPost201Response1ProcessorInformation.md +++ b/docs/PtsV2PaymentsPost201Response1ProcessorInformation.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **transactionId** | **String** | Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003 | [optional] **tradeNumber** | **String** | The description for this field is not available. | [optional] -**rawResponse** | **String** | This field is set to the value of failure reason returned by the processor. | [optional] -**rawResponseLocal** | **String** | This field is set to the value of failure reason returned by the processor in the local language of the processor. | [optional] +**rawResponse** | **String** | Failure reason returned by the processor. | [optional] +**rawResponseLocal** | **String** | Failure reason returned by the processor in the local language of the processor. | [optional] **responseDetails** | **String** | This field might contain information about a decline. | [optional] **responseCode** | **String** | This field is set to the value of response code returned by the processor. | [optional] **sellerProtection** | [**PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection**](PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.md) | | [optional] diff --git a/docs/PtsV2PaymentsPost201Response2ProcessorInformation.md b/docs/PtsV2PaymentsPost201Response2ProcessorInformation.md index 2ab6e6d4b..9bf4f2c9b 100644 --- a/docs/PtsV2PaymentsPost201Response2ProcessorInformation.md +++ b/docs/PtsV2PaymentsPost201Response2ProcessorInformation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **transactionId** | **String** | Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003 | [optional] **paymentUrl** | **String** | Direct the customer to this URL to complete the payment. | [optional] -**responseDetails** | **String** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] +**responseDetails** | **String** | This field might contain information about a decline. | [optional] **token** | **String** | Payment gateway/processor assigned session token. | [optional] **responseCode** | **String** | Transaction status from the processor. | [optional] diff --git a/docs/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.md b/docs/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.md index 21bd6064b..b6faf2d5b 100644 --- a/docs/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.md +++ b/docs/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**level3TransmissionStatus** | **Boolean** | Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** | [optional] +**level3TransmissionStatus** | **String** | Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **Y** for true - **N** for false | [optional] **salesSlipNumber** | **Integer** | Transaction identifier that is generated. You have the option of printing the sales slip number on the receipt. This field is supported only on Cybersource through Visanet and JCN gateway. Optional field. #### Card Present processing message If you included this field in the request, the returned value is the value that you sent in the request. If you did not include this field in the request, the system generated this value for you. The difference between this reply field and the `processorInformation.systemTraceAuditNumber` field is that the system generates the system trace audit number (STAN), and you must print the receipt number on the receipt; whereas you can generate the sales slip number, and you can choose to print the sales slip number on the receipt. | [optional] diff --git a/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md b/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md index aacc932d0..74cdabfce 100644 --- a/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **networkTransactionId** | **String** | Same value as `processorInformation.transactionId` | [optional] **responseCode** | **String** | For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) #### paypalgateway Processor generated ID for the itemized detail. | [optional] **responseCodeSource** | **String** | Used by Visa only and contains the response source/reason code that identifies the source of the response decision. | [optional] -**responseDetails** | **String** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] +**responseDetails** | **String** | This field might contain information about a decline. | [optional] **responseCategoryCode** | **String** | Processor-defined response category code. The associated detail error code is in the `processorInformation.responseCode` or `issuerInformation.responseCode` field of the service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting #### Maximum length for processors - Comercio Latino: 36 - All other processors: 3 | [optional] **forwardedAcquirerCode** | **String** | Name of the Japanese acquirer that processed the transaction. Returned only for JCN Gateway. Please contact the CyberSource Japan Support Group for more information. | [optional] **settlementDate** | **String** | Field contains a settlement date. The date is in mmdd format, where: mm = month and dd = day. | [optional] @@ -49,6 +49,7 @@ Name | Type | Description | Notes **orderId** | **String** | The id of the order | [optional] **orderStatus** | **String** | The order status. Possible values: - `CREATED` - `VOIDED` - `COMPLETED` - `PAYER_ACTION_REQUIRED` | [optional] **merchantRiskPrediction** | **String** | Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region. A newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices. | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/PtsV2PaymentsRefundPost201ResponseProcessorInformation.md b/docs/PtsV2PaymentsRefundPost201ResponseProcessorInformation.md index 56a13b4c6..1a0f4ff70 100644 --- a/docs/PtsV2PaymentsRefundPost201ResponseProcessorInformation.md +++ b/docs/PtsV2PaymentsRefundPost201ResponseProcessorInformation.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **networkTransactionId** | **String** | Same value as `processorInformation.transactionId` | [optional] **settlementDate** | **String** | Field contains a settlement date. The date is in mmdd format, where: mm = month and dd = day. | [optional] **updateTimeUtc** | **String** | The date and time when the transaction was last updated, in Internet date and time format. | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md b/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md index 990cd0585..1ceec7102 100644 --- a/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md +++ b/docs/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.md @@ -11,8 +11,9 @@ Name | Type | Description | Notes **forwardedAcquirerCode** | **String** | Name of the Japanese acquirer that processed the transaction. Returned only for JCN Gateway. Please contact the CyberSource Japan Support Group for more information. | [optional] **masterCardServiceCode** | **String** | Mastercard service that was used for the transaction. Mastercard provides this value to CyberSource. Possible value: - 53: Mastercard card-on-file token service #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 133-134 - Field: Mastercard Merchant on-behalf service. **Note** This field is returned only for CyberSource through VisaNet. | [optional] **masterCardServiceReplyCode** | **String** | Result of the Mastercard card-on-file token service. Mastercard provides this value to CyberSource. Possible values: - `C`: Service completed successfully. - `F`: One of the following: - Incorrect Mastercard POS entry mode. The Mastercard POS entry mode should be 81 for an authorization or authorization reversal. - Incorrect Mastercard POS entry mode. The Mastercard POS entry mode should be 01 for a tokenized request. - Token requestor ID is missing or formatted incorrectly. - `I`: One of the following: - Invalid token requestor ID. - Suspended or deactivated token. - Invalid token (not in mapping table). - `T`: Invalid combination of token requestor ID and token. - `U`: Expired token. - `W`: Primary account number (PAN) listed in electronic warning bulletin. **Note** This field is returned only for **CyberSource through VisaNet**. | [optional] -**responseDetails** | **String** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] +**responseDetails** | **String** | This field might contain information about a decline. | [optional] **providerResponse** | **String** | Processor response to the API request. | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.md b/docs/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.md index 2b50c4c42..c25ebdc86 100644 --- a/docs/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.md +++ b/docs/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **description** | **String** | Description of the vaulted payment method shown to the buyer during checkout and in their PayPal account. | [optional] **usagePattern** | **String** | Indicates how the merchant will primarily use the vaulted payment method. Valid values: - \"IMMEDIATE\": For on-demand, instant payments. These payments are variable in both amount and frequency and will be used to pay for goods or services before they are rendered to the buyer - \"DEFERRED\": For post-pay payments; that is, payments for goods or services that have already been rendered to the buyer - \"RECURRING_PREPAID\": For recurring payments before services are rendered. - \"RECURRING_POSTPAID\": For recurring payments after services are rendered. - \"THRESHOLD_PREPAID\": For payments when a pre-defined threshold is reached before services are rendered. - \"THRESHOLD_POSTPAID\": For payments when a pre-defined threshold is reached after services are rendered. | [optional] **usageType** | **String** | Indicates the type of vaulting relationship. Valid values: - \"MERCHANT\": Single merchant relationship. - \"PLATFORM\": Platform hosting multiple merchants. | [optional] -**allowMultipleTokens** | **Boolean** | Create multiple payment tokens for the same payer, merchant/platform combination. This helps to identify customers distinctly even though they may share the same PayPal account. | [optional] +**allowMultipleTokens** | **String** | Create multiple payment tokens for the same payer, merchant/platform combination. This helps to identify customers distinctly even though they may share the same PayPal account. | [optional] diff --git a/docs/Ptsv2paymentsOrderInformationAmountDetails.md b/docs/Ptsv2paymentsOrderInformationAmountDetails.md index 7503a09a4..3687c9a5b 100644 --- a/docs/Ptsv2paymentsOrderInformationAmountDetails.md +++ b/docs/Ptsv2paymentsOrderInformationAmountDetails.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**refundBalance** | **String** | The remaining amount which can be refunded. | [optional] **giftWrapAmount** | **String** | Amount being charged as gift wrap fee. | [optional] **invoiceAmount** | **String** | Invoice amount. The invoice amount issued by the Merchant to the Cardholder, which includes VAT (excluding items such as TIPS or CASHBACK). For transactions that do not have applicable Benefit Laws, the field may be entered as zeros. This field is only applicable for Uruguay market. Example: 100.00 Uruguay The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR9 - Position: 7-18 - Field: Invoice Amount | [optional] **totalAmount** | **String** | Grand total for the order. This value cannot be negative. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places. **Note** For CTV, FDCCompass, Paymentech processors, the maximum length for this field is 12. **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. If your processor supports zero amount authorizations, you can set this field to 0 for the authorization to check if the card is lost or stolen. #### Card Present Required to include either this field or `orderInformation.lineItems[].unitPrice` for the order. #### Invoicing / Pay By Link Required for creating a new invoice or payment link. #### PIN Debit 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. Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit; however, for all other processors, these fields are required. #### DCC with a Third-Party Provider Set this field to the converted amount that was returned by the DCC provider. You must include either this field or the 1st line item in the order and the specific line-order amount in your request. #### DCC for First Data Not used. | [optional] diff --git a/docs/Ptsv2paymentsProcessorInformation.md b/docs/Ptsv2paymentsProcessorInformation.md index 65b5eb79c..1e87b03c9 100644 --- a/docs/Ptsv2paymentsProcessorInformation.md +++ b/docs/Ptsv2paymentsProcessorInformation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **preApprovalToken** | **String** | Token received in original session service. | [optional] **authorizationOptions** | [**Ptsv2paymentsProcessorInformationAuthorizationOptions**](Ptsv2paymentsProcessorInformationAuthorizationOptions.md) | | [optional] **reversal** | [**Ptsv2paymentsProcessorInformationReversal**](Ptsv2paymentsProcessorInformationReversal.md) | | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/Ptsv2paymentsProcessorInformationReversal.md b/docs/Ptsv2paymentsProcessorInformationReversal.md index 31fd67dfb..f38c00137 100644 --- a/docs/Ptsv2paymentsProcessorInformationReversal.md +++ b/docs/Ptsv2paymentsProcessorInformationReversal.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **preApprovalToken** | **String** | This is a token generated by PSP, which is received in response to the Sessions service. This token should be sent in the following transactions. | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/Ptsv2paymentsProcessorInformationReversalNetwork.md b/docs/Ptsv2paymentsProcessorInformationReversalNetwork.md new file mode 100644 index 000000000..8099e2331 --- /dev/null +++ b/docs/Ptsv2paymentsProcessorInformationReversalNetwork.md @@ -0,0 +1,10 @@ + +# Ptsv2paymentsProcessorInformationReversalNetwork + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**economicallyRelatedTxnId** | **String** | Indicates the economically related transaction id | [optional] + + + diff --git a/docs/Ptsv2paymentsidProcessingInformation.md b/docs/Ptsv2paymentsidProcessingInformation.md index 3efddd2cc..dd6d5d18a 100644 --- a/docs/Ptsv2paymentsidProcessingInformation.md +++ b/docs/Ptsv2paymentsidProcessingInformation.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **authorizationOptions** | [**Ptsv2paymentsidProcessingInformationAuthorizationOptions**](Ptsv2paymentsidProcessingInformationAuthorizationOptions.md) | | [optional] +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] diff --git a/docs/Ptsv2reversalsProcessorInformation.md b/docs/Ptsv2reversalsProcessorInformation.md new file mode 100644 index 000000000..a3e343c4c --- /dev/null +++ b/docs/Ptsv2reversalsProcessorInformation.md @@ -0,0 +1,10 @@ + +# Ptsv2reversalsProcessorInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**network** | [**Ptsv2paymentsProcessorInformationReversalNetwork**](Ptsv2paymentsProcessorInformationReversalNetwork.md) | | [optional] + + + diff --git a/docs/RefundCaptureRequest.md b/docs/RefundCaptureRequest.md index 528e5c37b..9e06f6499 100644 --- a/docs/RefundCaptureRequest.md +++ b/docs/RefundCaptureRequest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **merchantDefinedInformation** | [**List<Ptsv2paymentsMerchantDefinedInformation>**](Ptsv2paymentsMerchantDefinedInformation.md) | The object containing the custom data that the merchant defines. | [optional] **travelInformation** | [**Ptsv2paymentsTravelInformation**](Ptsv2paymentsTravelInformation.md) | | [optional] **promotionInformation** | [**Ptsv2paymentsPromotionInformation**](Ptsv2paymentsPromotionInformation.md) | | [optional] +**processorInformation** | [**Ptsv2reversalsProcessorInformation**](Ptsv2reversalsProcessorInformation.md) | | [optional] diff --git a/docs/RefundPaymentRequest.md b/docs/RefundPaymentRequest.md index 19dfb1ddd..9d52802a6 100644 --- a/docs/RefundPaymentRequest.md +++ b/docs/RefundPaymentRequest.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **merchantDefinedInformation** | [**List<Ptsv2paymentsMerchantDefinedInformation>**](Ptsv2paymentsMerchantDefinedInformation.md) | The object containing the custom data that the merchant defines. | [optional] **travelInformation** | [**Ptsv2paymentsTravelInformation**](Ptsv2paymentsTravelInformation.md) | | [optional] **promotionInformation** | [**Ptsv2paymentsPromotionInformation**](Ptsv2paymentsPromotionInformation.md) | | [optional] +**processorInformation** | [**Ptsv2reversalsProcessorInformation**](Ptsv2reversalsProcessorInformation.md) | | [optional] diff --git a/docs/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.md b/docs/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.md index 0e29d17b8..82afa3365 100644 --- a/docs/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.md +++ b/docs/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | | [optional] -**reportDefinitionId** | **Integer** | | Id | Definition Class | | --- | --------------------------------- | | 210 | TransactionRequestClass | | 211 | PaymentBatchDetailClass | | 212 | ExceptionDetailClass | | 213 | ProcessorSettlementDetailClass | | 214 | ProcessorEventsDetailClass | | 215 | FundingDetailClass | | 216 | AgingDetailClass | | 217 | ChargebackAndRetrievalDetailClass | | 218 | DepositDetailClass | | 219 | FeeDetailClass | | 220 | InvoiceSummaryClass | | 221 | PayerAuthDetailClass | | 222 | ConversionDetailClass | | 225 | BillableTransactionsDetailClass | | 270 | JPTransactionDetailClass | | 271 | ServiceFeeDetailClass | | 310 | GatewayTransactionRequestClass | | 400 | DecisionManagerEventDetailClass | | 401 | DecisionManagerDetailClass | | 410 | FeeSummaryClass | | 420 | TaxCalculationClass | | 520 | POSTerminalExceptionClass | | 620 | SubscriptionDetailClass | | [optional] +**reportDefinitionId** | **Integer** | | Id | Definition Class | | --- | --------------------------------- | | 210 | TransactionRequestClass | | 211 | PaymentBatchDetailClass | | 212 | ExceptionDetailClass | | 213 | ProcessorSettlementDetailClass | | 214 | ProcessorEventsDetailClass | | 215 | FundingDetailClass | | 216 | AgingDetailClass | | 217 | ChargebackAndRetrievalDetailClass | | 218 | DepositDetailClass | | 219 | FeeDetailClass | | 220 | InvoiceSummaryClass | | 221 | PayerAuthDetailClass | | 222 | ConversionDetailClass | | 225 | BillableTransactionsDetailClass | | 270 | JPTransactionDetailClass | | 271 | ServiceFeeDetailClass | | 310 | GatewayTransactionRequestClass | | 400 | DecisionManagerEventDetailClass | | 401 | DecisionManagerDetailClass | | 410 | FeeSummaryClass | | 420 | TaxCalculationClass | | 520 | POSTerminalExceptionClass | | 620 | SubscriptionDetailClass | | 630 | StandardBillingDataPackageClass | | 706 | StandardMonthlyFeeClass | | [optional] **reportDefintionName** | **String** | | [optional] **supportedFormats** | **List<String>** | | [optional] **description** | **String** | | [optional] diff --git a/docs/RiskProductsDecisionManager.md b/docs/RiskProductsDecisionManager.md index a771d05da..fe527f9e3 100644 --- a/docs/RiskProductsDecisionManager.md +++ b/docs/RiskProductsDecisionManager.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**RiskProductsDecisionManagerConfigurationInformation**](RiskProductsDecisionManagerConfigurationInformation.md) | | [optional] diff --git a/docs/RiskProductsFraudManagementEssentials.md b/docs/RiskProductsFraudManagementEssentials.md index 1f1f1c64e..9f9e3ce15 100644 --- a/docs/RiskProductsFraudManagementEssentials.md +++ b/docs/RiskProductsFraudManagementEssentials.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**RiskProductsFraudManagementEssentialsConfigurationInformation**](RiskProductsFraudManagementEssentialsConfigurationInformation.md) | | [optional] diff --git a/docs/RiskProductsPortfolioRiskControls.md b/docs/RiskProductsPortfolioRiskControls.md index 4c411d929..cc9c0b3f0 100644 --- a/docs/RiskProductsPortfolioRiskControls.md +++ b/docs/RiskProductsPortfolioRiskControls.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**subscriptionInformation** | [**PaymentsProductsAlternativePaymentMethodsSubscriptionInformation**](PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.md) | | [optional] +**subscriptionInformation** | [**PaymentsProductsPayerAuthenticationSubscriptionInformation**](PaymentsProductsPayerAuthenticationSubscriptionInformation.md) | | [optional] **configurationInformation** | [**RiskProductsPortfolioRiskControlsConfigurationInformation**](RiskProductsPortfolioRiskControlsConfigurationInformation.md) | | [optional] diff --git a/docs/TmsBinLookupPaymentAccountInformationFeatures.md b/docs/TmsBinLookupPaymentAccountInformationFeatures.md index 73aa1d402..94d2c77ec 100644 --- a/docs/TmsBinLookupPaymentAccountInformationFeatures.md +++ b/docs/TmsBinLookupPaymentAccountInformationFeatures.md @@ -23,6 +23,11 @@ Name | Type | Description | Notes **onlineGamblingBlock** | **Boolean** | This field indicates if online gambling is blocked on the BIN. Possible values: - `true` - `false` | [optional] **autoSubstantiation** | **Boolean** | This field indicates if auto-substantiation is enabled on the BIN. Possible values: - `true` - `false` | [optional] **flexCredential** | **Boolean** | This field indicates if the instrument is a flex credential. Possible values: - `true` - `false` | [optional] +**productId** | **String** | This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs. Example values: - Q4 - P - AX | [optional] +**productIdSubtype** | **String** | This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs. Example values: - BB - EX - L2 - C2 | [optional] +**threeDSSupport** | **Boolean** | This field indicates if the payment instrument supports 3D Secure authentication. Possible values: - `true` - `false` | [optional] +**siEligible** | **Boolean** | This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments). Possible values: - `true` - `false` | [optional] +**emiEligible** | **Boolean** | This field indicates if the card is eligible for Equated Monthly Installments (EMI). Possible values: - `true` - `false` | [optional] diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md new file mode 100644 index 000000000..5a9c137be --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md @@ -0,0 +1,12 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last4** | **String** | The new last 4 digits of the card number associated to the Tokenized Card. | [optional] +**expirationMonth** | **String** | The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. | [optional] +**expirationYear** | **String** | The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. | [optional] + + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md new file mode 100644 index 000000000..dc0f32d4f --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md @@ -0,0 +1,10 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cardArt** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md) | | [optional] + + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md new file mode 100644 index 000000000..0f5785508 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md @@ -0,0 +1,10 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**combinedAsset** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md) | | [optional] + + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md new file mode 100644 index 000000000..c3be70685 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md @@ -0,0 +1,10 @@ + +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**update** | **String** | Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. | [optional] + + + diff --git a/docs/TokenizedCardApi.md b/docs/TokenizedCardApi.md index 0b7e49ce0..3d77f1af7 100644 --- a/docs/TokenizedCardApi.md +++ b/docs/TokenizedCardApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**deleteTokenizedCard**](TokenizedCardApi.md#deleteTokenizedCard) | **DELETE** /tms/v2/tokenized-cards/{tokenizedCardId} | Delete a Tokenized Card [**getTokenizedCard**](TokenizedCardApi.md#getTokenizedCard) | **GET** /tms/v2/tokenized-cards/{tokenizedCardId} | Retrieve a Tokenized Card +[**postIssuerLifeCycleSimulation**](TokenizedCardApi.md#postIssuerLifeCycleSimulation) | **POST** /tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations | Simulate Issuer Life Cycle Management Events [**postTokenizedCard**](TokenizedCardApi.md#postTokenizedCard) | **POST** /tms/v2/tokenized-cards | Create a Tokenized Card @@ -97,6 +98,54 @@ Name | Type | Description | Notes No authorization required +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + + +# **postIssuerLifeCycleSimulation** +> postIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest) + +Simulate Issuer Life Cycle Management Events + +**Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.TokenizedCardApi; + + +TokenizedCardApi apiInstance = new TokenizedCardApi(); +String profileId = "profileId_example"; // String | The Id of a profile containing user specific TMS configuration. +String tokenizedCardId = "tokenizedCardId_example"; // String | The Id of a tokenized card. +PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = new PostIssuerLifeCycleSimulationRequest(); // PostIssuerLifeCycleSimulationRequest | +try { + apiInstance.postIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); +} catch (ApiException e) { + System.err.println("Exception when calling TokenizedCardApi#postIssuerLifeCycleSimulation"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profileId** | **String**| The Id of a profile containing user specific TMS configuration. | + **tokenizedCardId** | **String**| The Id of a tokenized card. | + **postIssuerLifeCycleSimulationRequest** | [**PostIssuerLifeCycleSimulationRequest**](PostIssuerLifeCycleSimulationRequest.md)| | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + ### HTTP request headers - **Content-Type**: application/json;charset=utf-8 diff --git a/docs/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.md b/docs/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.md index b87599118..cd87e179a 100644 --- a/docs/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.md +++ b/docs/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **authorizedAmount** | **String** | Amount that was authorized. Returned by authorization service. #### PIN debit Amount of the purchase. Returned by PIN debit purchase. | [optional] **settlementAmount** | **String** | This is a multicurrency field. It contains the transaction amount (field 4), converted to the Currency used to bill the cardholder's account. This field is returned for OCT transactions. | [optional] **settlementCurrency** | **String** | This is a multicurrency-only field. It contains a 3-digit numeric code that identifies the currency used by the issuer to bill the cardholder's account. This field is returned for OCT transactions. | [optional] +**refundBalance** | **String** | The remaining amount which can be refunded. | [optional] **surcharge** | [**Ptsv2payoutsOrderInformationAmountDetailsSurcharge**](Ptsv2payoutsOrderInformationAmountDetailsSurcharge.md) | | [optional] diff --git a/docs/TssV2TransactionsGet200ResponsePaymentInformation.md b/docs/TssV2TransactionsGet200ResponsePaymentInformation.md index 9c7708c04..9ed717f04 100644 --- a/docs/TssV2TransactionsGet200ResponsePaymentInformation.md +++ b/docs/TssV2TransactionsGet200ResponsePaymentInformation.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **paymentType** | [**TssV2TransactionsGet200ResponsePaymentInformationPaymentType**](TssV2TransactionsGet200ResponsePaymentInformationPaymentType.md) | | [optional] +**eWallet** | [**PtsV2PaymentsPost201Response1PaymentInformationEWallet**](PtsV2PaymentsPost201Response1PaymentInformationEWallet.md) | | [optional] **customer** | [**TssV2TransactionsGet200ResponsePaymentInformationCustomer**](TssV2TransactionsGet200ResponsePaymentInformationCustomer.md) | | [optional] **card** | [**TssV2TransactionsGet200ResponsePaymentInformationCard**](TssV2TransactionsGet200ResponsePaymentInformationCard.md) | | [optional] **brands** | [**List<TssV2TransactionsGet200ResponsePaymentInformationBrands>**](TssV2TransactionsGet200ResponsePaymentInformationBrands.md) | This array contains the supported brands. | [optional] diff --git a/docs/TssV2TransactionsGet200ResponseProcessorInformation.md b/docs/TssV2TransactionsGet200ResponseProcessorInformation.md index f2e284854..625c5419d 100644 --- a/docs/TssV2TransactionsGet200ResponseProcessorInformation.md +++ b/docs/TssV2TransactionsGet200ResponseProcessorInformation.md @@ -16,10 +16,14 @@ Name | Type | Description | Notes **cardVerification** | [**Riskv1decisionsProcessorInformationCardVerification**](Riskv1decisionsProcessorInformationCardVerification.md) | | [optional] **achVerification** | [**PtsV2PaymentsPost201ResponseProcessorInformationAchVerification**](PtsV2PaymentsPost201ResponseProcessorInformationAchVerification.md) | | [optional] **electronicVerificationResults** | [**TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults**](TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.md) | | [optional] +**issuerInformation** | [**PtsV2PaymentsPost201Response1IssuerInformation**](PtsV2PaymentsPost201Response1IssuerInformation.md) | | [optional] **eventStatus** | **String** | The event status. | [optional] **systemTraceAuditNumber** | **String** | This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt. | [optional] **responseCodeSource** | **String** | Used by Visa only and contains the response source/reason code that identifies the source of the response decision. | [optional] **paymentAccountReferenceNumber** | **String** | Payment Account Reference (PAR) is a non-financial reference assigned to each unique payment account and used to link a payment account to associated network tokens, i.e. the same PAR is returned for PAN-based and tokenized transactions, such as from digital wallets. PAR can be returned in authorisation responses for requests initiated with both real PANs and tokenized PANs. PAR can be used by merchants for fraud detection and regulatory compliance across different channels and digital wallets. PAR allows all participants in the payments chain to have a single, non-sensitive value assigned to a consumer. This value can be used in place of sensitive card holder identification fields, and transmitted across the payments ecosystem to facilitate card holder identification. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks. | [optional] +**responseDetails** | **String** | This field might contain information about a decline. | [optional] +**rawResponseLocal** | **String** | Failure reason returned by the processor in the local language of the processor. | [optional] +**rawResponse** | **String** | Failure reason returned by the processor. | [optional] **routing** | [**PtsV2PaymentsPost201ResponseProcessorInformationRouting**](PtsV2PaymentsPost201ResponseProcessorInformationRouting.md) | | [optional] diff --git a/docs/UnderwritingConfiguration.md b/docs/UnderwritingConfiguration.md new file mode 100644 index 000000000..62fad06c3 --- /dev/null +++ b/docs/UnderwritingConfiguration.md @@ -0,0 +1,19 @@ + +# UnderwritingConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**clientReferenceInformation** | [**UnderwritingConfigurationClientReferenceInformation**](UnderwritingConfigurationClientReferenceInformation.md) | | [optional] +**merchantApplication** | [**UnderwritingConfigurationMerchantApplication**](UnderwritingConfigurationMerchantApplication.md) | | [optional] +**metadata** | **Object** | | [optional] +**metadataExternal** | **Object** | | [optional] +**organizationInformation** | [**UnderwritingConfigurationOrganizationInformation**](UnderwritingConfigurationOrganizationInformation.md) | | [optional] +**deviceInformation** | [**UnderwritingConfigurationDeviceInformation**](UnderwritingConfigurationDeviceInformation.md) | | [optional] +**depositInformation** | [**UnderwritingConfigurationDepositInformation**](UnderwritingConfigurationDepositInformation.md) | | [optional] +**billingInformation** | [**UnderwritingConfigurationBillingInformation**](UnderwritingConfigurationBillingInformation.md) | | [optional] +**saleRepresentativeInformation** | [**UnderwritingConfigurationSaleRepresentativeInformation**](UnderwritingConfigurationSaleRepresentativeInformation.md) | | [optional] +**fileAttachmentInformation** | [**UnderwritingConfigurationFileAttachmentInformation**](UnderwritingConfigurationFileAttachmentInformation.md) | | [optional] + + + diff --git a/docs/UnderwritingConfigurationBillingInformation.md b/docs/UnderwritingConfigurationBillingInformation.md new file mode 100644 index 000000000..4aa1e66b7 --- /dev/null +++ b/docs/UnderwritingConfigurationBillingInformation.md @@ -0,0 +1,10 @@ + +# UnderwritingConfigurationBillingInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bankAccountInformation** | [**UnderwritingConfigurationBillingInformationBankAccountInformation**](UnderwritingConfigurationBillingInformationBankAccountInformation.md) | | [optional] + + + diff --git a/docs/UnderwritingConfigurationBillingInformationBankAccountInformation.md b/docs/UnderwritingConfigurationBillingInformationBankAccountInformation.md new file mode 100644 index 000000000..984848b3a --- /dev/null +++ b/docs/UnderwritingConfigurationBillingInformationBankAccountInformation.md @@ -0,0 +1,14 @@ + +# UnderwritingConfigurationBillingInformationBankAccountInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bankAccountCountry** | **String** | Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2. | [optional] +**accountHolderName** | **String** | Name on the checking account | [optional] +**accountType** | **String** | Type of Account Possible Values: - CHECKING - SAVINGS - CORPORATECHECKING - CORPORATESAVINGS | [optional] +**accountRoutingNumber** | **String** | Routing Number, IBAN, Swift/BIC, etc | [optional] +**accountNumber** | **String** | Account Number | [optional] + + + diff --git a/docs/UnderwritingConfigurationClientReferenceInformation.md b/docs/UnderwritingConfigurationClientReferenceInformation.md new file mode 100644 index 000000000..22b474ea6 --- /dev/null +++ b/docs/UnderwritingConfigurationClientReferenceInformation.md @@ -0,0 +1,11 @@ + +# UnderwritingConfigurationClientReferenceInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**clientRequestId** | **String** | client-generated request reference or tracking number. It is recommended that you send a unique value for each request so that you can perform meaningful searches for the request. | [optional] +**applicationName** | **String** | The name of the application (such as Boarding Workflow or Anet Boarding) that the client uses to send a request to merchant evaluation service. | [optional] + + + diff --git a/docs/UnderwritingConfigurationDepositInformation.md b/docs/UnderwritingConfigurationDepositInformation.md new file mode 100644 index 000000000..f07519a17 --- /dev/null +++ b/docs/UnderwritingConfigurationDepositInformation.md @@ -0,0 +1,14 @@ + +# UnderwritingConfigurationDepositInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bankAccountCountry** | **String** | Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2. | [optional] +**accountHolderName** | **String** | Name on the Bank Account | [optional] +**accountType** | **String** | Type of Account Possible Values: - CHECKING - SAVINGS - CORPORATECHECKING - CORPORATESAVINGS | [optional] +**accountRoutingNumber** | **String** | Routing Number, IBAN, Swift/BIC, etc | [optional] +**accountNumber** | **String** | Account Number | [optional] + + + diff --git a/docs/UnderwritingConfigurationDeviceInformation.md b/docs/UnderwritingConfigurationDeviceInformation.md new file mode 100644 index 000000000..e023c04f3 --- /dev/null +++ b/docs/UnderwritingConfigurationDeviceInformation.md @@ -0,0 +1,12 @@ + +# UnderwritingConfigurationDeviceInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipAddress** | **String** | IP Address of the user that filled in the Merchant Application | [optional] +**fingerprintSessionId** | **String** | Info about the user that filled in the Merchant Application | [optional] +**userAgent** | **String** | Info about the user that filled in the Merchant Application | [optional] + + + diff --git a/docs/UnderwritingConfigurationFileAttachmentInformation.md b/docs/UnderwritingConfigurationFileAttachmentInformation.md new file mode 100644 index 000000000..53f4aa459 --- /dev/null +++ b/docs/UnderwritingConfigurationFileAttachmentInformation.md @@ -0,0 +1,10 @@ + +# UnderwritingConfigurationFileAttachmentInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fileGroupId** | **String** | The unique identifier for the file group | [optional] + + + diff --git a/docs/UnderwritingConfigurationMerchantApplication.md b/docs/UnderwritingConfigurationMerchantApplication.md new file mode 100644 index 000000000..5ebbf6197 --- /dev/null +++ b/docs/UnderwritingConfigurationMerchantApplication.md @@ -0,0 +1,15 @@ + +# UnderwritingConfigurationMerchantApplication + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**applicationId** | **String** | | [optional] +**applicationStatus** | **String** | | [optional] +**products** | [**List<UnderwritingConfigurationMerchantApplicationProducts>**](UnderwritingConfigurationMerchantApplicationProducts.md) | The product(s) that are being underwritten | +**campaignId** | **String** | Driver Campaign ID, identifies where the application came from | [optional] +**ocId** | **String** | Offer CampaignID, used by Sales | [optional] +**resellerId** | **String** | ResellerID, used by Sales | [optional] + + + diff --git a/docs/UnderwritingConfigurationMerchantApplicationProducts.md b/docs/UnderwritingConfigurationMerchantApplicationProducts.md new file mode 100644 index 000000000..6f211f611 --- /dev/null +++ b/docs/UnderwritingConfigurationMerchantApplicationProducts.md @@ -0,0 +1,12 @@ + +# UnderwritingConfigurationMerchantApplicationProducts + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**productShortName** | **String** | Product Name [PRODUCT1, PRODUCT2, PRODUCT3] | +**preferredAcquirer** | **String** | Override Acquirer Value | [optional] +**status** | **String** | Product status [] | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformation.md b/docs/UnderwritingConfigurationOrganizationInformation.md new file mode 100644 index 000000000..5365d9b9e --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformation.md @@ -0,0 +1,13 @@ + +# UnderwritingConfigurationOrganizationInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**parentOrganizationId** | **String** | Parent Organization ID for the application | [optional] +**organizationId** | **String** | Organization ID for the application | [optional] +**boardingPackageId** | **String** | Boarding Package ID for the application | [optional] +**businessInformation** | [**UnderwritingConfigurationOrganizationInformationBusinessInformation**](UnderwritingConfigurationOrganizationInformationBusinessInformation.md) | | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformation.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformation.md new file mode 100644 index 000000000..311f0bcd0 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformation.md @@ -0,0 +1,33 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**businessIdentifier** | **String** | Tax ID for the business | +**countryRegistration** | **String** | Country where the business is registered. Two character country code, ISO 3166-1 alpha-2. | +**legalName** | **String** | The legally registered name of the business | +**doingBusinessAs** | **String** | The DBA of the business. | +**businessDescription** | **String** | Short description of the Business | +**registrationNumber** | **String** | Registration ID for Enterprise Merchant | [optional] +**stockExchange** | **String** | Which stock exchange is the company trading in? | [optional] +**tickerSymbol** | **String** | Stock Symbol on the exchange | [optional] +**startDate** | [**LocalDate**](LocalDate.md) | When did Business start. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016 | +**merchantCategoryCode** | **String** | Industry standard Merchant Category Code (MCC) | +**mccDescription** | **String** | MCC Description | [optional] +**websiteURL** | **String** | Website for the Business | [optional] +**businessType** | **String** | Business type Possible values: - PARTNERSHIP - SOLE_PROPRIETORSHIP - CORPORATION - LLC - NON_PROFIT - TRUST | +**localMCC** | **List<String>** | | [optional] +**countryPhoneNumber** | **String** | Country of the Business phone number. Two character country code, ISO 3166-1 alpha-2. | +**phoneNumber** | **String** | Business Phone Number | +**email** | **String** | Business Email Address | +**whatYourCompanyDoes** | **String** | What your company does and how you market your service | [optional] +**address** | [**UnderwritingConfigurationOrganizationInformationBusinessInformationAddress**](UnderwritingConfigurationOrganizationInformationBusinessInformationAddress.md) | | [optional] +**tradingAddress** | [**UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress**](UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.md) | | [optional] +**businessContact** | [**UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact**](UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.md) | | [optional] +**businessDetails** | [**UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails**](UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.md) | | [optional] +**ownerInformation** | [**List<UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation>**](UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.md) | | [optional] +**directorInformation** | [**List<UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation>**](UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.md) | | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress.md new file mode 100644 index 000000000..b1f117040 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress.md @@ -0,0 +1,16 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationAddress + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**country** | **String** | Country where the business is located. Two character country code, ISO 3166-1 alpha-2. | +**address1** | **String** | Business street address | +**address2** | **String** | Business street address continued | [optional] +**buildingName** | **String** | Building Name | [optional] +**locality** | **String** | City of the billing address | +**administrativeArea** | **String** | Business state (US) or province (Canada, others). Required for US and Canada. | +**postalCode** | **String** | Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada. | + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1.md new file mode 100644 index 000000000..2f232f992 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1.md @@ -0,0 +1,16 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**country** | **String** | Country where the owner resides. Two character country code. | +**address1** | **String** | Owner's street address. | +**address2** | **String** | Owner's street address Continued | [optional] +**buildingName** | **String** | Building Name | [optional] +**locality** | **String** | Owner's city | +**administrativeArea** | **String** | Owner's state (US) or province (Canada, others) | +**postalCode** | **String** | Owner's zip code (US) or postal code (Canada) | + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2.md new file mode 100644 index 000000000..b20f6ae73 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2.md @@ -0,0 +1,16 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**country** | **String** | Country where the Director resides. Two character country code. | [optional] +**address1** | **String** | Director's street address. | [optional] +**address2** | **String** | Director's street address Continued | [optional] +**buildingName** | **String** | Building Name | [optional] +**locality** | **String** | Director's city | [optional] +**administrativeArea** | **String** | Director's state (US) or province (Canada, others) | [optional] +**postalCode** | **String** | Director's zip code (US) or postal code (Canada) | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.md new file mode 100644 index 000000000..9d1e5e692 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.md @@ -0,0 +1,14 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**firstName** | **String** | Contact Person First Name | +**middleName** | **String** | Contact Person Middle Name | [optional] +**lastName** | **String** | Contact Person Last Name | +**phoneNumber** | **String** | Contact Person Phone Number | +**email** | **String** | Contact Persona Email | + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.md new file mode 100644 index 000000000..af3b3577f --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.md @@ -0,0 +1,35 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customerType** | **String** | Who is the business interacting with? Business to Business, Business to Consumer, Both Possible values: - B2B - B2C - Both | [optional] +**percentageSplitByB2B** | [**BigDecimal**](BigDecimal.md) | % Split | [optional] +**percentageSplitByB2C** | [**BigDecimal**](BigDecimal.md) | % Split | [optional] +**interactionTypes** | **String** | Merchant Facing: Face to Face, Card Not Present, Both Possible values: - F2F - CNP - Both | +**percentageSplitByF2F** | [**BigDecimal**](BigDecimal.md) | % Split | +**percentageSplitByCNP** | [**BigDecimal**](BigDecimal.md) | % Split | +**whenIsCustomerCharged** | **String** | When is the customer charged? Possible values: - OneTimeBeforeServiceDelivery - OneTimeAfterServiceDelivery - Other | +**whenIsCustomerChargedDescription** | **String** | | [optional] +**offerSubscriptions** | **Boolean** | Does Merchant Offer Subscriptions? | +**monthlySubscriptionPercent** | [**BigDecimal**](BigDecimal.md) | % of business is monthly subscriptions | [optional] +**quarterlySubscriptionPercent** | [**BigDecimal**](BigDecimal.md) | % of business is quarterly subscriptions | [optional] +**semiannualSubscriptionPercent** | [**BigDecimal**](BigDecimal.md) | % of business is semi-annual subscriptions | [optional] +**annualSubscriptionPercent** | [**BigDecimal**](BigDecimal.md) | % of business is annual subscriptions | [optional] +**currencyType** | **String** | Processing Currency. ISO 4217, 3 characters. Possible values: - USD - CAD - EUR - GBP - CHF | [optional] +**estimatedMonthlySales** | [**BigDecimal**](BigDecimal.md) | Merchant's estimated monthly sales | [optional] +**averageOrderAmount** | [**BigDecimal**](BigDecimal.md) | Merchant's average order amount | [optional] +**largestExpectedOrderAmount** | [**BigDecimal**](BigDecimal.md) | Merchant's largest expected order amount | [optional] +**primaryAccountUsage** | **String** | Primary purpose of account usage Possible values: - Paying for goods / services - Repatriating overseas earnings - Intercompany transfers - Collecting funds from clients - Liquidity / FX - Payment to an individual - Investment activity - Property purchase/sale - Other | [optional] +**sourceOfFunds** | **String** | Source of Funds Possible values: - Business revenue - External or shareholder investment - Loan, advance or other borrowing - Donations or grants - Inter-company transfers - Proceeds of sales of assests - Other | [optional] +**receiveMoney3rdParties** | **Boolean** | Will you recieve money from 3rd parties into your account? | [optional] +**receiveTransactionFrequency** | **String** | Roughly how often do you expect to send or receive transactions? Possible values: - One-off or infrequently - 1-20 per month - 20-50 per month - 50-100 per month - 100+ per month | [optional] +**estimatedMonthlySpend** | **String** | What is your estimated total monthly spend? Possible values: - <$10,000 - $10,000 - $50,000 - $50,000 - $100,000 - $100,000 - $500,000 - $500,000+ | [optional] +**countryTransactions** | **List<String>** | | [optional] +**currenciesIn** | **List<String>** | | [optional] +**currenciesOut** | **List<String>** | | [optional] +**productServicesSubscription** | [**List<UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription>**](UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.md) | | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.md new file mode 100644 index 000000000..03e04f27a --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.md @@ -0,0 +1,11 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**productServiceName** | **String** | Name of the product, service, or subscription. | [optional] +**productServicePercentage** | [**BigDecimal**](BigDecimal.md) | Percentage of business revenue from this product or service. | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.md new file mode 100644 index 000000000..c3a4ee6e3 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.md @@ -0,0 +1,20 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**firstName** | **String** | Director's first name | [optional] +**middleName** | **String** | Director's middle name | [optional] +**lastName** | **String** | Director's last name | [optional] +**birthDate** | [**LocalDate**](LocalDate.md) | Director's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016 | [optional] +**email** | **String** | Email address for Director | [optional] +**phoneNumber** | **String** | Owner's phone number | [optional] +**nationality** | **String** | Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2. | [optional] +**nationalId** | **String** | Identification value from ID document | [optional] +**idCountry** | **String** | Country of the ID document. Two character country code, ISO 3166-1 alpha-2. | [optional] +**passportNumber** | **String** | Passport Number | [optional] +**address** | [**UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2**](UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2.md) | | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.md new file mode 100644 index 000000000..cab4073f6 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.md @@ -0,0 +1,28 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**firstName** | **String** | Owner's first name | +**middleName** | **String** | Owner's middle name | [optional] +**lastName** | **String** | Owner's last name | +**birthDate** | [**LocalDate**](LocalDate.md) | Owner's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016 | +**isPrimary** | **Boolean** | Primary Owner or Non-Primary Owner | +**hasSignificantResponsibility** | **Boolean** | If not an owner, is the user a Control Person | +**ownerDirector** | **Boolean** | Is the owner a Director as well? | [optional] +**nationalId** | **String** | Identification value from ID document | +**idCountry** | **String** | Country of the ID document. Two character country code, ISO 3166-1 alpha-2. | [optional] +**passportNumber** | **String** | Passport Number | [optional] +**passportCountry** | **String** | Passport Country. Two character country code, ISO 3166-1 alpha-2. | [optional] +**jobTitle** | **String** | Owner's Job Title | [optional] +**ownershipPercentage** | [**BigDecimal**](BigDecimal.md) | Percentage of the company that owner owns | +**nationality** | **String** | Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2. | +**dueDiligenceRequired** | **Boolean** | Indicates if due diligence checks should be run for this owner | +**phoneNumberCountryCode** | **String** | Phone number country. Two character country code, ISO 3166-1 alpha-2. | +**phoneNumber** | **String** | Owner's phone number | +**email** | **String** | Email address for Owner | +**address** | [**UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1**](UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1.md) | | [optional] + + + diff --git a/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.md b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.md new file mode 100644 index 000000000..862609325 --- /dev/null +++ b/docs/UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.md @@ -0,0 +1,16 @@ + +# UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**country** | **String** | Country where the business is located. Two character country code, ISO 3166-1 alpha-2. | [optional] +**address1** | **String** | Business street address | [optional] +**address2** | **String** | Business street address continued | [optional] +**buildingName** | **String** | Building Name | [optional] +**locality** | **String** | City of the billing address | [optional] +**administrativeArea** | **String** | Business state (US) or province (Canada, others). Required for US and Canada. | [optional] +**postalCode** | **String** | Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada. | [optional] + + + diff --git a/docs/UnderwritingConfigurationSaleRepresentativeInformation.md b/docs/UnderwritingConfigurationSaleRepresentativeInformation.md new file mode 100644 index 000000000..bb0dbe8fd --- /dev/null +++ b/docs/UnderwritingConfigurationSaleRepresentativeInformation.md @@ -0,0 +1,15 @@ + +# UnderwritingConfigurationSaleRepresentativeInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**salesRepId** | **String** | Sales rep Identifier | +**salesRepFirstName** | **String** | Sales rep First Name | +**salesRepLastName** | **String** | Sales Rep Last Name | +**salesRepEmail** | **String** | Sales Rep eMail | +**salesRepNumericPhoneNumberCountryCode** | **String** | Sales Rep Phone Number Country. Two character country code, ISO 3166-1 alpha-2. | +**salesRepPhoneNumber** | **String** | Sales Rep Phone | + + + diff --git a/docs/UpdateInvoiceRequest.md b/docs/UpdateInvoiceRequest.md index ad9fdd166..f95991a72 100644 --- a/docs/UpdateInvoiceRequest.md +++ b/docs/UpdateInvoiceRequest.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **processingInformation** | [**Invoicingv2invoicesProcessingInformation**](Invoicingv2invoicesProcessingInformation.md) | | [optional] **invoiceInformation** | [**Invoicingv2invoicesidInvoiceInformation**](Invoicingv2invoicesidInvoiceInformation.md) | | **orderInformation** | [**Invoicingv2invoicesOrderInformation**](Invoicingv2invoicesOrderInformation.md) | | +**merchantDefinedFieldValues** | [**List<Invoicingv2invoicesMerchantDefinedFieldValues>**](Invoicingv2invoicesMerchantDefinedFieldValues.md) | | [optional] diff --git a/docs/Upv1capturecontextsCaptureMandate.md b/docs/Upv1capturecontextsCaptureMandate.md index fb1eaf5c9..5ac69cda0 100644 --- a/docs/Upv1capturecontextsCaptureMandate.md +++ b/docs/Upv1capturecontextsCaptureMandate.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **showConfirmationStep** | **Boolean** | Configure Unified Checkout to display the final confirmation screen when using Click to Pay.<br> Where 'BillingType'= NONE and 'requestShipping'= FALSE and the customer is using an existing Click to Pay card as their chosen payment method, a final confirmation screen can be removed allowing the customer to check out as soon as they have selected their payment method from within their Click to Pay card tray. Possible values: - True - False | [optional] **requestSaveCard** | **Boolean** | Configure Unified Checkout to display the \"Save card for future use\" checkbox.<br> Configurable check box that will show in a Manual card entry flow to allow a Cardholder to give consent to store their manually entered credential with the Merchant that they are paying.<br> Applicable when manually entering the details and not enrolling in Click to Pay. Possible values: - True - False<br><br> **Use Cases:** **Offer consumers option to save their card in Unified Checkout:** - Include the captureMandate.requestSaveCard field in the capture context request and set it to true. - When set to true, this will show a checkbox with the message 'Save card for future use' in Unified Checkout. - When selected this provides a response in both the Transient Token and Get Credentials API response.<br><br> **Do not offer consumers the option to save their card in Unified Checkout:** - Include the captureMandate.requestSaveCard field in the capture context request and set it to false OR omit the field from the capture context request. - When set to false, the save card option is not shown to consumers when manually entering card details. | [optional] **comboCard** | **Boolean** | Configure Unified Checkout to display combo card at checkout.<br> A combo debit/credit card is a single card that functions both as a Debit/Credit card. Unified Checkout / Click to Pay Drop-in UI allows the Cardholder to choose whether they would like the transaction to be paid for using either debit or credit card. **Important:** This is applicable to Visa cards only. Possible values: - True - False<br><br> **Use Cases:** **Offer Combo Card at Checkout:** - Include the captureMandate.comboCard field in the capture context request and set it to true. - When set to true, Combo Card selection is shown at checkout <br><br> **Do not offer Combo Card at Checkout:** - Include the captureMandate.comboCard field in the capture context request and set it to false OR omit the field from the capture context request. - The Combo Card selection is not shown at checkout. | [optional] -**CPF** | **Boolean** | Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas Físicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes. Possible values: - True - False<br><br> This field is optional. If set to true the field is required. If set to false the field is optional. If the field is not included in the capture context then it is not captured.<br><br> **Important:** - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered. - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered. | [optional] +**CPF** | [**Upv1capturecontextsCaptureMandateCPF**](Upv1capturecontextsCaptureMandateCPF.md) | | [optional] diff --git a/docs/Upv1capturecontextsCaptureMandateCPF.md b/docs/Upv1capturecontextsCaptureMandateCPF.md new file mode 100644 index 000000000..71057db0e --- /dev/null +++ b/docs/Upv1capturecontextsCaptureMandateCPF.md @@ -0,0 +1,10 @@ + +# Upv1capturecontextsCaptureMandateCPF + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**required** | **Boolean** | Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas Físicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes. Possible values: - True - False<br><br> This field is optional. If set to true the field is required. If set to false the field is optional. If the field is not included in the capture context then it is not captured.<br><br> **Important:** - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered. - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered. | [optional] + + + diff --git a/generator/cybersource-java-template/build.gradle.mustache b/generator/cybersource-java-template/build.gradle.mustache deleted file mode 100644 index 5f60c01b3..000000000 --- a/generator/cybersource-java-template/build.gradle.mustache +++ /dev/null @@ -1,133 +0,0 @@ -apply plugin: 'idea' -apply plugin: 'eclipse' - -group = '{{groupId}}' -version = '{{artifactVersion}}' - -buildscript { - repositories { - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:2.3.+' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' - } -} - -repositories { - jcenter() -} - - -if(hasProperty('target') && target == 'android') { - - apply plugin: 'com.android.library' - apply plugin: 'com.github.dcendents.android-maven' - - android { - compileSdkVersion 25 - buildToolsVersion '25.0.2' - defaultConfig { - minSdkVersion 14 - targetSdkVersion 25 - } - compileOptions { - {{#java8}} - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - {{/java8}} - {{^java8}} - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 - {{/java8}} - } - - // Rename the aar correctly - libraryVariants.all { variant -> - variant.outputs.each { output -> - def outputFile = output.outputFile - if (outputFile != null && outputFile.name.endsWith('.aar')) { - def fileName = "${project.name}-${variant.baseName}-${version}.aar" - output.outputFile = new File(outputFile.parent, fileName) - } - } - } - - dependencies { - provided 'javax.annotation:jsr250-api:1.0' - } - } - - afterEvaluate { - android.libraryVariants.all { variant -> - def task = project.tasks.create "jar${variant.name.capitalize()}", Jar - task.description = "Create jar artifact for ${variant.name}" - task.dependsOn variant.javaCompile - task.from variant.javaCompile.destinationDir - task.destinationDir = project.file("${project.buildDir}/outputs/jar") - task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" - artifacts.add('archives', task); - } - } - - task sourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier = 'sources' - } - - artifacts { - archives sourcesJar - } - -} else { - - apply plugin: 'java' - apply plugin: 'maven' - - {{#java8}} - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 - {{/java8}} - {{^java8}} - sourceCompatibility = JavaVersion.VERSION_1_7 - targetCompatibility = JavaVersion.VERSION_1_7 - {{/java8}} - - install { - repositories.mavenInstaller { - pom.artifactId = '{{artifactId}}' - } - } - - task execute(type:JavaExec) { - main = System.getProperty('mainClass') - classpath = sourceSets.main.runtimeClasspath - } -} - -ext { - swagger_annotations_version = "1.5.15" - jackson_version = "2.8.9" - jersey_version = "1.19.4" - jodatime_version = "2.9.9" - junit_version = "4.12" -} - -dependencies { - compile "io.swagger:swagger-annotations:$swagger_annotations_version" - compile "com.sun.jersey:jersey-client:$jersey_version" - compile "com.sun.jersey.contribs:jersey-multipart:$jersey_version" - compile "com.fasterxml.jackson.core:jackson-core:$jackson_version" - compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version" - compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version" - compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jackson_version" - {{#java8}} - compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version" - {{/java8}} - {{^java8}} - compile "com.fasterxml.jackson.datatype:jackson-datatype-joda:$jackson_version" - compile "joda-time:joda-time:$jodatime_version" - compile "com.brsanthu:migbase64:2.2" - {{/java8}} - testCompile "junit:junit:$junit_version" -} diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache index a20e68550..7d040a667 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/ApiClient.mustache @@ -14,7 +14,6 @@ package Invokers; import java.io.*; import java.lang.reflect.Type; -import java.net.HttpRetryException; import java.net.InetSocketAddress; import java.net.Proxy; import java.net.URLConnection; @@ -29,7 +28,6 @@ import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import java.util.Map.Entry; -import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.net.ssl.*; @@ -43,7 +41,6 @@ import org.apache.logging.log4j.Logger; import okhttp3.Authenticator; import okhttp3.Call; import okhttp3.Callback; -import okhttp3.ConnectionPool; import okhttp3.Credentials; import okhttp3.FormBody; import okhttp3.Headers; @@ -127,12 +124,11 @@ public class ApiClient { private KeyManager[] keyManagers; private String acceptHeader = ""; - private static OkHttpClient httpClient; - private final OkHttpClient classHttpClient = initializeFinalVariables(); + private OkHttpClient httpClient; + private HttpClientFactoryAdditionalSettings additionalSettings = new HttpClientFactoryAdditionalSettings(); private JSON json; private String versionInfo; - private static ConnectionPool connectionPool = new ConnectionPool(5, 10, TimeUnit.SECONDS); private HttpLoggingInterceptor loggingInterceptor; private long computationStartTime; private static Logger logger = LogManager.getLogger(ApiClient.class); @@ -158,44 +154,14 @@ public class ApiClient { public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); - public static OkHttpClient initializeFinalVariables() { - HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); - logging.setLevel(Level.NONE); - // connectionPool = new ConnectionPool(5, 10, TimeUnit.SECONDS); - - try { - return new OkHttpClient.Builder() - .connectTimeout(1, TimeUnit.SECONDS) - .writeTimeout(60, TimeUnit.SECONDS) - .readTimeout(60, TimeUnit.SECONDS) - .connectionPool(ApiClient.connectionPool) - .addInterceptor(logging) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - return null; - } - } - /* * Constructor for ApiClient */ public ApiClient() { versionInfo = getClientID(); - - try { - httpClient = classHttpClient.newBuilder() - .retryOnConnectionFailure(true) - .addInterceptor(new RetryInterceptor(this.apiRequestMetrics)) - .eventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - } + additionalSettings.setCustomRetryOnConnectionFailure(true); + additionalSettings.setCustomRetryInterceptor(new RetryInterceptor(this.apiRequestMetrics)); + additionalSettings.setCustomNetworkEventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())); verifyingSsl = true; @@ -243,32 +209,13 @@ public class ApiClient { int proxyPort = merchantConfig.getProxyPort(); String proxyHost = merchantConfig.getProxyAddress(); - // User Defined Timeout for HTTP Client - int connectionTimeout = Math.max(merchantConfig.getUserDefinedConnectionTimeout(), 1); - int readTimeout = Math.max(merchantConfig.getUserDefinedReadTimeout(), 60); - int writeTimeout = Math.max(merchantConfig.getUserDefinedWriteTimeout(), 60); - int keepAliveDuration = Math.max(merchantConfig.getUserDefinedKeepAliveDuration(), 10); - connectionPool = new ConnectionPool(5, keepAliveDuration, TimeUnit.SECONDS); - Authenticator proxyAuthenticator; if (useProxy && (proxyHost != null && !proxyHost.isEmpty())) { if ((username != null && !username.isEmpty()) && (password != null && !password.isEmpty())) { proxyAuthenticator = new Authenticator() { - // private int proxyCounter = 0; - @Override public Request authenticate(Route route, Response response) throws IOException { - // if (proxyCounter++ > 0) { - // if (response.code() == 407) { - // logger.error("HttpRetryException : 407 Proxy Authentication Missing or Incorrect"); - // throw new HttpRetryException("Proxy Authentication Missing or Incorrect.", 407); - // } else { - // logger.error("IOException : " + response.message()); - // throw new IOException(response.message()); - // } - // } - String credential = Credentials.basic(username, password); return response.request().newBuilder().header("Proxy-Authorization", credential).build(); } @@ -282,51 +229,15 @@ public class ApiClient { }; } - try { - httpClient = classHttpClient.newBuilder() - .proxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort))) - .proxyAuthenticator(proxyAuthenticator) - .connectTimeout(connectionTimeout, TimeUnit.SECONDS) - .writeTimeout(writeTimeout, TimeUnit.SECONDS) - .readTimeout(readTimeout, TimeUnit.SECONDS) - .retryOnConnectionFailure(true) - .addInterceptor(new RetryInterceptor(this.apiRequestMetrics)) - .connectionPool(ApiClient.connectionPool) - .eventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - } - - this.setHttpClient(httpClient); + additionalSettings.setCustomProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort))); + additionalSettings.setCustomProxyAuthenticator(proxyAuthenticator); } - else - { - // override the custom timeout in HTTPClient - try { - httpClient = classHttpClient.newBuilder() - .connectTimeout(connectionTimeout, TimeUnit.SECONDS) - .writeTimeout(writeTimeout, TimeUnit.SECONDS) - .readTimeout(readTimeout, TimeUnit.SECONDS) - .connectionPool(ApiClient.connectionPool) - .retryOnConnectionFailure(true) - .addInterceptor(new RetryInterceptor(this.apiRequestMetrics)) - .eventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - } - this.setHttpClient(httpClient); - } + additionalSettings.setCustomRetryOnConnectionFailure(true); + additionalSettings.setCustomRetryInterceptor(new RetryInterceptor(this.apiRequestMetrics)); + additionalSettings.setCustomNetworkEventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())); this.merchantConfig = merchantConfig; - // RetryInterceptor.retryDelay = merchantConfig.getRetryDelay(); - // RetryInterceptor.retryEnabled = merchantConfig.isRetryEnabled(); } /** @@ -365,17 +276,6 @@ public class ApiClient { return httpClient; } - /** - * Set HTTP client - * - * @param httpClient An instance of OkHttpClient - * @return Api Client - */ - public ApiClient setHttpClient(OkHttpClient httpClient) { - ApiClient.httpClient = httpClient; - return this; - } - /** * Get JSON * @@ -780,9 +680,9 @@ public class ApiClient { if (debugging) { loggingInterceptor = new HttpLoggingInterceptor(); loggingInterceptor.setLevel(Level.BODY); - httpClient.interceptors().add(loggingInterceptor); + additionalSettings.setCustomLoggingInterceptor(loggingInterceptor); } else { - httpClient.interceptors().remove(loggingInterceptor); + additionalSettings.setCustomLoggingInterceptor(null); loggingInterceptor = null; } } @@ -814,27 +714,6 @@ public class ApiClient { return this; } - // /** - // * Get connection timeout (in milliseconds). - // * - // * @return Timeout in milliseconds - // */ - // public int getConnectTimeout() { - // return httpClient.connectTimeoutMillis(); - // } - - // /** - // * Sets the connect timeout (in milliseconds). A value of 0 means no timeout, - // * otherwise values must be between 1 and - // * - // * @param connectionTimeout connection timeout in milliseconds - // * @return Api client - // */ - // public ApiClient setConnectTimeout(int connectionTimeout) { - // ApiClient.httpClient = ApiClient.httpClient.newBuilder().connectTimeout(connectionTimeout, TimeUnit.MILLISECONDS).build(); - // return this; - // } - /** * @return the computationStartTime */ @@ -1071,8 +950,7 @@ public class ApiClient { // Expecting string, return the raw response body. return (T) respBody; } else { - logger.error( - "ApiException : Content type \"" + contentType + "\" is not supported for type: " + returnType); + logger.error("ApiException : Content type \"" + contentType + "\" is not supported for type: " + returnType); throw new ApiException("Content type \"" + contentType + "\" is not supported for type: " + returnType, response.code(), response.headers().toMultimap(), respBody); } @@ -1324,10 +1202,11 @@ public class ApiClient { * @param progressRequestListener Progress request listener * @return The HTTP call * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails */ public Call buildCall(String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String[] authNames, - ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { //create reqHeader parameter here Map requestHeaderMap = new HashMap(); @@ -1366,6 +1245,11 @@ public class ApiClient { logger.info("Request Header Parameters:\n{}", new PrettyPrintingMap(headerParams)); Request request = buildRequest(path, method, queryParams, requestbody, headerParams, formParams, authNames, progressRequestListener); + try { + httpClient = HttpClientFactory.getHttpClient(this.merchantConfig, this.additionalSettings); + } catch (ConfigException e) { + throw e; + } return httpClient.newCall(request); } @@ -1452,8 +1336,8 @@ public class ApiClient { if (versionInfo != null && !versionInfo.isEmpty()) { requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-" + versionInfo); } else { - requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-VERSIONUNKNOWN"); - } + requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-VERSIONUNKNOWN"); + } } catch (ConfigException | IOException e) { logger.error(e.getMessage()); @@ -1713,8 +1597,8 @@ public class ApiClient { public java.security.cert.X509Certificate[] getAcceptedIssuers() { return new java.security.cert.X509Certificate[] {}; } - } - }; + } + }; KeyStore merchantKeyStore = KeyStore.getInstance("PKCS12", new BouncyCastleProvider()); FileInputStream file = new FileInputStream( @@ -1727,9 +1611,8 @@ public class ApiClient { SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(keyManagerFactory.getKeyManagers(), trustAllCerts, new SecureRandom()); - httpClient = httpClient.newBuilder() - .sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) trustAllCerts[0]).build(); - + additionalSettings.setCustomSSLSocketFactory(sslContext.getSocketFactory()); + additionalSettings.setCustomX509TrustManager((X509TrustManager) trustAllCerts[0]); } catch (IOException | CertificateException | NoSuchAlgorithmException | KeyStoreException | KeyManagementException | UnrecoverableKeyException ex) { @@ -1792,11 +1675,11 @@ public class ApiClient { if (keyManagers != null || trustManagers != null) { SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(keyManagers, trustManagers, new SecureRandom()); - httpClient = httpClient.newBuilder().sslSocketFactory(sslContext.getSocketFactory()).build(); + additionalSettings.setCustomSSLSocketFactory(sslContext.getSocketFactory()); } else { - httpClient = httpClient.newBuilder().sslSocketFactory(null).build(); + additionalSettings.setCustomSSLSocketFactory(null); } - httpClient = httpClient.newBuilder().hostnameVerifier(hostnameVerifier).build(); + additionalSettings.setCustomHostnameVerifier(hostnameVerifier); } catch (GeneralSecurityException e) { logger.error("RuntimeException : " + e); throw new RuntimeException(e); diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache index f373593a5..2ab63bc76 100644 --- a/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache +++ b/generator/cybersource-java-template/libraries/okhttp-gson/api.mustache @@ -14,6 +14,7 @@ import {{invokerPackage}}.ProgressResponseBody; import {{invokerPackage}}.BeanValidationException; {{/performBeanValidation}} +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -79,8 +80,9 @@ public class {{classname}} { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call {{operationId}}Call({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call {{operationId}}Call({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = {{#bodyParam}}sdkTracker.insertDeveloperIdTracker({{paramName}}, {{{dataType}}}.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()){{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; {{^bodyParam}} @@ -145,7 +147,7 @@ public class {{classname}} { } @SuppressWarnings("rawtypes") - private okhttp3.Call {{operationId}}ValidateBeforeCall({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call {{operationId}}ValidateBeforeCall({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { {{^performBeanValidation}} {{#allParams}}{{#required}} // verify the required parameter '{{paramName}}' is set @@ -198,8 +200,9 @@ public class {{classname}} { * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}{{#returnType}} * @return {{returnType}}{{/returnType}} * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException { + public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException, ConfigException { logger.info("CALL TO METHOD '{{operationId}}' STARTED"); {{#returnType}}ApiResponse<{{{returnType}}}> {{localVariablePrefix}}resp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); {{#returnType}} @@ -213,8 +216,9 @@ public class {{classname}} { * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}} * @return ApiResponse<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse<{{#vendorExtensions.x-streaming}}InputStream{{/vendorExtensions.x-streaming}}{{^vendorExtensions.x-streaming}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/vendorExtensions.x-streaming}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException { + public ApiResponse<{{#vendorExtensions.x-streaming}}InputStream{{/vendorExtensions.x-streaming}}{{^vendorExtensions.x-streaming}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/vendorExtensions.x-streaming}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call {{localVariablePrefix}}call = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null, null); {{#returnType}}Type {{localVariablePrefix}}localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); @@ -228,8 +232,9 @@ public class {{classname}} { * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call {{operationId}}Async({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{localVariablePrefix}}callback) throws ApiException { + public okhttp3.Call {{operationId}}Async({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{localVariablePrefix}}callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/generator/cybersource-java-template/libraries/okhttp-gson/build.gradle.mustache b/generator/cybersource-java-template/libraries/okhttp-gson/build.gradle.mustache deleted file mode 100644 index 0d169cf9c..000000000 --- a/generator/cybersource-java-template/libraries/okhttp-gson/build.gradle.mustache +++ /dev/null @@ -1,111 +0,0 @@ -apply plugin: 'idea' -apply plugin: 'eclipse' - -group = '{{groupId}}' -version = '{{artifactVersion}}' - -buildscript { - repositories { - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:2.3.+' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' - } -} - -repositories { - jcenter() -} - - -if(hasProperty('target') && target == 'android') { - - apply plugin: 'com.android.library' - apply plugin: 'com.github.dcendents.android-maven' - - android { - compileSdkVersion 25 - buildToolsVersion '25.0.2' - defaultConfig { - minSdkVersion 14 - targetSdkVersion 25 - } - compileOptions { - {{#java8}} - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - {{/java8}} - {{^java8}} - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 - {{/java8}} - } - - // Rename the aar correctly - libraryVariants.all { variant -> - variant.outputs.each { output -> - def outputFile = output.outputFile - if (outputFile != null && outputFile.name.endsWith('.aar')) { - def fileName = "${project.name}-${variant.baseName}-${version}.aar" - output.outputFile = new File(outputFile.parent, fileName) - } - } - } - - dependencies { - provided 'javax.annotation:jsr250-api:1.0' - } - } - - afterEvaluate { - android.libraryVariants.all { variant -> - def task = project.tasks.create "jar${variant.name.capitalize()}", Jar - task.description = "Create jar artifact for ${variant.name}" - task.dependsOn variant.javaCompile - task.from variant.javaCompile.destinationDir - task.destinationDir = project.file("${project.buildDir}/outputs/jar") - task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" - artifacts.add('archives', task); - } - } - - task sourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier = 'sources' - } - - artifacts { - archives sourcesJar - } - -} else { - - apply plugin: 'java' - apply plugin: 'maven' - - sourceCompatibility = JavaVersion.VERSION_{{^java8}}1_7{{/java8}}{{#java8}}1_8{{/java8}} - targetCompatibility = JavaVersion.VERSION_{{^java8}}1_7{{/java8}}{{#java8}}1_8{{/java8}} - - install { - repositories.mavenInstaller { - pom.artifactId = '{{artifactId}}' - } - } - - task execute(type:JavaExec) { - main = System.getProperty('mainClass') - classpath = sourceSets.main.runtimeClasspath - } -} - -dependencies { - compile 'io.swagger:swagger-annotations:1.5.15' - compile 'com.squareup.okhttp:okhttp:2.7.5' - compile 'com.squareup.okhttp:logging-interceptor:2.7.5' - compile 'com.google.code.gson:gson:2.8.1' - {{^java8}} - compile 'joda-time:joda-time:2.9.9' - {{/java8}} - testCompile 'junit:junit:4.12' -} diff --git a/generator/cybersource-rest-spec-java.json b/generator/cybersource-rest-spec-java.json index 18784e4cf..723cfca3e 100644 --- a/generator/cybersource-rest-spec-java.json +++ b/generator/cybersource-rest-spec-java.json @@ -1508,6 +1508,11 @@ "amountDetails": { "type": "object", "properties": { + "refundBalance": { + "type": "string", + "maxLength": 15, + "description": "The remaining amount which can be refunded." + }, "giftWrapAmount": { "type": "string", "maxLength": 19, @@ -4949,6 +4954,26 @@ "type": "string", "maxLength": 60, "description": "This is a token generated by PSP, which is received in response to the Sessions service. This token should be sent in the following transactions." + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" } } } @@ -5593,7 +5618,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "responseCategoryCode": { "type": "string", @@ -5956,6 +5981,16 @@ "type": "string", "maxLength": 150, "description": "Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region.\nA newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -6470,8 +6505,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" }, "salesSlipNumber": { "type": "integer", @@ -20723,6 +20758,16 @@ } } } + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -20906,7 +20951,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "merchantAdvice": { "type": "object", @@ -20958,6 +21003,16 @@ "description": "The kind of seller protection in force for the transaction. This field is returned only when the protection_eligibility property is set to ELIGIBLE or PARTIALLY_ELIGIBLE.\nPossible values:\n- `ITEM_NOT_RECEIVED_ELIGIBLE: Sellers are protected against claims for items not received.`\n- `UNAUTHORIZED_PAYMENT_ELIGIBLE: Sellers are protected against claims for unauthorized payments.`\nOne or both values can be returned.\n" } } + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -21425,6 +21480,16 @@ "type": "string", "maxLength": 60, "description": "This is a token generated by PSP, which is received in response to the Sessions service. This token should be sent in the following transactions." + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } } @@ -21566,11 +21631,21 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "providerResponse": { "type": "string", "description": "Processor response to the API request.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -21994,6 +22069,21 @@ } } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -22148,11 +22238,21 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "providerResponse": { "type": "string", "description": "Processor response to the API request.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -24676,6 +24776,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -24924,6 +25039,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -24954,8 +25079,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -27496,6 +27621,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -27682,6 +27822,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -27722,8 +27872,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -30184,6 +30334,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -30370,6 +30535,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -30410,8 +30585,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -33204,6 +33379,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -33403,6 +33593,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -33520,8 +33720,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -37445,12 +37645,12 @@ "rawResponse": { "type": "string", "maxLength": 255, - "description": "This field is set to the value of failure reason returned by the processor.\n" + "description": "Failure reason returned by the processor." }, "rawResponseLocal": { "type": "string", "maxLength": 255, - "description": "This field is set to the value of failure reason returned by the processor in the local language of the processor.\n" + "description": "Failure reason returned by the processor in the local language of the processor." }, "responseDetails": { "type": "string", @@ -37679,7 +37879,7 @@ "refundBalance": { "type": "string", "maxLength": 15, - "description": "This field will carry the remaning amount which can be refunded.\n" + "description": "The remaining amount which can be refunded." } } } @@ -37706,7 +37906,7 @@ "code": { "type": "string", "maxLength": 10, - "description": "Unique code for card issuer provided by the processor.\n" + "description": "Unique code for card issuer provided by the processor." } } }, @@ -41164,7 +41364,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" } } }, @@ -41350,7 +41550,7 @@ }, "userName": { "type": "string", - "description": "The Venmo user name chosen by the user, also know as a Venmo handle.\n" + "description": "The Venmo user name chosen by the user, also known as a Venmo handle.\n" } } } @@ -42556,7 +42756,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "token": { "type": "string", @@ -43715,7 +43915,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "token": { "type": "string", @@ -44004,7 +44204,7 @@ "description": "Indicates the type of vaulting relationship. Valid values:\n- \"MERCHANT\": Single merchant relationship.\n- \"PLATFORM\": Platform hosting multiple merchants.\n" }, "allowMultipleTokens": { - "type": "boolean", + "type": "string", "description": "Create multiple payment tokens for the same payer, merchant/platform combination. This helps to identify customers distinctly even though they may share the same PayPal account.\n" } } @@ -44458,7 +44658,7 @@ }, "userName": { "type": "string", - "description": "The Venmo user name chosen by the user, also know as a Venmo handle.\n" + "description": "The Venmo user name chosen by the user, also known as a Venmo handle.\n" } } } @@ -46399,6 +46599,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -47718,6 +47938,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -49355,6 +49595,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -50989,6 +51249,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -52317,6 +52597,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -57175,6 +57475,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -58242,6 +58562,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -59842,6 +60182,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -61257,6 +61617,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -62635,6 +63015,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -63698,6 +64098,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -65619,6 +66039,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -66668,6 +67108,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -68125,6 +68585,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -69501,6 +69981,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -70564,6 +71064,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -72050,6 +72570,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -72792,6 +73332,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -73522,6 +74082,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -74615,6 +75195,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -75685,6 +76285,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -76441,6 +77061,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -78395,6 +79035,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -79460,6 +80120,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -79518,7 +80198,7 @@ "operationId": "postInstrumentIdentifierEnrollment", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-card-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html" }, "consumes": [ "application/json;charset=utf-8" @@ -80247,7 +80927,7 @@ "operationId": "postTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-create-cof-intro.html" }, "consumes": [ "application/json;charset=utf-8" @@ -81263,7 +81943,7 @@ "operationId": "getTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-retrieve-tkn-consumer-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-retrieve-tkn-consumer-intro.html" }, "produces": [ "application/json;charset=utf-8" @@ -81907,7 +82587,7 @@ "operationId": "deleteTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-delete-tkn-consumer-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-delete-tkn-consumer-intro.html" }, "produces": [ "application/json;charset=utf-8" @@ -82236,79 +82916,110 @@ } } }, - "/tms/v2/tokens/{tokenId}/payment-credentials": { + "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations": { "post": { - "summary": "Generate Payment Credentials for a TMS Token", - "description": "| | | | \n| --- | --- | --- | \n|**Token**
A Token can represent your tokenized Customer, Payment Instrument or Instrument Identifier information.|      |**Payment Credentials**
Contains payment information such as the network token, generated cryptogram for Visa & MasterCard or dynamic CVV for Amex in a JSON Web Encryption (JWE) response.
Your system can use this API to retrieve the Payment Credentials for an existing Customer, Payment Instrument or Instrument Identifier.\n", + "summary": "Simulate Issuer Life Cycle Management Events", + "description": "**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card.\nThe events that can be simulated are:\n- Token status changes (e.g. active, suspended, deleted)\n- Updates to the underlying card, including card art changes, expiration date changes, and card number suffix.\n**Note:** This is only available in CAS environment.\n", "parameters": [ { "name": "profile-id", "in": "header", - "description": "The Id of a profile containing user specific TMS configuration.", - "required": false, + "required": true, "type": "string", + "description": "The Id of a profile containing user specific TMS configuration.", "minLength": 36, - "maxLength": 36, - "x-hide-field": true + "maxLength": 36 }, { - "name": "tokenId", + "name": "tokenizedCardId", "in": "path", - "description": "The Id of a token representing a Customer, Payment Instrument or Instrument Identifier.", + "description": "The Id of a tokenized card.", "required": true, "type": "string", - "minLength": 1, + "minLength": 12, "maxLength": 32 }, { - "name": "postPaymentCredentialsRequest", + "name": "postIssuerLifeCycleSimulationRequest", "in": "body", "required": true, "schema": { "type": "object", + "description": "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card.\n", "properties": { - "paymentCredentialType": { + "state": { "type": "string", - "description": "The type of payment credentials to be returned.\nBy default, payment credentials include network token and cryptogram or dynamic CVV.\nIf \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested.\nIf \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF.\nIf \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex.\n\nPossible Values:\n - NETWORK_TOKEN\n - SECURITY_CODE\n - CRYPTOGRAM\n" + "description": "The new state of the Tokenized Card.\nPossible Values:\n- ACTIVE\n- SUSPENDED\n- DELETED\n" }, - "transactionType": { - "type": "string", - "description": "Specifies the type of transaction for which the network token credentials are required.\nPossible Values:\n - ECOM: Ecommerce transaction. If transactionType is not provided, ECOM is set as the default.\n - AFT: Account Funding Transaction. This is only supported for VISA and paymentCredentialType of CRYPTOGRAM.\n" + "card": { + "type": "object", + "properties": { + "last4": { + "type": "string", + "maxLength": 4, + "description": "The new last 4 digits of the card number associated to the Tokenized Card.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "The new two-digit month of the card associated to the Tokenized Card.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "The new four-digit year of the card associated to the Tokenized Card.\nFormat: `YYYY`.\n" + } + } + }, + "metadata": { + "type": "object", + "properties": { + "cardArt": { + "type": "object", + "properties": { + "combinedAsset": { + "type": "object", + "properties": { + "update": { + "type": "string", + "description": "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card.\n" + } + } + } + } + } + } } } } } ], "tags": [ - "Token" + "Tokenized Card" ], - "operationId": "postTokenPaymentCredentials", + "operationId": "postIssuerLifeCycleSimulation", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-simulate-issuer-life-cycle-event-intro.html" }, "consumes": [ "application/json;charset=utf-8" ], "produces": [ - "application/jose;charset=utf-8" + "application/json;charset=utf-8" ], "responses": { - "201": { - "description": "A base64 encoded JSON Web Encryption (JWE) response containing encrypted Payment Credentials.\n\nExample:\n{\n\"kid\":\"a0eb65d572e556fddb68eb3a4078555605f7b283\",\n\"cty\":\"json\",\n\"typ\":\"JWT\",\n\"enc\":\"A256GCM\",\n\"alg\":\"RSA-OAEP-256\"\n}\n[Encrypted Instrument Identifier Payment Credentials]\n\nThe encrypted Payment Credentials will contain the network token and cryptogram or dynamic CVV.\n", + "204": { + "description": "The request is fulfilled but does not need to return a body", "headers": { - "uniqueTransactionID": { - "description": "A globally unique id associated with your request.", + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", "type": "string" }, - "v-c-correlation-id": { - "description": "The mandatory correlation id passed by upstream (calling) system.", + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", "type": "string" } - }, - "schema": { - "type": "string", - "example": "eyJraWQiOiJhMGViNjVkNTcyZTU1NmZkZGI2OGViM2E0MDc4NTU1NjA1ZjdiMjgzIiwiY3R5IjoianNvbiIsInR5cCI6IkpXVCIsImVuYyI6IkEyNTZHQ00iLCJhbGciOiJSU0EtT0FFUC0yNTYifQ.o3V2waZn8TQgFXVJItH3EFv9IidsMQ45mskDJyAc6HVvIsT2Pw2blK1BpXv9l6JIU4pqKXzeKPTZTOLUOUoUf7Vr8bliMqCwJuHqq9Nx_qDJrL1MIGV9db8Ssog70-Cz5S6kPzWEWvLB-X8WvUsRfk9EY5Ge8r3BhcLyd-NVsIUKUBADS4-Ovrp2USlLehwVuiqbJzjblfwFCbOwAcDUBP3DGi6oZt8odrBCMV_W-1RH8KAZnS7NzkDgIRzzJoTvPLM4tMF2aSvrQG_GmZndLKeleZNa1voAdk35a2PGAyTc85vb_Eju79vV4C2nlCbxC2yImjumlJ_BZaKhj8q2xA.pWQZef3L3O0SFQtU.tfp2L0Jqqw-c4s9m7e0e8Y7eWAHVOEryLQlL3rLYPmo8OdEUaz-ftm_wpdtsycA5-iRZozDyyas6v6zqbXCMIG_Tg6cBS6cESrnBlgnkELtItv9Zw3UPSNVzoA97T0GxJVPmMkaHUkf0IAd7SXH4Zj5zCCTTDbpIwq4-TaGIxvXd_PJ4L6E1wcqEVaI6sU_PoTWvLJOFLDY_H4pjgVENVuPKVPJZodQxvpLo9L9B0zzOs4YMiv-1ACS_91vYUygBbwZuRnOD6jrW6V0J_nRQik2rCOTwV0B-Mt8nEV0xJpUByScrj91I5HBG1SEVDQPc6RJdNPM7SrPWfEc42Vc9F0oSehCpaIk7QXBCYZez629Li0KhUfqhPa5IJUygH8NB_UgfR5AcyzDr76Kq9Dht8PHPmkJVbPRdyVgkZsMmp_6GQ7Q7r2c3WrHESgbjGgsv4cz8Xui3cqw0Ni0Atozh46Kkd6yOPHC6y6IgdR32020Fs0cwTJnsAAkXy_wX4ScI9ElfpqxF9EshA9l5sHNfCPFbA2eHJUSA0x3vaRCoGCdF4GWq-2zgUEANPwkMNvHsB3E5_4gefqJi8K_nMMfekNGxFabqgkLxpqxXuyJ4cADatuE.kxPM1qm305qmJ6KuIU-9-A" } }, "400": { @@ -82478,55 +83189,379 @@ } } }, - "410": { - "description": "Token Not Available. The token has been deleted.", - "headers": { - "v-c-correlation-id": { - "description": "The mandatory correlation Id passed by upstream (calling) system.", - "type": "string" - }, - "uniqueTransactionID": { - "description": "A globally unique Id associated with your request.", - "type": "string" - } - }, - "schema": { - "type": "object", - "readOnly": true, - "properties": { - "errors": { - "type": "array", - "readOnly": true, - "items": { - "type": "object", - "readOnly": true, - "properties": { - "type": { - "type": "string", - "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The detailed message related to the type." - } - } - } - } - } - }, - "examples": { - "application/json": { - "errors": [ - { - "type": "notAvailable", - "message": "Token not available." - } - ] - } - } - }, + "500": { + "description": "Unexpected error.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Simulate Network Token Status Update", + "value": { + "state": "SUSPENDED" + } + }, + "example1": { + "summary": "Simulate Network Token Card Metadata Update", + "value": { + "card": { + "last4": "9876", + "expirationMonth": "11", + "expirationYear": "2040" + } + } + }, + "example2": { + "summary": "Simulate Network Token Card Art Update", + "value": { + "metadata": { + "cardArt": { + "combinedAsset": { + "update": "true" + } + } + } + } + } + } + } + }, + "/tms/v2/tokens/{tokenId}/payment-credentials": { + "post": { + "summary": "Generate Payment Credentials for a TMS Token", + "description": "| | | | \n| --- | --- | --- | \n|**Token**
A Token can represent your tokenized Customer, Payment Instrument or Instrument Identifier information.|      |**Payment Credentials**
Contains payment information such as the network token, generated cryptogram for Visa & MasterCard or dynamic CVV for Amex in a JSON Web Encryption (JWE) response.
Your system can use this API to retrieve the Payment Credentials for an existing Customer, Payment Instrument or Instrument Identifier.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "description": "The Id of a profile containing user specific TMS configuration.", + "required": false, + "type": "string", + "minLength": 36, + "maxLength": 36, + "x-hide-field": true + }, + { + "name": "tokenId", + "in": "path", + "description": "The Id of a token representing a Customer, Payment Instrument or Instrument Identifier.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 32 + }, + { + "name": "postPaymentCredentialsRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "paymentCredentialType": { + "type": "string", + "description": "The type of payment credentials to be returned.\nBy default, payment credentials include network token and cryptogram or dynamic CVV.\nIf \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested.\nIf \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF.\nIf \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex.\n\nPossible Values:\n - NETWORK_TOKEN\n - SECURITY_CODE\n - CRYPTOGRAM\n" + }, + "transactionType": { + "type": "string", + "description": "Specifies the type of transaction for which the network token credentials are required.\nPossible Values:\n - ECOM: Ecommerce transaction. If transactionType is not provided, ECOM is set as the default.\n - AFT: Account Funding Transaction. This is only supported for VISA and paymentCredentialType of CRYPTOGRAM.\n" + } + } + } + } + ], + "tags": [ + "Token" + ], + "operationId": "postTokenPaymentCredentials", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/jose;charset=utf-8" + ], + "responses": { + "201": { + "description": "A base64 encoded JSON Web Encryption (JWE) response containing encrypted Payment Credentials.\n\nExample:\n{\n\"kid\":\"a0eb65d572e556fddb68eb3a4078555605f7b283\",\n\"cty\":\"json\",\n\"typ\":\"JWT\",\n\"enc\":\"A256GCM\",\n\"alg\":\"RSA-OAEP-256\"\n}\n[Encrypted Instrument Identifier Payment Credentials]\n\nThe encrypted Payment Credentials will contain the network token and cryptogram or dynamic CVV.\n", + "headers": { + "uniqueTransactionID": { + "description": "A globally unique id associated with your request.", + "type": "string" + }, + "v-c-correlation-id": { + "description": "The mandatory correlation id passed by upstream (calling) system.", + "type": "string" + } + }, + "schema": { + "type": "string", + "example": "eyJraWQiOiJhMGViNjVkNTcyZTU1NmZkZGI2OGViM2E0MDc4NTU1NjA1ZjdiMjgzIiwiY3R5IjoianNvbiIsInR5cCI6IkpXVCIsImVuYyI6IkEyNTZHQ00iLCJhbGciOiJSU0EtT0FFUC0yNTYifQ.o3V2waZn8TQgFXVJItH3EFv9IidsMQ45mskDJyAc6HVvIsT2Pw2blK1BpXv9l6JIU4pqKXzeKPTZTOLUOUoUf7Vr8bliMqCwJuHqq9Nx_qDJrL1MIGV9db8Ssog70-Cz5S6kPzWEWvLB-X8WvUsRfk9EY5Ge8r3BhcLyd-NVsIUKUBADS4-Ovrp2USlLehwVuiqbJzjblfwFCbOwAcDUBP3DGi6oZt8odrBCMV_W-1RH8KAZnS7NzkDgIRzzJoTvPLM4tMF2aSvrQG_GmZndLKeleZNa1voAdk35a2PGAyTc85vb_Eju79vV4C2nlCbxC2yImjumlJ_BZaKhj8q2xA.pWQZef3L3O0SFQtU.tfp2L0Jqqw-c4s9m7e0e8Y7eWAHVOEryLQlL3rLYPmo8OdEUaz-ftm_wpdtsycA5-iRZozDyyas6v6zqbXCMIG_Tg6cBS6cESrnBlgnkELtItv9Zw3UPSNVzoA97T0GxJVPmMkaHUkf0IAd7SXH4Zj5zCCTTDbpIwq4-TaGIxvXd_PJ4L6E1wcqEVaI6sU_PoTWvLJOFLDY_H4pjgVENVuPKVPJZodQxvpLo9L9B0zzOs4YMiv-1ACS_91vYUygBbwZuRnOD6jrW6V0J_nRQik2rCOTwV0B-Mt8nEV0xJpUByScrj91I5HBG1SEVDQPc6RJdNPM7SrPWfEc42Vc9F0oSehCpaIk7QXBCYZez629Li0KhUfqhPa5IJUygH8NB_UgfR5AcyzDr76Kq9Dht8PHPmkJVbPRdyVgkZsMmp_6GQ7Q7r2c3WrHESgbjGgsv4cz8Xui3cqw0Ni0Atozh46Kkd6yOPHC6y6IgdR32020Fs0cwTJnsAAkXy_wX4ScI9ElfpqxF9EshA9l5sHNfCPFbA2eHJUSA0x3vaRCoGCdF4GWq-2zgUEANPwkMNvHsB3E5_4gefqJi8K_nMMfekNGxFabqgkLxpqxXuyJ4cADatuE.kxPM1qm305qmJ6KuIU-9-A" + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } + } + } + } + } + } + }, + "examples": { + "Invalid Customer request body": { + "errors": [ + { + "type": "invalidRequest", + "message": "Invalid HTTP Body" + } + ] + } + } + }, + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - forbidden\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Token not found" + } + ] + } + } + }, + "410": { + "description": "Token Not Available. The token has been deleted.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notAvailable", + "message": "Token not available." + } + ] + } + } + }, "500": { "description": "Unexpected error.", "headers": { @@ -101113,6 +102148,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -101226,12 +102281,12 @@ "domesticParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if domestic OCTs (push funds) are allowed.\nNote: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if domestic OCTs (push funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" }, "crossBorderParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if cross-border OCTs (push funds) are allowed.\nNote: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if cross-border OCTs (push funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -101241,12 +102296,12 @@ "domesticParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if domestic AFTs (pull funds) are allowed.\nNote: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if domestic AFTs (pull funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" }, "crossBorderParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if cross-border AFTs (pull funds) are allowed.\nNote: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if cross-border AFTs (pull funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -102004,6 +103059,11 @@ "maxLength": 3, "description": "This is a multicurrency-only field. It contains a 3-digit numeric code that identifies the currency used by the issuer to bill the cardholder's account.\nThis field is returned for OCT transactions.\n" }, + "refundBalance": { + "type": "string", + "maxLength": 15, + "description": "The remaining amount which can be refunded." + }, "surcharge": { "type": "object", "properties": { @@ -102062,6 +103122,21 @@ } } }, + "eWallet": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 30, + "description": "Valid Values:\n- CreditCard\n- BankTransfer\n- MobileTransfer\n- KakaoMoney\n- NaverPayPoint\n" + }, + "fundingSource": { + "type": "string", + "maxLength": 30, + "description": "Valid Values:\n- PAYCO\n- Kakaopay\n- NaverPay\n- SSG Pay\n- L.Pay\n- Apple Pay\n- TOSS Pay\n- Samsung Pay\n" + } + } + }, "customer": { "type": "object", "properties": { @@ -102816,6 +103891,21 @@ } } }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 20, + "description": "Name of the card issuer provided by the processor.\n" + }, + "code": { + "type": "string", + "maxLength": 10, + "description": "Unique code for card issuer provided by the processor." + } + } + }, "eventStatus": { "type": "string", "description": "The event status.\n" @@ -102835,6 +103925,21 @@ "maxLength": 29, "description": "Payment Account Reference (PAR) is a non-financial reference assigned to each unique payment account and used to link a payment account to associated network tokens, i.e. the same PAR is returned for PAN-based and tokenized transactions, such as from digital wallets. PAR can be returned in authorisation responses for requests initiated with both real PANs and tokenized PANs. PAR can be used by merchants for fraud detection and regulatory compliance across different channels and digital wallets. PAR allows all participants in the payments chain to have a single, non-sensitive value assigned to a consumer. This value can be used in place of sensitive card holder identification fields, and transmitted across the payments ecosystem to facilitate card holder identification.\n\n**Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file:\n- Record: CP01 TCR8\n- Position: 79-110\n- Field: Payment Account Reference\n\nThe TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource.\nCyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer,\nwho uses this information to facilitate end-of-day clearing processing with payment networks.\n" }, + "responseDetails": { + "type": "string", + "maxLength": 255, + "description": "This field might contain information about a decline.\n" + }, + "rawResponseLocal": { + "type": "string", + "maxLength": 255, + "description": "Failure reason returned by the processor in the local language of the processor." + }, + "rawResponse": { + "type": "string", + "maxLength": 255, + "description": "Failure reason returned by the processor." + }, "routing": { "type": "object", "properties": { @@ -103238,7 +104343,8 @@ "authorizedAmount": "100.00", "settlementAmount": "97.50", "settlementCurrency": "USD", - "surcharge": "1.11" + "surcharge": "1.11", + "refundBalance": "0.00" }, "shippingDetails": { "giftWrap": "none", @@ -103254,6 +104360,10 @@ "type": "Credit", "method": "method name" }, + "eWallet": { + "fundingSource": "CreditCard", + "name": "PAYCO" + }, "customer": { "customerId": "123" }, @@ -103440,6 +104550,13 @@ "processor": { "name": "paymentProcessor1234" }, + "responseDetails": "0000", + "rawResponseLocal": "\uc131\uacf5", + "rawResponse": "success", + "issuerInformation": { + "name": "\uad6d\ubbfc\uc740\ud589", + "code": "BK04" + }, "multiProcessorRouting": [ { "name": "paymentProcessor0123", @@ -106039,6 +107156,7 @@ "Request.RequestID", "Request.TransactionDate", "Request.MerchantID", + "Request.MerchantReferenceNumber", "AFSFields.IPAddress", "AFSFields.IPCountry", "AFSFields.IPRoutingMethod", @@ -106458,6 +107576,7 @@ "Recipient.RecipientBillingCurrency", "Recipient.ReferenceNumber", "Request.PartnerOriginalTransactionID", + "Request.Quantity", "Sender.Address", "Sender.City", "Sender.Country", @@ -106471,6 +107590,30 @@ "Sender.SourceOfFunds", "Sender.State", "ShipTo.CompanyName", + "StandardBilling.AcquirerMerchantID", + "StandardBilling.AmountSign", + "StandardBilling.CardAcceptorID", + "StandardBilling.CardScheme", + "StandardBilling.CardType", + "StandardBilling.ClientReference", + "StandardBilling.Count", + "StandardBilling.CurrencyCode", + "StandardBilling.DomesticOrInternationalIndicator", + "StandardBilling.ProductCode", + "StandardBilling.StatisticType", + "StandardBilling.TotalAmount", + "StandardBilling.TransactionDate", + "StandardMonthlyFee.AcquirerMerchantID", + "StandardMonthlyFee.ActualFee", + "StandardMonthlyFee.AmountSign", + "StandardMonthlyFee.ClientReference", + "StandardMonthlyFee.CurrencyCode", + "StandardMonthlyFee.FeeType", + "StandardMonthlyFee.OrganizationType", + "StandardMonthlyFee.ProductCode", + "StandardMonthlyFee.Quantity", + "StandardMonthlyFee.Tax", + "StandardMonthlyFee.TotalFee", "Subscriptions.Applications", "Subscriptions.AuthAVSResults", "Subscriptions.AuthCardVerificationResult", @@ -107177,7 +108320,7 @@ "reportDefinitionId": { "type": "integer", "format": "int32", - "description": "| Id | Definition Class |\n| --- | --------------------------------- |\n| 210 | TransactionRequestClass |\n| 211 | PaymentBatchDetailClass |\n| 212 | ExceptionDetailClass |\n| 213 | ProcessorSettlementDetailClass |\n| 214 | ProcessorEventsDetailClass |\n| 215 | FundingDetailClass |\n| 216 | AgingDetailClass |\n| 217 | ChargebackAndRetrievalDetailClass |\n| 218 | DepositDetailClass |\n| 219 | FeeDetailClass |\n| 220 | InvoiceSummaryClass |\n| 221 | PayerAuthDetailClass |\n| 222 | ConversionDetailClass |\n| 225 | BillableTransactionsDetailClass |\n| 270 | JPTransactionDetailClass |\n| 271 | ServiceFeeDetailClass |\n| 310 | GatewayTransactionRequestClass |\n| 400 | DecisionManagerEventDetailClass |\n| 401 | DecisionManagerDetailClass |\n| 410 | FeeSummaryClass |\n| 420 | TaxCalculationClass |\n| 520 | POSTerminalExceptionClass |\n| 620 | SubscriptionDetailClass |\n" + "description": "| Id | Definition Class |\n| --- | --------------------------------- |\n| 210 | TransactionRequestClass |\n| 211 | PaymentBatchDetailClass |\n| 212 | ExceptionDetailClass |\n| 213 | ProcessorSettlementDetailClass |\n| 214 | ProcessorEventsDetailClass |\n| 215 | FundingDetailClass |\n| 216 | AgingDetailClass |\n| 217 | ChargebackAndRetrievalDetailClass |\n| 218 | DepositDetailClass |\n| 219 | FeeDetailClass |\n| 220 | InvoiceSummaryClass |\n| 221 | PayerAuthDetailClass |\n| 222 | ConversionDetailClass |\n| 225 | BillableTransactionsDetailClass |\n| 270 | JPTransactionDetailClass |\n| 271 | ServiceFeeDetailClass |\n| 310 | GatewayTransactionRequestClass |\n| 400 | DecisionManagerEventDetailClass |\n| 401 | DecisionManagerDetailClass |\n| 410 | FeeSummaryClass |\n| 420 | TaxCalculationClass |\n| 520 | POSTerminalExceptionClass |\n| 620 | SubscriptionDetailClass |\n| 630 | StandardBillingDataPackageClass |\n| 706 | StandardMonthlyFeeClass |\n" }, "reportDefintionName": { "type": "string" @@ -107743,6 +108886,7 @@ "Request.RequestID", "Request.TransactionDate", "Request.MerchantID", + "Request.MerchantReferenceNumber", "AFSFields.IPAddress", "AFSFields.IPCountry", "AFSFields.IPRoutingMethod", @@ -108158,6 +109302,7 @@ "Recipient.RecipientBillingCurrency", "Recipient.ReferenceNumber", "Request.PartnerOriginalTransactionID", + "Request.Quantity", "Sender.Address", "Sender.City", "Sender.Country", @@ -108171,6 +109316,30 @@ "Sender.SourceOfFunds", "Sender.State", "ShipTo.CompanyName", + "StandardBilling.AcquirerMerchantID", + "StandardBilling.AmountSign", + "StandardBilling.CardAcceptorID", + "StandardBilling.CardScheme", + "StandardBilling.CardType", + "StandardBilling.ClientReference", + "StandardBilling.Count", + "StandardBilling.CurrencyCode", + "StandardBilling.DomesticOrInternationalIndicator", + "StandardBilling.ProductCode", + "StandardBilling.StatisticType", + "StandardBilling.TotalAmount", + "StandardBilling.TransactionDate", + "StandardMonthlyFee.AcquirerMerchantID", + "StandardMonthlyFee.ActualFee", + "StandardMonthlyFee.AmountSign", + "StandardMonthlyFee.ClientReference", + "StandardMonthlyFee.CurrencyCode", + "StandardMonthlyFee.FeeType", + "StandardMonthlyFee.OrganizationType", + "StandardMonthlyFee.ProductCode", + "StandardMonthlyFee.Quantity", + "StandardMonthlyFee.Tax", + "StandardMonthlyFee.TotalFee", "Subscriptions.Applications", "Subscriptions.AuthAVSResults", "Subscriptions.AuthCardVerificationResult", @@ -112603,6 +113772,21 @@ } } } + }, + "merchantDefinedFieldValues": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definitionId": { + "type": "integer", + "format": "int64" + }, + "value": { + "type": "string" + } + } + } } }, "example": { @@ -112667,7 +113851,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some value" + }, + { + "definitionId": 456, + "value": "Another value" + } + ] } } } @@ -113014,6 +114208,65 @@ } } } + }, + "merchantDefinedFieldValuesWithDefinition": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fieldType": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "textDefaultValue": { + "type": "string" + }, + "possibleValues": { + "type": "string" + }, + "value": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "definitionId": { + "type": "integer" + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } } }, "example": { @@ -113093,7 +114346,20 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValuesWithDefinition": [ + { + "id": 1515, + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + ] } } }, @@ -113340,7 +114606,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example1": { @@ -113388,7 +114664,17 @@ "taxable": false } } - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example2": { @@ -113450,7 +114736,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example3": { @@ -113498,7 +114794,17 @@ "taxable": false } } - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } } @@ -114114,6 +115420,16 @@ "event": "CREATE", "date": "2019-06-18T21:51:18.76Z" } + ], + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some interesting Value" + }, + { + "definitionId": 456, + "value": "Another quirky value" + } ] }, "type": "object", @@ -114454,6 +115770,65 @@ } } }, + "merchantDefinedFieldValuesWithDefinition": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fieldType": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "textDefaultValue": { + "type": "string" + }, + "possibleValues": { + "type": "string" + }, + "value": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "definitionId": { + "type": "integer" + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + }, "invoiceHistory": { "type": "array", "items": { @@ -114899,6 +116274,21 @@ } } } + }, + "merchantDefinedFieldValues": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definitionId": { + "type": "integer", + "format": "int64" + }, + "value": { + "type": "string" + } + } + } } }, "example": { @@ -114955,7 +116345,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } } @@ -115302,6 +116702,65 @@ } } } + }, + "merchantDefinedFieldValuesWithDefinition": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fieldType": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "textDefaultValue": { + "type": "string" + }, + "possibleValues": { + "type": "string" + }, + "value": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "definitionId": { + "type": "integer" + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } } }, "example": { @@ -115387,6 +116846,19 @@ "taxRate": "0.0", "totalAmount": "247.86" } + ], + "merchantDefinedFieldValuesWithDefinition": [ + { + "id": 1515, + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } ] } } @@ -115580,7 +117052,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example1": { @@ -115620,7 +117102,17 @@ "taxable": false } } - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } } @@ -116091,7 +117583,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } }, @@ -117647,333 +119149,17 @@ "hiddenForItem": true } ] - } - }, - "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.\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" - }, - "shipTo": { - "description": "Collect the payers shipping address.", - "type": "boolean", - "default": false - }, - "phoneNumber": { - "description": "Collect the payers phone number.", - "type": "boolean", - "default": false - }, - "email": { - "description": "Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation.", - "type": "boolean", - "default": false - }, - "enableMerchantEmailNotifications": { - "description": "Whether you would like to receive payment notification for successful transaction", - "type": "boolean", - "default": false - }, - "customLabels": { - "description": "A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten.\n", - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "The invoice field key. Possible values:\n - billTo\n - invoiceNumber\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n - discount\n - tax\n", - "type": "string" - }, - "value": { - "description": "The new (overridden) field name", - "type": "string", - "maxLength": 25 - }, - "hidden": { - "description": "Hides the specified field. This field is applicable for keys:\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n", - "type": "boolean", - "default": false - }, - "hiddenForInvoice": { - "description": "Hides the field at invoice level. This field is applicable for keys:\n - discount\n - tax\n", - "type": "boolean", - "default": false - }, - "hiddenForItem": { - "description": "Hides the field at invoice item level. This field is applicable for keys:\n - discount\n - tax\n", - "type": "boolean", - "default": false - } - } - } - } - } - } - } - } - }, - "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- DUPLICATE_RECORD\n- ACTION_NOT_ALLOWED\n- VALIDATION_ERRORS\n- INVALID_IMAGE\n- INVALID_TRANSIENT_TOKEN\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/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGR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gjsfXNFFehTqS9mpExw8HJ0+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", - "shipTo": false, - "phoneNumber": false, - "email": false, - "enableMerchantEmailNotifications": false, - "customLabels": [ - { - "key": "billTo", - "value": "Payee name" - }, - { - "key": "companyName", - "hidden": true - }, - { - "key": "discount", - "value": "Promo", - "hiddenForItem": true - }, - { - "key": "tax", - "hiddenForInvoice": true, - "hiddenForItem": true + "merchantInformation": { + "name": "Pravalika (org)", + "phone": "415-832-3555", + "addressDetails": { + "address1": "123 Bellevue Ave ", + "address2": " Suite 800", + "city": "Bellevue", + "country": "dz", + "postalCode": "98103" } - ] - } - } - } - } - }, - "get": { - "tags": [ - "Invoice Settings" - ], - "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;base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/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", - "shipTo": false, - "phoneNumber": false, - "email": false, - "enableMerchantEmailNotifications": false, - "customLabels": [ - { - "key": "billTo", - "value": "Payee name" - }, - { - "key": "companyName", - "hidden": true - }, - { - "key": "discount", - "value": "Promo", - "hiddenForItem": true - }, - { - "key": "tax", - "hiddenForInvoice": true, - "hiddenForItem": true - } - ] } }, "type": "object", @@ -118100,6 +119286,422 @@ } } } + }, + "merchantInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 100 + }, + "phone": { + "type": "string" + }, + "addressDetails": { + "type": "object", + "properties": { + "address1": { + "type": "string", + "maxLength": 60 + }, + "address2": { + "type": "string", + "maxLength": 60 + }, + "city": { + "type": "string", + "maxLength": 50 + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string", + "maxLength": 10 + } + } + } + } + } + } + } + }, + "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- DUPLICATE_RECORD\n- ACTION_NOT_ALLOWED\n- VALIDATION_ERRORS\n- INVALID_IMAGE\n- INVALID_TRANSIENT_TOKEN\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/tCfFjUJPEUOl29q0kEOPMYD9K8a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4iu7l7fXG8F6cBLGqeS8pMZLr94/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", + "shipTo": false, + "phoneNumber": false, + "email": false, + "enableMerchantEmailNotifications": false, + "customLabels": [ + { + "key": "billTo", + "value": "Payee name" + }, + { + "key": "companyName", + "hidden": true + }, + { + "key": "discount", + "value": "Promo", + "hiddenForItem": true + }, + { + "key": "tax", + "hiddenForInvoice": true, + "hiddenForItem": true + } + ] + } + } + } + } + }, + "get": { + "tags": [ + "Invoice Settings" + ], + "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+dUWzZ5M0P6zPoDk2rmDSOdsADBAhAsQLAABAtAsADBAhAsAMECBAtAsAAECxAsAMECECxAsAAEC0CwAMECECwAwQIEC0CwAAQLECyAXtdgBPSVoqhkcPOhDDv9tQwf8WpGjN6VUWN3ZcToXR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j+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", + "shipTo": false, + "phoneNumber": false, + "email": false, + "enableMerchantEmailNotifications": false, + "customLabels": [ + { + "key": "billTo", + "value": "Payee name" + }, + { + "key": "companyName", + "hidden": true + }, + { + "key": "discount", + "value": "Promo", + "hiddenForItem": true + }, + { + "key": "tax", + "hiddenForInvoice": true, + "hiddenForItem": true + } + ] + }, + "merchantInformation": { + "name": "Pravalika (org)", + "phone": "415-832-3555", + "addressDetails": { + "address1": "123 Bellevue Ave ", + "address2": " Suite 800", + "city": "Bellevue", + "country": "dz", + "postalCode": "98103" + } + } + }, + "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.\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" + }, + "shipTo": { + "description": "Collect the payers shipping address.", + "type": "boolean", + "default": false + }, + "phoneNumber": { + "description": "Collect the payers phone number.", + "type": "boolean", + "default": false + }, + "email": { + "description": "Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation.", + "type": "boolean", + "default": false + }, + "enableMerchantEmailNotifications": { + "description": "Whether you would like to receive payment notification for successful transaction", + "type": "boolean", + "default": false + }, + "customLabels": { + "description": "A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten.\n", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "The invoice field key. Possible values:\n - billTo\n - invoiceNumber\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n - discount\n - tax\n", + "type": "string" + }, + "value": { + "description": "The new (overridden) field name", + "type": "string", + "maxLength": 25 + }, + "hidden": { + "description": "Hides the specified field. This field is applicable for keys:\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n", + "type": "boolean", + "default": false + }, + "hiddenForInvoice": { + "description": "Hides the field at invoice level. This field is applicable for keys:\n - discount\n - tax\n", + "type": "boolean", + "default": false + }, + "hiddenForItem": { + "description": "Hides the field at invoice item level. This field is applicable for keys:\n - discount\n - tax\n", + "type": "boolean", + "default": false + } + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 100 + }, + "phone": { + "type": "string" + }, + "addressDetails": { + "type": "object", + "properties": { + "address1": { + "type": "string", + "maxLength": 60 + }, + "address2": { + "type": "string", + "maxLength": 60 + }, + "city": { + "type": "string", + "maxLength": 50 + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string", + "maxLength": 10 + } + } + } + } } } } @@ -118191,6 +119793,1015 @@ } } }, + "/invoicing/v2/{referenceType}/merchantDefinedFields": { + "get": { + "tags": [ + "Merchant Defined Fields" + ], + "summary": "Get all merchant defined fields for a given reference type", + "operationId": "getMerchantDefinedFieldsDefinitions", + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/invoicing/developer/all/rest/invoicing/Introduction.html" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "referenceType", + "in": "path", + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ], + "description": "The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation", + "required": true + } + ], + "responses": { + "200": { + "description": "Get all merchant defined fields for a given reference type", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "fieldType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "possibleValues": { + "type": "string" + }, + "textDefaultValue": { + "type": "string" + }, + "merchantId": { + "type": "string" + }, + "referenceType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "merchantDefinedDataIndex": { + "type": "integer", + "format": "int32" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "404": { + "description": "Merchant defined fields not found", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + } + } + }, + "post": { + "tags": [ + "merchantDefinedFields" + ], + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields" + }, + "summary": "Create merchant defined field for a given reference type", + "operationId": "createMerchantDefinedFieldDefinition", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "referenceType", + "in": "path", + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ], + "description": "The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation", + "required": true + }, + { + "name": "MerchantDefinedFieldDefinitionRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "fieldType": { + "type": "string", + "description": "Possible values:\n- text\n- select" + }, + "label": { + "type": "string", + "maxLength": 100 + }, + "customerVisible": { + "type": "boolean", + "default": false + }, + "textMinLength": { + "type": "integer", + "default": 0, + "description": "Should be used only if fieldType = \"text\"" + }, + "textMaxLength": { + "type": "integer", + "default": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "textDefaultValue": { + "type": "string", + "maxLength": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "possibleValues": { + "type": "string", + "maxLength": 600, + "description": "Should be mandatory and used only if fieldType = \"select\"" + }, + "readOnly": { + "type": "boolean", + "default": false + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "required": [ + "fieldType", + "label", + "merchantDefinedDataIndex" + ], + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + ], + "responses": { + "201": { + "description": "Create merchant defined field for a given reference type", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "fieldType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "possibleValues": { + "type": "string" + }, + "textDefaultValue": { + "type": "string" + }, + "merchantId": { + "type": "string" + }, + "referenceType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "merchantDefinedDataIndex": { + "type": "integer", + "format": "int32" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "400": { + "description": "MerchantDefinedData definition is already updated or Merchant Defined Data Index is already assigned", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + }, + "409": { + "description": "MerchantDefinedData definition is already updated or Merchant Defined Data Index is already assigned", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + }, + "412": { + "description": "Merchant has exceeded limit for type {referenceType}", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + } + }, + "x-example": { + "example0": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "/invoicing/v2/{referenceType}/merchantDefinedFields/{id}": { + "put": { + "tags": [ + "merchantDefinedFields" + ], + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields" + }, + "summary": "Update a MerchantDefinedField by ID", + "parameters": [ + { + "in": "path", + "name": "referenceType", + "required": true, + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ] + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "MerchantDefinedFieldCore", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "fieldType": { + "type": "string", + "description": "Possible values:\n- text\n- select" + }, + "label": { + "type": "string", + "maxLength": 100 + }, + "customerVisible": { + "type": "boolean", + "default": false + }, + "textMinLength": { + "type": "integer", + "default": 0, + "description": "Should be used only if fieldType = \"text\"" + }, + "textMaxLength": { + "type": "integer", + "default": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "textDefaultValue": { + "type": "string", + "maxLength": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "possibleValues": { + "type": "string", + "maxLength": 600, + "description": "Should be mandatory and used only if fieldType = \"select\"" + }, + "readOnly": { + "type": "boolean", + "default": false + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "required": [ + "fieldType", + "label", + "merchantDefinedDataIndex" + ], + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + ], + "responses": { + "200": { + "description": "A list of MerchantDefinedField", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "fieldType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "possibleValues": { + "type": "string" + }, + "textDefaultValue": { + "type": "string" + }, + "merchantId": { + "type": "string" + }, + "referenceType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "merchantDefinedDataIndex": { + "type": "integer", + "format": "int32" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "400": { + "description": "Wrong referenceType in the path", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + }, + "409": { + "description": "MerchantDefinedData definition is already updated or Merchant Defined Data Index is already assigned", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + } + }, + "x-example": { + "example0": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + }, + "delete": { + "tags": [ + "merchantDefinedFields" + ], + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields" + }, + "summary": "Delete a MerchantDefinedField by ID", + "parameters": [ + { + "in": "path", + "name": "referenceType", + "required": true, + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ] + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "responses": { + "204": { + "description": "MerchantDefinedField deleted" + } + } + } + }, "/ipl/v2/payment-links": { "post": { "tags": [ @@ -122697,6 +125308,481 @@ } } }, + "acquirers": { + "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.", + "additionalProperties": { + "properties": { + "institutionId": { + "type": "string", + "description": "Identifier of the acquirer. This number is usually assigned by Visa." + }, + "interbankCardAssociationId": { + "type": "string", + "description": "Number assigned by MasterCard to banks to identify the member in transactions." + }, + "discoverInstitutionId": { + "type": "string", + "description": "Assigned by Discover to identify the acquirer." + }, + "countryCode": { + "type": "string", + "description": "ISO 4217 format." + }, + "fileDestinationBin": { + "type": "string", + "description": "The BIN to which this\u00a0capturefile is sent. This field must contain a valid BIN." + }, + "merchantVerificationValue": { + "type": "string", + "description": "Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant." + }, + "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" + }, + "allowMultipleBills": { + "type": "boolean", + "description": "Allows multiple captures for a single authorization transaction.\n" + }, + "enableTransactionReferenceNumber": { + "type": "boolean", + "description": "To enable merchant to send in transaction reference number (unique reconciliation ID)." + }, + "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." + }, + "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" + } + } + } + } + } + } + }, "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" @@ -123821,11 +126907,6 @@ "properties": { "enabled": { "type": "boolean" - }, - "selfServiceability": { - "type": "string", - "default": "NOT_SELF_SERVICEABLE", - "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" } } }, @@ -123873,6 +126954,991 @@ "type": "string", "description": "URL to redirect to if the transaction fails. This is where the user will be sent if there is an error during the payment process.\nexample: http://www.test.com/failure\n" }, + "underwriting": { + "title": "underwritingConfiguration", + "type": "object", + "description": "Underwriting configuration containing the complete VMES (Visa Merchant Evaluation Service) payload for merchant risk evaluation.\n", + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "clientRequestId": { + "description": "client-generated request reference or tracking number. It is recommended that you send a unique value for each request so that you can perform meaningful searches for the request.\n", + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + }, + "applicationName": { + "type": "string", + "maxLength": 50, + "description": "The name of the application (such as Boarding Workflow or Anet Boarding) that the client uses to send a request to merchant evaluation service. \n", + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + } + } + }, + "merchantApplication": { + "type": "object", + "required": [ + "products" + ], + "properties": { + "applicationId": { + "type": "string", + "readOnly": true + }, + "applicationStatus": { + "type": "string", + "readOnly": true + }, + "products": { + "description": "The product(s) that are being underwritten", + "type": "array", + "items": { + "type": "object", + "required": [ + "productShortName" + ], + "properties": { + "productShortName": { + "description": "Product Name\n[PRODUCT1, PRODUCT2, PRODUCT3]\n", + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,30}$" + }, + "preferredAcquirer": { + "description": "Override Acquirer Value", + "type": "string", + "maxLength": 30, + "pattern": "^[a-zA-Z0-9-_]$" + }, + "status": { + "readOnly": true, + "description": "Product status\n[]\n", + "type": "string" + } + } + } + }, + "campaignId": { + "description": "Driver Campaign ID, identifies where the application came from", + "type": "string" + }, + "ocId": { + "description": "Offer CampaignID, used by Sales", + "type": "string" + }, + "resellerId": { + "description": "ResellerID, used by Sales", + "type": "string", + "maxLength": 128 + } + } + }, + "metadata": { + "type": "object" + }, + "metadataExternal": { + "type": "object" + }, + "organizationInformation": { + "type": "object", + "properties": { + "parentOrganizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Parent Organization ID for the application" + }, + "organizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Organization ID for the application" + }, + "boardingPackageId": { + "type": "string", + "maxLength": 60, + "description": "Boarding Package ID for the application" + }, + "businessInformation": { + "type": "object", + "required": [ + "businessIdentifier", + "countryRegistration", + "legalName", + "doingBusinessAs", + "businessDescription", + "startDate", + "merchantCategoryCode", + "businessType", + "countryPhoneNumber", + "phoneNumber", + "email" + ], + "properties": { + "businessIdentifier": { + "type": "string", + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]*$", + "description": "Tax ID for the business" + }, + "countryRegistration": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is registered. Two character country code, ISO 3166-1 alpha-2." + }, + "legalName": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "description": "The legally registered name of the business" + }, + "doingBusinessAs": { + "type": "string", + "maxLength": 60, + "description": "The DBA of the business." + }, + "businessDescription": { + "type": "string", + "maxLength": 250, + "description": "Short description of the Business" + }, + "registrationNumber": { + "type": "string", + "maxLength": 60, + "description": "Registration ID for Enterprise Merchant" + }, + "stockExchange": { + "type": "string", + "maxLength": 60, + "description": "Which stock exchange is the company trading in?" + }, + "tickerSymbol": { + "type": "string", + "maxLength": 10, + "pattern": "^[a-zA-Z0-9_.]*$", + "description": "Stock Symbol on the exchange" + }, + "startDate": { + "type": "string", + "format": "date", + "description": "When did Business start. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "merchantCategoryCode": { + "type": "string", + "maxLength": 4, + "pattern": "^\\d{3,4}$", + "description": "Industry standard Merchant Category Code (MCC)" + }, + "mccDescription": { + "type": "string", + "maxLength": 128, + "description": "MCC Description" + }, + "websiteURL": { + "type": "string", + "maxLength": 100, + "description": "Website for the Business" + }, + "businessType": { + "type": "string", + "description": "Business type \nPossible values:\n- PARTNERSHIP\n- SOLE_PROPRIETORSHIP\n- CORPORATION\n- LLC\n- NON_PROFIT\n- TRUST" + }, + "localMCC": { + "type": "array", + "items": { + "type": "string" + } + }, + "countryPhoneNumber": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the Business phone number. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Business Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Business Email Address" + }, + "whatYourCompanyDoes": { + "type": "string", + "maxLength": 500, + "description": "What your company does and how you market your service" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "tradingAddress": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "businessContact": { + "type": "object", + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person First Name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Middle Name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Last Name" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Contact Person Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Contact Persona Email" + } + } + }, + "businessDetails": { + "type": "object", + "required": [ + "interactionTypes", + "percentageSplitByF2F", + "percentageSplitByCNP", + "whenIsCustomerCharged", + "offerSubscriptions" + ], + "properties": { + "customerType": { + "type": "string", + "description": "Who is the business interacting with? Business to Business, Business to Consumer, Both \nPossible values:\n- B2B\n- B2C\n- Both" + }, + "percentageSplitByB2B": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByB2C": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "interactionTypes": { + "type": "string", + "description": "Merchant Facing: Face to Face, Card Not Present, Both \nPossible values:\n- F2F\n- CNP\n- Both" + }, + "percentageSplitByF2F": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByCNP": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "whenIsCustomerCharged": { + "type": "string", + "description": "When is the customer charged? \nPossible values:\n- OneTimeBeforeServiceDelivery\n- OneTimeAfterServiceDelivery\n- Other" + }, + "whenIsCustomerChargedDescription": { + "type": "string", + "maxLength": 30 + }, + "offerSubscriptions": { + "type": "boolean", + "description": "Does Merchant Offer Subscriptions?" + }, + "monthlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is monthly subscriptions" + }, + "quarterlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is quarterly subscriptions" + }, + "semiannualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is semi-annual subscriptions" + }, + "annualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is annual subscriptions" + }, + "currencyType": { + "type": "string", + "description": "Processing Currency. ISO 4217, 3 characters. \nPossible values:\n- USD\n- CAD\n- EUR\n- GBP\n- CHF" + }, + "estimatedMonthlySales": { + "type": "number", + "description": "Merchant's estimated monthly sales" + }, + "averageOrderAmount": { + "type": "number", + "description": "Merchant's average order amount" + }, + "largestExpectedOrderAmount": { + "type": "number", + "description": "Merchant's largest expected order amount" + }, + "primaryAccountUsage": { + "type": "string", + "description": "Primary purpose of account usage \nPossible values:\n- Paying for goods / services\n- Repatriating overseas earnings\n- Intercompany transfers\n- Collecting funds from clients\n- Liquidity / FX\n- Payment to an individual\n- Investment activity\n- Property purchase/sale\n- Other" + }, + "sourceOfFunds": { + "type": "string", + "description": "Source of Funds \nPossible values:\n- Business revenue\n- External or shareholder investment\n- Loan, advance or other borrowing\n- Donations or grants\n- Inter-company transfers\n- Proceeds of sales of assests\n- Other" + }, + "receiveMoney3rdParties": { + "type": "boolean", + "description": "Will you recieve money from 3rd parties into your account?" + }, + "receiveTransactionFrequency": { + "type": "string", + "description": "Roughly how often do you expect to send or receive transactions? \nPossible values:\n- One-off or infrequently\n- 1-20 per month\n- 20-50 per month\n- 50-100 per month\n- 100+ per month" + }, + "estimatedMonthlySpend": { + "type": "string", + "description": "What is your estimated total monthly spend? \nPossible values:\n- <$10,000\n- $10,000 - $50,000\n- $50,000 - $100,000\n- $100,000 - $500,000\n- $500,000+" + }, + "countryTransactions": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesOut": { + "type": "array", + "items": { + "type": "string" + } + }, + "productServicesSubscription": { + "type": "array", + "items": { + "type": "object", + "properties": { + "productServiceName": { + "type": "string", + "maxLength": 255, + "description": "Name of the product, service, or subscription." + }, + "productServicePercentage": { + "type": "number", + "minimum": 0, + "maximum": 100, + "description": "Percentage of business revenue from this product or service." + } + } + } + } + } + }, + "ownerInformation": { + "type": "array", + "items": { + "type": "object", + "required": [ + "firstName", + "lastName", + "birthDate", + "isPrimary", + "hasSignificantResponsibility", + "nationalId", + "ownershipPercentage", + "nationality", + "dueDiligenceRequired", + "phoneNumberCountryCode", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Owner's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Owner's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Owner's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Owner's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "isPrimary": { + "type": "boolean", + "description": "Primary Owner or Non-Primary Owner" + }, + "hasSignificantResponsibility": { + "type": "boolean", + "description": "If not an owner, is the user a Control Person" + }, + "ownerDirector": { + "type": "boolean", + "description": "Is the owner a Director as well?" + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "passportCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Passport Country. Two character country code, ISO 3166-1 alpha-2." + }, + "jobTitle": { + "type": "string", + "maxLength": 100, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "description": "Owner's Job Title" + }, + "ownershipPercentage": { + "type": "number", + "minimum": 1, + "maximum": 100, + "description": "Percentage of the company that owner owns" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "dueDiligenceRequired": { + "type": "boolean", + "description": "Indicates if due diligence checks should be run for this owner" + }, + "phoneNumberCountryCode": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Phone number country. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Owner" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the owner resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Owner's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "Owner's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Owner's zip code (US) or postal code (Canada)" + } + } + } + } + } + }, + "directorInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Director's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Director's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Director's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Director's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Director" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the Director resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Director's zip code (US) or postal code (Canada)" + } + } + } + } + } + } + } + } + } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "description": "IP Address of the user that filled in the Merchant Application", + "type": "string" + }, + "fingerprintSessionId": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + }, + "userAgent": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + } + } + }, + "depositInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the Bank Account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 15, + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 17, + "example": 111111111111110 + } + } + }, + "billingInformation": { + "type": "object", + "properties": { + "bankAccountInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the checking account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "maxLength": 15, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "maxLength": 17, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111110 + } + } + } + } + }, + "saleRepresentativeInformation": { + "type": "object", + "required": [ + "salesRepId", + "salesRepFirstName", + "salesRepLastName", + "salesRepEmail", + "salesRepNumericPhoneNumberCountryCode", + "salesRepPhoneNumber" + ], + "properties": { + "salesRepId": { + "description": "Sales rep Identifier", + "type": "string", + "maxLength": 60 + }, + "salesRepFirstName": { + "description": "Sales rep First Name", + "type": "string", + "maxLength": 50, + "example": "John" + }, + "salesRepLastName": { + "description": "Sales Rep Last Name", + "type": "string", + "maxLength": 50, + "example": "Johnson" + }, + "salesRepEmail": { + "description": "Sales Rep eMail", + "type": "string", + "maxLength": 100, + "example": "test@test.com" + }, + "salesRepNumericPhoneNumberCountryCode": { + "description": "Sales Rep Phone Number Country. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "example": "US" + }, + "salesRepPhoneNumber": { + "description": "Sales Rep Phone", + "type": "string", + "maxLength": 20, + "example": 4567890398 + } + } + }, + "fileAttachmentInformation": { + "type": "object", + "properties": { + "fileGroupId": { + "description": "The unique identifier for the file group", + "type": "string" + } + } + } + } + }, "additionalConfigurations": { "type": "array", "maxItems": 10, @@ -125640,148 +129706,238 @@ "configurations": { "type": "object", "properties": { - "pullfunds": { + "common": { "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": { + "properties": { + "paymentTypes": { + "type": "array", + "description": "List of card types supported by this merchant.\n", + "items": { "type": "string", "minLength": 1, - "maxLength": 4, - "description": "A 4 character max name abbreviation for the originator." - }, - "cardTerminalId": { + "maxLength": 30, + "description": "Possible values:\n- VISA\n- MASTERCARD" + } + }, + "businessApplicationId": { + "type": "array", + "description": "List of supported Business Application Indicators.\n", + "items": { "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." + "maxLength": 30, + "description": "Possible values:\n- AA\n- BB\n- BI\n- BP\n- CB\n- CD\n- CI\n- CO\n- CP\n- FD\n- FT\n- GD\n- GP\n- LA\n- LO\n- MD\n- MI\n- MP\n- OG\n- PD\n- PG\n- PP\n- PS\n- RP\n- TU\n- WT" + } + }, + "aggregator": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 11, + "description": "Marketplace or payment facilitator ID." + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 25, + "description": "Acceptor's legal business name associated with the card acceptor identification code." + }, + "subMerchantId": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 15, + "description": "Sub-merchant ID" + } } } } }, - "pushfunds": { + "processors": { "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": { + "description": "string [1 .. 40] characters\n\nThe name of the Payouts processor.\n", + "pattern": "^[A-Za-z0-9]+$", + "allOf": [ + { + "type": "object", + "properties": { + "acquirer": { + "type": "object", + "properties": { + "acquiringId": { "type": "string", - "maxLength": 8 + "pattern": "^\\d+$", + "minLength": 6, + "maxLength": 11, + "description": "This code identifies the financial institution acting as the acquirer.\n\nAlso known as:\n\n- Acquiring BIN\n- Acquiring Institution Identification Code\n" + }, + "country": { + "type": "string", + "description": "The acquirer's [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country code. \nPossible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" } - }, - "supportedCurrencies": { - "type": "array", - "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", - "items": { + } + }, + "currencies": { + "type": "array", + "description": "List of supported [ISO 4217](https://developer.cybersource.com/docs/cybs/en-us/currency-codes/reference/all/na/currency-codes/currency-codes.html) alpha-3 currency codes.", + "items": { + "type": "string", + "minLength": 3, + "maxLength": 3, + "description": "Possible values:\n- USD\n- AED\n- AFN\n- ALL\n- AMD\n- ANG\n- AOA\n- ARS\n- AUD\n- AWG\n- AZN\n- BAM\n- BBD\n- BDT\n- BGN\n- BHD\n- BIF\n- BMD\n- BND\n- BOB\n- BOX\n- BRL\n- BSD\n- BTN\n- BWP\n- BYR\n- BYN\n- BZD\n- CAD\n- CDF\n- CHF\n- CLF\n- CLP\n- CNY\n- COP\n- COU\n- CRC\n- CSK\n- CUC\n- CUP\n- CVE\n- CZK\n- DJF\n- DFF\n- DOP\n- DZD\n- EGP\n- ERN\n- ETB\n- EUR\n- FJD\n- FKP\n- GBP\n- GEL\n- GHS\n- GIP\n- GMD\n- GNF\n- GTQ\n- GWP\n- GYD\n- HKD\n- HNL\n- HTG\n- HUF\n- IDR\n- ILS\n- INR\n- IQD\n- IRR\n- ISK\n- HMD\n- JOD\n- JPY\n- KES\n- KGS\n- KHR\n- KMF\n- KPW\n- KRW\n- KWD\n- KYD\n- KZT\n- LAK\n- LBP\n- LRD\n- LSL\n- LTV\n- LVL\n- LYD\n- MAD\n- MDL\n- MGA\n- MKD\n- MMK\n- MNT\n- MOP\n- MRO\n- MUR\n- MVR\n- MWK\n- MXN\n- MYR\n- MZN\n- NAD\n- NGN\n- NIO\n- NOK\n- NPR\n- NZD\n- OMR\n- PAB\n- PEN\n- PGK\n- PHP\n- PKR\n- PLN\n- PYG\n- QAR\n- RON\n- RSD\n- RUB\n- RWF\n- SAR\n- SBD\n- SCR\n- SDG\n- SHP\n- SLE\n- SOS\n- SRD\n- SSP\n- STD\n- SVC\n- SYP\n- SZL\n- THB\n- TJS\n- TMT\n- TND\n- TOP\n- TRY\n- TTD\n- TWD\n- TZS\n- UAH\n- UGX\n- UYU\n- VEF\n- VND\n- VUV\n- WST\n- XAF\n- XCD\n- XOF\n- XPF\n- YER\n- ZAR\n- ZMK\n- ZMW\n- ZWD\n- ZWL" + } + }, + "countries": { + "type": "array", + "description": "List of [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country codes", + "items": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "description": "Possible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" + } + }, + "merchantId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 15, + "description": "A unique identifier value assigned by Visa for each merchant included in the identification program." + }, + "terminalId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "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." + }, + "businessCategoryValidation": { + "type": "boolean", + "description": "Default: false\n\nOverride Business Application Indicator and Merchant Category Code validations for payout transaction types.\n" + }, + "payoutsTransactionTypes": { + "type": "array", + "description": "The supported Payouts transaction types for the processor.\n", + "items": { + "type": "string", + "minLength": 19, + "maxLength": 20, + "description": "Possible values:\n- PULL_FUNDS_TRANSFER\n- PUSH_FUNDS_TRANSFER" + } + }, + "merchantPseudoAbaNumber": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 9, + "maxLength": 9, + "description": "This is a number that uniquely identifies the merchant for PPGS transactions.\n" + } + } + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "feeProgramId": { "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 3, "maxLength": 3, - "minLength": 3 + "description": "This field identifies the interchange fee program applicable to each financial transaction. Fee program indicator (FPI) values correspond to the fee descriptor and rate for each existing fee program.\n\nThis field can be regarded as informational only in all authorization messages.\n" + }, + "cpsAuthorizationCharacteristicsId": { + "type": "string", + "pattern": "^[A-Za-z]+$", + "minLength": 1, + "maxLength": 1, + "description": "The Authorization Characteristics Indicator (ACI) is a code used by the acquirer to request CPS qualification. If applicable, Visa changes the code to reflect the results of its CPS evaluation." + }, + "nationalReimbursementFee": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 12, + "description": "A client-supplied interchange amount." + }, + "settlementServiceId": { + "type": "string", + "description": "This flag enables the merchant to request for a particular settlement service to be used for settling the transaction. \nNote: The default value is VIP. This field is only relevant for specific countries where the acquirer has to select National Settlement in order to settle in the national net settlement service.change\n \nPossible values:\n- INTERNATIONAL_SETTLEMENT\n- VIP_TO_DECIDE\n- NATIONAL_SETTLEMENT" + }, + "sharingGroupCode": { + "type": "string", + "minLength": 6, + "maxLength": 16, + "description": "This U.S.-only field is optionally used by PIN Debit Gateway Service participants (merchants and acquirers) to specify the network access priority. VisaNet checks to determine if there are issuer routing preferences for a network 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 issuer preference. If an preference exists for multiple specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on acquirer routing priorities. \nPossible values:\n- ACCEL_EXCHANGE_E\n- CU24_C\n- INTERLINK_G\n- MAESTRO_8\n- NYCE_Y\n- NYCE_F\n- PULSE_S\n- PULSE_L\n- PULSE_H\n- STAR_N\n- STAR_W\n- STAR_Z\n- STAR_Q\n- STAR_M\n- VISA_V" + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This field allows a merchant to send a flag that specifies whether the payment is for the purchase of cryptocurrency." + }, + "merchantMvv": { + "type": "string", + "pattern": "^\\d+$", + "minLength": 10, + "maxLength": 10, + "description": "Merchant Verification Value (MVV) is used to identify merchants that participate in a variety of programs. The MVV is unique to the merchant." + }, + "electronicCommerceId": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "This code identifies the level of security used in an electronic commerce transaction over an open network (for example, the Internet). \nPossible values:\n- INTERNET\n- RECURRING\n- RECURRING_INTERNET\n- VBV_FAILURE\n- VBV_ATTEMPTED\n- VBV\n- SPA_FAILURE\n- SPA_ATTEMPTED\n- SPA" } } } - }, - "description": "TBD" + ] + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 22, + "maxLength": 22, + "description": "The merchant statement descriptor. The statement descriptor is a string which will be displayed on the recipient's bank or card statement." + } + } + }, + "operatingEnvironment": { + "type": "string", + "minLength": 1, + "maxLength": 22, + "description": "Initiation channel of the transfer request. \n \nPossible values:\n- WEB\n- MOBILE\n- BANK\n- KIOSK" + }, + "interchangeRateDesignator": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 2, + "maxLength": 2, + "description": "The IRD used for clearing the transaction on the Mastercard network." + }, + "participationId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 30, + "maxLength": 30, + "description": "Participation identifier of the sender. The receiving financial institution will associate the value to the transfer." + } + } + } + ] } - } + ] } } } @@ -131578,6 +135734,481 @@ } } }, + "acquirers": { + "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.", + "additionalProperties": { + "properties": { + "institutionId": { + "type": "string", + "description": "Identifier of the acquirer. This number is usually assigned by Visa." + }, + "interbankCardAssociationId": { + "type": "string", + "description": "Number assigned by MasterCard to banks to identify the member in transactions." + }, + "discoverInstitutionId": { + "type": "string", + "description": "Assigned by Discover to identify the acquirer." + }, + "countryCode": { + "type": "string", + "description": "ISO 4217 format." + }, + "fileDestinationBin": { + "type": "string", + "description": "The BIN to which this\u00a0capturefile is sent. This field must contain a valid BIN." + }, + "merchantVerificationValue": { + "type": "string", + "description": "Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant." + }, + "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" + }, + "allowMultipleBills": { + "type": "boolean", + "description": "Allows multiple captures for a single authorization transaction.\n" + }, + "enableTransactionReferenceNumber": { + "type": "boolean", + "description": "To enable merchant to send in transaction reference number (unique reconciliation ID)." + }, + "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." + }, + "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" + } + } + } + } + } + } + }, "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" @@ -132702,11 +137333,6 @@ "properties": { "enabled": { "type": "boolean" - }, - "selfServiceability": { - "type": "string", - "default": "NOT_SELF_SERVICEABLE", - "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" } } }, @@ -132754,6 +137380,991 @@ "type": "string", "description": "URL to redirect to if the transaction fails. This is where the user will be sent if there is an error during the payment process.\nexample: http://www.test.com/failure\n" }, + "underwriting": { + "title": "underwritingConfiguration", + "type": "object", + "description": "Underwriting configuration containing the complete VMES (Visa Merchant Evaluation Service) payload for merchant risk evaluation.\n", + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "clientRequestId": { + "description": "client-generated request reference or tracking number. It is recommended that you send a unique value for each request so that you can perform meaningful searches for the request.\n", + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + }, + "applicationName": { + "type": "string", + "maxLength": 50, + "description": "The name of the application (such as Boarding Workflow or Anet Boarding) that the client uses to send a request to merchant evaluation service. \n", + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + } + } + }, + "merchantApplication": { + "type": "object", + "required": [ + "products" + ], + "properties": { + "applicationId": { + "type": "string", + "readOnly": true + }, + "applicationStatus": { + "type": "string", + "readOnly": true + }, + "products": { + "description": "The product(s) that are being underwritten", + "type": "array", + "items": { + "type": "object", + "required": [ + "productShortName" + ], + "properties": { + "productShortName": { + "description": "Product Name\n[PRODUCT1, PRODUCT2, PRODUCT3]\n", + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,30}$" + }, + "preferredAcquirer": { + "description": "Override Acquirer Value", + "type": "string", + "maxLength": 30, + "pattern": "^[a-zA-Z0-9-_]$" + }, + "status": { + "readOnly": true, + "description": "Product status\n[]\n", + "type": "string" + } + } + } + }, + "campaignId": { + "description": "Driver Campaign ID, identifies where the application came from", + "type": "string" + }, + "ocId": { + "description": "Offer CampaignID, used by Sales", + "type": "string" + }, + "resellerId": { + "description": "ResellerID, used by Sales", + "type": "string", + "maxLength": 128 + } + } + }, + "metadata": { + "type": "object" + }, + "metadataExternal": { + "type": "object" + }, + "organizationInformation": { + "type": "object", + "properties": { + "parentOrganizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Parent Organization ID for the application" + }, + "organizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Organization ID for the application" + }, + "boardingPackageId": { + "type": "string", + "maxLength": 60, + "description": "Boarding Package ID for the application" + }, + "businessInformation": { + "type": "object", + "required": [ + "businessIdentifier", + "countryRegistration", + "legalName", + "doingBusinessAs", + "businessDescription", + "startDate", + "merchantCategoryCode", + "businessType", + "countryPhoneNumber", + "phoneNumber", + "email" + ], + "properties": { + "businessIdentifier": { + "type": "string", + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]*$", + "description": "Tax ID for the business" + }, + "countryRegistration": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is registered. Two character country code, ISO 3166-1 alpha-2." + }, + "legalName": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "description": "The legally registered name of the business" + }, + "doingBusinessAs": { + "type": "string", + "maxLength": 60, + "description": "The DBA of the business." + }, + "businessDescription": { + "type": "string", + "maxLength": 250, + "description": "Short description of the Business" + }, + "registrationNumber": { + "type": "string", + "maxLength": 60, + "description": "Registration ID for Enterprise Merchant" + }, + "stockExchange": { + "type": "string", + "maxLength": 60, + "description": "Which stock exchange is the company trading in?" + }, + "tickerSymbol": { + "type": "string", + "maxLength": 10, + "pattern": "^[a-zA-Z0-9_.]*$", + "description": "Stock Symbol on the exchange" + }, + "startDate": { + "type": "string", + "format": "date", + "description": "When did Business start. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "merchantCategoryCode": { + "type": "string", + "maxLength": 4, + "pattern": "^\\d{3,4}$", + "description": "Industry standard Merchant Category Code (MCC)" + }, + "mccDescription": { + "type": "string", + "maxLength": 128, + "description": "MCC Description" + }, + "websiteURL": { + "type": "string", + "maxLength": 100, + "description": "Website for the Business" + }, + "businessType": { + "type": "string", + "description": "Business type \nPossible values:\n- PARTNERSHIP\n- SOLE_PROPRIETORSHIP\n- CORPORATION\n- LLC\n- NON_PROFIT\n- TRUST" + }, + "localMCC": { + "type": "array", + "items": { + "type": "string" + } + }, + "countryPhoneNumber": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the Business phone number. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Business Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Business Email Address" + }, + "whatYourCompanyDoes": { + "type": "string", + "maxLength": 500, + "description": "What your company does and how you market your service" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "tradingAddress": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "businessContact": { + "type": "object", + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person First Name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Middle Name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Last Name" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Contact Person Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Contact Persona Email" + } + } + }, + "businessDetails": { + "type": "object", + "required": [ + "interactionTypes", + "percentageSplitByF2F", + "percentageSplitByCNP", + "whenIsCustomerCharged", + "offerSubscriptions" + ], + "properties": { + "customerType": { + "type": "string", + "description": "Who is the business interacting with? Business to Business, Business to Consumer, Both \nPossible values:\n- B2B\n- B2C\n- Both" + }, + "percentageSplitByB2B": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByB2C": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "interactionTypes": { + "type": "string", + "description": "Merchant Facing: Face to Face, Card Not Present, Both \nPossible values:\n- F2F\n- CNP\n- Both" + }, + "percentageSplitByF2F": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByCNP": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "whenIsCustomerCharged": { + "type": "string", + "description": "When is the customer charged? \nPossible values:\n- OneTimeBeforeServiceDelivery\n- OneTimeAfterServiceDelivery\n- Other" + }, + "whenIsCustomerChargedDescription": { + "type": "string", + "maxLength": 30 + }, + "offerSubscriptions": { + "type": "boolean", + "description": "Does Merchant Offer Subscriptions?" + }, + "monthlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is monthly subscriptions" + }, + "quarterlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is quarterly subscriptions" + }, + "semiannualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is semi-annual subscriptions" + }, + "annualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is annual subscriptions" + }, + "currencyType": { + "type": "string", + "description": "Processing Currency. ISO 4217, 3 characters. \nPossible values:\n- USD\n- CAD\n- EUR\n- GBP\n- CHF" + }, + "estimatedMonthlySales": { + "type": "number", + "description": "Merchant's estimated monthly sales" + }, + "averageOrderAmount": { + "type": "number", + "description": "Merchant's average order amount" + }, + "largestExpectedOrderAmount": { + "type": "number", + "description": "Merchant's largest expected order amount" + }, + "primaryAccountUsage": { + "type": "string", + "description": "Primary purpose of account usage \nPossible values:\n- Paying for goods / services\n- Repatriating overseas earnings\n- Intercompany transfers\n- Collecting funds from clients\n- Liquidity / FX\n- Payment to an individual\n- Investment activity\n- Property purchase/sale\n- Other" + }, + "sourceOfFunds": { + "type": "string", + "description": "Source of Funds \nPossible values:\n- Business revenue\n- External or shareholder investment\n- Loan, advance or other borrowing\n- Donations or grants\n- Inter-company transfers\n- Proceeds of sales of assests\n- Other" + }, + "receiveMoney3rdParties": { + "type": "boolean", + "description": "Will you recieve money from 3rd parties into your account?" + }, + "receiveTransactionFrequency": { + "type": "string", + "description": "Roughly how often do you expect to send or receive transactions? \nPossible values:\n- One-off or infrequently\n- 1-20 per month\n- 20-50 per month\n- 50-100 per month\n- 100+ per month" + }, + "estimatedMonthlySpend": { + "type": "string", + "description": "What is your estimated total monthly spend? \nPossible values:\n- <$10,000\n- $10,000 - $50,000\n- $50,000 - $100,000\n- $100,000 - $500,000\n- $500,000+" + }, + "countryTransactions": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesOut": { + "type": "array", + "items": { + "type": "string" + } + }, + "productServicesSubscription": { + "type": "array", + "items": { + "type": "object", + "properties": { + "productServiceName": { + "type": "string", + "maxLength": 255, + "description": "Name of the product, service, or subscription." + }, + "productServicePercentage": { + "type": "number", + "minimum": 0, + "maximum": 100, + "description": "Percentage of business revenue from this product or service." + } + } + } + } + } + }, + "ownerInformation": { + "type": "array", + "items": { + "type": "object", + "required": [ + "firstName", + "lastName", + "birthDate", + "isPrimary", + "hasSignificantResponsibility", + "nationalId", + "ownershipPercentage", + "nationality", + "dueDiligenceRequired", + "phoneNumberCountryCode", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Owner's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Owner's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Owner's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Owner's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "isPrimary": { + "type": "boolean", + "description": "Primary Owner or Non-Primary Owner" + }, + "hasSignificantResponsibility": { + "type": "boolean", + "description": "If not an owner, is the user a Control Person" + }, + "ownerDirector": { + "type": "boolean", + "description": "Is the owner a Director as well?" + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "passportCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Passport Country. Two character country code, ISO 3166-1 alpha-2." + }, + "jobTitle": { + "type": "string", + "maxLength": 100, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "description": "Owner's Job Title" + }, + "ownershipPercentage": { + "type": "number", + "minimum": 1, + "maximum": 100, + "description": "Percentage of the company that owner owns" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "dueDiligenceRequired": { + "type": "boolean", + "description": "Indicates if due diligence checks should be run for this owner" + }, + "phoneNumberCountryCode": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Phone number country. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Owner" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the owner resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Owner's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "Owner's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Owner's zip code (US) or postal code (Canada)" + } + } + } + } + } + }, + "directorInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Director's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Director's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Director's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Director's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Director" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the Director resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Director's zip code (US) or postal code (Canada)" + } + } + } + } + } + } + } + } + } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "description": "IP Address of the user that filled in the Merchant Application", + "type": "string" + }, + "fingerprintSessionId": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + }, + "userAgent": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + } + } + }, + "depositInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the Bank Account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 15, + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 17, + "example": 111111111111110 + } + } + }, + "billingInformation": { + "type": "object", + "properties": { + "bankAccountInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the checking account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "maxLength": 15, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "maxLength": 17, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111110 + } + } + } + } + }, + "saleRepresentativeInformation": { + "type": "object", + "required": [ + "salesRepId", + "salesRepFirstName", + "salesRepLastName", + "salesRepEmail", + "salesRepNumericPhoneNumberCountryCode", + "salesRepPhoneNumber" + ], + "properties": { + "salesRepId": { + "description": "Sales rep Identifier", + "type": "string", + "maxLength": 60 + }, + "salesRepFirstName": { + "description": "Sales rep First Name", + "type": "string", + "maxLength": 50, + "example": "John" + }, + "salesRepLastName": { + "description": "Sales Rep Last Name", + "type": "string", + "maxLength": 50, + "example": "Johnson" + }, + "salesRepEmail": { + "description": "Sales Rep eMail", + "type": "string", + "maxLength": 100, + "example": "test@test.com" + }, + "salesRepNumericPhoneNumberCountryCode": { + "description": "Sales Rep Phone Number Country. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "example": "US" + }, + "salesRepPhoneNumber": { + "description": "Sales Rep Phone", + "type": "string", + "maxLength": 20, + "example": 4567890398 + } + } + }, + "fileAttachmentInformation": { + "type": "object", + "properties": { + "fileGroupId": { + "description": "The unique identifier for the file group", + "type": "string" + } + } + } + } + }, "additionalConfigurations": { "type": "array", "maxItems": 10, @@ -134521,148 +140132,238 @@ "configurations": { "type": "object", "properties": { - "pullfunds": { + "common": { "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": { + "properties": { + "paymentTypes": { + "type": "array", + "description": "List of card types supported by this merchant.\n", + "items": { "type": "string", "minLength": 1, - "maxLength": 4, - "description": "A 4 character max name abbreviation for the originator." - }, - "cardTerminalId": { + "maxLength": 30, + "description": "Possible values:\n- VISA\n- MASTERCARD" + } + }, + "businessApplicationId": { + "type": "array", + "description": "List of supported Business Application Indicators.\n", + "items": { "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." + "maxLength": 30, + "description": "Possible values:\n- AA\n- BB\n- BI\n- BP\n- CB\n- CD\n- CI\n- CO\n- CP\n- FD\n- FT\n- GD\n- GP\n- LA\n- LO\n- MD\n- MI\n- MP\n- OG\n- PD\n- PG\n- PP\n- PS\n- RP\n- TU\n- WT" + } + }, + "aggregator": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 11, + "description": "Marketplace or payment facilitator ID." + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 25, + "description": "Acceptor's legal business name associated with the card acceptor identification code." + }, + "subMerchantId": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 15, + "description": "Sub-merchant ID" + } } } } }, - "pushfunds": { + "processors": { "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": { + "description": "string [1 .. 40] characters\n\nThe name of the Payouts processor.\n", + "pattern": "^[A-Za-z0-9]+$", + "allOf": [ + { + "type": "object", + "properties": { + "acquirer": { + "type": "object", + "properties": { + "acquiringId": { "type": "string", - "maxLength": 8 + "pattern": "^\\d+$", + "minLength": 6, + "maxLength": 11, + "description": "This code identifies the financial institution acting as the acquirer.\n\nAlso known as:\n\n- Acquiring BIN\n- Acquiring Institution Identification Code\n" + }, + "country": { + "type": "string", + "description": "The acquirer's [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country code. \nPossible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" } - }, - "supportedCurrencies": { - "type": "array", - "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", - "items": { + } + }, + "currencies": { + "type": "array", + "description": "List of supported [ISO 4217](https://developer.cybersource.com/docs/cybs/en-us/currency-codes/reference/all/na/currency-codes/currency-codes.html) alpha-3 currency codes.", + "items": { + "type": "string", + "minLength": 3, + "maxLength": 3, + "description": "Possible values:\n- USD\n- AED\n- AFN\n- ALL\n- AMD\n- ANG\n- AOA\n- ARS\n- AUD\n- AWG\n- AZN\n- BAM\n- BBD\n- BDT\n- BGN\n- BHD\n- BIF\n- BMD\n- BND\n- BOB\n- BOX\n- BRL\n- BSD\n- BTN\n- BWP\n- BYR\n- BYN\n- BZD\n- CAD\n- CDF\n- CHF\n- CLF\n- CLP\n- CNY\n- COP\n- COU\n- CRC\n- CSK\n- CUC\n- CUP\n- CVE\n- CZK\n- DJF\n- DFF\n- DOP\n- DZD\n- EGP\n- ERN\n- ETB\n- EUR\n- FJD\n- FKP\n- GBP\n- GEL\n- GHS\n- GIP\n- GMD\n- GNF\n- GTQ\n- GWP\n- GYD\n- HKD\n- HNL\n- HTG\n- HUF\n- IDR\n- ILS\n- INR\n- IQD\n- IRR\n- ISK\n- HMD\n- JOD\n- JPY\n- KES\n- KGS\n- KHR\n- KMF\n- KPW\n- KRW\n- KWD\n- KYD\n- KZT\n- LAK\n- LBP\n- LRD\n- LSL\n- LTV\n- LVL\n- LYD\n- MAD\n- MDL\n- MGA\n- MKD\n- MMK\n- MNT\n- MOP\n- MRO\n- MUR\n- MVR\n- MWK\n- MXN\n- MYR\n- MZN\n- NAD\n- NGN\n- NIO\n- NOK\n- NPR\n- NZD\n- OMR\n- PAB\n- PEN\n- PGK\n- PHP\n- PKR\n- PLN\n- PYG\n- QAR\n- RON\n- RSD\n- RUB\n- RWF\n- SAR\n- SBD\n- SCR\n- SDG\n- SHP\n- SLE\n- SOS\n- SRD\n- SSP\n- STD\n- SVC\n- SYP\n- SZL\n- THB\n- TJS\n- TMT\n- TND\n- TOP\n- TRY\n- TTD\n- TWD\n- TZS\n- UAH\n- UGX\n- UYU\n- VEF\n- VND\n- VUV\n- WST\n- XAF\n- XCD\n- XOF\n- XPF\n- YER\n- ZAR\n- ZMK\n- ZMW\n- ZWD\n- ZWL" + } + }, + "countries": { + "type": "array", + "description": "List of [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country codes", + "items": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "description": "Possible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" + } + }, + "merchantId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 15, + "description": "A unique identifier value assigned by Visa for each merchant included in the identification program." + }, + "terminalId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "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." + }, + "businessCategoryValidation": { + "type": "boolean", + "description": "Default: false\n\nOverride Business Application Indicator and Merchant Category Code validations for payout transaction types.\n" + }, + "payoutsTransactionTypes": { + "type": "array", + "description": "The supported Payouts transaction types for the processor.\n", + "items": { + "type": "string", + "minLength": 19, + "maxLength": 20, + "description": "Possible values:\n- PULL_FUNDS_TRANSFER\n- PUSH_FUNDS_TRANSFER" + } + }, + "merchantPseudoAbaNumber": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 9, + "maxLength": 9, + "description": "This is a number that uniquely identifies the merchant for PPGS transactions.\n" + } + } + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "feeProgramId": { "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 3, "maxLength": 3, - "minLength": 3 + "description": "This field identifies the interchange fee program applicable to each financial transaction. Fee program indicator (FPI) values correspond to the fee descriptor and rate for each existing fee program.\n\nThis field can be regarded as informational only in all authorization messages.\n" + }, + "cpsAuthorizationCharacteristicsId": { + "type": "string", + "pattern": "^[A-Za-z]+$", + "minLength": 1, + "maxLength": 1, + "description": "The Authorization Characteristics Indicator (ACI) is a code used by the acquirer to request CPS qualification. If applicable, Visa changes the code to reflect the results of its CPS evaluation." + }, + "nationalReimbursementFee": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 12, + "description": "A client-supplied interchange amount." + }, + "settlementServiceId": { + "type": "string", + "description": "This flag enables the merchant to request for a particular settlement service to be used for settling the transaction. \nNote: The default value is VIP. This field is only relevant for specific countries where the acquirer has to select National Settlement in order to settle in the national net settlement service.change\n \nPossible values:\n- INTERNATIONAL_SETTLEMENT\n- VIP_TO_DECIDE\n- NATIONAL_SETTLEMENT" + }, + "sharingGroupCode": { + "type": "string", + "minLength": 6, + "maxLength": 16, + "description": "This U.S.-only field is optionally used by PIN Debit Gateway Service participants (merchants and acquirers) to specify the network access priority. VisaNet checks to determine if there are issuer routing preferences for a network 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 issuer preference. If an preference exists for multiple specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on acquirer routing priorities. \nPossible values:\n- ACCEL_EXCHANGE_E\n- CU24_C\n- INTERLINK_G\n- MAESTRO_8\n- NYCE_Y\n- NYCE_F\n- PULSE_S\n- PULSE_L\n- PULSE_H\n- STAR_N\n- STAR_W\n- STAR_Z\n- STAR_Q\n- STAR_M\n- VISA_V" + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This field allows a merchant to send a flag that specifies whether the payment is for the purchase of cryptocurrency." + }, + "merchantMvv": { + "type": "string", + "pattern": "^\\d+$", + "minLength": 10, + "maxLength": 10, + "description": "Merchant Verification Value (MVV) is used to identify merchants that participate in a variety of programs. The MVV is unique to the merchant." + }, + "electronicCommerceId": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "This code identifies the level of security used in an electronic commerce transaction over an open network (for example, the Internet). \nPossible values:\n- INTERNET\n- RECURRING\n- RECURRING_INTERNET\n- VBV_FAILURE\n- VBV_ATTEMPTED\n- VBV\n- SPA_FAILURE\n- SPA_ATTEMPTED\n- SPA" } } } - }, - "description": "TBD" + ] + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 22, + "maxLength": 22, + "description": "The merchant statement descriptor. The statement descriptor is a string which will be displayed on the recipient's bank or card statement." + } + } + }, + "operatingEnvironment": { + "type": "string", + "minLength": 1, + "maxLength": 22, + "description": "Initiation channel of the transfer request. \n \nPossible values:\n- WEB\n- MOBILE\n- BANK\n- KIOSK" + }, + "interchangeRateDesignator": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 2, + "maxLength": 2, + "description": "The IRD used for clearing the transaction on the Mastercard network." + }, + "participationId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 30, + "maxLength": 30, + "description": "Participation identifier of the sender. The receiving financial institution will associate the value to the transfer." + } + } + } + ] } - } + ] } } } @@ -141233,8 +146934,13 @@ "description": "Configure Unified Checkout to display combo card at checkout.
\n\nA combo debit/credit card is a single card that functions both as a Debit/Credit card. \nUnified Checkout / Click to Pay Drop-in UI allows the Cardholder to choose whether they would like the transaction to be paid for using either debit or credit card.\n**Important:** This is applicable to Visa cards only.\n\nPossible values:\n- True \n- False

\n\n**Use Cases:**\n\n**Offer Combo Card at Checkout:** \n- Include the captureMandate.comboCard field in the capture context request and set it to true.\n- When set to true, Combo Card selection is shown at checkout

\n\n**Do not offer Combo Card at Checkout:** \n- Include the captureMandate.comboCard field in the capture context request and set it to false OR omit the field from the capture context request.\n- The Combo Card selection is not shown at checkout.\n" }, "CPF": { - "type": "boolean", - "description": "Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas F\u00edsicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes.\n\nPossible values:\n- True\n- False

\n\nThis field is optional. \nIf set to true the field is required.\nIf set to false the field is optional.\nIf the field is not included in the capture context then it is not captured.

\n\n**Important:**\n - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered.\n - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered.\n" + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas F\u00edsicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes.\n\nPossible values:\n- True\n- False

\n\nThis field is optional. \nIf set to true the field is required.\nIf set to false the field is optional.\nIf the field is not included in the capture context then it is not captured.

\n\n**Important:**\n - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered.\n - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered.\n" + } + } } } }, @@ -141552,7 +147258,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141598,7 +147304,7 @@ "example1": { "summary": "Generate Unified Checkout Capture Context With Full List of Card Networks", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141657,7 +147363,7 @@ "example2": { "summary": "Generate Unified Checkout Capture Context With Custom Google Payment Options", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141711,7 +147417,7 @@ "example3": { "summary": "Generate Unified Checkout Capture Context With Autocheck Enrollment", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141759,7 +147465,7 @@ "example4": { "summary": "Generate Unified Checkout Capture Context (Opt-out of receiving card number prefix)", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141808,7 +147514,7 @@ "example5": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141823,8 +147529,7 @@ "CLICKTOPAY", "GOOGLEPAY", "PANENTRY", - "PAZE", - "AFTERPAY" + "PAZE" ], "country": "US", "locale": "en_US", @@ -141900,9 +147605,9 @@ } }, "example6": { - "summary": "Generate Capture Context For Click To Pay Drop-In UI", + "summary": "Generate Unified Checkout Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141934,6 +147639,562 @@ } } } + }, + "example7": { + "summary": "Generate Unified Checkout Capture Context ($ Afterpay (US))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "US", + "locale": "en_US", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "US", + "CA" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "USD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Galleria Road", + "administrativeArea": "TX", + "buildingNumber": 2, + "country": "US", + "locality": "Houston", + "postalCode": "22096" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "AL", + "buildingNumber": 2, + "country": "CA", + "locality": "Calgary", + "postalCode": "T2B 4N3" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example8": { + "summary": "Generate Unified Checkout Capture Context (Afterpay (CAN))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "CA", + "locale": "en_US", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "US", + "CA" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "CAD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Galleria Road", + "administrativeArea": "AL", + "buildingNumber": 2, + "country": "CA", + "locality": "Calgary", + "postalCode": "T2B 4N3" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "AL", + "buildingNumber": 2, + "country": "CA", + "locality": "Calgary", + "postalCode": "T2B 543" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example9": { + "summary": "Generate Unified Checkout Capture Context (Clearpay (GB))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "GB", + "locale": "en_GB", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "GB", + "ES", + "IT", + "PT" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "GBP" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Square Street", + "administrativeArea": "Devon", + "buildingNumber": 2, + "country": "GB", + "locality": "Plymouth", + "postalCode": "PL1 1AS" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example10": { + "summary": "Generate Unified Checkout Capture Context (Afterpay (AU))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "AU", + "locale": "en_GB", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "AU", + "NZ" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "AUD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Ocean Road", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "AU", + "locality": "Sydney", + "postalCode": "2000" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Springtown Road", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "AU", + "locality": "Sydney", + "postalCode": "2000" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example11": { + "summary": "Generate Unified Checkout Capture Context (Afterpay (NZ))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "NZ", + "locale": "en_GB", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "AU", + "NZ" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "NZD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Maranui Avenue", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "NZ", + "locality": "Auckland", + "postalCode": "1022" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Springtown Road", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "AU", + "locality": "Sydney", + "postalCode": "2000" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example12": { + "summary": "Generate Unified Checkout Capture Context (iDEAL (NL))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "IDEAL" + ], + "country": "NL", + "locale": "en_NL", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "NL", + "GB" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "Stationsstraat 12", + "administrativeArea": "NL-NH", + "buildingNumber": 2, + "country": "NL", + "locality": "Amsterdam", + "postalCode": "1071 JA" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example13": { + "summary": "Generate Unified Checkout Capture Context (Multibanco (PT))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "MULTIBANCO" + ], + "country": "PT", + "locale": "pt-PT", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PT", + "ES", + "GB" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "Rua da Liberdade 10", + "administrativeArea": "Mafra", + "buildingNumber": 2, + "country": "PT", + "locality": "Lisboa", + "postalCode": "1234-567" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example14": { + "summary": "Generate Unified Checkout Capture Context (Przelewy24|P24 (PL))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "P24" + ], + "country": "PL", + "locale": "pl-PL", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PL", + "GB", + "BE" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "Ulica Podhalanska 2", + "administrativeArea": "Wroclaw", + "buildingNumber": 2, + "country": "PL", + "locality": "Gdansk", + "postalCode": "80-322" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" } }, "responses": { @@ -143416,6 +149677,447 @@ } } } + }, + "/bavs/v1/account-validations": { + "post": { + "summary": "Visa Bank Account Validation Service", + "description": "The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions.\n", + "tags": [ + "bankAccountValidation" + ], + "operationId": "bankAccountValidationRequest", + "x-devcenter-metaData": { + "categoryTag": "Visa_Bank_Account_Validation", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/visa-bank-validation/merchant/all/rest/visa-bank-accoun-val/visa-bank-acc-val-about-guide.html", + "firstLevelApiLifeCycle": "pilot", + "secondLevelApiLifeCycle": "pilot", + "apiLifeCycle": "pilot", + "mleForRequest": "mandatory", + "mleForResponse": "false", + "disableProcessorDropDown": true, + "authorizationType": [ + "Json Web Token" + ], + "overrideMerchantCredential": "echecktestdevcenter001", + "SDK_ONLY_AddDisclaimer": true + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "parameters": [ + { + "name": "accountValidationsRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "required": [ + "processingInformation", + "paymentInformation" + ], + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client reference code", + "example": "TC50171_3" + } + } + }, + "processingInformation": { + "type": "object", + "required": [ + "validationLevel" + ], + "properties": { + "validationLevel": { + "type": "integer", + "description": "Enter 1 for routing and account number validation.\n" + } + } + }, + "paymentInformation": { + "type": "object", + "required": [ + "bank" + ], + "properties": { + "bank": { + "type": "object", + "required": [ + "routingNumber", + "account" + ], + "properties": { + "routingNumber": { + "type": "string", + "maxLength": 9, + "description": "Bank routing number. This is also called the transit number.\n\nNon-Negative Integer\n", + "example": 123456789 + }, + "account": { + "type": "object", + "required": [ + "number" + ], + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account Number.\n\nNon-Negative Integer.\nexample: 12345678901234577\n" + } + } + } + } + } + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Successful response.", + "schema": { + "type": "object", + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client reference code", + "example": "TC50171_3" + } + } + }, + "requestId": { + "type": "string", + "description": "Request Id sent as part of the request." + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "bankAccountValidation": { + "type": "object", + "properties": { + "rawValidationCode": { + "type": "integer", + "description": "Raw Validation Codes for routing number and account number\n\n Possible values:\n \u2022 -1: Unable to perform validation/Unknown error\n \u2022 -2: Service Unavailable\n \u2022 12 to 16: Validation results\n" + }, + "resultCode": { + "type": "integer", + "description": "Result codes for account number and routing number\n\n Possible values: 00, 04, 98, 99\n" + }, + "resultMessage": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time verification was requested\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n - `INVALID_REQUEST`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `INVALID_REQUEST`\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.\n" + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.\n\nPossible values:\n - `MISSING_FIELD`\n - `INVALID_DATA`\n" + } + } + } + } + } + } + }, + "403": { + "description": "Authorization failure.", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n - `UNAUTHORIZED`\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `UNAUTHORIZED`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason.\n" + } + } + } + }, + "404": { + "description": "Resource Not Found", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "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", + "description": "The status of the submitted request. \nPossible values:\n- NOT_FOUND" + }, + "reason": { + "type": "string", + "description": "The reason of the status. \nPossible values:\n- NOT_FOUND" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason listed above." + } + } + } + }, + "422": { + "description": "Unprocessable Entity.", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n - `VALIDATION_ERROR`\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `PRODUCT_INACTIVE`\n - `INVALID_MERCHANT_CONFIGURATION`\n - `PRODUCT_NOT_CONFIGURED`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason.\n" + } + } + } + }, + "502": { + "description": "Internal Server error", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time verification was requested\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "The status of the submitted transaction.\nPossible values:\n - `SERVER_ERROR`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `SYSTEM_ERROR`\n - `SERVER_TIMEOUT`\n - `SERVICE_TIMEOUT`\n" + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Bank Account Validation - Validated", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99970" + } + } + } + }, + "response0": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:18:42Z", + "bankAccountValidation": { + "rawValidationCode": 12, + "resultCode": "00", + "resultMessage": "Validated" + } + } + }, + "example1": { + "summary": "Bank Account Validation - Not Validated", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99941" + } + } + } + }, + "response1": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:19:35Z", + "bankAccountValidation": { + "rawValidationCode": 16, + "resultCode": "04", + "resultMessage": "Not Validated" + } + } + }, + "example2": { + "summary": "Bank Account Validation - Unable to perform validation", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99950" + } + } + } + }, + "response2": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:21:17Z", + "bankAccountValidation": { + "rawValidationCode": -1, + "resultCode": "98", + "resultMessage": "Unable to perform validation - No information found" + } + } + }, + "example3": { + "summary": "Bank Account Validation - Service Unavailable", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99980" + } + } + } + }, + "response3": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:21:54Z", + "bankAccountValidation": { + "rawValidationCode": -2, + "resultCode": "99", + "resultMessage": "Service Unavailable" + } + } + } + } + } } } } \ No newline at end of file diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 2c3ab4d1d..09749251d 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -1508,6 +1508,11 @@ "amountDetails": { "type": "object", "properties": { + "refundBalance": { + "type": "string", + "maxLength": 15, + "description": "The remaining amount which can be refunded." + }, "giftWrapAmount": { "type": "string", "maxLength": 19, @@ -4949,6 +4954,26 @@ "type": "string", "maxLength": 60, "description": "This is a token generated by PSP, which is received in response to the Sessions service. This token should be sent in the following transactions." + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" } } } @@ -5593,7 +5618,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "responseCategoryCode": { "type": "string", @@ -5956,6 +5981,16 @@ "type": "string", "maxLength": 150, "description": "Mastercard is introducing the Merchant Risk Predict Service in the middle East/Africa Region.\nA newly launched service comprised of seven independent artificial intelligence (AI)-powered scores intended to augment existing merchant risk management practices.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -6470,8 +6505,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" }, "salesSlipNumber": { "type": "integer", @@ -20723,6 +20758,16 @@ } } } + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -20906,7 +20951,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "merchantAdvice": { "type": "object", @@ -20958,6 +21003,16 @@ "description": "The kind of seller protection in force for the transaction. This field is returned only when the protection_eligibility property is set to ELIGIBLE or PARTIALLY_ELIGIBLE.\nPossible values:\n- `ITEM_NOT_RECEIVED_ELIGIBLE: Sellers are protected against claims for items not received.`\n- `UNAUTHORIZED_PAYMENT_ELIGIBLE: Sellers are protected against claims for unauthorized payments.`\nOne or both values can be returned.\n" } } + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -21425,6 +21480,16 @@ "type": "string", "maxLength": 60, "description": "This is a token generated by PSP, which is received in response to the Sessions service. This token should be sent in the following transactions." + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } } @@ -21566,11 +21631,21 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "providerResponse": { "type": "string", "description": "Processor response to the API request.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -21994,6 +22069,21 @@ } } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -22148,11 +22238,21 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "providerResponse": { "type": "string", "description": "Processor response to the API request.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -24676,6 +24776,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -24924,6 +25039,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -24954,8 +25079,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -27496,6 +27621,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -27682,6 +27822,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -27722,8 +27872,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -30184,6 +30334,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -30370,6 +30535,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -30410,8 +30585,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -33204,6 +33379,21 @@ "description": "Code for a promotion or discount.\n" } } + }, + "processorInformation": { + "type": "object", + "properties": { + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } + } + } } }, "example": { @@ -33403,6 +33593,16 @@ "updateTimeUtc": { "type": "string", "description": "The date and time when the transaction was last updated, in Internet date and time format.\n" + }, + "network": { + "type": "object", + "properties": { + "economicallyRelatedTxnId": { + "type": "string", + "maxLength": 50, + "description": "Indicates the economically related transaction id" + } + } } } }, @@ -33520,8 +33720,8 @@ "type": "object", "properties": { "level3TransmissionStatus": { - "type": "boolean", - "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **true**\n- **false**\n" + "type": "string", + "description": "Indicates whether CyberSource sent the Level III information to the processor. The possible values are:\n\nIf your account is not enabled for Level III data or if you did not include the purchasing level field in your\nrequest, CyberSource does not include the Level III data in the request sent to the processor.\n\nPossible values:\n- **Y** for true\n- **N** for false\n" } } } @@ -37445,12 +37645,12 @@ "rawResponse": { "type": "string", "maxLength": 255, - "description": "This field is set to the value of failure reason returned by the processor.\n" + "description": "Failure reason returned by the processor." }, "rawResponseLocal": { "type": "string", "maxLength": 255, - "description": "This field is set to the value of failure reason returned by the processor in the local language of the processor.\n" + "description": "Failure reason returned by the processor in the local language of the processor." }, "responseDetails": { "type": "string", @@ -37679,7 +37879,7 @@ "refundBalance": { "type": "string", "maxLength": 15, - "description": "This field will carry the remaning amount which can be refunded.\n" + "description": "The remaining amount which can be refunded." } } } @@ -37706,7 +37906,7 @@ "code": { "type": "string", "maxLength": 10, - "description": "Unique code for card issuer provided by the processor.\n" + "description": "Unique code for card issuer provided by the processor." } } }, @@ -41164,7 +41364,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" } } }, @@ -41350,7 +41550,7 @@ }, "userName": { "type": "string", - "description": "The Venmo user name chosen by the user, also know as a Venmo handle.\n" + "description": "The Venmo user name chosen by the user, also known as a Venmo handle.\n" } } } @@ -42556,7 +42756,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "token": { "type": "string", @@ -43715,7 +43915,7 @@ "responseDetails": { "type": "string", "maxLength": 255, - "description": "This field might contain information about a decline. This field is supported only for **CyberSource through\nVisaNet**.\n" + "description": "This field might contain information about a decline.\n" }, "token": { "type": "string", @@ -44004,7 +44204,7 @@ "description": "Indicates the type of vaulting relationship. Valid values:\n- \"MERCHANT\": Single merchant relationship.\n- \"PLATFORM\": Platform hosting multiple merchants.\n" }, "allowMultipleTokens": { - "type": "boolean", + "type": "string", "description": "Create multiple payment tokens for the same payer, merchant/platform combination. This helps to identify customers distinctly even though they may share the same PayPal account.\n" } } @@ -44458,7 +44658,7 @@ }, "userName": { "type": "string", - "description": "The Venmo user name chosen by the user, also know as a Venmo handle.\n" + "description": "The Venmo user name chosen by the user, also known as a Venmo handle.\n" } } } @@ -46399,6 +46599,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -47718,6 +47938,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -49355,6 +49595,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -50989,6 +51249,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -52317,6 +52597,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -57175,6 +57475,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -58242,6 +58562,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -59842,6 +60182,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -61257,6 +61617,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -62635,6 +63015,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -63698,6 +64098,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -65619,6 +66039,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -66668,6 +67108,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -68125,6 +68585,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -69501,6 +69981,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -70564,6 +71064,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -72050,6 +72570,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -72792,6 +73332,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -73522,6 +74082,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -74615,6 +75195,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -75685,6 +76285,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -76441,6 +77061,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -78395,6 +79035,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -79460,6 +80120,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -79518,7 +80198,7 @@ "operationId": "postInstrumentIdentifierEnrollment", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-card-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html" }, "consumes": [ "application/json;charset=utf-8" @@ -80247,7 +80927,7 @@ "operationId": "postTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-create-cof-intro.html" }, "consumes": [ "application/json;charset=utf-8" @@ -81263,7 +81943,7 @@ "operationId": "getTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-retrieve-tkn-consumer-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-retrieve-tkn-consumer-intro.html" }, "produces": [ "application/json;charset=utf-8" @@ -81907,7 +82587,7 @@ "operationId": "deleteTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-delete-tkn-consumer-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-delete-tkn-consumer-intro.html" }, "produces": [ "application/json;charset=utf-8" @@ -82236,79 +82916,110 @@ } } }, - "/tms/v2/tokens/{tokenId}/payment-credentials": { + "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations": { "post": { - "summary": "Generate Payment Credentials for a TMS Token", - "description": "| | | | \n| --- | --- | --- | \n|**Token**
A Token can represent your tokenized Customer, Payment Instrument or Instrument Identifier information.|      |**Payment Credentials**
Contains payment information such as the network token, generated cryptogram for Visa & MasterCard or dynamic CVV for Amex in a JSON Web Encryption (JWE) response.
Your system can use this API to retrieve the Payment Credentials for an existing Customer, Payment Instrument or Instrument Identifier.\n", + "summary": "Simulate Issuer Life Cycle Management Events", + "description": "**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card.\nThe events that can be simulated are:\n- Token status changes (e.g. active, suspended, deleted)\n- Updates to the underlying card, including card art changes, expiration date changes, and card number suffix.\n**Note:** This is only available in CAS environment.\n", "parameters": [ { "name": "profile-id", "in": "header", - "description": "The Id of a profile containing user specific TMS configuration.", - "required": false, + "required": true, "type": "string", + "description": "The Id of a profile containing user specific TMS configuration.", "minLength": 36, - "maxLength": 36, - "x-hide-field": true + "maxLength": 36 }, { - "name": "tokenId", + "name": "tokenizedCardId", "in": "path", - "description": "The Id of a token representing a Customer, Payment Instrument or Instrument Identifier.", + "description": "The Id of a tokenized card.", "required": true, "type": "string", - "minLength": 1, + "minLength": 12, "maxLength": 32 }, { - "name": "postPaymentCredentialsRequest", + "name": "postIssuerLifeCycleSimulationRequest", "in": "body", "required": true, "schema": { "type": "object", + "description": "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card.\n", "properties": { - "paymentCredentialType": { + "state": { "type": "string", - "description": "The type of payment credentials to be returned.\nBy default, payment credentials include network token and cryptogram or dynamic CVV.\nIf \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested.\nIf \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF.\nIf \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex.\n\nPossible Values:\n - NETWORK_TOKEN\n - SECURITY_CODE\n - CRYPTOGRAM\n" + "description": "The new state of the Tokenized Card.\nPossible Values:\n- ACTIVE\n- SUSPENDED\n- DELETED\n" }, - "transactionType": { - "type": "string", - "description": "Specifies the type of transaction for which the network token credentials are required.\nPossible Values:\n - ECOM: Ecommerce transaction. If transactionType is not provided, ECOM is set as the default.\n - AFT: Account Funding Transaction. This is only supported for VISA and paymentCredentialType of CRYPTOGRAM.\n" + "card": { + "type": "object", + "properties": { + "last4": { + "type": "string", + "maxLength": 4, + "description": "The new last 4 digits of the card number associated to the Tokenized Card.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "The new two-digit month of the card associated to the Tokenized Card.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "The new four-digit year of the card associated to the Tokenized Card.\nFormat: `YYYY`.\n" + } + } + }, + "metadata": { + "type": "object", + "properties": { + "cardArt": { + "type": "object", + "properties": { + "combinedAsset": { + "type": "object", + "properties": { + "update": { + "type": "string", + "description": "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card.\n" + } + } + } + } + } + } } } } } ], "tags": [ - "Token" + "Tokenized Card" ], - "operationId": "postTokenPaymentCredentials", + "operationId": "postIssuerLifeCycleSimulation", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-simulate-issuer-life-cycle-event-intro.html" }, "consumes": [ "application/json;charset=utf-8" ], "produces": [ - "application/jose;charset=utf-8" + "application/json;charset=utf-8" ], "responses": { - "201": { - "description": "A base64 encoded JSON Web Encryption (JWE) response containing encrypted Payment Credentials.\n\nExample:\n{\n\"kid\":\"a0eb65d572e556fddb68eb3a4078555605f7b283\",\n\"cty\":\"json\",\n\"typ\":\"JWT\",\n\"enc\":\"A256GCM\",\n\"alg\":\"RSA-OAEP-256\"\n}\n[Encrypted Instrument Identifier Payment Credentials]\n\nThe encrypted Payment Credentials will contain the network token and cryptogram or dynamic CVV.\n", + "204": { + "description": "The request is fulfilled but does not need to return a body", "headers": { - "uniqueTransactionID": { - "description": "A globally unique id associated with your request.", + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", "type": "string" }, - "v-c-correlation-id": { - "description": "The mandatory correlation id passed by upstream (calling) system.", + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", "type": "string" } - }, - "schema": { - "type": "string", - "example": "eyJraWQiOiJhMGViNjVkNTcyZTU1NmZkZGI2OGViM2E0MDc4NTU1NjA1ZjdiMjgzIiwiY3R5IjoianNvbiIsInR5cCI6IkpXVCIsImVuYyI6IkEyNTZHQ00iLCJhbGciOiJSU0EtT0FFUC0yNTYifQ.o3V2waZn8TQgFXVJItH3EFv9IidsMQ45mskDJyAc6HVvIsT2Pw2blK1BpXv9l6JIU4pqKXzeKPTZTOLUOUoUf7Vr8bliMqCwJuHqq9Nx_qDJrL1MIGV9db8Ssog70-Cz5S6kPzWEWvLB-X8WvUsRfk9EY5Ge8r3BhcLyd-NVsIUKUBADS4-Ovrp2USlLehwVuiqbJzjblfwFCbOwAcDUBP3DGi6oZt8odrBCMV_W-1RH8KAZnS7NzkDgIRzzJoTvPLM4tMF2aSvrQG_GmZndLKeleZNa1voAdk35a2PGAyTc85vb_Eju79vV4C2nlCbxC2yImjumlJ_BZaKhj8q2xA.pWQZef3L3O0SFQtU.tfp2L0Jqqw-c4s9m7e0e8Y7eWAHVOEryLQlL3rLYPmo8OdEUaz-ftm_wpdtsycA5-iRZozDyyas6v6zqbXCMIG_Tg6cBS6cESrnBlgnkELtItv9Zw3UPSNVzoA97T0GxJVPmMkaHUkf0IAd7SXH4Zj5zCCTTDbpIwq4-TaGIxvXd_PJ4L6E1wcqEVaI6sU_PoTWvLJOFLDY_H4pjgVENVuPKVPJZodQxvpLo9L9B0zzOs4YMiv-1ACS_91vYUygBbwZuRnOD6jrW6V0J_nRQik2rCOTwV0B-Mt8nEV0xJpUByScrj91I5HBG1SEVDQPc6RJdNPM7SrPWfEc42Vc9F0oSehCpaIk7QXBCYZez629Li0KhUfqhPa5IJUygH8NB_UgfR5AcyzDr76Kq9Dht8PHPmkJVbPRdyVgkZsMmp_6GQ7Q7r2c3WrHESgbjGgsv4cz8Xui3cqw0Ni0Atozh46Kkd6yOPHC6y6IgdR32020Fs0cwTJnsAAkXy_wX4ScI9ElfpqxF9EshA9l5sHNfCPFbA2eHJUSA0x3vaRCoGCdF4GWq-2zgUEANPwkMNvHsB3E5_4gefqJi8K_nMMfekNGxFabqgkLxpqxXuyJ4cADatuE.kxPM1qm305qmJ6KuIU-9-A" } }, "400": { @@ -82478,55 +83189,379 @@ } } }, - "410": { - "description": "Token Not Available. The token has been deleted.", - "headers": { - "v-c-correlation-id": { - "description": "The mandatory correlation Id passed by upstream (calling) system.", - "type": "string" - }, - "uniqueTransactionID": { - "description": "A globally unique Id associated with your request.", - "type": "string" - } - }, - "schema": { - "type": "object", - "readOnly": true, - "properties": { - "errors": { - "type": "array", - "readOnly": true, - "items": { - "type": "object", - "readOnly": true, - "properties": { - "type": { - "type": "string", - "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The detailed message related to the type." - } - } - } - } - } - }, - "examples": { - "application/json": { - "errors": [ - { - "type": "notAvailable", - "message": "Token not available." - } - ] - } - } - }, + "500": { + "description": "Unexpected error.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Simulate Network Token Status Update", + "value": { + "state": "SUSPENDED" + } + }, + "example1": { + "summary": "Simulate Network Token Card Metadata Update", + "value": { + "card": { + "last4": "9876", + "expirationMonth": "11", + "expirationYear": "2040" + } + } + }, + "example2": { + "summary": "Simulate Network Token Card Art Update", + "value": { + "metadata": { + "cardArt": { + "combinedAsset": { + "update": "true" + } + } + } + } + } + } + } + }, + "/tms/v2/tokens/{tokenId}/payment-credentials": { + "post": { + "summary": "Generate Payment Credentials for a TMS Token", + "description": "| | | | \n| --- | --- | --- | \n|**Token**
A Token can represent your tokenized Customer, Payment Instrument or Instrument Identifier information.|      |**Payment Credentials**
Contains payment information such as the network token, generated cryptogram for Visa & MasterCard or dynamic CVV for Amex in a JSON Web Encryption (JWE) response.
Your system can use this API to retrieve the Payment Credentials for an existing Customer, Payment Instrument or Instrument Identifier.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "description": "The Id of a profile containing user specific TMS configuration.", + "required": false, + "type": "string", + "minLength": 36, + "maxLength": 36, + "x-hide-field": true + }, + { + "name": "tokenId", + "in": "path", + "description": "The Id of a token representing a Customer, Payment Instrument or Instrument Identifier.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 32 + }, + { + "name": "postPaymentCredentialsRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "paymentCredentialType": { + "type": "string", + "description": "The type of payment credentials to be returned.\nBy default, payment credentials include network token and cryptogram or dynamic CVV.\nIf \"NETWORK_TOKEN\" is supplied then only network token card number will be returned and no cryptogram or dynamic CVV will be requested.\nIf \"SECURITY_CODE\" is supplied then dynamic CVV will be requested and returned with the network token card number. Dynamic CVV is only supported for Amex and SCOF.\nIf \"CRYPTOGRAM\" is supplied then cryptogram will be requested and returned with the network token card number. Cryptogram is NOT supported for Amex.\n\nPossible Values:\n - NETWORK_TOKEN\n - SECURITY_CODE\n - CRYPTOGRAM\n" + }, + "transactionType": { + "type": "string", + "description": "Specifies the type of transaction for which the network token credentials are required.\nPossible Values:\n - ECOM: Ecommerce transaction. If transactionType is not provided, ECOM is set as the default.\n - AFT: Account Funding Transaction. This is only supported for VISA and paymentCredentialType of CRYPTOGRAM.\n" + } + } + } + } + ], + "tags": [ + "Token" + ], + "operationId": "postTokenPaymentCredentials", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/jose;charset=utf-8" + ], + "responses": { + "201": { + "description": "A base64 encoded JSON Web Encryption (JWE) response containing encrypted Payment Credentials.\n\nExample:\n{\n\"kid\":\"a0eb65d572e556fddb68eb3a4078555605f7b283\",\n\"cty\":\"json\",\n\"typ\":\"JWT\",\n\"enc\":\"A256GCM\",\n\"alg\":\"RSA-OAEP-256\"\n}\n[Encrypted Instrument Identifier Payment Credentials]\n\nThe encrypted Payment Credentials will contain the network token and cryptogram or dynamic CVV.\n", + "headers": { + "uniqueTransactionID": { + "description": "A globally unique id associated with your request.", + "type": "string" + }, + "v-c-correlation-id": { + "description": "The mandatory correlation id passed by upstream (calling) system.", + "type": "string" + } + }, + "schema": { + "type": "string", + "example": "eyJraWQiO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q-2zgUEANPwkMNvHsB3E5_4gefqJi8K_nMMfekNGxFabqgkLxpqxXuyJ4cADatuE.kxPM1qm305qmJ6KuIU-9-A" + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } + } + } + } + } + } + }, + "examples": { + "Invalid Customer request body": { + "errors": [ + { + "type": "invalidRequest", + "message": "Invalid HTTP Body" + } + ] + } + } + }, + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - forbidden\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Token not found" + } + ] + } + } + }, + "410": { + "description": "Token Not Available. The token has been deleted.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notAvailable", + "message": "Token not available." + } + ] + } + } + }, "500": { "description": "Unexpected error.", "headers": { @@ -101113,6 +102148,26 @@ "flexCredential": { "type": "boolean", "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -101226,12 +102281,12 @@ "domesticParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if domestic OCTs (push funds) are allowed.\nNote: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if domestic OCTs (push funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" }, "crossBorderParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if cross-border OCTs (push funds) are allowed.\nNote: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if cross-border OCTs (push funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -101241,12 +102296,12 @@ "domesticParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if domestic AFTs (pull funds) are allowed.\nNote: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if domestic AFTs (pull funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" }, "crossBorderParticipant": { "type": "string", "maxLength": 5, - "description": "This field indicates if cross-border AFTs (pull funds) are allowed.\nNote: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS).\nPossible values:\n - `true`\n - `false`\n" + "description": "This field indicates if cross-border AFTs (pull funds) are allowed.\nPossible values:\n - `true`\n - `false`\n" } } }, @@ -102004,6 +103059,11 @@ "maxLength": 3, "description": "This is a multicurrency-only field. It contains a 3-digit numeric code that identifies the currency used by the issuer to bill the cardholder's account.\nThis field is returned for OCT transactions.\n" }, + "refundBalance": { + "type": "string", + "maxLength": 15, + "description": "The remaining amount which can be refunded." + }, "surcharge": { "type": "object", "properties": { @@ -102062,6 +103122,21 @@ } } }, + "eWallet": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 30, + "description": "Valid Values:\n- CreditCard\n- BankTransfer\n- MobileTransfer\n- KakaoMoney\n- NaverPayPoint\n" + }, + "fundingSource": { + "type": "string", + "maxLength": 30, + "description": "Valid Values:\n- PAYCO\n- Kakaopay\n- NaverPay\n- SSG Pay\n- L.Pay\n- Apple Pay\n- TOSS Pay\n- Samsung Pay\n" + } + } + }, "customer": { "type": "object", "properties": { @@ -102816,6 +103891,21 @@ } } }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 20, + "description": "Name of the card issuer provided by the processor.\n" + }, + "code": { + "type": "string", + "maxLength": 10, + "description": "Unique code for card issuer provided by the processor." + } + } + }, "eventStatus": { "type": "string", "description": "The event status.\n" @@ -102835,6 +103925,21 @@ "maxLength": 29, "description": "Payment Account Reference (PAR) is a non-financial reference assigned to each unique payment account and used to link a payment account to associated network tokens, i.e. the same PAR is returned for PAN-based and tokenized transactions, such as from digital wallets. PAR can be returned in authorisation responses for requests initiated with both real PANs and tokenized PANs. PAR can be used by merchants for fraud detection and regulatory compliance across different channels and digital wallets. PAR allows all participants in the payments chain to have a single, non-sensitive value assigned to a consumer. This value can be used in place of sensitive card holder identification fields, and transmitted across the payments ecosystem to facilitate card holder identification.\n\n**Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file:\n- Record: CP01 TCR8\n- Position: 79-110\n- Field: Payment Account Reference\n\nThe TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource.\nCyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer,\nwho uses this information to facilitate end-of-day clearing processing with payment networks.\n" }, + "responseDetails": { + "type": "string", + "maxLength": 255, + "description": "This field might contain information about a decline.\n" + }, + "rawResponseLocal": { + "type": "string", + "maxLength": 255, + "description": "Failure reason returned by the processor in the local language of the processor." + }, + "rawResponse": { + "type": "string", + "maxLength": 255, + "description": "Failure reason returned by the processor." + }, "routing": { "type": "object", "properties": { @@ -103238,7 +104343,8 @@ "authorizedAmount": "100.00", "settlementAmount": "97.50", "settlementCurrency": "USD", - "surcharge": "1.11" + "surcharge": "1.11", + "refundBalance": "0.00" }, "shippingDetails": { "giftWrap": "none", @@ -103254,6 +104360,10 @@ "type": "Credit", "method": "method name" }, + "eWallet": { + "fundingSource": "CreditCard", + "name": "PAYCO" + }, "customer": { "customerId": "123" }, @@ -103440,6 +104550,13 @@ "processor": { "name": "paymentProcessor1234" }, + "responseDetails": "0000", + "rawResponseLocal": "\uc131\uacf5", + "rawResponse": "success", + "issuerInformation": { + "name": "\uad6d\ubbfc\uc740\ud589", + "code": "BK04" + }, "multiProcessorRouting": [ { "name": "paymentProcessor0123", @@ -106039,6 +107156,7 @@ "Request.RequestID", "Request.TransactionDate", "Request.MerchantID", + "Request.MerchantReferenceNumber", "AFSFields.IPAddress", "AFSFields.IPCountry", "AFSFields.IPRoutingMethod", @@ -106458,6 +107576,7 @@ "Recipient.RecipientBillingCurrency", "Recipient.ReferenceNumber", "Request.PartnerOriginalTransactionID", + "Request.Quantity", "Sender.Address", "Sender.City", "Sender.Country", @@ -106471,6 +107590,30 @@ "Sender.SourceOfFunds", "Sender.State", "ShipTo.CompanyName", + "StandardBilling.AcquirerMerchantID", + "StandardBilling.AmountSign", + "StandardBilling.CardAcceptorID", + "StandardBilling.CardScheme", + "StandardBilling.CardType", + "StandardBilling.ClientReference", + "StandardBilling.Count", + "StandardBilling.CurrencyCode", + "StandardBilling.DomesticOrInternationalIndicator", + "StandardBilling.ProductCode", + "StandardBilling.StatisticType", + "StandardBilling.TotalAmount", + "StandardBilling.TransactionDate", + "StandardMonthlyFee.AcquirerMerchantID", + "StandardMonthlyFee.ActualFee", + "StandardMonthlyFee.AmountSign", + "StandardMonthlyFee.ClientReference", + "StandardMonthlyFee.CurrencyCode", + "StandardMonthlyFee.FeeType", + "StandardMonthlyFee.OrganizationType", + "StandardMonthlyFee.ProductCode", + "StandardMonthlyFee.Quantity", + "StandardMonthlyFee.Tax", + "StandardMonthlyFee.TotalFee", "Subscriptions.Applications", "Subscriptions.AuthAVSResults", "Subscriptions.AuthCardVerificationResult", @@ -107177,7 +108320,7 @@ "reportDefinitionId": { "type": "integer", "format": "int32", - "description": "| Id | Definition Class |\n| --- | --------------------------------- |\n| 210 | TransactionRequestClass |\n| 211 | PaymentBatchDetailClass |\n| 212 | ExceptionDetailClass |\n| 213 | ProcessorSettlementDetailClass |\n| 214 | ProcessorEventsDetailClass |\n| 215 | FundingDetailClass |\n| 216 | AgingDetailClass |\n| 217 | ChargebackAndRetrievalDetailClass |\n| 218 | DepositDetailClass |\n| 219 | FeeDetailClass |\n| 220 | InvoiceSummaryClass |\n| 221 | PayerAuthDetailClass |\n| 222 | ConversionDetailClass |\n| 225 | BillableTransactionsDetailClass |\n| 270 | JPTransactionDetailClass |\n| 271 | ServiceFeeDetailClass |\n| 310 | GatewayTransactionRequestClass |\n| 400 | DecisionManagerEventDetailClass |\n| 401 | DecisionManagerDetailClass |\n| 410 | FeeSummaryClass |\n| 420 | TaxCalculationClass |\n| 520 | POSTerminalExceptionClass |\n| 620 | SubscriptionDetailClass |\n" + "description": "| Id | Definition Class |\n| --- | --------------------------------- |\n| 210 | TransactionRequestClass |\n| 211 | PaymentBatchDetailClass |\n| 212 | ExceptionDetailClass |\n| 213 | ProcessorSettlementDetailClass |\n| 214 | ProcessorEventsDetailClass |\n| 215 | FundingDetailClass |\n| 216 | AgingDetailClass |\n| 217 | ChargebackAndRetrievalDetailClass |\n| 218 | DepositDetailClass |\n| 219 | FeeDetailClass |\n| 220 | InvoiceSummaryClass |\n| 221 | PayerAuthDetailClass |\n| 222 | ConversionDetailClass |\n| 225 | BillableTransactionsDetailClass |\n| 270 | JPTransactionDetailClass |\n| 271 | ServiceFeeDetailClass |\n| 310 | GatewayTransactionRequestClass |\n| 400 | DecisionManagerEventDetailClass |\n| 401 | DecisionManagerDetailClass |\n| 410 | FeeSummaryClass |\n| 420 | TaxCalculationClass |\n| 520 | POSTerminalExceptionClass |\n| 620 | SubscriptionDetailClass |\n| 630 | StandardBillingDataPackageClass |\n| 706 | StandardMonthlyFeeClass |\n" }, "reportDefintionName": { "type": "string" @@ -107743,6 +108886,7 @@ "Request.RequestID", "Request.TransactionDate", "Request.MerchantID", + "Request.MerchantReferenceNumber", "AFSFields.IPAddress", "AFSFields.IPCountry", "AFSFields.IPRoutingMethod", @@ -108158,6 +109302,7 @@ "Recipient.RecipientBillingCurrency", "Recipient.ReferenceNumber", "Request.PartnerOriginalTransactionID", + "Request.Quantity", "Sender.Address", "Sender.City", "Sender.Country", @@ -108171,6 +109316,30 @@ "Sender.SourceOfFunds", "Sender.State", "ShipTo.CompanyName", + "StandardBilling.AcquirerMerchantID", + "StandardBilling.AmountSign", + "StandardBilling.CardAcceptorID", + "StandardBilling.CardScheme", + "StandardBilling.CardType", + "StandardBilling.ClientReference", + "StandardBilling.Count", + "StandardBilling.CurrencyCode", + "StandardBilling.DomesticOrInternationalIndicator", + "StandardBilling.ProductCode", + "StandardBilling.StatisticType", + "StandardBilling.TotalAmount", + "StandardBilling.TransactionDate", + "StandardMonthlyFee.AcquirerMerchantID", + "StandardMonthlyFee.ActualFee", + "StandardMonthlyFee.AmountSign", + "StandardMonthlyFee.ClientReference", + "StandardMonthlyFee.CurrencyCode", + "StandardMonthlyFee.FeeType", + "StandardMonthlyFee.OrganizationType", + "StandardMonthlyFee.ProductCode", + "StandardMonthlyFee.Quantity", + "StandardMonthlyFee.Tax", + "StandardMonthlyFee.TotalFee", "Subscriptions.Applications", "Subscriptions.AuthAVSResults", "Subscriptions.AuthCardVerificationResult", @@ -112603,6 +113772,21 @@ } } } + }, + "merchantDefinedFieldValues": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definitionId": { + "type": "integer", + "format": "int64" + }, + "value": { + "type": "string" + } + } + } } }, "example": { @@ -112667,7 +113851,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some value" + }, + { + "definitionId": 456, + "value": "Another value" + } + ] } } } @@ -113014,6 +114208,65 @@ } } } + }, + "merchantDefinedFieldValuesWithDefinition": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fieldType": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "textDefaultValue": { + "type": "string" + }, + "possibleValues": { + "type": "string" + }, + "value": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "definitionId": { + "type": "integer" + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } } }, "example": { @@ -113093,7 +114346,20 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValuesWithDefinition": [ + { + "id": 1515, + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + ] } } }, @@ -113340,7 +114606,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example1": { @@ -113388,7 +114664,17 @@ "taxable": false } } - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example2": { @@ -113450,7 +114736,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example3": { @@ -113498,7 +114794,17 @@ "taxable": false } } - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } } @@ -114114,6 +115420,16 @@ "event": "CREATE", "date": "2019-06-18T21:51:18.76Z" } + ], + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some interesting Value" + }, + { + "definitionId": 456, + "value": "Another quirky value" + } ] }, "type": "object", @@ -114454,6 +115770,65 @@ } } }, + "merchantDefinedFieldValuesWithDefinition": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fieldType": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "textDefaultValue": { + "type": "string" + }, + "possibleValues": { + "type": "string" + }, + "value": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "definitionId": { + "type": "integer" + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + }, "invoiceHistory": { "type": "array", "items": { @@ -114899,6 +116274,21 @@ } } } + }, + "merchantDefinedFieldValues": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definitionId": { + "type": "integer", + "format": "int64" + }, + "value": { + "type": "string" + } + } + } } }, "example": { @@ -114955,7 +116345,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } } @@ -115302,6 +116702,65 @@ } } } + }, + "merchantDefinedFieldValuesWithDefinition": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fieldType": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "textDefaultValue": { + "type": "string" + }, + "possibleValues": { + "type": "string" + }, + "value": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "definitionId": { + "type": "integer" + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } } }, "example": { @@ -115387,6 +116846,19 @@ "taxRate": "0.0", "totalAmount": "247.86" } + ], + "merchantDefinedFieldValuesWithDefinition": [ + { + "id": 1515, + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } ] } } @@ -115580,7 +117052,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } }, "example1": { @@ -115620,7 +117102,17 @@ "taxable": false } } - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } } @@ -116091,7 +117583,17 @@ "totalAmount": "247.86" } ] - } + }, + "merchantDefinedFieldValues": [ + { + "definitionId": 123, + "value": "Some new Value" + }, + { + "definitionId": 456, + "value": "Another brand new value" + } + ] } } }, @@ -117647,333 +119149,17 @@ "hiddenForItem": true } ] - } - }, - "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.\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" - }, - "shipTo": { - "description": "Collect the payers shipping address.", - "type": "boolean", - "default": false - }, - "phoneNumber": { - "description": "Collect the payers phone number.", - "type": "boolean", - "default": false - }, - "email": { - "description": "Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation.", - "type": "boolean", - "default": false - }, - "enableMerchantEmailNotifications": { - "description": "Whether you would like to receive payment notification for successful transaction", - "type": "boolean", - "default": false - }, - "customLabels": { - "description": "A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten.\n", - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "The invoice field key. Possible values:\n - billTo\n - invoiceNumber\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n - discount\n - tax\n", - "type": "string" - }, - "value": { - "description": "The new (overridden) field name", - "type": "string", - "maxLength": 25 - }, - "hidden": { - "description": "Hides the specified field. This field is applicable for keys:\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n", - "type": "boolean", - "default": false - }, - "hiddenForInvoice": { - "description": "Hides the field at invoice level. This field is applicable for keys:\n - discount\n - tax\n", - "type": "boolean", - "default": false - }, - "hiddenForItem": { - "description": "Hides the field at invoice item level. This field is applicable for keys:\n - discount\n - tax\n", - "type": "boolean", - "default": false - } - } - } - } - } - } - } - } - }, - "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- DUPLICATE_RECORD\n- ACTION_NOT_ALLOWED\n- VALIDATION_ERRORS\n- INVALID_IMAGE\n- INVALID_TRANSIENT_TOKEN\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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P7w298CuUW8JGRa+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", - "shipTo": false, - "phoneNumber": false, - "email": false, - "enableMerchantEmailNotifications": false, - "customLabels": [ - { - "key": "billTo", - "value": "Payee name" - }, - { - "key": "companyName", - "hidden": true - }, - { - "key": "discount", - "value": "Promo", - "hiddenForItem": true - }, - { - "key": "tax", - "hiddenForInvoice": true, - "hiddenForItem": true + "merchantInformation": { + "name": "Pravalika (org)", + "phone": "415-832-3555", + "addressDetails": { + "address1": "123 Bellevue Ave ", + "address2": " Suite 800", + "city": "Bellevue", + "country": "dz", + "postalCode": "98103" } - ] - } - } - } - } - }, - "get": { - "tags": [ - "Invoice Settings" - ], - "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/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kHGAsGCmSy5V4AAAAZdEVYdENvb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okWbYlmfHTZO9B83iLoi0Z+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", - "shipTo": false, - "phoneNumber": false, - "email": false, - "enableMerchantEmailNotifications": false, - "customLabels": [ - { - "key": "billTo", - "value": "Payee name" - }, - { - "key": "companyName", - "hidden": true - }, - { - "key": "discount", - "value": "Promo", - "hiddenForItem": true - }, - { - "key": "tax", - "hiddenForInvoice": true, - "hiddenForItem": true - } - ] } }, "type": "object", @@ -118100,6 +119286,422 @@ } } } + }, + "merchantInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 100 + }, + "phone": { + "type": "string" + }, + "addressDetails": { + "type": "object", + "properties": { + "address1": { + "type": "string", + "maxLength": 60 + }, + "address2": { + "type": "string", + "maxLength": 60 + }, + "city": { + "type": "string", + "maxLength": 50 + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string", + "maxLength": 10 + } + } + } + } + } + } + } + }, + "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- DUPLICATE_RECORD\n- ACTION_NOT_ALLOWED\n- VALIDATION_ERRORS\n- INVALID_IMAGE\n- INVALID_TRANSIENT_TOKEN\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/4AAQSkZJ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evT0yPCOtg332jUtE03X7JVaW5t72zja2jmUERzGIn5ipPAwecZoorqpUoxp6fm/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", + "shipTo": false, + "phoneNumber": false, + "email": false, + "enableMerchantEmailNotifications": false, + "customLabels": [ + { + "key": "billTo", + "value": "Payee name" + }, + { + "key": "companyName", + "hidden": true + }, + { + "key": "discount", + "value": "Promo", + "hiddenForItem": true + }, + { + "key": "tax", + "hiddenForInvoice": true, + "hiddenForItem": true + } + ] + } + } + } + } + }, + "get": { + "tags": [ + "Invoice Settings" + ], + "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/vztVPz2Kq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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", + "shipTo": false, + "phoneNumber": false, + "email": false, + "enableMerchantEmailNotifications": false, + "customLabels": [ + { + "key": "billTo", + "value": "Payee name" + }, + { + "key": "companyName", + "hidden": true + }, + { + "key": "discount", + "value": "Promo", + "hiddenForItem": true + }, + { + "key": "tax", + "hiddenForInvoice": true, + "hiddenForItem": true + } + ] + }, + "merchantInformation": { + "name": "Pravalika (org)", + "phone": "415-832-3555", + "addressDetails": { + "address1": "123 Bellevue Ave ", + "address2": " Suite 800", + "city": "Bellevue", + "country": "dz", + "postalCode": "98103" + } + } + }, + "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.\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" + }, + "shipTo": { + "description": "Collect the payers shipping address.", + "type": "boolean", + "default": false + }, + "phoneNumber": { + "description": "Collect the payers phone number.", + "type": "boolean", + "default": false + }, + "email": { + "description": "Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation.", + "type": "boolean", + "default": false + }, + "enableMerchantEmailNotifications": { + "description": "Whether you would like to receive payment notification for successful transaction", + "type": "boolean", + "default": false + }, + "customLabels": { + "description": "A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten.\n", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "The invoice field key. Possible values:\n - billTo\n - invoiceNumber\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n - discount\n - tax\n", + "type": "string" + }, + "value": { + "description": "The new (overridden) field name", + "type": "string", + "maxLength": 25 + }, + "hidden": { + "description": "Hides the specified field. This field is applicable for keys:\n - customerId\n - companyName\n - description\n - shipping\n - partialPayment\n", + "type": "boolean", + "default": false + }, + "hiddenForInvoice": { + "description": "Hides the field at invoice level. This field is applicable for keys:\n - discount\n - tax\n", + "type": "boolean", + "default": false + }, + "hiddenForItem": { + "description": "Hides the field at invoice item level. This field is applicable for keys:\n - discount\n - tax\n", + "type": "boolean", + "default": false + } + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 100 + }, + "phone": { + "type": "string" + }, + "addressDetails": { + "type": "object", + "properties": { + "address1": { + "type": "string", + "maxLength": 60 + }, + "address2": { + "type": "string", + "maxLength": 60 + }, + "city": { + "type": "string", + "maxLength": 50 + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string", + "maxLength": 10 + } + } + } + } } } } @@ -118191,6 +119793,1015 @@ } } }, + "/invoicing/v2/{referenceType}/merchantDefinedFields": { + "get": { + "tags": [ + "Merchant Defined Fields" + ], + "summary": "Get all merchant defined fields for a given reference type", + "operationId": "getMerchantDefinedFieldsDefinitions", + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/invoicing/developer/all/rest/invoicing/Introduction.html" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "referenceType", + "in": "path", + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ], + "description": "The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation", + "required": true + } + ], + "responses": { + "200": { + "description": "Get all merchant defined fields for a given reference type", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "fieldType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "possibleValues": { + "type": "string" + }, + "textDefaultValue": { + "type": "string" + }, + "merchantId": { + "type": "string" + }, + "referenceType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "merchantDefinedDataIndex": { + "type": "integer", + "format": "int32" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "404": { + "description": "Merchant defined fields not found", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + } + } + }, + "post": { + "tags": [ + "merchantDefinedFields" + ], + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields" + }, + "summary": "Create merchant defined field for a given reference type", + "operationId": "createMerchantDefinedFieldDefinition", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "referenceType", + "in": "path", + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ], + "description": "The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation", + "required": true + }, + { + "name": "MerchantDefinedFieldDefinitionRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "fieldType": { + "type": "string", + "description": "Possible values:\n- text\n- select" + }, + "label": { + "type": "string", + "maxLength": 100 + }, + "customerVisible": { + "type": "boolean", + "default": false + }, + "textMinLength": { + "type": "integer", + "default": 0, + "description": "Should be used only if fieldType = \"text\"" + }, + "textMaxLength": { + "type": "integer", + "default": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "textDefaultValue": { + "type": "string", + "maxLength": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "possibleValues": { + "type": "string", + "maxLength": 600, + "description": "Should be mandatory and used only if fieldType = \"select\"" + }, + "readOnly": { + "type": "boolean", + "default": false + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "required": [ + "fieldType", + "label", + "merchantDefinedDataIndex" + ], + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + ], + "responses": { + "201": { + "description": "Create merchant defined field for a given reference type", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "fieldType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "possibleValues": { + "type": "string" + }, + "textDefaultValue": { + "type": "string" + }, + "merchantId": { + "type": "string" + }, + "referenceType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "merchantDefinedDataIndex": { + "type": "integer", + "format": "int32" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "400": { + "description": "MerchantDefinedData definition is already updated or Merchant Defined Data Index is already assigned", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + }, + "409": { + "description": "MerchantDefinedData definition is already updated or Merchant Defined Data Index is already assigned", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + }, + "412": { + "description": "Merchant has exceeded limit for type {referenceType}", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + } + }, + "x-example": { + "example0": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "/invoicing/v2/{referenceType}/merchantDefinedFields/{id}": { + "put": { + "tags": [ + "merchantDefinedFields" + ], + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields" + }, + "summary": "Update a MerchantDefinedField by ID", + "parameters": [ + { + "in": "path", + "name": "referenceType", + "required": true, + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ] + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "MerchantDefinedFieldCore", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "fieldType": { + "type": "string", + "description": "Possible values:\n- text\n- select" + }, + "label": { + "type": "string", + "maxLength": 100 + }, + "customerVisible": { + "type": "boolean", + "default": false + }, + "textMinLength": { + "type": "integer", + "default": 0, + "description": "Should be used only if fieldType = \"text\"" + }, + "textMaxLength": { + "type": "integer", + "default": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "textDefaultValue": { + "type": "string", + "maxLength": 100, + "description": "Should be used only if fieldType = \"text\"" + }, + "possibleValues": { + "type": "string", + "maxLength": 600, + "description": "Should be mandatory and used only if fieldType = \"select\"" + }, + "readOnly": { + "type": "boolean", + "default": false + }, + "merchantDefinedDataIndex": { + "type": "integer" + } + }, + "required": [ + "fieldType", + "label", + "merchantDefinedDataIndex" + ], + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + ], + "responses": { + "200": { + "description": "A list of MerchantDefinedField", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "fieldType": { + "type": "string" + }, + "label": { + "type": "string" + }, + "customerVisible": { + "type": "boolean" + }, + "textMinLength": { + "type": "integer", + "format": "int32" + }, + "textMaxLength": { + "type": "integer", + "format": "int32" + }, + "possibleValues": { + "type": "string" + }, + "textDefaultValue": { + "type": "string" + }, + "merchantId": { + "type": "string" + }, + "referenceType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "merchantDefinedDataIndex": { + "type": "integer", + "format": "int32" + } + }, + "example": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + } + }, + "400": { + "description": "Wrong referenceType in the path", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + }, + "409": { + "description": "MerchantDefinedData definition is already updated or Merchant Defined Data Index is already assigned", + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "The time the response was submitted" + }, + "status": { + "type": "integer", + "description": "The status code of the response", + "format": "int32" + }, + "reason": { + "type": "string", + "description": "The reason for the response" + }, + "message": { + "type": "string", + "description": "The message of the response" + }, + "details": { + "description": "The details of the validation error", + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "The field that caused the validation error" + }, + "reason": { + "type": "string", + "description": "The reason for the validation error" + } + } + } + } + }, + "example": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "status": 400, + "responseData": { + "submitTimeUtc": "2016-08-11T22:47:57.000Z", + "status": 400, + "reason": "MERCHANT_DEFINED_FIELD_ALREADY_UPDATED", + "message": "Merchant defined field already updated or does not exist", + "details": [ + { + "field": "customerVisible readOnly", + "reason": "For 'Select' field type 'Read only' must be false and 'Customer Visible' true" + }, + { + "field": "textMinLength", + "reason": "textMinLength is not allowed for field type Select" + }, + { + "field": "textMaxLength", + "reason": "textMaxLength is not allowed for field type Select" + }, + { + "field": "textDefaultValue", + "reason": "textDefaultValue is not allowed for field type Select" + }, + { + "field": "possibleValues", + "reason": "Possible values cannot be empty for Select field type" + }, + { + "field": "possibleValues", + "reason": "Possible value Best Dad in the world is too long" + }, + { + "field": "possibleValues", + "reason": "Possible values must contain at least two values" + }, + { + "field": "possibleValues", + "reason": "Possible values total length cannot exceed 4000 characters" + }, + { + "field": "possibleValues", + "reason": "Possible value cannot be empty" + } + ] + } + } + } + } + }, + "x-example": { + "example0": { + "fieldType": "Text", + "label": "Cup", + "customerVisible": "true", + "readOnly": "false", + "textMinLength": 1, + "textMaxLength": 100, + "textDefaultValue": "default text", + "merchantDefinedDataIndex": 15 + } + } + }, + "delete": { + "tags": [ + "merchantDefinedFields" + ], + "x-devcenter-metaData": { + "categoryTag": "Merchant_Defined_Fields" + }, + "summary": "Delete a MerchantDefinedField by ID", + "parameters": [ + { + "in": "path", + "name": "referenceType", + "required": true, + "type": "string", + "enum": [ + "Invoice", + "Purchase", + "Donation" + ] + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "responses": { + "204": { + "description": "MerchantDefinedField deleted" + } + } + } + }, "/ipl/v2/payment-links": { "post": { "tags": [ @@ -122697,6 +125308,481 @@ } } }, + "acquirers": { + "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.", + "additionalProperties": { + "properties": { + "institutionId": { + "type": "string", + "description": "Identifier of the acquirer. This number is usually assigned by Visa." + }, + "interbankCardAssociationId": { + "type": "string", + "description": "Number assigned by MasterCard to banks to identify the member in transactions." + }, + "discoverInstitutionId": { + "type": "string", + "description": "Assigned by Discover to identify the acquirer." + }, + "countryCode": { + "type": "string", + "description": "ISO 4217 format." + }, + "fileDestinationBin": { + "type": "string", + "description": "The BIN to which this\u00a0capturefile is sent. This field must contain a valid BIN." + }, + "merchantVerificationValue": { + "type": "string", + "description": "Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant." + }, + "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" + }, + "allowMultipleBills": { + "type": "boolean", + "description": "Allows multiple captures for a single authorization transaction.\n" + }, + "enableTransactionReferenceNumber": { + "type": "boolean", + "description": "To enable merchant to send in transaction reference number (unique reconciliation ID)." + }, + "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." + }, + "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" + } + } + } + } + } + } + }, "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" @@ -123821,11 +126907,6 @@ "properties": { "enabled": { "type": "boolean" - }, - "selfServiceability": { - "type": "string", - "default": "NOT_SELF_SERVICEABLE", - "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" } } }, @@ -123873,6 +126954,991 @@ "type": "string", "description": "URL to redirect to if the transaction fails. This is where the user will be sent if there is an error during the payment process.\nexample: http://www.test.com/failure\n" }, + "underwriting": { + "title": "underwritingConfiguration", + "type": "object", + "description": "Underwriting configuration containing the complete VMES (Visa Merchant Evaluation Service) payload for merchant risk evaluation.\n", + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "clientRequestId": { + "description": "client-generated request reference or tracking number. It is recommended that you send a unique value for each request so that you can perform meaningful searches for the request.\n", + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + }, + "applicationName": { + "type": "string", + "maxLength": 50, + "description": "The name of the application (such as Boarding Workflow or Anet Boarding) that the client uses to send a request to merchant evaluation service. \n", + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + } + } + }, + "merchantApplication": { + "type": "object", + "required": [ + "products" + ], + "properties": { + "applicationId": { + "type": "string", + "readOnly": true + }, + "applicationStatus": { + "type": "string", + "readOnly": true + }, + "products": { + "description": "The product(s) that are being underwritten", + "type": "array", + "items": { + "type": "object", + "required": [ + "productShortName" + ], + "properties": { + "productShortName": { + "description": "Product Name\n[PRODUCT1, PRODUCT2, PRODUCT3]\n", + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,30}$" + }, + "preferredAcquirer": { + "description": "Override Acquirer Value", + "type": "string", + "maxLength": 30, + "pattern": "^[a-zA-Z0-9-_]$" + }, + "status": { + "readOnly": true, + "description": "Product status\n[]\n", + "type": "string" + } + } + } + }, + "campaignId": { + "description": "Driver Campaign ID, identifies where the application came from", + "type": "string" + }, + "ocId": { + "description": "Offer CampaignID, used by Sales", + "type": "string" + }, + "resellerId": { + "description": "ResellerID, used by Sales", + "type": "string", + "maxLength": 128 + } + } + }, + "metadata": { + "type": "object" + }, + "metadataExternal": { + "type": "object" + }, + "organizationInformation": { + "type": "object", + "properties": { + "parentOrganizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Parent Organization ID for the application" + }, + "organizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Organization ID for the application" + }, + "boardingPackageId": { + "type": "string", + "maxLength": 60, + "description": "Boarding Package ID for the application" + }, + "businessInformation": { + "type": "object", + "required": [ + "businessIdentifier", + "countryRegistration", + "legalName", + "doingBusinessAs", + "businessDescription", + "startDate", + "merchantCategoryCode", + "businessType", + "countryPhoneNumber", + "phoneNumber", + "email" + ], + "properties": { + "businessIdentifier": { + "type": "string", + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]*$", + "description": "Tax ID for the business" + }, + "countryRegistration": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is registered. Two character country code, ISO 3166-1 alpha-2." + }, + "legalName": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "description": "The legally registered name of the business" + }, + "doingBusinessAs": { + "type": "string", + "maxLength": 60, + "description": "The DBA of the business." + }, + "businessDescription": { + "type": "string", + "maxLength": 250, + "description": "Short description of the Business" + }, + "registrationNumber": { + "type": "string", + "maxLength": 60, + "description": "Registration ID for Enterprise Merchant" + }, + "stockExchange": { + "type": "string", + "maxLength": 60, + "description": "Which stock exchange is the company trading in?" + }, + "tickerSymbol": { + "type": "string", + "maxLength": 10, + "pattern": "^[a-zA-Z0-9_.]*$", + "description": "Stock Symbol on the exchange" + }, + "startDate": { + "type": "string", + "format": "date", + "description": "When did Business start. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "merchantCategoryCode": { + "type": "string", + "maxLength": 4, + "pattern": "^\\d{3,4}$", + "description": "Industry standard Merchant Category Code (MCC)" + }, + "mccDescription": { + "type": "string", + "maxLength": 128, + "description": "MCC Description" + }, + "websiteURL": { + "type": "string", + "maxLength": 100, + "description": "Website for the Business" + }, + "businessType": { + "type": "string", + "description": "Business type \nPossible values:\n- PARTNERSHIP\n- SOLE_PROPRIETORSHIP\n- CORPORATION\n- LLC\n- NON_PROFIT\n- TRUST" + }, + "localMCC": { + "type": "array", + "items": { + "type": "string" + } + }, + "countryPhoneNumber": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the Business phone number. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Business Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Business Email Address" + }, + "whatYourCompanyDoes": { + "type": "string", + "maxLength": 500, + "description": "What your company does and how you market your service" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "tradingAddress": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "businessContact": { + "type": "object", + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person First Name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Middle Name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Last Name" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Contact Person Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Contact Persona Email" + } + } + }, + "businessDetails": { + "type": "object", + "required": [ + "interactionTypes", + "percentageSplitByF2F", + "percentageSplitByCNP", + "whenIsCustomerCharged", + "offerSubscriptions" + ], + "properties": { + "customerType": { + "type": "string", + "description": "Who is the business interacting with? Business to Business, Business to Consumer, Both \nPossible values:\n- B2B\n- B2C\n- Both" + }, + "percentageSplitByB2B": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByB2C": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "interactionTypes": { + "type": "string", + "description": "Merchant Facing: Face to Face, Card Not Present, Both \nPossible values:\n- F2F\n- CNP\n- Both" + }, + "percentageSplitByF2F": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByCNP": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "whenIsCustomerCharged": { + "type": "string", + "description": "When is the customer charged? \nPossible values:\n- OneTimeBeforeServiceDelivery\n- OneTimeAfterServiceDelivery\n- Other" + }, + "whenIsCustomerChargedDescription": { + "type": "string", + "maxLength": 30 + }, + "offerSubscriptions": { + "type": "boolean", + "description": "Does Merchant Offer Subscriptions?" + }, + "monthlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is monthly subscriptions" + }, + "quarterlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is quarterly subscriptions" + }, + "semiannualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is semi-annual subscriptions" + }, + "annualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is annual subscriptions" + }, + "currencyType": { + "type": "string", + "description": "Processing Currency. ISO 4217, 3 characters. \nPossible values:\n- USD\n- CAD\n- EUR\n- GBP\n- CHF" + }, + "estimatedMonthlySales": { + "type": "number", + "description": "Merchant's estimated monthly sales" + }, + "averageOrderAmount": { + "type": "number", + "description": "Merchant's average order amount" + }, + "largestExpectedOrderAmount": { + "type": "number", + "description": "Merchant's largest expected order amount" + }, + "primaryAccountUsage": { + "type": "string", + "description": "Primary purpose of account usage \nPossible values:\n- Paying for goods / services\n- Repatriating overseas earnings\n- Intercompany transfers\n- Collecting funds from clients\n- Liquidity / FX\n- Payment to an individual\n- Investment activity\n- Property purchase/sale\n- Other" + }, + "sourceOfFunds": { + "type": "string", + "description": "Source of Funds \nPossible values:\n- Business revenue\n- External or shareholder investment\n- Loan, advance or other borrowing\n- Donations or grants\n- Inter-company transfers\n- Proceeds of sales of assests\n- Other" + }, + "receiveMoney3rdParties": { + "type": "boolean", + "description": "Will you recieve money from 3rd parties into your account?" + }, + "receiveTransactionFrequency": { + "type": "string", + "description": "Roughly how often do you expect to send or receive transactions? \nPossible values:\n- One-off or infrequently\n- 1-20 per month\n- 20-50 per month\n- 50-100 per month\n- 100+ per month" + }, + "estimatedMonthlySpend": { + "type": "string", + "description": "What is your estimated total monthly spend? \nPossible values:\n- <$10,000\n- $10,000 - $50,000\n- $50,000 - $100,000\n- $100,000 - $500,000\n- $500,000+" + }, + "countryTransactions": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesOut": { + "type": "array", + "items": { + "type": "string" + } + }, + "productServicesSubscription": { + "type": "array", + "items": { + "type": "object", + "properties": { + "productServiceName": { + "type": "string", + "maxLength": 255, + "description": "Name of the product, service, or subscription." + }, + "productServicePercentage": { + "type": "number", + "minimum": 0, + "maximum": 100, + "description": "Percentage of business revenue from this product or service." + } + } + } + } + } + }, + "ownerInformation": { + "type": "array", + "items": { + "type": "object", + "required": [ + "firstName", + "lastName", + "birthDate", + "isPrimary", + "hasSignificantResponsibility", + "nationalId", + "ownershipPercentage", + "nationality", + "dueDiligenceRequired", + "phoneNumberCountryCode", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Owner's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Owner's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Owner's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Owner's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "isPrimary": { + "type": "boolean", + "description": "Primary Owner or Non-Primary Owner" + }, + "hasSignificantResponsibility": { + "type": "boolean", + "description": "If not an owner, is the user a Control Person" + }, + "ownerDirector": { + "type": "boolean", + "description": "Is the owner a Director as well?" + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "passportCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Passport Country. Two character country code, ISO 3166-1 alpha-2." + }, + "jobTitle": { + "type": "string", + "maxLength": 100, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "description": "Owner's Job Title" + }, + "ownershipPercentage": { + "type": "number", + "minimum": 1, + "maximum": 100, + "description": "Percentage of the company that owner owns" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "dueDiligenceRequired": { + "type": "boolean", + "description": "Indicates if due diligence checks should be run for this owner" + }, + "phoneNumberCountryCode": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Phone number country. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Owner" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the owner resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Owner's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "Owner's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Owner's zip code (US) or postal code (Canada)" + } + } + } + } + } + }, + "directorInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Director's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Director's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Director's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Director's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Director" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the Director resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Director's zip code (US) or postal code (Canada)" + } + } + } + } + } + } + } + } + } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "description": "IP Address of the user that filled in the Merchant Application", + "type": "string" + }, + "fingerprintSessionId": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + }, + "userAgent": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + } + } + }, + "depositInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the Bank Account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 15, + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 17, + "example": 111111111111110 + } + } + }, + "billingInformation": { + "type": "object", + "properties": { + "bankAccountInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the checking account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "maxLength": 15, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "maxLength": 17, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111110 + } + } + } + } + }, + "saleRepresentativeInformation": { + "type": "object", + "required": [ + "salesRepId", + "salesRepFirstName", + "salesRepLastName", + "salesRepEmail", + "salesRepNumericPhoneNumberCountryCode", + "salesRepPhoneNumber" + ], + "properties": { + "salesRepId": { + "description": "Sales rep Identifier", + "type": "string", + "maxLength": 60 + }, + "salesRepFirstName": { + "description": "Sales rep First Name", + "type": "string", + "maxLength": 50, + "example": "John" + }, + "salesRepLastName": { + "description": "Sales Rep Last Name", + "type": "string", + "maxLength": 50, + "example": "Johnson" + }, + "salesRepEmail": { + "description": "Sales Rep eMail", + "type": "string", + "maxLength": 100, + "example": "test@test.com" + }, + "salesRepNumericPhoneNumberCountryCode": { + "description": "Sales Rep Phone Number Country. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "example": "US" + }, + "salesRepPhoneNumber": { + "description": "Sales Rep Phone", + "type": "string", + "maxLength": 20, + "example": 4567890398 + } + } + }, + "fileAttachmentInformation": { + "type": "object", + "properties": { + "fileGroupId": { + "description": "The unique identifier for the file group", + "type": "string" + } + } + } + } + }, "additionalConfigurations": { "type": "array", "maxItems": 10, @@ -125640,148 +129706,238 @@ "configurations": { "type": "object", "properties": { - "pullfunds": { + "common": { "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": { + "properties": { + "paymentTypes": { + "type": "array", + "description": "List of card types supported by this merchant.\n", + "items": { "type": "string", "minLength": 1, - "maxLength": 4, - "description": "A 4 character max name abbreviation for the originator." - }, - "cardTerminalId": { + "maxLength": 30, + "description": "Possible values:\n- VISA\n- MASTERCARD" + } + }, + "businessApplicationId": { + "type": "array", + "description": "List of supported Business Application Indicators.\n", + "items": { "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." + "maxLength": 30, + "description": "Possible values:\n- AA\n- BB\n- BI\n- BP\n- CB\n- CD\n- CI\n- CO\n- CP\n- FD\n- FT\n- GD\n- GP\n- LA\n- LO\n- MD\n- MI\n- MP\n- OG\n- PD\n- PG\n- PP\n- PS\n- RP\n- TU\n- WT" + } + }, + "aggregator": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 11, + "description": "Marketplace or payment facilitator ID." + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 25, + "description": "Acceptor's legal business name associated with the card acceptor identification code." + }, + "subMerchantId": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 15, + "description": "Sub-merchant ID" + } } } } }, - "pushfunds": { + "processors": { "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": { + "description": "string [1 .. 40] characters\n\nThe name of the Payouts processor.\n", + "pattern": "^[A-Za-z0-9]+$", + "allOf": [ + { + "type": "object", + "properties": { + "acquirer": { + "type": "object", + "properties": { + "acquiringId": { "type": "string", - "maxLength": 8 + "pattern": "^\\d+$", + "minLength": 6, + "maxLength": 11, + "description": "This code identifies the financial institution acting as the acquirer.\n\nAlso known as:\n\n- Acquiring BIN\n- Acquiring Institution Identification Code\n" + }, + "country": { + "type": "string", + "description": "The acquirer's [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country code. \nPossible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" } - }, - "supportedCurrencies": { - "type": "array", - "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", - "items": { + } + }, + "currencies": { + "type": "array", + "description": "List of supported [ISO 4217](https://developer.cybersource.com/docs/cybs/en-us/currency-codes/reference/all/na/currency-codes/currency-codes.html) alpha-3 currency codes.", + "items": { + "type": "string", + "minLength": 3, + "maxLength": 3, + "description": "Possible values:\n- USD\n- AED\n- AFN\n- ALL\n- AMD\n- ANG\n- AOA\n- ARS\n- AUD\n- AWG\n- AZN\n- BAM\n- BBD\n- BDT\n- BGN\n- BHD\n- BIF\n- BMD\n- BND\n- BOB\n- BOX\n- BRL\n- BSD\n- BTN\n- BWP\n- BYR\n- BYN\n- BZD\n- CAD\n- CDF\n- CHF\n- CLF\n- CLP\n- CNY\n- COP\n- COU\n- CRC\n- CSK\n- CUC\n- CUP\n- CVE\n- CZK\n- DJF\n- DFF\n- DOP\n- DZD\n- EGP\n- ERN\n- ETB\n- EUR\n- FJD\n- FKP\n- GBP\n- GEL\n- GHS\n- GIP\n- GMD\n- GNF\n- GTQ\n- GWP\n- GYD\n- HKD\n- HNL\n- HTG\n- HUF\n- IDR\n- ILS\n- INR\n- IQD\n- IRR\n- ISK\n- HMD\n- JOD\n- JPY\n- KES\n- KGS\n- KHR\n- KMF\n- KPW\n- KRW\n- KWD\n- KYD\n- KZT\n- LAK\n- LBP\n- LRD\n- LSL\n- LTV\n- LVL\n- LYD\n- MAD\n- MDL\n- MGA\n- MKD\n- MMK\n- MNT\n- MOP\n- MRO\n- MUR\n- MVR\n- MWK\n- MXN\n- MYR\n- MZN\n- NAD\n- NGN\n- NIO\n- NOK\n- NPR\n- NZD\n- OMR\n- PAB\n- PEN\n- PGK\n- PHP\n- PKR\n- PLN\n- PYG\n- QAR\n- RON\n- RSD\n- RUB\n- RWF\n- SAR\n- SBD\n- SCR\n- SDG\n- SHP\n- SLE\n- SOS\n- SRD\n- SSP\n- STD\n- SVC\n- SYP\n- SZL\n- THB\n- TJS\n- TMT\n- TND\n- TOP\n- TRY\n- TTD\n- TWD\n- TZS\n- UAH\n- UGX\n- UYU\n- VEF\n- VND\n- VUV\n- WST\n- XAF\n- XCD\n- XOF\n- XPF\n- YER\n- ZAR\n- ZMK\n- ZMW\n- ZWD\n- ZWL" + } + }, + "countries": { + "type": "array", + "description": "List of [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country codes", + "items": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "description": "Possible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" + } + }, + "merchantId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 15, + "description": "A unique identifier value assigned by Visa for each merchant included in the identification program." + }, + "terminalId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "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." + }, + "businessCategoryValidation": { + "type": "boolean", + "description": "Default: false\n\nOverride Business Application Indicator and Merchant Category Code validations for payout transaction types.\n" + }, + "payoutsTransactionTypes": { + "type": "array", + "description": "The supported Payouts transaction types for the processor.\n", + "items": { + "type": "string", + "minLength": 19, + "maxLength": 20, + "description": "Possible values:\n- PULL_FUNDS_TRANSFER\n- PUSH_FUNDS_TRANSFER" + } + }, + "merchantPseudoAbaNumber": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 9, + "maxLength": 9, + "description": "This is a number that uniquely identifies the merchant for PPGS transactions.\n" + } + } + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "feeProgramId": { "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 3, "maxLength": 3, - "minLength": 3 + "description": "This field identifies the interchange fee program applicable to each financial transaction. Fee program indicator (FPI) values correspond to the fee descriptor and rate for each existing fee program.\n\nThis field can be regarded as informational only in all authorization messages.\n" + }, + "cpsAuthorizationCharacteristicsId": { + "type": "string", + "pattern": "^[A-Za-z]+$", + "minLength": 1, + "maxLength": 1, + "description": "The Authorization Characteristics Indicator (ACI) is a code used by the acquirer to request CPS qualification. If applicable, Visa changes the code to reflect the results of its CPS evaluation." + }, + "nationalReimbursementFee": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 12, + "description": "A client-supplied interchange amount." + }, + "settlementServiceId": { + "type": "string", + "description": "This flag enables the merchant to request for a particular settlement service to be used for settling the transaction. \nNote: The default value is VIP. This field is only relevant for specific countries where the acquirer has to select National Settlement in order to settle in the national net settlement service.change\n \nPossible values:\n- INTERNATIONAL_SETTLEMENT\n- VIP_TO_DECIDE\n- NATIONAL_SETTLEMENT" + }, + "sharingGroupCode": { + "type": "string", + "minLength": 6, + "maxLength": 16, + "description": "This U.S.-only field is optionally used by PIN Debit Gateway Service participants (merchants and acquirers) to specify the network access priority. VisaNet checks to determine if there are issuer routing preferences for a network 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 issuer preference. If an preference exists for multiple specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on acquirer routing priorities. \nPossible values:\n- ACCEL_EXCHANGE_E\n- CU24_C\n- INTERLINK_G\n- MAESTRO_8\n- NYCE_Y\n- NYCE_F\n- PULSE_S\n- PULSE_L\n- PULSE_H\n- STAR_N\n- STAR_W\n- STAR_Z\n- STAR_Q\n- STAR_M\n- VISA_V" + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This field allows a merchant to send a flag that specifies whether the payment is for the purchase of cryptocurrency." + }, + "merchantMvv": { + "type": "string", + "pattern": "^\\d+$", + "minLength": 10, + "maxLength": 10, + "description": "Merchant Verification Value (MVV) is used to identify merchants that participate in a variety of programs. The MVV is unique to the merchant." + }, + "electronicCommerceId": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "This code identifies the level of security used in an electronic commerce transaction over an open network (for example, the Internet). \nPossible values:\n- INTERNET\n- RECURRING\n- RECURRING_INTERNET\n- VBV_FAILURE\n- VBV_ATTEMPTED\n- VBV\n- SPA_FAILURE\n- SPA_ATTEMPTED\n- SPA" } } } - }, - "description": "TBD" + ] + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 22, + "maxLength": 22, + "description": "The merchant statement descriptor. The statement descriptor is a string which will be displayed on the recipient's bank or card statement." + } + } + }, + "operatingEnvironment": { + "type": "string", + "minLength": 1, + "maxLength": 22, + "description": "Initiation channel of the transfer request. \n \nPossible values:\n- WEB\n- MOBILE\n- BANK\n- KIOSK" + }, + "interchangeRateDesignator": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 2, + "maxLength": 2, + "description": "The IRD used for clearing the transaction on the Mastercard network." + }, + "participationId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 30, + "maxLength": 30, + "description": "Participation identifier of the sender. The receiving financial institution will associate the value to the transfer." + } + } + } + ] } - } + ] } } } @@ -131578,6 +135734,481 @@ } } }, + "acquirers": { + "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.", + "additionalProperties": { + "properties": { + "institutionId": { + "type": "string", + "description": "Identifier of the acquirer. This number is usually assigned by Visa." + }, + "interbankCardAssociationId": { + "type": "string", + "description": "Number assigned by MasterCard to banks to identify the member in transactions." + }, + "discoverInstitutionId": { + "type": "string", + "description": "Assigned by Discover to identify the acquirer." + }, + "countryCode": { + "type": "string", + "description": "ISO 4217 format." + }, + "fileDestinationBin": { + "type": "string", + "description": "The BIN to which this\u00a0capturefile is sent. This field must contain a valid BIN." + }, + "merchantVerificationValue": { + "type": "string", + "description": "Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant." + }, + "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" + }, + "allowMultipleBills": { + "type": "boolean", + "description": "Allows multiple captures for a single authorization transaction.\n" + }, + "enableTransactionReferenceNumber": { + "type": "boolean", + "description": "To enable merchant to send in transaction reference number (unique reconciliation ID)." + }, + "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." + }, + "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" + } + } + } + } + } + } + }, "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" @@ -132702,11 +137333,6 @@ "properties": { "enabled": { "type": "boolean" - }, - "selfServiceability": { - "type": "string", - "default": "NOT_SELF_SERVICEABLE", - "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" } } }, @@ -132754,6 +137380,991 @@ "type": "string", "description": "URL to redirect to if the transaction fails. This is where the user will be sent if there is an error during the payment process.\nexample: http://www.test.com/failure\n" }, + "underwriting": { + "title": "underwritingConfiguration", + "type": "object", + "description": "Underwriting configuration containing the complete VMES (Visa Merchant Evaluation Service) payload for merchant risk evaluation.\n", + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "clientRequestId": { + "description": "client-generated request reference or tracking number. It is recommended that you send a unique value for each request so that you can perform meaningful searches for the request.\n", + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + }, + "applicationName": { + "type": "string", + "maxLength": 50, + "description": "The name of the application (such as Boarding Workflow or Anet Boarding) that the client uses to send a request to merchant evaluation service. \n", + "minLength": 1, + "pattern": "^[0-9a-zA-Z_]+$", + "example": "merch-test1" + } + } + }, + "merchantApplication": { + "type": "object", + "required": [ + "products" + ], + "properties": { + "applicationId": { + "type": "string", + "readOnly": true + }, + "applicationStatus": { + "type": "string", + "readOnly": true + }, + "products": { + "description": "The product(s) that are being underwritten", + "type": "array", + "items": { + "type": "object", + "required": [ + "productShortName" + ], + "properties": { + "productShortName": { + "description": "Product Name\n[PRODUCT1, PRODUCT2, PRODUCT3]\n", + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,30}$" + }, + "preferredAcquirer": { + "description": "Override Acquirer Value", + "type": "string", + "maxLength": 30, + "pattern": "^[a-zA-Z0-9-_]$" + }, + "status": { + "readOnly": true, + "description": "Product status\n[]\n", + "type": "string" + } + } + } + }, + "campaignId": { + "description": "Driver Campaign ID, identifies where the application came from", + "type": "string" + }, + "ocId": { + "description": "Offer CampaignID, used by Sales", + "type": "string" + }, + "resellerId": { + "description": "ResellerID, used by Sales", + "type": "string", + "maxLength": 128 + } + } + }, + "metadata": { + "type": "object" + }, + "metadataExternal": { + "type": "object" + }, + "organizationInformation": { + "type": "object", + "properties": { + "parentOrganizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Parent Organization ID for the application" + }, + "organizationId": { + "type": "string", + "minLength": 6, + "maxLength": 30, + "pattern": "^[0-9a-zA-Z_]+$", + "description": "Organization ID for the application" + }, + "boardingPackageId": { + "type": "string", + "maxLength": 60, + "description": "Boarding Package ID for the application" + }, + "businessInformation": { + "type": "object", + "required": [ + "businessIdentifier", + "countryRegistration", + "legalName", + "doingBusinessAs", + "businessDescription", + "startDate", + "merchantCategoryCode", + "businessType", + "countryPhoneNumber", + "phoneNumber", + "email" + ], + "properties": { + "businessIdentifier": { + "type": "string", + "maxLength": 20, + "pattern": "^[a-zA-Z0-9]*$", + "description": "Tax ID for the business" + }, + "countryRegistration": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is registered. Two character country code, ISO 3166-1 alpha-2." + }, + "legalName": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "description": "The legally registered name of the business" + }, + "doingBusinessAs": { + "type": "string", + "maxLength": 60, + "description": "The DBA of the business." + }, + "businessDescription": { + "type": "string", + "maxLength": 250, + "description": "Short description of the Business" + }, + "registrationNumber": { + "type": "string", + "maxLength": 60, + "description": "Registration ID for Enterprise Merchant" + }, + "stockExchange": { + "type": "string", + "maxLength": 60, + "description": "Which stock exchange is the company trading in?" + }, + "tickerSymbol": { + "type": "string", + "maxLength": 10, + "pattern": "^[a-zA-Z0-9_.]*$", + "description": "Stock Symbol on the exchange" + }, + "startDate": { + "type": "string", + "format": "date", + "description": "When did Business start. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "merchantCategoryCode": { + "type": "string", + "maxLength": 4, + "pattern": "^\\d{3,4}$", + "description": "Industry standard Merchant Category Code (MCC)" + }, + "mccDescription": { + "type": "string", + "maxLength": 128, + "description": "MCC Description" + }, + "websiteURL": { + "type": "string", + "maxLength": 100, + "description": "Website for the Business" + }, + "businessType": { + "type": "string", + "description": "Business type \nPossible values:\n- PARTNERSHIP\n- SOLE_PROPRIETORSHIP\n- CORPORATION\n- LLC\n- NON_PROFIT\n- TRUST" + }, + "localMCC": { + "type": "array", + "items": { + "type": "string" + } + }, + "countryPhoneNumber": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the Business phone number. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Business Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Business Email Address" + }, + "whatYourCompanyDoes": { + "type": "string", + "maxLength": 500, + "description": "What your company does and how you market your service" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "tradingAddress": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the business is located. Two character country code, ISO 3166-1 alpha-2." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address" + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Business street address continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "City of the billing address" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Business state (US) or province (Canada, others). Required for US and Canada." + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada." + } + } + }, + "businessContact": { + "type": "object", + "required": [ + "firstName", + "lastName", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person First Name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Middle Name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Contact Person Last Name" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Contact Person Phone Number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Contact Persona Email" + } + } + }, + "businessDetails": { + "type": "object", + "required": [ + "interactionTypes", + "percentageSplitByF2F", + "percentageSplitByCNP", + "whenIsCustomerCharged", + "offerSubscriptions" + ], + "properties": { + "customerType": { + "type": "string", + "description": "Who is the business interacting with? Business to Business, Business to Consumer, Both \nPossible values:\n- B2B\n- B2C\n- Both" + }, + "percentageSplitByB2B": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByB2C": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "interactionTypes": { + "type": "string", + "description": "Merchant Facing: Face to Face, Card Not Present, Both \nPossible values:\n- F2F\n- CNP\n- Both" + }, + "percentageSplitByF2F": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "percentageSplitByCNP": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% Split" + }, + "whenIsCustomerCharged": { + "type": "string", + "description": "When is the customer charged? \nPossible values:\n- OneTimeBeforeServiceDelivery\n- OneTimeAfterServiceDelivery\n- Other" + }, + "whenIsCustomerChargedDescription": { + "type": "string", + "maxLength": 30 + }, + "offerSubscriptions": { + "type": "boolean", + "description": "Does Merchant Offer Subscriptions?" + }, + "monthlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is monthly subscriptions" + }, + "quarterlySubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is quarterly subscriptions" + }, + "semiannualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is semi-annual subscriptions" + }, + "annualSubscriptionPercent": { + "type": "number", + "minimum": 0, + "maximum": 100, + "default": 0, + "description": "% of business is annual subscriptions" + }, + "currencyType": { + "type": "string", + "description": "Processing Currency. ISO 4217, 3 characters. \nPossible values:\n- USD\n- CAD\n- EUR\n- GBP\n- CHF" + }, + "estimatedMonthlySales": { + "type": "number", + "description": "Merchant's estimated monthly sales" + }, + "averageOrderAmount": { + "type": "number", + "description": "Merchant's average order amount" + }, + "largestExpectedOrderAmount": { + "type": "number", + "description": "Merchant's largest expected order amount" + }, + "primaryAccountUsage": { + "type": "string", + "description": "Primary purpose of account usage \nPossible values:\n- Paying for goods / services\n- Repatriating overseas earnings\n- Intercompany transfers\n- Collecting funds from clients\n- Liquidity / FX\n- Payment to an individual\n- Investment activity\n- Property purchase/sale\n- Other" + }, + "sourceOfFunds": { + "type": "string", + "description": "Source of Funds \nPossible values:\n- Business revenue\n- External or shareholder investment\n- Loan, advance or other borrowing\n- Donations or grants\n- Inter-company transfers\n- Proceeds of sales of assests\n- Other" + }, + "receiveMoney3rdParties": { + "type": "boolean", + "description": "Will you recieve money from 3rd parties into your account?" + }, + "receiveTransactionFrequency": { + "type": "string", + "description": "Roughly how often do you expect to send or receive transactions? \nPossible values:\n- One-off or infrequently\n- 1-20 per month\n- 20-50 per month\n- 50-100 per month\n- 100+ per month" + }, + "estimatedMonthlySpend": { + "type": "string", + "description": "What is your estimated total monthly spend? \nPossible values:\n- <$10,000\n- $10,000 - $50,000\n- $50,000 - $100,000\n- $100,000 - $500,000\n- $500,000+" + }, + "countryTransactions": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "currenciesOut": { + "type": "array", + "items": { + "type": "string" + } + }, + "productServicesSubscription": { + "type": "array", + "items": { + "type": "object", + "properties": { + "productServiceName": { + "type": "string", + "maxLength": 255, + "description": "Name of the product, service, or subscription." + }, + "productServicePercentage": { + "type": "number", + "minimum": 0, + "maximum": 100, + "description": "Percentage of business revenue from this product or service." + } + } + } + } + } + }, + "ownerInformation": { + "type": "array", + "items": { + "type": "object", + "required": [ + "firstName", + "lastName", + "birthDate", + "isPrimary", + "hasSignificantResponsibility", + "nationalId", + "ownershipPercentage", + "nationality", + "dueDiligenceRequired", + "phoneNumberCountryCode", + "phoneNumber", + "email" + ], + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Owner's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Owner's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Owner's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Owner's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "isPrimary": { + "type": "boolean", + "description": "Primary Owner or Non-Primary Owner" + }, + "hasSignificantResponsibility": { + "type": "boolean", + "description": "If not an owner, is the user a Control Person" + }, + "ownerDirector": { + "type": "boolean", + "description": "Is the owner a Director as well?" + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "passportCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Passport Country. Two character country code, ISO 3166-1 alpha-2." + }, + "jobTitle": { + "type": "string", + "maxLength": 100, + "pattern": "^[\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u01ffa-zA-Z0-9().\\-_#,;/@$:!% ]{1,}$", + "description": "Owner's Job Title" + }, + "ownershipPercentage": { + "type": "number", + "minimum": 1, + "maximum": 100, + "description": "Percentage of the company that owner owns" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "dueDiligenceRequired": { + "type": "boolean", + "description": "Indicates if due diligence checks should be run for this owner" + }, + "phoneNumberCountryCode": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Phone number country. Two character country code, ISO 3166-1 alpha-2." + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Owner" + }, + "address": { + "type": "object", + "required": [ + "country", + "address1", + "locality", + "administrativeArea", + "postalCode" + ], + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the owner resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Owner's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Owner's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "Owner's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Owner's zip code (US) or postal code (Canada)" + } + } + } + } + } + }, + "directorInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 50, + "description": "Director's first name" + }, + "middleName": { + "type": "string", + "maxLength": 50, + "description": "Director's middle name" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Director's last name" + }, + "birthDate": { + "type": "string", + "format": "date", + "description": "Director's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016" + }, + "email": { + "type": "string", + "maxLength": 100, + "description": "Email address for Director" + }, + "phoneNumber": { + "type": "string", + "maxLength": 20, + "pattern": "^[0-9a-zA-Z\\\\+\\\\-]+$", + "description": "Owner's phone number" + }, + "nationality": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2." + }, + "nationalId": { + "type": "string", + "maxLength": 15, + "description": "Identification value from ID document" + }, + "idCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country of the ID document. Two character country code, ISO 3166-1 alpha-2." + }, + "passportNumber": { + "type": "string", + "maxLength": 12, + "description": "Passport Number" + }, + "address": { + "type": "object", + "properties": { + "country": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "description": "Country where the Director resides. Two character country code." + }, + "address1": { + "type": "string", + "minLength": 1, + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address." + }, + "address2": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Director's street address Continued" + }, + "buildingName": { + "type": "string", + "maxLength": 60, + "pattern": "^[0-9a-zA-Z _\\-\\#\\u00A1-\\uFFFF]+$", + "description": "Building Name" + }, + "locality": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's city" + }, + "administrativeArea": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[0-9a-zA-Z _\\-\\u00A1-\\uFFFF]+$", + "description": "Director's state (US) or province (Canada, others)" + }, + "postalCode": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "Director's zip code (US) or postal code (Canada)" + } + } + } + } + } + } + } + } + } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "description": "IP Address of the user that filled in the Merchant Application", + "type": "string" + }, + "fingerprintSessionId": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + }, + "userAgent": { + "description": "Info about the user that filled in the Merchant Application", + "type": "string" + } + } + }, + "depositInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the Bank Account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 15, + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "maxLength": 17, + "example": 111111111111110 + } + } + }, + "billingInformation": { + "type": "object", + "properties": { + "bankAccountInformation": { + "type": "object", + "properties": { + "bankAccountCountry": { + "description": "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "pattern": "^[a-zA-Z]*$", + "example": "US" + }, + "accountHolderName": { + "description": "Name on the checking account", + "type": "string", + "maxLength": 150, + "example": "Sarah Jane Smith" + }, + "accountType": { + "description": "Type of Account\n\nPossible Values:\n- CHECKING\n- SAVINGS\n- CORPORATECHECKING\n- CORPORATESAVINGS\n", + "type": "string", + "example": "CORPORATECHECKING" + }, + "accountRoutingNumber": { + "description": "Routing Number, IBAN, Swift/BIC, etc", + "type": "string", + "maxLength": 15, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111111 + }, + "accountNumber": { + "description": "Account Number", + "type": "string", + "maxLength": 17, + "pattern": "^[0-9a-zA-Z\\+\\-]+$", + "example": 111111111111110 + } + } + } + } + }, + "saleRepresentativeInformation": { + "type": "object", + "required": [ + "salesRepId", + "salesRepFirstName", + "salesRepLastName", + "salesRepEmail", + "salesRepNumericPhoneNumberCountryCode", + "salesRepPhoneNumber" + ], + "properties": { + "salesRepId": { + "description": "Sales rep Identifier", + "type": "string", + "maxLength": 60 + }, + "salesRepFirstName": { + "description": "Sales rep First Name", + "type": "string", + "maxLength": 50, + "example": "John" + }, + "salesRepLastName": { + "description": "Sales Rep Last Name", + "type": "string", + "maxLength": 50, + "example": "Johnson" + }, + "salesRepEmail": { + "description": "Sales Rep eMail", + "type": "string", + "maxLength": 100, + "example": "test@test.com" + }, + "salesRepNumericPhoneNumberCountryCode": { + "description": "Sales Rep Phone Number Country. Two character country code, ISO 3166-1 alpha-2.", + "type": "string", + "minLength": 2, + "maxLength": 2, + "example": "US" + }, + "salesRepPhoneNumber": { + "description": "Sales Rep Phone", + "type": "string", + "maxLength": 20, + "example": 4567890398 + } + } + }, + "fileAttachmentInformation": { + "type": "object", + "properties": { + "fileGroupId": { + "description": "The unique identifier for the file group", + "type": "string" + } + } + } + } + }, "additionalConfigurations": { "type": "array", "maxItems": 10, @@ -134521,148 +140132,238 @@ "configurations": { "type": "object", "properties": { - "pullfunds": { + "common": { "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": { + "properties": { + "paymentTypes": { + "type": "array", + "description": "List of card types supported by this merchant.\n", + "items": { "type": "string", "minLength": 1, - "maxLength": 4, - "description": "A 4 character max name abbreviation for the originator." - }, - "cardTerminalId": { + "maxLength": 30, + "description": "Possible values:\n- VISA\n- MASTERCARD" + } + }, + "businessApplicationId": { + "type": "array", + "description": "List of supported Business Application Indicators.\n", + "items": { "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." + "maxLength": 30, + "description": "Possible values:\n- AA\n- BB\n- BI\n- BP\n- CB\n- CD\n- CI\n- CO\n- CP\n- FD\n- FT\n- GD\n- GP\n- LA\n- LO\n- MD\n- MI\n- MP\n- OG\n- PD\n- PG\n- PP\n- PS\n- RP\n- TU\n- WT" + } + }, + "aggregator": { + "type": "object", + "properties": { + "id": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 11, + "description": "Marketplace or payment facilitator ID." + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 25, + "description": "Acceptor's legal business name associated with the card acceptor identification code." + }, + "subMerchantId": { + "type": "string", + "pattern": "^[a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 15, + "description": "Sub-merchant ID" + } } } } }, - "pushfunds": { + "processors": { "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": { + "description": "string [1 .. 40] characters\n\nThe name of the Payouts processor.\n", + "pattern": "^[A-Za-z0-9]+$", + "allOf": [ + { + "type": "object", + "properties": { + "acquirer": { + "type": "object", + "properties": { + "acquiringId": { "type": "string", - "maxLength": 8 + "pattern": "^\\d+$", + "minLength": 6, + "maxLength": 11, + "description": "This code identifies the financial institution acting as the acquirer.\n\nAlso known as:\n\n- Acquiring BIN\n- Acquiring Institution Identification Code\n" + }, + "country": { + "type": "string", + "description": "The acquirer's [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country code. \nPossible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" } - }, - "supportedCurrencies": { - "type": "array", - "description": "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)", - "items": { + } + }, + "currencies": { + "type": "array", + "description": "List of supported [ISO 4217](https://developer.cybersource.com/docs/cybs/en-us/currency-codes/reference/all/na/currency-codes/currency-codes.html) alpha-3 currency codes.", + "items": { + "type": "string", + "minLength": 3, + "maxLength": 3, + "description": "Possible values:\n- USD\n- AED\n- AFN\n- ALL\n- AMD\n- ANG\n- AOA\n- ARS\n- AUD\n- AWG\n- AZN\n- BAM\n- BBD\n- BDT\n- BGN\n- BHD\n- BIF\n- BMD\n- BND\n- BOB\n- BOX\n- BRL\n- BSD\n- BTN\n- BWP\n- BYR\n- BYN\n- BZD\n- CAD\n- CDF\n- CHF\n- CLF\n- CLP\n- CNY\n- COP\n- COU\n- CRC\n- CSK\n- CUC\n- CUP\n- CVE\n- CZK\n- DJF\n- DFF\n- DOP\n- DZD\n- EGP\n- ERN\n- ETB\n- EUR\n- FJD\n- FKP\n- GBP\n- GEL\n- GHS\n- GIP\n- GMD\n- GNF\n- GTQ\n- GWP\n- GYD\n- HKD\n- HNL\n- HTG\n- HUF\n- IDR\n- ILS\n- INR\n- IQD\n- IRR\n- ISK\n- HMD\n- JOD\n- JPY\n- KES\n- KGS\n- KHR\n- KMF\n- KPW\n- KRW\n- KWD\n- KYD\n- KZT\n- LAK\n- LBP\n- LRD\n- LSL\n- LTV\n- LVL\n- LYD\n- MAD\n- MDL\n- MGA\n- MKD\n- MMK\n- MNT\n- MOP\n- MRO\n- MUR\n- MVR\n- MWK\n- MXN\n- MYR\n- MZN\n- NAD\n- NGN\n- NIO\n- NOK\n- NPR\n- NZD\n- OMR\n- PAB\n- PEN\n- PGK\n- PHP\n- PKR\n- PLN\n- PYG\n- QAR\n- RON\n- RSD\n- RUB\n- RWF\n- SAR\n- SBD\n- SCR\n- SDG\n- SHP\n- SLE\n- SOS\n- SRD\n- SSP\n- STD\n- SVC\n- SYP\n- SZL\n- THB\n- TJS\n- TMT\n- TND\n- TOP\n- TRY\n- TTD\n- TWD\n- TZS\n- UAH\n- UGX\n- UYU\n- VEF\n- VND\n- VUV\n- WST\n- XAF\n- XCD\n- XOF\n- XPF\n- YER\n- ZAR\n- ZMK\n- ZMW\n- ZWD\n- ZWL" + } + }, + "countries": { + "type": "array", + "description": "List of [ISO 3166-1](https://developer.cybersource.com/docs/cybs/en-us/country-codes/reference/all/na/country-codes/country-codes.html) alpha-2 country codes", + "items": { + "type": "string", + "minLength": 2, + "maxLength": 2, + "description": "Possible values:\n- US\n- AF\n- AX\n- AL\n- DZ\n- AD\n- AO\n- AI\n- AQ\n- AG\n- AR\n- AM\n- AW\n- AU\n- AS\n- AT\n- AZ\n- BS\n- BH\n- BD\n- BB\n- BY\n- BE\n- BZ\n- BJ\n- BM\n- BT\n- BO\n- BA\n- BQ\n- BW\n- BV\n- BR\n- IO\n- VG\n- BN\n- BG\n- BF\n- BI\n- KH\n- CM\n- CA\n- CV\n- CW\n- KY\n- CF\n- TD\n- CL\n- CN\n- CX\n- CC\n- CO\n- KM\n- CD\n- CG\n- CK\n- CR\n- CI\n- HR\n- CU\n- CY\n- CZ\n- DK\n- DJ\n- DM\n- DO\n- EC\n- EG\n- SV\n- GQ\n- ER\n- EE\n- ET\n- FK\n- FO\n- FJ\n- FI\n- FR\n- GF\n- PF\n- TF\n- GA\n- GM\n- GE\n- DE\n- GH\n- GI\n- GR\n- GL\n- GD\n- GP\n- GU\n- GT\n- GG\n- GN\n- GW\n- GY\n- HT\n- HM\n- HN\n- HK\n- HU\n- IS\n- IN\n- ID\n- IR\n- IQ\n- IE\n- IM\n- IL\n- IT\n- JM\n- JP\n- JE\n- JO\n- KZ\n- KE\n- KI\n- KW\n- KG\n- LA\n- LV\n- LB\n- LS\n- LR\n- LY\n- LI\n- LT\n- LU\n- MO\n- MK\n- MG\n- MW\n- MY\n- MV\n- ML\n- MT\n- MH\n- MQ\n- MR\n- MU\n- YT\n- MX\n- FM\n- MD\n- MC\n- MN\n- ME\n- MS\n- MA\n- MZ\n- MM\n- NA\n- NR\n- NP\n- NL\n- AN\n- NC\n- NZ\n- NI\n- NE\n- NG\n- NU\n- NF\n- KP\n- MP\n- NO\n- OM\n- PK\n- PW\n- PS\n- PA\n- PG\n- PY\n- PE\n- PH\n- PN\n- PL\n- PT\n- PR\n- QA\n- RE\n- RO\n- RU\n- RW\n- BL\n- SH\n- KN\n- LC\n- MF\n- PM\n- VC\n- WS\n- SM\n- SS\n- ST\n- SX\n- SA\n- SN\n- RS\n- SC\n- SL\n- SG\n- SK\n- SI\n- SB\n- SO\n- ZA\n- GS\n- KR\n- ES\n- LK\n- SD\n- SR\n- SJ\n- SZ\n- SE\n- CH\n- SY\n- TW\n- TJ\n- TZ\n- TH\n- TL\n- TG\n- TK\n- TO\n- TT\n- TN\n- TR\n- TM\n- TC\n- TV\n- UG\n- UA\n- AE\n- GB\n- UM\n- UY\n- UZ\n- VU\n- VA\n- VE\n- VN\n- VI\n- WF\n- KV\n- EH\n- YE\n- ZM\n- ZW" + } + }, + "merchantId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 15, + "description": "A unique identifier value assigned by Visa for each merchant included in the identification program." + }, + "terminalId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "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." + }, + "businessCategoryValidation": { + "type": "boolean", + "description": "Default: false\n\nOverride Business Application Indicator and Merchant Category Code validations for payout transaction types.\n" + }, + "payoutsTransactionTypes": { + "type": "array", + "description": "The supported Payouts transaction types for the processor.\n", + "items": { + "type": "string", + "minLength": 19, + "maxLength": 20, + "description": "Possible values:\n- PULL_FUNDS_TRANSFER\n- PUSH_FUNDS_TRANSFER" + } + }, + "merchantPseudoAbaNumber": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 9, + "maxLength": 9, + "description": "This is a number that uniquely identifies the merchant for PPGS transactions.\n" + } + } + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "feeProgramId": { "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 3, "maxLength": 3, - "minLength": 3 + "description": "This field identifies the interchange fee program applicable to each financial transaction. Fee program indicator (FPI) values correspond to the fee descriptor and rate for each existing fee program.\n\nThis field can be regarded as informational only in all authorization messages.\n" + }, + "cpsAuthorizationCharacteristicsId": { + "type": "string", + "pattern": "^[A-Za-z]+$", + "minLength": 1, + "maxLength": 1, + "description": "The Authorization Characteristics Indicator (ACI) is a code used by the acquirer to request CPS qualification. If applicable, Visa changes the code to reflect the results of its CPS evaluation." + }, + "nationalReimbursementFee": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 1, + "maxLength": 12, + "description": "A client-supplied interchange amount." + }, + "settlementServiceId": { + "type": "string", + "description": "This flag enables the merchant to request for a particular settlement service to be used for settling the transaction. \nNote: The default value is VIP. This field is only relevant for specific countries where the acquirer has to select National Settlement in order to settle in the national net settlement service.change\n \nPossible values:\n- INTERNATIONAL_SETTLEMENT\n- VIP_TO_DECIDE\n- NATIONAL_SETTLEMENT" + }, + "sharingGroupCode": { + "type": "string", + "minLength": 6, + "maxLength": 16, + "description": "This U.S.-only field is optionally used by PIN Debit Gateway Service participants (merchants and acquirers) to specify the network access priority. VisaNet checks to determine if there are issuer routing preferences for a network 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 issuer preference. If an preference exists for multiple specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on acquirer routing priorities. \nPossible values:\n- ACCEL_EXCHANGE_E\n- CU24_C\n- INTERLINK_G\n- MAESTRO_8\n- NYCE_Y\n- NYCE_F\n- PULSE_S\n- PULSE_L\n- PULSE_H\n- STAR_N\n- STAR_W\n- STAR_Z\n- STAR_Q\n- STAR_M\n- VISA_V" + }, + "allowCryptoCurrencyPurchase": { + "type": "boolean", + "description": "This field allows a merchant to send a flag that specifies whether the payment is for the purchase of cryptocurrency." + }, + "merchantMvv": { + "type": "string", + "pattern": "^\\d+$", + "minLength": 10, + "maxLength": 10, + "description": "Merchant Verification Value (MVV) is used to identify merchants that participate in a variety of programs. The MVV is unique to the merchant." + }, + "electronicCommerceId": { + "type": "string", + "minLength": 1, + "maxLength": 20, + "description": "This code identifies the level of security used in an electronic commerce transaction over an open network (for example, the Internet). \nPossible values:\n- INTERNET\n- RECURRING\n- RECURRING_INTERNET\n- VBV_FAILURE\n- VBV_ATTEMPTED\n- VBV\n- SPA_FAILURE\n- SPA_ATTEMPTED\n- SPA" } } } - }, - "description": "TBD" + ] + }, + { + "type": "object", + "allOf": [ + { + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 22, + "maxLength": 22, + "description": "The merchant statement descriptor. The statement descriptor is a string which will be displayed on the recipient's bank or card statement." + } + } + }, + "operatingEnvironment": { + "type": "string", + "minLength": 1, + "maxLength": 22, + "description": "Initiation channel of the transfer request. \n \nPossible values:\n- WEB\n- MOBILE\n- BANK\n- KIOSK" + }, + "interchangeRateDesignator": { + "type": "string", + "pattern": "^[A-Za-z0-9]+$", + "minLength": 2, + "maxLength": 2, + "description": "The IRD used for clearing the transaction on the Mastercard network." + }, + "participationId": { + "type": "string", + "pattern": "^[A-Za-z0-9!@#$%^&*(),.?\":{}|<>]+$", + "minLength": 30, + "maxLength": 30, + "description": "Participation identifier of the sender. The receiving financial institution will associate the value to the transfer." + } + } + } + ] } - } + ] } } } @@ -141233,8 +146934,13 @@ "description": "Configure Unified Checkout to display combo card at checkout.
\n\nA combo debit/credit card is a single card that functions both as a Debit/Credit card. \nUnified Checkout / Click to Pay Drop-in UI allows the Cardholder to choose whether they would like the transaction to be paid for using either debit or credit card.\n**Important:** This is applicable to Visa cards only.\n\nPossible values:\n- True \n- False

\n\n**Use Cases:**\n\n**Offer Combo Card at Checkout:** \n- Include the captureMandate.comboCard field in the capture context request and set it to true.\n- When set to true, Combo Card selection is shown at checkout

\n\n**Do not offer Combo Card at Checkout:** \n- Include the captureMandate.comboCard field in the capture context request and set it to false OR omit the field from the capture context request.\n- The Combo Card selection is not shown at checkout.\n" }, "CPF": { - "type": "boolean", - "description": "Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas F\u00edsicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes.\n\nPossible values:\n- True\n- False

\n\nThis field is optional. \nIf set to true the field is required.\nIf set to false the field is optional.\nIf the field is not included in the capture context then it is not captured.

\n\n**Important:**\n - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered.\n - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered.\n" + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas F\u00edsicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes.\n\nPossible values:\n- True\n- False

\n\nThis field is optional. \nIf set to true the field is required.\nIf set to false the field is optional.\nIf the field is not included in the capture context then it is not captured.

\n\n**Important:**\n - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered.\n - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered.\n" + } + } } } }, @@ -141552,7 +147258,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141598,7 +147304,7 @@ "example1": { "summary": "Generate Unified Checkout Capture Context With Full List of Card Networks", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141657,7 +147363,7 @@ "example2": { "summary": "Generate Unified Checkout Capture Context With Custom Google Payment Options", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141711,7 +147417,7 @@ "example3": { "summary": "Generate Unified Checkout Capture Context With Autocheck Enrollment", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141759,7 +147465,7 @@ "example4": { "summary": "Generate Unified Checkout Capture Context (Opt-out of receiving card number prefix)", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141808,7 +147514,7 @@ "example5": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141823,8 +147529,7 @@ "CLICKTOPAY", "GOOGLEPAY", "PANENTRY", - "PAZE", - "AFTERPAY" + "PAZE" ], "country": "US", "locale": "en_US", @@ -141900,9 +147605,9 @@ } }, "example6": { - "summary": "Generate Capture Context For Click To Pay Drop-In UI", + "summary": "Generate Unified Checkout Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.28", + "clientVersion": "0.30", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -141934,6 +147639,562 @@ } } } + }, + "example7": { + "summary": "Generate Unified Checkout Capture Context ($ Afterpay (US))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "US", + "locale": "en_US", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "US", + "CA" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "USD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Galleria Road", + "administrativeArea": "TX", + "buildingNumber": 2, + "country": "US", + "locality": "Houston", + "postalCode": "22096" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "AL", + "buildingNumber": 2, + "country": "CA", + "locality": "Calgary", + "postalCode": "T2B 4N3" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example8": { + "summary": "Generate Unified Checkout Capture Context (Afterpay (CAN))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "CA", + "locale": "en_US", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "US", + "CA" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "CAD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Galleria Road", + "administrativeArea": "AL", + "buildingNumber": 2, + "country": "CA", + "locality": "Calgary", + "postalCode": "T2B 4N3" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "AL", + "buildingNumber": 2, + "country": "CA", + "locality": "Calgary", + "postalCode": "T2B 543" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example9": { + "summary": "Generate Unified Checkout Capture Context (Clearpay (GB))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "GB", + "locale": "en_GB", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "GB", + "ES", + "IT", + "PT" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "GBP" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Square Street", + "administrativeArea": "Devon", + "buildingNumber": 2, + "country": "GB", + "locality": "Plymouth", + "postalCode": "PL1 1AS" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example10": { + "summary": "Generate Unified Checkout Capture Context (Afterpay (AU))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "AU", + "locale": "en_GB", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "AU", + "NZ" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "AUD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Ocean Road", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "AU", + "locality": "Sydney", + "postalCode": "2000" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Springtown Road", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "AU", + "locality": "Sydney", + "postalCode": "2000" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example11": { + "summary": "Generate Unified Checkout Capture Context (Afterpay (NZ))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "AFTERPAY" + ], + "country": "NZ", + "locale": "en_GB", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "AU", + "NZ" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "NZD" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "277 Maranui Avenue", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "NZ", + "locality": "Auckland", + "postalCode": "1022" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Springtown Road", + "administrativeArea": "NSW", + "buildingNumber": 2, + "country": "AU", + "locality": "Sydney", + "postalCode": "2000" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" + }, + "example12": { + "summary": "Generate Unified Checkout Capture Context (iDEAL (NL))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "IDEAL" + ], + "country": "NL", + "locale": "en_NL", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "NL", + "GB" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "Stationsstraat 12", + "administrativeArea": "NL-NH", + "buildingNumber": 2, + "country": "NL", + "locality": "Amsterdam", + "postalCode": "1071 JA" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example13": { + "summary": "Generate Unified Checkout Capture Context (Multibanco (PT))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "MULTIBANCO" + ], + "country": "PT", + "locale": "pt-PT", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PT", + "ES", + "GB" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "Rua da Liberdade 10", + "administrativeArea": "Mafra", + "buildingNumber": 2, + "country": "PT", + "locality": "Lisboa", + "postalCode": "1234-567" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example14": { + "summary": "Generate Unified Checkout Capture Context (Przelewy24|P24 (PL))", + "value": { + "clientVersion": "0.30", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "P24" + ], + "country": "PL", + "locale": "pl-PL", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PL", + "GB", + "BE" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "john.doe@visa.com", + "firstName": "John", + "lastName": "Doe", + "address1": "Ulica Podhalanska 2", + "administrativeArea": "Wroclaw", + "buildingNumber": 2, + "country": "PL", + "locality": "Gdansk", + "postalCode": "80-322" + }, + "shipTo": { + "firstName": "Joe", + "lastName": "Sims", + "address1": "15-17 Gloucester Street", + "administrativeArea": "NIR", + "buildingNumber": 2, + "country": "GB", + "locality": "Belfast", + "postalCode": "BT6 8JW" + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" } }, "responses": { @@ -143416,6 +149677,447 @@ } } } + }, + "/bavs/v1/account-validations": { + "post": { + "summary": "Visa Bank Account Validation Service", + "description": "The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions.\n", + "tags": [ + "bankAccountValidation" + ], + "operationId": "bankAccountValidationRequest", + "x-devcenter-metaData": { + "categoryTag": "Visa_Bank_Account_Validation", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/visa-bank-validation/merchant/all/rest/visa-bank-accoun-val/visa-bank-acc-val-about-guide.html", + "firstLevelApiLifeCycle": "pilot", + "secondLevelApiLifeCycle": "pilot", + "apiLifeCycle": "pilot", + "mleForRequest": "mandatory", + "mleForResponse": "false", + "disableProcessorDropDown": true, + "authorizationType": [ + "Json Web Token" + ], + "overrideMerchantCredential": "echecktestdevcenter001", + "SDK_ONLY_AddDisclaimer": true + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "parameters": [ + { + "name": "accountValidationsRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "required": [ + "processingInformation", + "paymentInformation" + ], + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client reference code", + "example": "TC50171_3" + } + } + }, + "processingInformation": { + "type": "object", + "required": [ + "validationLevel" + ], + "properties": { + "validationLevel": { + "type": "integer", + "description": "Enter 1 for routing and account number validation.\n" + } + } + }, + "paymentInformation": { + "type": "object", + "required": [ + "bank" + ], + "properties": { + "bank": { + "type": "object", + "required": [ + "routingNumber", + "account" + ], + "properties": { + "routingNumber": { + "type": "string", + "maxLength": 9, + "description": "Bank routing number. This is also called the transit number.\n\nNon-Negative Integer\n", + "example": 123456789 + }, + "account": { + "type": "object", + "required": [ + "number" + ], + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account Number.\n\nNon-Negative Integer.\nexample: 12345678901234577\n" + } + } + } + } + } + } + } + } + } + } + ], + "responses": { + "200": { + "description": "Successful response.", + "schema": { + "type": "object", + "properties": { + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client reference code", + "example": "TC50171_3" + } + } + }, + "requestId": { + "type": "string", + "description": "Request Id sent as part of the request." + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "bankAccountValidation": { + "type": "object", + "properties": { + "rawValidationCode": { + "type": "integer", + "description": "Raw Validation Codes for routing number and account number\n\n Possible values:\n \u2022 -1: Unable to perform validation/Unknown error\n \u2022 -2: Service Unavailable\n \u2022 12 to 16: Validation results\n" + }, + "resultCode": { + "type": "integer", + "description": "Result codes for account number and routing number\n\n Possible values: 00, 04, 98, 99\n" + }, + "resultMessage": { + "type": "string" + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time verification was requested\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n - `INVALID_REQUEST`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `INVALID_REQUEST`\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.\n" + }, + "reason": { + "type": "string", + "description": "Possible reasons for the error.\n\nPossible values:\n - `MISSING_FIELD`\n - `INVALID_DATA`\n" + } + } + } + } + } + } + }, + "403": { + "description": "Authorization failure.", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n - `UNAUTHORIZED`\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `UNAUTHORIZED`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason.\n" + } + } + } + }, + "404": { + "description": "Resource Not Found", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "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", + "description": "The status of the submitted request. \nPossible values:\n- NOT_FOUND" + }, + "reason": { + "type": "string", + "description": "The reason of the status. \nPossible values:\n- NOT_FOUND" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason listed above." + } + } + } + }, + "422": { + "description": "Unprocessable Entity.", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC.\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n - `VALIDATION_ERROR`\n" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `PRODUCT_INACTIVE`\n - `INVALID_MERCHANT_CONFIGURATION`\n - `PRODUCT_NOT_CONFIGURED`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason.\n" + } + } + } + }, + "502": { + "description": "Internal Server error", + "headers": { + "v-c-correlationid": { + "type": "string", + "description": "Unique identifier for this request" + } + }, + "schema": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time verification was requested\n\nFormat: `YYYY-MM-DDThhmmssZ`, where:\n- `T`: Separates the date and the time\n- `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT)\n\nExample: `2020-01-11T224757Z`\nequals January 11, 2020, at 22:47:57 (10:47:57 p.m.)\n" + }, + "status": { + "type": "string", + "description": "The status of the submitted transaction.\nPossible values:\n - `SERVER_ERROR`\n" + }, + "message": { + "type": "string", + "description": "The detail message related to the status and reason" + }, + "reason": { + "type": "string", + "description": "The reason of the status.\n\nPossible values:\n - `SYSTEM_ERROR`\n - `SERVER_TIMEOUT`\n - `SERVICE_TIMEOUT`\n" + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Bank Account Validation - Validated", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99970" + } + } + } + }, + "response0": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:18:42Z", + "bankAccountValidation": { + "rawValidationCode": 12, + "resultCode": "00", + "resultMessage": "Validated" + } + } + }, + "example1": { + "summary": "Bank Account Validation - Not Validated", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99941" + } + } + } + }, + "response1": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:19:35Z", + "bankAccountValidation": { + "rawValidationCode": 16, + "resultCode": "04", + "resultMessage": "Not Validated" + } + } + }, + "example2": { + "summary": "Bank Account Validation - Unable to perform validation", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99950" + } + } + } + }, + "response2": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:21:17Z", + "bankAccountValidation": { + "rawValidationCode": -1, + "resultCode": "98", + "resultMessage": "Unable to perform validation - No information found" + } + } + }, + "example3": { + "summary": "Bank Account Validation - Service Unavailable", + "value": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "processingInformation": { + "validationLevel": 1 + }, + "paymentInformation": { + "bank": { + "routingNumber": "041210163", + "account": { + "number": "99980" + } + } + } + }, + "response3": { + "clientReferenceInformation": { + "code": "TC50171_100" + }, + "requestId": "5805429916863232235535", + "submitTimeUtc": "2025-02-03T23:21:54Z", + "bankAccountValidation": { + "rawValidationCode": -2, + "resultCode": "99", + "resultMessage": "Service Unavailable" + } + } + } + } + } } } } \ No newline at end of file diff --git a/generator/cybersource_java_sdk_gen.bat b/generator/cybersource_java_sdk_gen.bat index dd1bdeae5..e538ad335 100644 --- a/generator/cybersource_java_sdk_gen.bat +++ b/generator/cybersource_java_sdk_gen.bat @@ -25,6 +25,8 @@ git checkout ..\src\main\java\Api\OAuthApi.java git checkout ..\src\main\java\Api\BatchUploadwithMTLSApi.java git checkout ..\src\main\java\Model\AccessTokenResponse.java git checkout ..\src\main\java\Model\CreateAccessTokenRequest.java +git checkout ..\src\main\java\Invokers\HttpClientFactory.java +git checkout ..\src\main\java\Invokers\HttpClientFactoryAdditionalSettings.java git checkout ..\pom.xml git checkout ..\README.md diff --git a/pom.xml b/pom.xml index 1e76dc247..9bfba2789 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ cybersource-rest-client-java jar cybersource-rest-client-java - 0.0.82-SNAPSHOT + 0.0.82 http://developer.cybersource.com Cybersource Rest Client SDK @@ -304,7 +304,7 @@ com.cybersource AuthenticationSdk - 0.0.38 + 0.0.39 diff --git a/src/main/java/Api/BankAccountValidationApi.java b/src/main/java/Api/BankAccountValidationApi.java new file mode 100644 index 000000000..21ba719f8 --- /dev/null +++ b/src/main/java/Api/BankAccountValidationApi.java @@ -0,0 +1,220 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Invokers.ApiCallback; +import Invokers.ApiClient; +import Invokers.ApiException; +import Invokers.ApiResponse; +import Invokers.Configuration; +import Invokers.Pair; +import Invokers.ProgressRequestBody; +import Invokers.ProgressResponseBody; + +import com.cybersource.authsdk.core.ConfigException; +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; +import java.io.InputStream; + + +import Model.AccountValidationsRequest; +import Model.InlineResponse20013; +import Model.InlineResponse4009; +import Model.InlineResponse4033; +import Model.InlineResponse4045; +import Model.InlineResponse4222; +import Model.InlineResponse5021; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import utilities.tracking.SdkTracker; +import com.cybersource.authsdk.util.mle.MLEUtility; +import com.cybersource.authsdk.util.mle.MLEException; + +public class BankAccountValidationApi { + private static Logger logger = LogManager.getLogger(BankAccountValidationApi.class); + + private ApiClient apiClient; + + public BankAccountValidationApi() { + this(Configuration.getDefaultApiClient()); + } + + public BankAccountValidationApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for bankAccountValidationRequest + * @param accountValidationsRequest (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call bankAccountValidationRequestCall(AccountValidationsRequest accountValidationsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(accountValidationsRequest, AccountValidationsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); + + String inboundMLEStatus = "mandatory"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "bankAccountValidationRequest,bankAccountValidationRequestAsync,bankAccountValidationRequestWithHttpInfo,bankAccountValidationRequestCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/bavs/v1/account-validations"; + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json;charset=utf-8" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json;charset=utf-8" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call bankAccountValidationRequestValidateBeforeCall(AccountValidationsRequest accountValidationsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'accountValidationsRequest' is set + if (accountValidationsRequest == null) { + logger.error("Missing the required parameter 'accountValidationsRequest' when calling bankAccountValidationRequest(Async)"); + throw new ApiException("Missing the required parameter 'accountValidationsRequest' when calling bankAccountValidationRequest(Async)"); + } + + + okhttp3.Call call = bankAccountValidationRequestCall(accountValidationsRequest, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Visa Bank Account Validation Service + * The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions. + *

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.

+ * @param accountValidationsRequest (required) + * @return InlineResponse20013 + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public InlineResponse20013 bankAccountValidationRequest(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'bankAccountValidationRequest' STARTED"); + ApiResponse resp = bankAccountValidationRequestWithHttpInfo(accountValidationsRequest); + logger.info("CALL TO METHOD 'bankAccountValidationRequest' ENDED"); + return resp.getData(); + } + + /** + * Visa Bank Account Validation Service + * The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions. + * @param accountValidationsRequest (required) + * @return ApiResponse<InlineResponse20013> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse bankAccountValidationRequestWithHttpInfo(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = bankAccountValidationRequestValidateBeforeCall(accountValidationsRequest, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Visa Bank Account Validation Service (asynchronously) + * The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions. + * @param accountValidationsRequest (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call bankAccountValidationRequestAsync(AccountValidationsRequest accountValidationsRequest, final ApiCallback callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = bankAccountValidationRequestValidateBeforeCall(accountValidationsRequest, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/src/main/java/Api/BatchesApi.java b/src/main/java/Api/BatchesApi.java index 026700ab8..f27a2717b 100644 --- a/src/main/java/Api/BatchesApi.java +++ b/src/main/java/Api/BatchesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -31,7 +32,7 @@ import Model.Body; import Model.InlineResponse20010; import Model.InlineResponse20011; -import Model.InlineResponse2009; +import Model.InlineResponse20012; import Model.InlineResponse202; import Model.InlineResponse4011; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchReportCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getBatchReportCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -133,7 +135,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getBatchReportValidateBeforeCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getBatchReportValidateBeforeCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'batchId' is set if (batchId == null) { @@ -155,12 +157,13 @@ private okhttp3.Call getBatchReportValidateBeforeCall(String batchId, final Prog * Retrieve a Batch Report * **Get Batch Report**<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) - Source record information including token ids, masked card number, expiration dates & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & card type. * @param batchId Unique identification number assigned to the submitted request. (required) - * @return InlineResponse20011 + * @return InlineResponse20012 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse20011 getBatchReport(String batchId) throws ApiException { + public InlineResponse20012 getBatchReport(String batchId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getBatchReport' STARTED"); - ApiResponse resp = getBatchReportWithHttpInfo(batchId); + ApiResponse resp = getBatchReportWithHttpInfo(batchId); logger.info("CALL TO METHOD 'getBatchReport' ENDED"); return resp.getData(); } @@ -169,13 +172,14 @@ public InlineResponse20011 getBatchReport(String batchId) throws ApiException { * Retrieve a Batch Report * **Get Batch Report**<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) - Source record information including token ids, masked card number, expiration dates & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & card type. * @param batchId Unique identification number assigned to the submitted request. (required) - * @return ApiResponse<InlineResponse20011> + * @return ApiResponse<InlineResponse20012> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getBatchReportWithHttpInfo(String batchId) throws ApiException { + public ApiResponse getBatchReportWithHttpInfo(String batchId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -186,8 +190,9 @@ public ApiResponse getBatchReportWithHttpInfo(String batchI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchReportAsync(String batchId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getBatchReportAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -210,7 +215,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -221,8 +226,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchStatusCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getBatchStatusCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -279,7 +285,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getBatchStatusValidateBeforeCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getBatchStatusValidateBeforeCall(String batchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'batchId' is set if (batchId == null) { @@ -301,12 +307,13 @@ private okhttp3.Call getBatchStatusValidateBeforeCall(String batchId, final Prog * 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) * @param batchId Unique identification number assigned to the submitted request. (required) - * @return InlineResponse20010 + * @return InlineResponse20011 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse20010 getBatchStatus(String batchId) throws ApiException { + public InlineResponse20011 getBatchStatus(String batchId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getBatchStatus' STARTED"); - ApiResponse resp = getBatchStatusWithHttpInfo(batchId); + ApiResponse resp = getBatchStatusWithHttpInfo(batchId); logger.info("CALL TO METHOD 'getBatchStatus' ENDED"); return resp.getData(); } @@ -315,13 +322,14 @@ public InlineResponse20010 getBatchStatus(String batchId) throws ApiException { * 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) * @param batchId Unique identification number assigned to the submitted request. (required) - * @return ApiResponse<InlineResponse20010> + * @return ApiResponse<InlineResponse20011> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getBatchStatusWithHttpInfo(String batchId) throws ApiException { + public ApiResponse getBatchStatusWithHttpInfo(String batchId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -332,8 +340,9 @@ public ApiResponse getBatchStatusWithHttpInfo(String batchI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchStatusAsync(String batchId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getBatchStatusAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -356,7 +365,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -370,8 +379,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchesListCall(Long offset, Long limit, String fromDate, String toDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getBatchesListCall(Long offset, Long limit, String fromDate, String toDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -435,7 +445,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getBatchesListValidateBeforeCall(Long offset, Long limit, String fromDate, String toDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getBatchesListValidateBeforeCall(Long offset, Long limit, String fromDate, String toDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getBatchesListCall(offset, limit, fromDate, toDate, progressListener, progressRequestListener); @@ -454,12 +464,13 @@ private okhttp3.Call getBatchesListValidateBeforeCall(Long offset, Long limit, S * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) * @param fromDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) * @param toDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) - * @return InlineResponse2009 + * @return InlineResponse20010 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2009 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException { + public InlineResponse20010 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getBatchesList' STARTED"); - ApiResponse resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate); + ApiResponse resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate); logger.info("CALL TO METHOD 'getBatchesList' ENDED"); return resp.getData(); } @@ -471,13 +482,14 @@ public InlineResponse2009 getBatchesList(Long offset, Long limit, String fromDat * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) * @param fromDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) * @param toDate ISO-8601 format: yyyyMMddTHHmmssZ (optional) - * @return ApiResponse<InlineResponse2009> + * @return ApiResponse<InlineResponse20010> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException { + public ApiResponse getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -491,8 +503,9 @@ public ApiResponse getBatchesListWithHttpInfo(Long offset, L * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getBatchesListAsync(Long offset, Long limit, String fromDate, String toDate, final ApiCallback callback) throws ApiException { + public okhttp3.Call getBatchesListAsync(Long offset, Long limit, String fromDate, String toDate, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -515,7 +528,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -526,8 +539,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postBatchCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postBatchCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(body, Body.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -580,7 +594,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postBatchValidateBeforeCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postBatchValidateBeforeCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'body' is set if (body == null) { @@ -604,8 +618,9 @@ private okhttp3.Call postBatchValidateBeforeCall(Body body, final ProgressRespon * @param body (required) * @return InlineResponse202 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse202 postBatch(Body body) throws ApiException { + public InlineResponse202 postBatch(Body body) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postBatch' STARTED"); ApiResponse resp = postBatchWithHttpInfo(body); logger.info("CALL TO METHOD 'postBatch' ENDED"); @@ -618,8 +633,9 @@ public InlineResponse202 postBatch(Body body) throws ApiException { * @param body (required) * @return ApiResponse<InlineResponse202> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postBatchWithHttpInfo(Body body) throws ApiException { + public ApiResponse postBatchWithHttpInfo(Body body) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postBatchValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -633,8 +649,9 @@ public ApiResponse postBatchWithHttpInfo(Body body) throws Ap * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postBatchAsync(Body body, final ApiCallback callback) throws ApiException { + public okhttp3.Call postBatchAsync(Body body, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/BillingAgreementsApi.java b/src/main/java/Api/BillingAgreementsApi.java index 9f0795a1f..f69b8067e 100644 --- a/src/main/java/Api/BillingAgreementsApi.java +++ b/src/main/java/Api/BillingAgreementsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -78,8 +79,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call billingAgreementsDeRegistrationCall(ModifyBillingAgreement modifyBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call billingAgreementsDeRegistrationCall(ModifyBillingAgreement modifyBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(modifyBillingAgreement, ModifyBillingAgreement.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -133,7 +135,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call billingAgreementsDeRegistrationValidateBeforeCall(ModifyBillingAgreement modifyBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call billingAgreementsDeRegistrationValidateBeforeCall(ModifyBillingAgreement modifyBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'modifyBillingAgreement' is set if (modifyBillingAgreement == null) { @@ -164,8 +166,9 @@ private okhttp3.Call billingAgreementsDeRegistrationValidateBeforeCall(ModifyBil * @param id ID for de-registration or cancellation of Billing Agreement (required) * @return PtsV2ModifyBillingAgreementPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2ModifyBillingAgreementPost201Response billingAgreementsDeRegistration(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException { + public PtsV2ModifyBillingAgreementPost201Response billingAgreementsDeRegistration(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'billingAgreementsDeRegistration' STARTED"); ApiResponse resp = billingAgreementsDeRegistrationWithHttpInfo(modifyBillingAgreement, id); logger.info("CALL TO METHOD 'billingAgreementsDeRegistration' ENDED"); @@ -179,8 +182,9 @@ public PtsV2ModifyBillingAgreementPost201Response billingAgreementsDeRegistratio * @param id ID for de-registration or cancellation of Billing Agreement (required) * @return ApiResponse<PtsV2ModifyBillingAgreementPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse billingAgreementsDeRegistrationWithHttpInfo(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException { + public ApiResponse billingAgreementsDeRegistrationWithHttpInfo(ModifyBillingAgreement modifyBillingAgreement, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = billingAgreementsDeRegistrationValidateBeforeCall(modifyBillingAgreement, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -195,8 +199,9 @@ public ApiResponse billingAgreements * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call billingAgreementsDeRegistrationAsync(ModifyBillingAgreement modifyBillingAgreement, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call billingAgreementsDeRegistrationAsync(ModifyBillingAgreement modifyBillingAgreement, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -231,8 +236,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call billingAgreementsIntimationCall(IntimateBillingAgreement intimateBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call billingAgreementsIntimationCall(IntimateBillingAgreement intimateBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(intimateBillingAgreement, IntimateBillingAgreement.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -286,7 +292,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call billingAgreementsIntimationValidateBeforeCall(IntimateBillingAgreement intimateBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call billingAgreementsIntimationValidateBeforeCall(IntimateBillingAgreement intimateBillingAgreement, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'intimateBillingAgreement' is set if (intimateBillingAgreement == null) { @@ -317,8 +323,9 @@ private okhttp3.Call billingAgreementsIntimationValidateBeforeCall(IntimateBilli * @param id ID for intimation of Billing Agreement (required) * @return PtsV2CreditsPost201Response1 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2CreditsPost201Response1 billingAgreementsIntimation(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException { + public PtsV2CreditsPost201Response1 billingAgreementsIntimation(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'billingAgreementsIntimation' STARTED"); ApiResponse resp = billingAgreementsIntimationWithHttpInfo(intimateBillingAgreement, id); logger.info("CALL TO METHOD 'billingAgreementsIntimation' ENDED"); @@ -332,8 +339,9 @@ public PtsV2CreditsPost201Response1 billingAgreementsIntimation(IntimateBillingA * @param id ID for intimation of Billing Agreement (required) * @return ApiResponse<PtsV2CreditsPost201Response1> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse billingAgreementsIntimationWithHttpInfo(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException { + public ApiResponse billingAgreementsIntimationWithHttpInfo(IntimateBillingAgreement intimateBillingAgreement, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = billingAgreementsIntimationValidateBeforeCall(intimateBillingAgreement, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -348,8 +356,9 @@ public ApiResponse billingAgreementsIntimationWith * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call billingAgreementsIntimationAsync(IntimateBillingAgreement intimateBillingAgreement, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call billingAgreementsIntimationAsync(IntimateBillingAgreement intimateBillingAgreement, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -383,8 +392,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call billingAgreementsRegistrationCall(CreateBillingAgreement createBillingAgreement, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call billingAgreementsRegistrationCall(CreateBillingAgreement createBillingAgreement, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createBillingAgreement, CreateBillingAgreement.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -437,7 +447,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call billingAgreementsRegistrationValidateBeforeCall(CreateBillingAgreement createBillingAgreement, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call billingAgreementsRegistrationValidateBeforeCall(CreateBillingAgreement createBillingAgreement, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createBillingAgreement' is set if (createBillingAgreement == null) { @@ -461,8 +471,9 @@ private okhttp3.Call billingAgreementsRegistrationValidateBeforeCall(CreateBilli * @param createBillingAgreement (required) * @return PtsV2CreateBillingAgreementPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2CreateBillingAgreementPost201Response billingAgreementsRegistration(CreateBillingAgreement createBillingAgreement) throws ApiException { + public PtsV2CreateBillingAgreementPost201Response billingAgreementsRegistration(CreateBillingAgreement createBillingAgreement) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'billingAgreementsRegistration' STARTED"); ApiResponse resp = billingAgreementsRegistrationWithHttpInfo(createBillingAgreement); logger.info("CALL TO METHOD 'billingAgreementsRegistration' ENDED"); @@ -475,8 +486,9 @@ public PtsV2CreateBillingAgreementPost201Response billingAgreementsRegistration( * @param createBillingAgreement (required) * @return ApiResponse<PtsV2CreateBillingAgreementPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse billingAgreementsRegistrationWithHttpInfo(CreateBillingAgreement createBillingAgreement) throws ApiException { + public ApiResponse billingAgreementsRegistrationWithHttpInfo(CreateBillingAgreement createBillingAgreement) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = billingAgreementsRegistrationValidateBeforeCall(createBillingAgreement, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -490,8 +502,9 @@ public ApiResponse billingAgreements * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call billingAgreementsRegistrationAsync(CreateBillingAgreement createBillingAgreement, final ApiCallback callback) throws ApiException { + public okhttp3.Call billingAgreementsRegistrationAsync(CreateBillingAgreement createBillingAgreement, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/BinLookupApi.java b/src/main/java/Api/BinLookupApi.java index 5b8fc87ca..1099c0031 100644 --- a/src/main/java/Api/BinLookupApi.java +++ b/src/main/java/Api/BinLookupApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAccountInfoCall(CreateBinLookupRequest createBinLookupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getAccountInfoCall(CreateBinLookupRequest createBinLookupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createBinLookupRequest, CreateBinLookupRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getAccountInfoValidateBeforeCall(CreateBinLookupRequest createBinLookupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getAccountInfoValidateBeforeCall(CreateBinLookupRequest createBinLookupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createBinLookupRequest' is set if (createBinLookupRequest == null) { @@ -152,8 +154,9 @@ private okhttp3.Call getAccountInfoValidateBeforeCall(CreateBinLookupRequest cre * @param createBinLookupRequest (required) * @return InlineResponse2012 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2012 getAccountInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException { + public InlineResponse2012 getAccountInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getAccountInfo' STARTED"); ApiResponse resp = getAccountInfoWithHttpInfo(createBinLookupRequest); logger.info("CALL TO METHOD 'getAccountInfo' ENDED"); @@ -166,8 +169,9 @@ public InlineResponse2012 getAccountInfo(CreateBinLookupRequest createBinLookupR * @param createBinLookupRequest (required) * @return ApiResponse<InlineResponse2012> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getAccountInfoWithHttpInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException { + public ApiResponse getAccountInfoWithHttpInfo(CreateBinLookupRequest createBinLookupRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAccountInfoValidateBeforeCall(createBinLookupRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -181,8 +185,9 @@ public ApiResponse getAccountInfoWithHttpInfo(CreateBinLooku * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAccountInfoAsync(CreateBinLookupRequest createBinLookupRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call getAccountInfoAsync(CreateBinLookupRequest createBinLookupRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/CaptureApi.java b/src/main/java/Api/CaptureApi.java index 84a428bc1..bc34d1b8d 100644 --- a/src/main/java/Api/CaptureApi.java +++ b/src/main/java/Api/CaptureApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -74,8 +75,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call capturePaymentCall(CapturePaymentRequest capturePaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call capturePaymentCall(CapturePaymentRequest capturePaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(capturePaymentRequest, CapturePaymentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -129,7 +131,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call capturePaymentValidateBeforeCall(CapturePaymentRequest capturePaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call capturePaymentValidateBeforeCall(CapturePaymentRequest capturePaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'capturePaymentRequest' is set if (capturePaymentRequest == null) { @@ -160,8 +162,9 @@ private okhttp3.Call capturePaymentValidateBeforeCall(CapturePaymentRequest capt * @param id The payment ID returned from a previous payment request. This ID links the capture to the payment. (required) * @return PtsV2PaymentsCapturesPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsCapturesPost201Response capturePayment(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException { + public PtsV2PaymentsCapturesPost201Response capturePayment(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'capturePayment' STARTED"); ApiResponse resp = capturePaymentWithHttpInfo(capturePaymentRequest, id); logger.info("CALL TO METHOD 'capturePayment' ENDED"); @@ -175,8 +178,9 @@ public PtsV2PaymentsCapturesPost201Response capturePayment(CapturePaymentRequest * @param id The payment ID returned from a previous payment request. This ID links the capture to the payment. (required) * @return ApiResponse<PtsV2PaymentsCapturesPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse capturePaymentWithHttpInfo(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException { + public ApiResponse capturePaymentWithHttpInfo(CapturePaymentRequest capturePaymentRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = capturePaymentValidateBeforeCall(capturePaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -191,8 +195,9 @@ public ApiResponse capturePaymentWithHttpI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call capturePaymentAsync(CapturePaymentRequest capturePaymentRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call capturePaymentAsync(CapturePaymentRequest capturePaymentRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ChargebackDetailsApi.java b/src/main/java/Api/ChargebackDetailsApi.java index f37c48505..accae0f0b 100644 --- a/src/main/java/Api/ChargebackDetailsApi.java +++ b/src/main/java/Api/ChargebackDetailsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getChargebackDetailsCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getChargebackDetailsCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getChargebackDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getChargebackDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -168,8 +170,9 @@ private okhttp3.Call getChargebackDetailsValidateBeforeCall(DateTime startTime, * @param organizationId Valid Organization Id (optional) * @return ReportingV3ChargebackDetailsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ChargebackDetailsGet200Response getChargebackDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ReportingV3ChargebackDetailsGet200Response getChargebackDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getChargebackDetails' STARTED"); ApiResponse resp = getChargebackDetailsWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getChargebackDetails' ENDED"); @@ -184,8 +187,9 @@ public ReportingV3ChargebackDetailsGet200Response getChargebackDetails(DateTime * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ChargebackDetailsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getChargebackDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ApiResponse getChargebackDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getChargebackDetailsValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -201,8 +205,9 @@ public ApiResponse getChargebackDeta * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getChargebackDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getChargebackDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ChargebackSummariesApi.java b/src/main/java/Api/ChargebackSummariesApi.java index 7997d0d38..d71c478a1 100644 --- a/src/main/java/Api/ChargebackSummariesApi.java +++ b/src/main/java/Api/ChargebackSummariesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getChargebackSummariesCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getChargebackSummariesCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getChargebackSummariesValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getChargebackSummariesValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -168,8 +170,9 @@ private okhttp3.Call getChargebackSummariesValidateBeforeCall(DateTime startTime * @param organizationId Valid Organization Id (optional) * @return ReportingV3ChargebackSummariesGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ChargebackSummariesGet200Response getChargebackSummaries(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ReportingV3ChargebackSummariesGet200Response getChargebackSummaries(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getChargebackSummaries' STARTED"); ApiResponse resp = getChargebackSummariesWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getChargebackSummaries' ENDED"); @@ -184,8 +187,9 @@ public ReportingV3ChargebackSummariesGet200Response getChargebackSummaries(DateT * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ChargebackSummariesGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getChargebackSummariesWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ApiResponse getChargebackSummariesWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getChargebackSummariesValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -201,8 +205,9 @@ public ApiResponse getChargebackSu * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getChargebackSummariesAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getChargebackSummariesAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ConversionDetailsApi.java b/src/main/java/Api/ConversionDetailsApi.java index 2a8ff9acb..2c3bb5ce6 100644 --- a/src/main/java/Api/ConversionDetailsApi.java +++ b/src/main/java/Api/ConversionDetailsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -74,8 +75,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getConversionDetailCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getConversionDetailCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -137,7 +139,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getConversionDetailValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getConversionDetailValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -169,8 +171,9 @@ private okhttp3.Call getConversionDetailValidateBeforeCall(DateTime startTime, D * @param organizationId Valid Organization Id (optional) * @return ReportingV3ConversionDetailsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ConversionDetailsGet200Response getConversionDetail(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ReportingV3ConversionDetailsGet200Response getConversionDetail(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getConversionDetail' STARTED"); ApiResponse resp = getConversionDetailWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getConversionDetail' ENDED"); @@ -185,8 +188,9 @@ public ReportingV3ConversionDetailsGet200Response getConversionDetail(DateTime s * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ConversionDetailsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getConversionDetailWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ApiResponse getConversionDetailWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getConversionDetailValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -202,8 +206,9 @@ public ApiResponse getConversionDeta * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getConversionDetailAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getConversionDetailAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/CreateNewWebhooksApi.java b/src/main/java/Api/CreateNewWebhooksApi.java index c71c6b477..3801db4a6 100644 --- a/src/main/java/Api/CreateNewWebhooksApi.java +++ b/src/main/java/Api/CreateNewWebhooksApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -29,7 +30,7 @@ import Model.CreateWebhook; -import Model.InlineResponse2003; +import Model.InlineResponse2004; import Model.InlineResponse2014; import Model.InlineResponse2015; import Model.SaveSymEgressKey; @@ -74,8 +75,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call findProductsToSubscribeCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call findProductsToSubscribeCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -132,7 +134,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call findProductsToSubscribeValidateBeforeCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call findProductsToSubscribeValidateBeforeCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'organizationId' is set if (organizationId == null) { @@ -154,12 +156,13 @@ private okhttp3.Call findProductsToSubscribeValidateBeforeCall(String organizati * 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. * @param organizationId The Organization Identifier. (required) - * @return List<InlineResponse2003> + * @return List<InlineResponse2004> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public List findProductsToSubscribe(String organizationId) throws ApiException { + public List findProductsToSubscribe(String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'findProductsToSubscribe' STARTED"); - ApiResponse> resp = findProductsToSubscribeWithHttpInfo(organizationId); + ApiResponse> resp = findProductsToSubscribeWithHttpInfo(organizationId); logger.info("CALL TO METHOD 'findProductsToSubscribe' ENDED"); return resp.getData(); } @@ -168,13 +171,14 @@ public List findProductsToSubscribe(String organizationId) t * 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. * @param organizationId The Organization Identifier. (required) - * @return ApiResponse<List<InlineResponse2003>> + * @return ApiResponse<List<InlineResponse2004>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException { + public ApiResponse> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -185,8 +189,9 @@ public ApiResponse> findProductsToSubscribeWithHttpInfo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call findProductsToSubscribeAsync(String organizationId, final ApiCallback> callback) throws ApiException { + public okhttp3.Call findProductsToSubscribeAsync(String organizationId, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -209,7 +214,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -220,8 +225,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV2WebhooksPostCall(CreateWebhook createWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call notificationSubscriptionsV2WebhooksPostCall(CreateWebhook createWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createWebhook, CreateWebhook.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -274,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call notificationSubscriptionsV2WebhooksPostValidateBeforeCall(CreateWebhook createWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call notificationSubscriptionsV2WebhooksPostValidateBeforeCall(CreateWebhook createWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = notificationSubscriptionsV2WebhooksPostCall(createWebhook, progressListener, progressRequestListener); @@ -292,8 +298,9 @@ private okhttp3.Call notificationSubscriptionsV2WebhooksPostValidateBeforeCall(C * @param createWebhook The webhook payload (optional) * @return InlineResponse2015 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2015 notificationSubscriptionsV2WebhooksPost(CreateWebhook createWebhook) throws ApiException { + public InlineResponse2015 notificationSubscriptionsV2WebhooksPost(CreateWebhook createWebhook) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksPost' STARTED"); ApiResponse resp = notificationSubscriptionsV2WebhooksPostWithHttpInfo(createWebhook); logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksPost' ENDED"); @@ -306,8 +313,9 @@ public InlineResponse2015 notificationSubscriptionsV2WebhooksPost(CreateWebhook * @param createWebhook The webhook payload (optional) * @return ApiResponse<InlineResponse2015> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse notificationSubscriptionsV2WebhooksPostWithHttpInfo(CreateWebhook createWebhook) throws ApiException { + public ApiResponse notificationSubscriptionsV2WebhooksPostWithHttpInfo(CreateWebhook createWebhook) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = notificationSubscriptionsV2WebhooksPostValidateBeforeCall(createWebhook, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -321,8 +329,9 @@ public ApiResponse notificationSubscriptionsV2WebhooksPostWi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV2WebhooksPostAsync(CreateWebhook createWebhook, final ApiCallback callback) throws ApiException { + public okhttp3.Call notificationSubscriptionsV2WebhooksPostAsync(CreateWebhook createWebhook, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -359,8 +368,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call saveSymEgressKeyCall(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call saveSymEgressKeyCall(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(saveSymEgressKey, SaveSymEgressKey.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -419,7 +429,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call saveSymEgressKeyValidateBeforeCall(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call saveSymEgressKeyValidateBeforeCall(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'vCSenderOrganizationId' is set if (vCSenderOrganizationId == null) { @@ -452,8 +462,9 @@ private okhttp3.Call saveSymEgressKeyValidateBeforeCall(String vCSenderOrganizat * @param saveSymEgressKey Provide egress Symmetric key information to save (create or store or refresh) (optional) * @return InlineResponse2014 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2014 saveSymEgressKey(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException { + public InlineResponse2014 saveSymEgressKey(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'saveSymEgressKey' STARTED"); ApiResponse resp = saveSymEgressKeyWithHttpInfo(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey); logger.info("CALL TO METHOD 'saveSymEgressKey' ENDED"); @@ -469,8 +480,9 @@ public InlineResponse2014 saveSymEgressKey(String vCSenderOrganizationId, String * @param saveSymEgressKey Provide egress Symmetric key information to save (create or store or refresh) (optional) * @return ApiResponse<InlineResponse2014> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse saveSymEgressKeyWithHttpInfo(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException { + public ApiResponse saveSymEgressKeyWithHttpInfo(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = saveSymEgressKeyValidateBeforeCall(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -487,8 +499,9 @@ public ApiResponse saveSymEgressKeyWithHttpInfo(String vCSen * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call saveSymEgressKeyAsync(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey, final ApiCallback callback) throws ApiException { + public okhttp3.Call saveSymEgressKeyAsync(String vCSenderOrganizationId, String vCPermissions, String vCCorrelationId, SaveSymEgressKey saveSymEgressKey, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/CreditApi.java b/src/main/java/Api/CreditApi.java index c14420932..e80834b4e 100644 --- a/src/main/java/Api/CreditApi.java +++ b/src/main/java/Api/CreditApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createCreditCall(CreateCreditRequest createCreditRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createCreditCall(CreateCreditRequest createCreditRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createCreditRequest, CreateCreditRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createCreditValidateBeforeCall(CreateCreditRequest createCreditRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createCreditValidateBeforeCall(CreateCreditRequest createCreditRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createCreditRequest' is set if (createCreditRequest == null) { @@ -151,8 +153,9 @@ private okhttp3.Call createCreditValidateBeforeCall(CreateCreditRequest createCr * @param createCreditRequest (required) * @return PtsV2CreditsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2CreditsPost201Response createCredit(CreateCreditRequest createCreditRequest) throws ApiException { + public PtsV2CreditsPost201Response createCredit(CreateCreditRequest createCreditRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createCredit' STARTED"); ApiResponse resp = createCreditWithHttpInfo(createCreditRequest); logger.info("CALL TO METHOD 'createCredit' ENDED"); @@ -165,8 +168,9 @@ public PtsV2CreditsPost201Response createCredit(CreateCreditRequest createCredit * @param createCreditRequest (required) * @return ApiResponse<PtsV2CreditsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createCreditWithHttpInfo(CreateCreditRequest createCreditRequest) throws ApiException { + public ApiResponse createCreditWithHttpInfo(CreateCreditRequest createCreditRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createCreditValidateBeforeCall(createCreditRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -180,8 +184,9 @@ public ApiResponse createCreditWithHttpInfo(CreateC * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createCreditAsync(CreateCreditRequest createCreditRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createCreditAsync(CreateCreditRequest createCreditRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/CustomerApi.java b/src/main/java/Api/CustomerApi.java index f65d43c72..a89767744 100644 --- a/src/main/java/Api/CustomerApi.java +++ b/src/main/java/Api/CustomerApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -79,8 +80,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteCustomerCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteCustomerCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -139,7 +141,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCustomerValidateBeforeCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteCustomerValidateBeforeCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -163,8 +165,9 @@ private okhttp3.Call deleteCustomerValidateBeforeCall(String customerId, String * @param customerId The Id of a Customer. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteCustomer(String customerId, String profileId) throws ApiException { + public void deleteCustomer(String customerId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteCustomer' STARTED"); deleteCustomerWithHttpInfo(customerId, profileId); @@ -177,8 +180,9 @@ public void deleteCustomer(String customerId, String profileId) throws ApiExcept * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteCustomerWithHttpInfo(String customerId, String profileId) throws ApiException { + public ApiResponse deleteCustomerWithHttpInfo(String customerId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteCustomerValidateBeforeCall(customerId, profileId, null, null); return apiClient.execute(call); @@ -192,8 +196,9 @@ public ApiResponse deleteCustomerWithHttpInfo(String customerId, String pr * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteCustomerAsync(String customerId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteCustomerAsync(String customerId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -227,8 +232,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getCustomerCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -287,7 +293,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerValidateBeforeCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getCustomerValidateBeforeCall(String customerId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -312,8 +318,9 @@ private okhttp3.Call getCustomerValidateBeforeCall(String customerId, String pro * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return PostCustomerRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostCustomerRequest getCustomer(String customerId, String profileId) throws ApiException { + public PostCustomerRequest getCustomer(String customerId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getCustomer' STARTED"); ApiResponse resp = getCustomerWithHttpInfo(customerId, profileId); logger.info("CALL TO METHOD 'getCustomer' ENDED"); @@ -327,8 +334,9 @@ public PostCustomerRequest getCustomer(String customerId, String profileId) thro * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<PostCustomerRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getCustomerWithHttpInfo(String customerId, String profileId) throws ApiException { + public ApiResponse getCustomerWithHttpInfo(String customerId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerValidateBeforeCall(customerId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -343,8 +351,9 @@ public ApiResponse getCustomerWithHttpInfo(String customerI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerAsync(String customerId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getCustomerAsync(String customerId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -381,8 +390,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchCustomerCall(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call patchCustomerCall(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerRequest, PatchCustomerRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -440,7 +450,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call patchCustomerValidateBeforeCall(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call patchCustomerValidateBeforeCall(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -473,8 +483,9 @@ private okhttp3.Call patchCustomerValidateBeforeCall(String customerId, PatchCus * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return PatchCustomerRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PatchCustomerRequest patchCustomer(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException { + public PatchCustomerRequest patchCustomer(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'patchCustomer' STARTED"); ApiResponse resp = patchCustomerWithHttpInfo(customerId, patchCustomerRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchCustomer' ENDED"); @@ -490,8 +501,9 @@ public PatchCustomerRequest patchCustomer(String customerId, PatchCustomerReques * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return ApiResponse<PatchCustomerRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse patchCustomerWithHttpInfo(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException { + public ApiResponse patchCustomerWithHttpInfo(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchCustomerValidateBeforeCall(customerId, patchCustomerRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -508,8 +520,9 @@ public ApiResponse patchCustomerWithHttpInfo(String custom * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchCustomerAsync(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException { + public okhttp3.Call patchCustomerAsync(String customerId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -544,8 +557,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postCustomerCall(PostCustomerRequest postCustomerRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postCustomerCall(PostCustomerRequest postCustomerRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerRequest, PostCustomerRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -600,7 +614,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postCustomerValidateBeforeCall(PostCustomerRequest postCustomerRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postCustomerValidateBeforeCall(PostCustomerRequest postCustomerRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'postCustomerRequest' is set if (postCustomerRequest == null) { @@ -625,8 +639,9 @@ private okhttp3.Call postCustomerValidateBeforeCall(PostCustomerRequest postCust * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return PostCustomerRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostCustomerRequest postCustomer(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException { + public PostCustomerRequest postCustomer(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postCustomer' STARTED"); ApiResponse resp = postCustomerWithHttpInfo(postCustomerRequest, profileId); logger.info("CALL TO METHOD 'postCustomer' ENDED"); @@ -640,8 +655,9 @@ public PostCustomerRequest postCustomer(PostCustomerRequest postCustomerRequest, * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<PostCustomerRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postCustomerWithHttpInfo(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException { + public ApiResponse postCustomerWithHttpInfo(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postCustomerValidateBeforeCall(postCustomerRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -656,8 +672,9 @@ public ApiResponse postCustomerWithHttpInfo(PostCustomerReq * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postCustomerAsync(PostCustomerRequest postCustomerRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postCustomerAsync(PostCustomerRequest postCustomerRequest, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/CustomerPaymentInstrumentApi.java b/src/main/java/Api/CustomerPaymentInstrumentApi.java index 7f2385ecc..f866e2b41 100644 --- a/src/main/java/Api/CustomerPaymentInstrumentApi.java +++ b/src/main/java/Api/CustomerPaymentInstrumentApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -81,8 +82,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteCustomerPaymentInstrumentCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteCustomerPaymentInstrumentCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -142,7 +144,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCustomerPaymentInstrumentValidateBeforeCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteCustomerPaymentInstrumentValidateBeforeCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -173,8 +175,9 @@ private okhttp3.Call deleteCustomerPaymentInstrumentValidateBeforeCall(String cu * @param paymentInstrumentId The Id of a payment instrument. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteCustomerPaymentInstrument(String customerId, String paymentInstrumentId, String profileId) throws ApiException { + public void deleteCustomerPaymentInstrument(String customerId, String paymentInstrumentId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteCustomerPaymentInstrument' STARTED"); deleteCustomerPaymentInstrumentWithHttpInfo(customerId, paymentInstrumentId, profileId); @@ -188,8 +191,9 @@ public void deleteCustomerPaymentInstrument(String customerId, String paymentIns * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteCustomerPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, String profileId) throws ApiException { + public ApiResponse deleteCustomerPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteCustomerPaymentInstrumentValidateBeforeCall(customerId, paymentInstrumentId, profileId, null, null); return apiClient.execute(call); @@ -204,8 +208,9 @@ public ApiResponse deleteCustomerPaymentInstrumentWithHttpInfo(String cust * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteCustomerPaymentInstrumentAsync(String customerId, String paymentInstrumentId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteCustomerPaymentInstrumentAsync(String customerId, String paymentInstrumentId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -240,8 +245,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerPaymentInstrumentCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getCustomerPaymentInstrumentCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -301,7 +307,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerPaymentInstrumentValidateBeforeCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getCustomerPaymentInstrumentValidateBeforeCall(String customerId, String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -333,8 +339,9 @@ private okhttp3.Call getCustomerPaymentInstrumentValidateBeforeCall(String custo * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return PostCustomerPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostCustomerPaymentInstrumentRequest getCustomerPaymentInstrument(String customerId, String paymentInstrumentId, String profileId) throws ApiException { + public PostCustomerPaymentInstrumentRequest getCustomerPaymentInstrument(String customerId, String paymentInstrumentId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getCustomerPaymentInstrument' STARTED"); ApiResponse resp = getCustomerPaymentInstrumentWithHttpInfo(customerId, paymentInstrumentId, profileId); logger.info("CALL TO METHOD 'getCustomerPaymentInstrument' ENDED"); @@ -349,8 +356,9 @@ public PostCustomerPaymentInstrumentRequest getCustomerPaymentInstrument(String * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<PostCustomerPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getCustomerPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, String profileId) throws ApiException { + public ApiResponse getCustomerPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerPaymentInstrumentValidateBeforeCall(customerId, paymentInstrumentId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -366,8 +374,9 @@ public ApiResponse getCustomerPaymentInstr * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerPaymentInstrumentAsync(String customerId, String paymentInstrumentId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getCustomerPaymentInstrumentAsync(String customerId, String paymentInstrumentId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -404,8 +413,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerPaymentInstrumentsListCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getCustomerPaymentInstrumentsListCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -468,7 +478,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerPaymentInstrumentsListValidateBeforeCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getCustomerPaymentInstrumentsListValidateBeforeCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -495,8 +505,9 @@ private okhttp3.Call getCustomerPaymentInstrumentsListValidateBeforeCall(String * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return PaymentInstrumentList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PaymentInstrumentList getCustomerPaymentInstrumentsList(String customerId, String profileId, Long offset, Long limit) throws ApiException { + public PaymentInstrumentList getCustomerPaymentInstrumentsList(String customerId, String profileId, Long offset, Long limit) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getCustomerPaymentInstrumentsList' STARTED"); ApiResponse resp = getCustomerPaymentInstrumentsListWithHttpInfo(customerId, profileId, offset, limit); logger.info("CALL TO METHOD 'getCustomerPaymentInstrumentsList' ENDED"); @@ -512,8 +523,9 @@ public PaymentInstrumentList getCustomerPaymentInstrumentsList(String customerId * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return ApiResponse<PaymentInstrumentList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getCustomerPaymentInstrumentsListWithHttpInfo(String customerId, String profileId, Long offset, Long limit) throws ApiException { + public ApiResponse getCustomerPaymentInstrumentsListWithHttpInfo(String customerId, String profileId, Long offset, Long limit) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerPaymentInstrumentsListValidateBeforeCall(customerId, profileId, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -530,8 +542,9 @@ public ApiResponse getCustomerPaymentInstrumentsListWithH * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerPaymentInstrumentsListAsync(String customerId, String profileId, Long offset, Long limit, final ApiCallback callback) throws ApiException { + public okhttp3.Call getCustomerPaymentInstrumentsListAsync(String customerId, String profileId, Long offset, Long limit, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -569,8 +582,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchCustomersPaymentInstrumentCall(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call patchCustomersPaymentInstrumentCall(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerPaymentInstrumentRequest, PatchCustomerPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -629,7 +643,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call patchCustomersPaymentInstrumentValidateBeforeCall(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call patchCustomersPaymentInstrumentValidateBeforeCall(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -669,8 +683,9 @@ private okhttp3.Call patchCustomersPaymentInstrumentValidateBeforeCall(String cu * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return PatchCustomerPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PatchCustomerPaymentInstrumentRequest patchCustomersPaymentInstrument(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { + public PatchCustomerPaymentInstrumentRequest patchCustomersPaymentInstrument(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'patchCustomersPaymentInstrument' STARTED"); ApiResponse resp = patchCustomersPaymentInstrumentWithHttpInfo(customerId, paymentInstrumentId, patchCustomerPaymentInstrumentRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchCustomersPaymentInstrument' ENDED"); @@ -687,8 +702,9 @@ public PatchCustomerPaymentInstrumentRequest patchCustomersPaymentInstrument(Str * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return ApiResponse<PatchCustomerPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse patchCustomersPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException { + public ApiResponse patchCustomersPaymentInstrumentWithHttpInfo(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchCustomersPaymentInstrumentValidateBeforeCall(customerId, paymentInstrumentId, patchCustomerPaymentInstrumentRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -706,8 +722,9 @@ public ApiResponse patchCustomersPaymentI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchCustomersPaymentInstrumentAsync(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException { + public okhttp3.Call patchCustomersPaymentInstrumentAsync(String customerId, String paymentInstrumentId, PatchCustomerPaymentInstrumentRequest patchCustomerPaymentInstrumentRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -743,8 +760,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postCustomerPaymentInstrumentCall(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postCustomerPaymentInstrumentCall(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerPaymentInstrumentRequest, PostCustomerPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -800,7 +818,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postCustomerPaymentInstrumentValidateBeforeCall(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postCustomerPaymentInstrumentValidateBeforeCall(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -832,8 +850,9 @@ private okhttp3.Call postCustomerPaymentInstrumentValidateBeforeCall(String cust * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return PostCustomerPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrument(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId) throws ApiException { + public PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrument(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postCustomerPaymentInstrument' STARTED"); ApiResponse resp = postCustomerPaymentInstrumentWithHttpInfo(customerId, postCustomerPaymentInstrumentRequest, profileId); logger.info("CALL TO METHOD 'postCustomerPaymentInstrument' ENDED"); @@ -848,8 +867,9 @@ public PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrument(String * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<PostCustomerPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postCustomerPaymentInstrumentWithHttpInfo(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId) throws ApiException { + public ApiResponse postCustomerPaymentInstrumentWithHttpInfo(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postCustomerPaymentInstrumentValidateBeforeCall(customerId, postCustomerPaymentInstrumentRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -865,8 +885,9 @@ public ApiResponse postCustomerPaymentInst * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postCustomerPaymentInstrumentAsync(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postCustomerPaymentInstrumentAsync(String customerId, PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/CustomerShippingAddressApi.java b/src/main/java/Api/CustomerShippingAddressApi.java index 7373d29b7..dfbf1467c 100644 --- a/src/main/java/Api/CustomerShippingAddressApi.java +++ b/src/main/java/Api/CustomerShippingAddressApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -81,8 +82,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteCustomerShippingAddressCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteCustomerShippingAddressCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -142,7 +144,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCustomerShippingAddressValidateBeforeCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteCustomerShippingAddressValidateBeforeCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -173,8 +175,9 @@ private okhttp3.Call deleteCustomerShippingAddressValidateBeforeCall(String cust * @param shippingAddressId The Id of a shipping address. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteCustomerShippingAddress(String customerId, String shippingAddressId, String profileId) throws ApiException { + public void deleteCustomerShippingAddress(String customerId, String shippingAddressId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteCustomerShippingAddress' STARTED"); deleteCustomerShippingAddressWithHttpInfo(customerId, shippingAddressId, profileId); @@ -188,8 +191,9 @@ public void deleteCustomerShippingAddress(String customerId, String shippingAddr * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteCustomerShippingAddressWithHttpInfo(String customerId, String shippingAddressId, String profileId) throws ApiException { + public ApiResponse deleteCustomerShippingAddressWithHttpInfo(String customerId, String shippingAddressId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteCustomerShippingAddressValidateBeforeCall(customerId, shippingAddressId, profileId, null, null); return apiClient.execute(call); @@ -204,8 +208,9 @@ public ApiResponse deleteCustomerShippingAddressWithHttpInfo(String custom * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteCustomerShippingAddressAsync(String customerId, String shippingAddressId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteCustomerShippingAddressAsync(String customerId, String shippingAddressId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -240,8 +245,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerShippingAddressCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getCustomerShippingAddressCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -301,7 +307,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerShippingAddressValidateBeforeCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getCustomerShippingAddressValidateBeforeCall(String customerId, String shippingAddressId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -333,8 +339,9 @@ private okhttp3.Call getCustomerShippingAddressValidateBeforeCall(String custome * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return PostCustomerShippingAddressRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostCustomerShippingAddressRequest getCustomerShippingAddress(String customerId, String shippingAddressId, String profileId) throws ApiException { + public PostCustomerShippingAddressRequest getCustomerShippingAddress(String customerId, String shippingAddressId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getCustomerShippingAddress' STARTED"); ApiResponse resp = getCustomerShippingAddressWithHttpInfo(customerId, shippingAddressId, profileId); logger.info("CALL TO METHOD 'getCustomerShippingAddress' ENDED"); @@ -349,8 +356,9 @@ public PostCustomerShippingAddressRequest getCustomerShippingAddress(String cust * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<PostCustomerShippingAddressRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getCustomerShippingAddressWithHttpInfo(String customerId, String shippingAddressId, String profileId) throws ApiException { + public ApiResponse getCustomerShippingAddressWithHttpInfo(String customerId, String shippingAddressId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerShippingAddressValidateBeforeCall(customerId, shippingAddressId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -366,8 +374,9 @@ public ApiResponse getCustomerShippingAddres * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerShippingAddressAsync(String customerId, String shippingAddressId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getCustomerShippingAddressAsync(String customerId, String shippingAddressId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -404,8 +413,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerShippingAddressesListCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getCustomerShippingAddressesListCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -468,7 +478,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getCustomerShippingAddressesListValidateBeforeCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getCustomerShippingAddressesListValidateBeforeCall(String customerId, String profileId, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -495,8 +505,9 @@ private okhttp3.Call getCustomerShippingAddressesListValidateBeforeCall(String c * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return ShippingAddressListForCustomer * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ShippingAddressListForCustomer getCustomerShippingAddressesList(String customerId, String profileId, Long offset, Long limit) throws ApiException { + public ShippingAddressListForCustomer getCustomerShippingAddressesList(String customerId, String profileId, Long offset, Long limit) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getCustomerShippingAddressesList' STARTED"); ApiResponse resp = getCustomerShippingAddressesListWithHttpInfo(customerId, profileId, offset, limit); logger.info("CALL TO METHOD 'getCustomerShippingAddressesList' ENDED"); @@ -512,8 +523,9 @@ public ShippingAddressListForCustomer getCustomerShippingAddressesList(String cu * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return ApiResponse<ShippingAddressListForCustomer> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getCustomerShippingAddressesListWithHttpInfo(String customerId, String profileId, Long offset, Long limit) throws ApiException { + public ApiResponse getCustomerShippingAddressesListWithHttpInfo(String customerId, String profileId, Long offset, Long limit) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCustomerShippingAddressesListValidateBeforeCall(customerId, profileId, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -530,8 +542,9 @@ public ApiResponse getCustomerShippingAddressesL * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCustomerShippingAddressesListAsync(String customerId, String profileId, Long offset, Long limit, final ApiCallback callback) throws ApiException { + public okhttp3.Call getCustomerShippingAddressesListAsync(String customerId, String profileId, Long offset, Long limit, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -569,8 +582,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchCustomersShippingAddressCall(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call patchCustomersShippingAddressCall(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerShippingAddressRequest, PatchCustomerShippingAddressRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -629,7 +643,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call patchCustomersShippingAddressValidateBeforeCall(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call patchCustomersShippingAddressValidateBeforeCall(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -669,8 +683,9 @@ private okhttp3.Call patchCustomersShippingAddressValidateBeforeCall(String cust * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return PatchCustomerShippingAddressRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PatchCustomerShippingAddressRequest patchCustomersShippingAddress(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException { + public PatchCustomerShippingAddressRequest patchCustomersShippingAddress(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'patchCustomersShippingAddress' STARTED"); ApiResponse resp = patchCustomersShippingAddressWithHttpInfo(customerId, shippingAddressId, patchCustomerShippingAddressRequest, profileId, ifMatch); logger.info("CALL TO METHOD 'patchCustomersShippingAddress' ENDED"); @@ -687,8 +702,9 @@ public PatchCustomerShippingAddressRequest patchCustomersShippingAddress(String * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return ApiResponse<PatchCustomerShippingAddressRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse patchCustomersShippingAddressWithHttpInfo(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException { + public ApiResponse patchCustomersShippingAddressWithHttpInfo(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchCustomersShippingAddressValidateBeforeCall(customerId, shippingAddressId, patchCustomerShippingAddressRequest, profileId, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -706,8 +722,9 @@ public ApiResponse patchCustomersShippingAd * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchCustomersShippingAddressAsync(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException { + public okhttp3.Call patchCustomersShippingAddressAsync(String customerId, String shippingAddressId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -743,8 +760,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postCustomerShippingAddressCall(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postCustomerShippingAddressCall(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerShippingAddressRequest, PostCustomerShippingAddressRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -800,7 +818,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postCustomerShippingAddressValidateBeforeCall(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postCustomerShippingAddressValidateBeforeCall(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'customerId' is set if (customerId == null) { @@ -832,8 +850,9 @@ private okhttp3.Call postCustomerShippingAddressValidateBeforeCall(String custom * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return PostCustomerShippingAddressRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostCustomerShippingAddressRequest postCustomerShippingAddress(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException { + public PostCustomerShippingAddressRequest postCustomerShippingAddress(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postCustomerShippingAddress' STARTED"); ApiResponse resp = postCustomerShippingAddressWithHttpInfo(customerId, postCustomerShippingAddressRequest, profileId); logger.info("CALL TO METHOD 'postCustomerShippingAddress' ENDED"); @@ -848,8 +867,9 @@ public PostCustomerShippingAddressRequest postCustomerShippingAddress(String cus * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<PostCustomerShippingAddressRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postCustomerShippingAddressWithHttpInfo(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException { + public ApiResponse postCustomerShippingAddressWithHttpInfo(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postCustomerShippingAddressValidateBeforeCall(customerId, postCustomerShippingAddressRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -865,8 +885,9 @@ public ApiResponse postCustomerShippingAddre * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postCustomerShippingAddressAsync(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postCustomerShippingAddressAsync(String customerId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/DecisionManagerApi.java b/src/main/java/Api/DecisionManagerApi.java index 472292167..840a704e1 100644 --- a/src/main/java/Api/DecisionManagerApi.java +++ b/src/main/java/Api/DecisionManagerApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -88,8 +89,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call actionDecisionManagerCaseCall(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call actionDecisionManagerCaseCall(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(caseManagementActionsRequest, CaseManagementActionsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -143,7 +145,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call actionDecisionManagerCaseValidateBeforeCall(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call actionDecisionManagerCaseValidateBeforeCall(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -174,8 +176,9 @@ private okhttp3.Call actionDecisionManagerCaseValidateBeforeCall(String id, Case * @param caseManagementActionsRequest (required) * @return InlineResponse2001 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2001 actionDecisionManagerCase(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException { + public InlineResponse2001 actionDecisionManagerCase(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'actionDecisionManagerCase' STARTED"); ApiResponse resp = actionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest); logger.info("CALL TO METHOD 'actionDecisionManagerCase' ENDED"); @@ -189,8 +192,9 @@ public InlineResponse2001 actionDecisionManagerCase(String id, CaseManagementAct * @param caseManagementActionsRequest (required) * @return ApiResponse<InlineResponse2001> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse actionDecisionManagerCaseWithHttpInfo(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException { + public ApiResponse actionDecisionManagerCaseWithHttpInfo(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = actionDecisionManagerCaseValidateBeforeCall(id, caseManagementActionsRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -205,8 +209,9 @@ public ApiResponse actionDecisionManagerCaseWithHttpInfo(Str * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call actionDecisionManagerCaseAsync(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call actionDecisionManagerCaseAsync(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -241,8 +246,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call addNegativeCall(String type, AddNegativeListRequest addNegativeListRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call addNegativeCall(String type, AddNegativeListRequest addNegativeListRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(addNegativeListRequest, AddNegativeListRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -296,7 +302,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call addNegativeValidateBeforeCall(String type, AddNegativeListRequest addNegativeListRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call addNegativeValidateBeforeCall(String type, AddNegativeListRequest addNegativeListRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'type' is set if (type == null) { @@ -327,8 +333,9 @@ private okhttp3.Call addNegativeValidateBeforeCall(String type, AddNegativeListR * @param addNegativeListRequest (required) * @return RiskV1UpdatePost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1UpdatePost201Response addNegative(String type, AddNegativeListRequest addNegativeListRequest) throws ApiException { + public RiskV1UpdatePost201Response addNegative(String type, AddNegativeListRequest addNegativeListRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'addNegative' STARTED"); ApiResponse resp = addNegativeWithHttpInfo(type, addNegativeListRequest); logger.info("CALL TO METHOD 'addNegative' ENDED"); @@ -342,8 +349,9 @@ public RiskV1UpdatePost201Response addNegative(String type, AddNegativeListReque * @param addNegativeListRequest (required) * @return ApiResponse<RiskV1UpdatePost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse addNegativeWithHttpInfo(String type, AddNegativeListRequest addNegativeListRequest) throws ApiException { + public ApiResponse addNegativeWithHttpInfo(String type, AddNegativeListRequest addNegativeListRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = addNegativeValidateBeforeCall(type, addNegativeListRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -358,8 +366,9 @@ public ApiResponse addNegativeWithHttpInfo(String t * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call addNegativeAsync(String type, AddNegativeListRequest addNegativeListRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call addNegativeAsync(String type, AddNegativeListRequest addNegativeListRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -394,8 +403,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call commentDecisionManagerCaseCall(String id, CaseManagementCommentsRequest caseManagementCommentsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call commentDecisionManagerCaseCall(String id, CaseManagementCommentsRequest caseManagementCommentsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(caseManagementCommentsRequest, CaseManagementCommentsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -449,7 +459,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call commentDecisionManagerCaseValidateBeforeCall(String id, CaseManagementCommentsRequest caseManagementCommentsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call commentDecisionManagerCaseValidateBeforeCall(String id, CaseManagementCommentsRequest caseManagementCommentsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -480,8 +490,9 @@ private okhttp3.Call commentDecisionManagerCaseValidateBeforeCall(String id, Cas * @param caseManagementCommentsRequest (required) * @return InlineResponse2011 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2011 commentDecisionManagerCase(String id, CaseManagementCommentsRequest caseManagementCommentsRequest) throws ApiException { + public InlineResponse2011 commentDecisionManagerCase(String id, CaseManagementCommentsRequest caseManagementCommentsRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'commentDecisionManagerCase' STARTED"); ApiResponse resp = commentDecisionManagerCaseWithHttpInfo(id, caseManagementCommentsRequest); logger.info("CALL TO METHOD 'commentDecisionManagerCase' ENDED"); @@ -495,8 +506,9 @@ public InlineResponse2011 commentDecisionManagerCase(String id, CaseManagementCo * @param caseManagementCommentsRequest (required) * @return ApiResponse<InlineResponse2011> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse commentDecisionManagerCaseWithHttpInfo(String id, CaseManagementCommentsRequest caseManagementCommentsRequest) throws ApiException { + public ApiResponse commentDecisionManagerCaseWithHttpInfo(String id, CaseManagementCommentsRequest caseManagementCommentsRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = commentDecisionManagerCaseValidateBeforeCall(id, caseManagementCommentsRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -511,8 +523,9 @@ public ApiResponse commentDecisionManagerCaseWithHttpInfo(St * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call commentDecisionManagerCaseAsync(String id, CaseManagementCommentsRequest caseManagementCommentsRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call commentDecisionManagerCaseAsync(String id, CaseManagementCommentsRequest caseManagementCommentsRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -546,8 +559,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createBundledDecisionManagerCaseCall(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createBundledDecisionManagerCaseCall(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createBundledDecisionManagerCaseRequest, CreateBundledDecisionManagerCaseRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -600,7 +614,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createBundledDecisionManagerCaseValidateBeforeCall(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createBundledDecisionManagerCaseValidateBeforeCall(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createBundledDecisionManagerCaseRequest' is set if (createBundledDecisionManagerCaseRequest == null) { @@ -624,8 +638,9 @@ private okhttp3.Call createBundledDecisionManagerCaseValidateBeforeCall(CreateBu * @param createBundledDecisionManagerCaseRequest (required) * @return RiskV1DecisionsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1DecisionsPost201Response createBundledDecisionManagerCase(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest) throws ApiException { + public RiskV1DecisionsPost201Response createBundledDecisionManagerCase(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createBundledDecisionManagerCase' STARTED"); ApiResponse resp = createBundledDecisionManagerCaseWithHttpInfo(createBundledDecisionManagerCaseRequest); logger.info("CALL TO METHOD 'createBundledDecisionManagerCase' ENDED"); @@ -638,8 +653,9 @@ public RiskV1DecisionsPost201Response createBundledDecisionManagerCase(CreateBun * @param createBundledDecisionManagerCaseRequest (required) * @return ApiResponse<RiskV1DecisionsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createBundledDecisionManagerCaseWithHttpInfo(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest) throws ApiException { + public ApiResponse createBundledDecisionManagerCaseWithHttpInfo(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createBundledDecisionManagerCaseValidateBeforeCall(createBundledDecisionManagerCaseRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -653,8 +669,9 @@ public ApiResponse createBundledDecisionManagerC * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createBundledDecisionManagerCaseAsync(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createBundledDecisionManagerCaseAsync(CreateBundledDecisionManagerCaseRequest createBundledDecisionManagerCaseRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -689,8 +706,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call fraudUpdateCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call fraudUpdateCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(fraudMarkingActionRequest, FraudMarkingActionRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -744,7 +762,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call fraudUpdateValidateBeforeCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call fraudUpdateValidateBeforeCall(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -775,8 +793,9 @@ private okhttp3.Call fraudUpdateValidateBeforeCall(String id, FraudMarkingAction * @param fraudMarkingActionRequest (required) * @return RiskV1UpdatePost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1UpdatePost201Response fraudUpdate(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException { + public RiskV1UpdatePost201Response fraudUpdate(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'fraudUpdate' STARTED"); ApiResponse resp = fraudUpdateWithHttpInfo(id, fraudMarkingActionRequest); logger.info("CALL TO METHOD 'fraudUpdate' ENDED"); @@ -790,8 +809,9 @@ public RiskV1UpdatePost201Response fraudUpdate(String id, FraudMarkingActionRequ * @param fraudMarkingActionRequest (required) * @return ApiResponse<RiskV1UpdatePost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse fraudUpdateWithHttpInfo(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException { + public ApiResponse fraudUpdateWithHttpInfo(String id, FraudMarkingActionRequest fraudMarkingActionRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = fraudUpdateValidateBeforeCall(id, fraudMarkingActionRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -806,8 +826,9 @@ public ApiResponse fraudUpdateWithHttpInfo(String i * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call fraudUpdateAsync(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call fraudUpdateAsync(String id, FraudMarkingActionRequest fraudMarkingActionRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/DeviceDeAssociationApi.java b/src/main/java/Api/DeviceDeAssociationApi.java index f3f181c11..2d59038f7 100644 --- a/src/main/java/Api/DeviceDeAssociationApi.java +++ b/src/main/java/Api/DeviceDeAssociationApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -30,12 +31,12 @@ import Model.DeAssociationRequestBody; import Model.DeviceDeAssociateV3Request; -import Model.InlineResponse2007; +import Model.InlineResponse2008; import Model.InlineResponse206; import Model.InlineResponse4008; import Model.InlineResponse401; import Model.InlineResponse4032; -import Model.InlineResponse4043; +import Model.InlineResponse4044; import Model.InlineResponse5003; import java.lang.reflect.Type; @@ -78,8 +79,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteTerminalAssociationCall(DeAssociationRequestBody deAssociationRequestBody, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteTerminalAssociationCall(DeAssociationRequestBody deAssociationRequestBody, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(deAssociationRequestBody, DeAssociationRequestBody.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -132,7 +134,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteTerminalAssociationValidateBeforeCall(DeAssociationRequestBody deAssociationRequestBody, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteTerminalAssociationValidateBeforeCall(DeAssociationRequestBody deAssociationRequestBody, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'deAssociationRequestBody' is set if (deAssociationRequestBody == null) { @@ -155,8 +157,9 @@ private okhttp3.Call deleteTerminalAssociationValidateBeforeCall(DeAssociationRe * The current association of the device will be removed and will be assigned back to parent in the hierarchy based on internal logic * @param deAssociationRequestBody de association of the deviceId in the request body. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteTerminalAssociation(DeAssociationRequestBody deAssociationRequestBody) throws ApiException { + public void deleteTerminalAssociation(DeAssociationRequestBody deAssociationRequestBody) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteTerminalAssociation' STARTED"); deleteTerminalAssociationWithHttpInfo(deAssociationRequestBody); @@ -168,8 +171,9 @@ public void deleteTerminalAssociation(DeAssociationRequestBody deAssociationRequ * @param deAssociationRequestBody de association of the deviceId in the request body. (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteTerminalAssociationWithHttpInfo(DeAssociationRequestBody deAssociationRequestBody) throws ApiException { + public ApiResponse deleteTerminalAssociationWithHttpInfo(DeAssociationRequestBody deAssociationRequestBody) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteTerminalAssociationValidateBeforeCall(deAssociationRequestBody, null, null); return apiClient.execute(call); @@ -182,8 +186,9 @@ public ApiResponse deleteTerminalAssociationWithHttpInfo(DeAssociationRequ * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteTerminalAssociationAsync(DeAssociationRequestBody deAssociationRequestBody, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteTerminalAssociationAsync(DeAssociationRequestBody deAssociationRequestBody, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -216,8 +221,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postDeAssociateV3TerminalCall(List deviceDeAssociateV3Request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postDeAssociateV3TerminalCall(List deviceDeAssociateV3Request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(deviceDeAssociateV3Request, DeviceDeAssociateV3Request.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -270,7 +276,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postDeAssociateV3TerminalValidateBeforeCall(List deviceDeAssociateV3Request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postDeAssociateV3TerminalValidateBeforeCall(List deviceDeAssociateV3Request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'deviceDeAssociateV3Request' is set if (deviceDeAssociateV3Request == null) { @@ -292,12 +298,13 @@ private okhttp3.Call postDeAssociateV3TerminalValidateBeforeCall(List postDeAssociateV3Terminal(List deviceDeAssociateV3Request) throws ApiException { + public List postDeAssociateV3Terminal(List deviceDeAssociateV3Request) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postDeAssociateV3Terminal' STARTED"); - ApiResponse> resp = postDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request); + ApiResponse> resp = postDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request); logger.info("CALL TO METHOD 'postDeAssociateV3Terminal' ENDED"); return resp.getData(); } @@ -306,13 +313,14 @@ public List postDeAssociateV3Terminal(List> postDeAssociateV3TerminalWithHttpInfo(List deviceDeAssociateV3Request) throws ApiException { + public ApiResponse> postDeAssociateV3TerminalWithHttpInfo(List deviceDeAssociateV3Request) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postDeAssociateV3TerminalValidateBeforeCall(deviceDeAssociateV3Request, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -323,8 +331,9 @@ public ApiResponse> postDeAssociateV3TerminalWithHttpIn * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postDeAssociateV3TerminalAsync(List deviceDeAssociateV3Request, final ApiCallback> callback) throws ApiException { + public okhttp3.Call postDeAssociateV3TerminalAsync(List deviceDeAssociateV3Request, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -347,7 +356,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = postDeAssociateV3TerminalValidateBeforeCall(deviceDeAssociateV3Request, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/DeviceSearchApi.java b/src/main/java/Api/DeviceSearchApi.java index 6e1eb94fe..8592249bd 100644 --- a/src/main/java/Api/DeviceSearchApi.java +++ b/src/main/java/Api/DeviceSearchApi.java @@ -22,18 +22,19 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; import java.io.InputStream; -import Model.InlineResponse2006; -import Model.InlineResponse2008; +import Model.InlineResponse2007; +import Model.InlineResponse2009; import Model.InlineResponse4008; import Model.InlineResponse401; import Model.InlineResponse4032; -import Model.InlineResponse4043; +import Model.InlineResponse4044; import Model.InlineResponse5003; import Model.PostDeviceSearchRequest; import Model.PostDeviceSearchRequestV3; @@ -78,8 +79,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postSearchQueryCall(PostDeviceSearchRequest postDeviceSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postSearchQueryCall(PostDeviceSearchRequest postDeviceSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postDeviceSearchRequest, PostDeviceSearchRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -132,7 +134,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postSearchQueryValidateBeforeCall(PostDeviceSearchRequest postDeviceSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postSearchQueryValidateBeforeCall(PostDeviceSearchRequest postDeviceSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'postDeviceSearchRequest' is set if (postDeviceSearchRequest == null) { @@ -154,12 +156,13 @@ private okhttp3.Call postSearchQueryValidateBeforeCall(PostDeviceSearchRequest p * Retrieve List of Devices for a given search query V2 * Retrieves list of terminals in paginated format. * @param postDeviceSearchRequest (required) - * @return InlineResponse2006 + * @return InlineResponse2007 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2006 postSearchQuery(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException { + public InlineResponse2007 postSearchQuery(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postSearchQuery' STARTED"); - ApiResponse resp = postSearchQueryWithHttpInfo(postDeviceSearchRequest); + ApiResponse resp = postSearchQueryWithHttpInfo(postDeviceSearchRequest); logger.info("CALL TO METHOD 'postSearchQuery' ENDED"); return resp.getData(); } @@ -168,13 +171,14 @@ public InlineResponse2006 postSearchQuery(PostDeviceSearchRequest postDeviceSear * Retrieve List of Devices for a given search query V2 * Retrieves list of terminals in paginated format. * @param postDeviceSearchRequest (required) - * @return ApiResponse<InlineResponse2006> + * @return ApiResponse<InlineResponse2007> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException { + public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postSearchQueryValidateBeforeCall(postDeviceSearchRequest, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -185,8 +189,9 @@ public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSea * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postSearchQueryAsync(PostDeviceSearchRequest postDeviceSearchRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call postSearchQueryAsync(PostDeviceSearchRequest postDeviceSearchRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -209,7 +214,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = postSearchQueryValidateBeforeCall(postDeviceSearchRequest, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -220,8 +225,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postSearchQueryV3Call(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postSearchQueryV3Call(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postDeviceSearchRequestV3, PostDeviceSearchRequestV3.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -274,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postSearchQueryV3ValidateBeforeCall(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postSearchQueryV3ValidateBeforeCall(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'postDeviceSearchRequestV3' is set if (postDeviceSearchRequestV3 == null) { @@ -296,12 +302,13 @@ private okhttp3.Call postSearchQueryV3ValidateBeforeCall(PostDeviceSearchRequest * Retrieve List of Devices for a given search query * Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated. * @param postDeviceSearchRequestV3 (required) - * @return InlineResponse2008 + * @return InlineResponse2009 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2008 postSearchQueryV3(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException { + public InlineResponse2009 postSearchQueryV3(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postSearchQueryV3' STARTED"); - ApiResponse resp = postSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3); + ApiResponse resp = postSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3); logger.info("CALL TO METHOD 'postSearchQueryV3' ENDED"); return resp.getData(); } @@ -310,13 +317,14 @@ public InlineResponse2008 postSearchQueryV3(PostDeviceSearchRequestV3 postDevice * Retrieve List of Devices for a given search query * Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated. * @param postDeviceSearchRequestV3 (required) - * @return ApiResponse<InlineResponse2008> + * @return ApiResponse<InlineResponse2009> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException { + public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postSearchQueryV3ValidateBeforeCall(postDeviceSearchRequestV3, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -327,8 +335,9 @@ public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceS * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postSearchQueryV3Async(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ApiCallback callback) throws ApiException { + public okhttp3.Call postSearchQueryV3Async(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -351,7 +360,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = postSearchQueryV3ValidateBeforeCall(postDeviceSearchRequestV3, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/Api/DownloadDtdApi.java b/src/main/java/Api/DownloadDtdApi.java index 2f7cd0d1d..6e2c0a388 100644 --- a/src/main/java/Api/DownloadDtdApi.java +++ b/src/main/java/Api/DownloadDtdApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -69,8 +70,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getDTDV2Call(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getDTDV2Call(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getDTDV2ValidateBeforeCall(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getDTDV2ValidateBeforeCall(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'reportDefinitionNameVersion' is set if (reportDefinitionNameVersion == null) { @@ -150,8 +152,9 @@ private okhttp3.Call getDTDV2ValidateBeforeCall(String reportDefinitionNameVersi * Used to download DTDs for reports on no-auth. * @param reportDefinitionNameVersion Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void getDTDV2(String reportDefinitionNameVersion) throws ApiException { + public void getDTDV2(String reportDefinitionNameVersion) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getDTDV2' STARTED"); getDTDV2WithHttpInfo(reportDefinitionNameVersion); @@ -163,8 +166,9 @@ public void getDTDV2(String reportDefinitionNameVersion) throws ApiException { * @param reportDefinitionNameVersion Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getDTDV2WithHttpInfo(String reportDefinitionNameVersion) throws ApiException { + public ApiResponse getDTDV2WithHttpInfo(String reportDefinitionNameVersion) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getDTDV2ValidateBeforeCall(reportDefinitionNameVersion, null, null); return apiClient.execute(call); @@ -177,8 +181,9 @@ public ApiResponse getDTDV2WithHttpInfo(String reportDefinitionNameVersion * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getDTDV2Async(String reportDefinitionNameVersion, final ApiCallback callback) throws ApiException { + public okhttp3.Call getDTDV2Async(String reportDefinitionNameVersion, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/DownloadXsdApi.java b/src/main/java/Api/DownloadXsdApi.java index 4a877ffdf..c9b784694 100644 --- a/src/main/java/Api/DownloadXsdApi.java +++ b/src/main/java/Api/DownloadXsdApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -69,8 +70,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getXSDV2Call(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getXSDV2Call(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getXSDV2ValidateBeforeCall(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getXSDV2ValidateBeforeCall(String reportDefinitionNameVersion, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'reportDefinitionNameVersion' is set if (reportDefinitionNameVersion == null) { @@ -150,8 +152,9 @@ private okhttp3.Call getXSDV2ValidateBeforeCall(String reportDefinitionNameVersi * Used to download XSDs for reports on no-auth. * @param reportDefinitionNameVersion Name and version of XSD file to download. Some XSDs only have one version. In that case version name is not needed. Some example values are DecisionManagerDetailReport, DecisionManagerTypes (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void getXSDV2(String reportDefinitionNameVersion) throws ApiException { + public void getXSDV2(String reportDefinitionNameVersion) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getXSDV2' STARTED"); getXSDV2WithHttpInfo(reportDefinitionNameVersion); @@ -163,8 +166,9 @@ public void getXSDV2(String reportDefinitionNameVersion) throws ApiException { * @param reportDefinitionNameVersion Name and version of XSD file to download. Some XSDs only have one version. In that case version name is not needed. Some example values are DecisionManagerDetailReport, DecisionManagerTypes (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getXSDV2WithHttpInfo(String reportDefinitionNameVersion) throws ApiException { + public ApiResponse getXSDV2WithHttpInfo(String reportDefinitionNameVersion) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getXSDV2ValidateBeforeCall(reportDefinitionNameVersion, null, null); return apiClient.execute(call); @@ -177,8 +181,9 @@ public ApiResponse getXSDV2WithHttpInfo(String reportDefinitionNameVersion * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getXSDV2Async(String reportDefinitionNameVersion, final ApiCallback callback) throws ApiException { + public okhttp3.Call getXSDV2Async(String reportDefinitionNameVersion, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/EmvTagDetailsApi.java b/src/main/java/Api/EmvTagDetailsApi.java index 381c10f13..958c95beb 100644 --- a/src/main/java/Api/EmvTagDetailsApi.java +++ b/src/main/java/Api/EmvTagDetailsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -71,8 +72,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getEmvTagsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getEmvTagsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -128,7 +130,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getEmvTagsValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getEmvTagsValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getEmvTagsCall(progressListener, progressRequestListener); @@ -145,8 +147,9 @@ private okhttp3.Call getEmvTagsValidateBeforeCall(final ProgressResponseBody.Pro * Returns the entire EMV tag dictionary * @return TssV2GetEmvTags200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public TssV2GetEmvTags200Response getEmvTags() throws ApiException { + public TssV2GetEmvTags200Response getEmvTags() throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getEmvTags' STARTED"); ApiResponse resp = getEmvTagsWithHttpInfo(); logger.info("CALL TO METHOD 'getEmvTags' ENDED"); @@ -158,8 +161,9 @@ public TssV2GetEmvTags200Response getEmvTags() throws ApiException { * Returns the entire EMV tag dictionary * @return ApiResponse<TssV2GetEmvTags200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getEmvTagsWithHttpInfo() throws ApiException { + public ApiResponse getEmvTagsWithHttpInfo() throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getEmvTagsValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -172,8 +176,9 @@ public ApiResponse getEmvTagsWithHttpInfo() throws A * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getEmvTagsAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call getEmvTagsAsync(final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -207,8 +212,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call parseEmvTagsCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call parseEmvTagsCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(body, Body.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -261,7 +267,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call parseEmvTagsValidateBeforeCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call parseEmvTagsValidateBeforeCall(Body body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'body' is set if (body == null) { @@ -285,8 +291,9 @@ private okhttp3.Call parseEmvTagsValidateBeforeCall(Body body, final ProgressRes * @param body (required) * @return TssV2PostEmvTags200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public TssV2PostEmvTags200Response parseEmvTags(Body body) throws ApiException { + public TssV2PostEmvTags200Response parseEmvTags(Body body) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'parseEmvTags' STARTED"); ApiResponse resp = parseEmvTagsWithHttpInfo(body); logger.info("CALL TO METHOD 'parseEmvTags' ENDED"); @@ -299,8 +306,9 @@ public TssV2PostEmvTags200Response parseEmvTags(Body body) throws ApiException { * @param body (required) * @return ApiResponse<TssV2PostEmvTags200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse parseEmvTagsWithHttpInfo(Body body) throws ApiException { + public ApiResponse parseEmvTagsWithHttpInfo(Body body) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = parseEmvTagsValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -314,8 +322,9 @@ public ApiResponse parseEmvTagsWithHttpInfo(Body bo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call parseEmvTagsAsync(Body body, final ApiCallback callback) throws ApiException { + public okhttp3.Call parseEmvTagsAsync(Body body, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/FlexApiApi.java b/src/main/java/Api/FlexApiApi.java index f6e4d7516..9e7f382b9 100644 --- a/src/main/java/Api/FlexApiApi.java +++ b/src/main/java/Api/FlexApiApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -71,8 +72,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call generateFlexAPICaptureContextCall(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call generateFlexAPICaptureContextCall(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(generateFlexAPICaptureContextRequest, GenerateFlexAPICaptureContextRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call generateFlexAPICaptureContextValidateBeforeCall(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call generateFlexAPICaptureContextValidateBeforeCall(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'generateFlexAPICaptureContextRequest' is set if (generateFlexAPICaptureContextRequest == null) { @@ -149,8 +151,9 @@ private okhttp3.Call generateFlexAPICaptureContextValidateBeforeCall(GenerateFle * @param generateFlexAPICaptureContextRequest (required) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public String generateFlexAPICaptureContext(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException { + public String generateFlexAPICaptureContext(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'generateFlexAPICaptureContext' STARTED"); ApiResponse resp = generateFlexAPICaptureContextWithHttpInfo(generateFlexAPICaptureContextRequest); logger.info("CALL TO METHOD 'generateFlexAPICaptureContext' ENDED"); @@ -163,8 +166,9 @@ public String generateFlexAPICaptureContext(GenerateFlexAPICaptureContextRequest * @param generateFlexAPICaptureContextRequest (required) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse generateFlexAPICaptureContextWithHttpInfo(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException { + public ApiResponse generateFlexAPICaptureContextWithHttpInfo(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = generateFlexAPICaptureContextValidateBeforeCall(generateFlexAPICaptureContextRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -178,8 +182,9 @@ public ApiResponse generateFlexAPICaptureContextWithHttpInfo(GenerateFle * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call generateFlexAPICaptureContextAsync(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call generateFlexAPICaptureContextAsync(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/InstrumentIdentifierApi.java b/src/main/java/Api/InstrumentIdentifierApi.java index f36ceb9bf..defb14820 100644 --- a/src/main/java/Api/InstrumentIdentifierApi.java +++ b/src/main/java/Api/InstrumentIdentifierApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -81,8 +82,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteInstrumentIdentifierCall(String instrumentIdentifierId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteInstrumentIdentifierCall(String instrumentIdentifierId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -141,7 +143,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -165,8 +167,9 @@ private okhttp3.Call deleteInstrumentIdentifierValidateBeforeCall(String instrum * @param instrumentIdentifierId The Id of an Instrument Identifier. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteInstrumentIdentifier(String instrumentIdentifierId, String profileId) throws ApiException { + public void deleteInstrumentIdentifier(String instrumentIdentifierId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteInstrumentIdentifier' STARTED"); deleteInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, profileId); @@ -179,8 +182,9 @@ public void deleteInstrumentIdentifier(String instrumentIdentifierId, String pro * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId) throws ApiException { + public ApiResponse deleteInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, null, null); return apiClient.execute(call); @@ -194,8 +198,9 @@ public ApiResponse deleteInstrumentIdentifierWithHttpInfo(String instrumen * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteInstrumentIdentifierAsync(String instrumentIdentifierId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteInstrumentIdentifierAsync(String instrumentIdentifierId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -230,8 +235,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInstrumentIdentifierCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getInstrumentIdentifierCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -292,7 +298,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -318,8 +324,9 @@ private okhttp3.Call getInstrumentIdentifierValidateBeforeCall(String instrument * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostInstrumentIdentifierRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails) throws ApiException { + public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getInstrumentIdentifier' STARTED"); ApiResponse resp = getInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'getInstrumentIdentifier' ENDED"); @@ -334,8 +341,9 @@ public PostInstrumentIdentifierRequest getInstrumentIdentifier(String instrument * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostInstrumentIdentifierRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails) throws ApiException { + public ApiResponse getInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -351,8 +359,9 @@ public ApiResponse getInstrumentIdentifierWithH * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInstrumentIdentifierAsync(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { + public okhttp3.Call getInstrumentIdentifierAsync(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -390,8 +399,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -456,7 +466,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -484,8 +494,9 @@ private okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListValidateBefore * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return PaymentInstrumentList1 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit) throws ApiException { + public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getInstrumentIdentifierPaymentInstrumentsList' STARTED"); ApiResponse resp = getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit); logger.info("CALL TO METHOD 'getInstrumentIdentifierPaymentInstrumentsList' ENDED"); @@ -502,8 +513,9 @@ public PaymentInstrumentList1 getInstrumentIdentifierPaymentInstrumentsList(Stri * @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20) * @return ApiResponse<PaymentInstrumentList1> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit) throws ApiException { + public ApiResponse getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInstrumentIdentifierPaymentInstrumentsListValidateBeforeCall(instrumentIdentifierId, profileId, retrieveBinDetails, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -521,8 +533,9 @@ public ApiResponse getInstrumentIdentifierPaymentInstrum * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListAsync(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ApiCallback callback) throws ApiException { + public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListAsync(String instrumentIdentifierId, String profileId, Boolean retrieveBinDetails, Long offset, Long limit, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -560,8 +573,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchInstrumentIdentifierRequest, PatchInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -621,7 +635,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -655,8 +669,9 @@ private okhttp3.Call patchInstrumentIdentifierValidateBeforeCall(String instrume * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return PatchInstrumentIdentifierRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { + public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'patchInstrumentIdentifier' STARTED"); ApiResponse resp = patchInstrumentIdentifierWithHttpInfo(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch); logger.info("CALL TO METHOD 'patchInstrumentIdentifier' ENDED"); @@ -673,8 +688,9 @@ public PatchInstrumentIdentifierRequest patchInstrumentIdentifier(String instrum * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return ApiResponse<PatchInstrumentIdentifierRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse patchInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { + public ApiResponse patchInstrumentIdentifierWithHttpInfo(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchInstrumentIdentifierValidateBeforeCall(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, retrieveBinDetails, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -692,8 +708,9 @@ public ApiResponse patchInstrumentIdentifierWi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchInstrumentIdentifierAsync(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ApiCallback callback) throws ApiException { + public okhttp3.Call patchInstrumentIdentifierAsync(String instrumentIdentifierId, PatchInstrumentIdentifierRequest patchInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -729,8 +746,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postInstrumentIdentifierRequest, PostInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -787,7 +805,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'postInstrumentIdentifierRequest' is set if (postInstrumentIdentifierRequest == null) { @@ -813,8 +831,9 @@ private okhttp3.Call postInstrumentIdentifierValidateBeforeCall(PostInstrumentId * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostInstrumentIdentifierRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { + public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postInstrumentIdentifier' STARTED"); ApiResponse resp = postInstrumentIdentifierWithHttpInfo(postInstrumentIdentifierRequest, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'postInstrumentIdentifier' ENDED"); @@ -829,8 +848,9 @@ public PostInstrumentIdentifierRequest postInstrumentIdentifier(PostInstrumentId * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostInstrumentIdentifierRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postInstrumentIdentifierWithHttpInfo(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { + public ApiResponse postInstrumentIdentifierWithHttpInfo(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postInstrumentIdentifierValidateBeforeCall(postInstrumentIdentifierRequest, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -846,8 +866,9 @@ public ApiResponse postInstrumentIdentifierWith * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postInstrumentIdentifierAsync(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { + public okhttp3.Call postInstrumentIdentifierAsync(PostInstrumentIdentifierRequest postInstrumentIdentifierRequest, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -883,8 +904,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postInstrumentIdentifierEnrollmentCall(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postInstrumentIdentifierEnrollmentCall(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postInstrumentIdentifierEnrollmentRequest, PostInstrumentIdentifierEnrollmentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -940,7 +962,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postInstrumentIdentifierEnrollmentValidateBeforeCall(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postInstrumentIdentifierEnrollmentValidateBeforeCall(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -971,8 +993,9 @@ private okhttp3.Call postInstrumentIdentifierEnrollmentValidateBeforeCall(String * @param postInstrumentIdentifierEnrollmentRequest Specify Enrollable Card details (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void postInstrumentIdentifierEnrollment(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId) throws ApiException { + public void postInstrumentIdentifierEnrollment(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postInstrumentIdentifierEnrollment' STARTED"); postInstrumentIdentifierEnrollmentWithHttpInfo(instrumentIdentifierId, postInstrumentIdentifierEnrollmentRequest, profileId); @@ -986,8 +1009,9 @@ public void postInstrumentIdentifierEnrollment(String instrumentIdentifierId, Po * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postInstrumentIdentifierEnrollmentWithHttpInfo(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId) throws ApiException { + public ApiResponse postInstrumentIdentifierEnrollmentWithHttpInfo(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postInstrumentIdentifierEnrollmentValidateBeforeCall(instrumentIdentifierId, postInstrumentIdentifierEnrollmentRequest, profileId, null, null); return apiClient.execute(call); @@ -1002,8 +1026,9 @@ public ApiResponse postInstrumentIdentifierEnrollmentWithHttpInfo(String i * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postInstrumentIdentifierEnrollmentAsync(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postInstrumentIdentifierEnrollmentAsync(String instrumentIdentifierId, PostInstrumentIdentifierEnrollmentRequest postInstrumentIdentifierEnrollmentRequest, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/InterchangeClearingLevelDetailsApi.java b/src/main/java/Api/InterchangeClearingLevelDetailsApi.java index 6db5a9d9e..f9c475219 100644 --- a/src/main/java/Api/InterchangeClearingLevelDetailsApi.java +++ b/src/main/java/Api/InterchangeClearingLevelDetailsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInterchangeClearingLevelDetailsCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getInterchangeClearingLevelDetailsCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getInterchangeClearingLevelDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getInterchangeClearingLevelDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -168,8 +170,9 @@ private okhttp3.Call getInterchangeClearingLevelDetailsValidateBeforeCall(DateTi * @param organizationId Valid Organization Id (optional) * @return ReportingV3InterchangeClearingLevelDetailsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3InterchangeClearingLevelDetailsGet200Response getInterchangeClearingLevelDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ReportingV3InterchangeClearingLevelDetailsGet200Response getInterchangeClearingLevelDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getInterchangeClearingLevelDetails' STARTED"); ApiResponse resp = getInterchangeClearingLevelDetailsWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getInterchangeClearingLevelDetails' ENDED"); @@ -184,8 +187,9 @@ public ReportingV3InterchangeClearingLevelDetailsGet200Response getInterchangeCl * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3InterchangeClearingLevelDetailsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getInterchangeClearingLevelDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ApiResponse getInterchangeClearingLevelDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInterchangeClearingLevelDetailsValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -201,8 +205,9 @@ public ApiResponse get * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInterchangeClearingLevelDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getInterchangeClearingLevelDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/InvoiceSettingsApi.java b/src/main/java/Api/InvoiceSettingsApi.java index 63b9994cb..7f7abf350 100644 --- a/src/main/java/Api/InvoiceSettingsApi.java +++ b/src/main/java/Api/InvoiceSettingsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -72,8 +73,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInvoiceSettingsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getInvoiceSettingsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -129,7 +131,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getInvoiceSettingsValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getInvoiceSettingsValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getInvoiceSettingsCall(progressListener, progressRequestListener); @@ -146,8 +148,9 @@ private okhttp3.Call getInvoiceSettingsValidateBeforeCall(final ProgressResponse * Allows you to retrieve the invoice settings for the payment page. * @return InvoicingV2InvoiceSettingsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoiceSettingsGet200Response getInvoiceSettings() throws ApiException { + public InvoicingV2InvoiceSettingsGet200Response getInvoiceSettings() throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getInvoiceSettings' STARTED"); ApiResponse resp = getInvoiceSettingsWithHttpInfo(); logger.info("CALL TO METHOD 'getInvoiceSettings' ENDED"); @@ -159,8 +162,9 @@ public InvoicingV2InvoiceSettingsGet200Response getInvoiceSettings() throws ApiE * Allows you to retrieve the invoice settings for the payment page. * @return ApiResponse<InvoicingV2InvoiceSettingsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getInvoiceSettingsWithHttpInfo() throws ApiException { + public ApiResponse getInvoiceSettingsWithHttpInfo() throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInvoiceSettingsValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -173,8 +177,9 @@ public ApiResponse getInvoiceSettingsW * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInvoiceSettingsAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call getInvoiceSettingsAsync(final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -208,8 +213,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateInvoiceSettingsCall(InvoiceSettingsRequest invoiceSettingsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call updateInvoiceSettingsCall(InvoiceSettingsRequest invoiceSettingsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(invoiceSettingsRequest, InvoiceSettingsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -262,7 +268,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call updateInvoiceSettingsValidateBeforeCall(InvoiceSettingsRequest invoiceSettingsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call updateInvoiceSettingsValidateBeforeCall(InvoiceSettingsRequest invoiceSettingsRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'invoiceSettingsRequest' is set if (invoiceSettingsRequest == null) { @@ -286,8 +292,9 @@ private okhttp3.Call updateInvoiceSettingsValidateBeforeCall(InvoiceSettingsRequ * @param invoiceSettingsRequest (required) * @return InvoicingV2InvoiceSettingsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoiceSettingsGet200Response updateInvoiceSettings(InvoiceSettingsRequest invoiceSettingsRequest) throws ApiException { + public InvoicingV2InvoiceSettingsGet200Response updateInvoiceSettings(InvoiceSettingsRequest invoiceSettingsRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'updateInvoiceSettings' STARTED"); ApiResponse resp = updateInvoiceSettingsWithHttpInfo(invoiceSettingsRequest); logger.info("CALL TO METHOD 'updateInvoiceSettings' ENDED"); @@ -300,8 +307,9 @@ public InvoicingV2InvoiceSettingsGet200Response updateInvoiceSettings(InvoiceSet * @param invoiceSettingsRequest (required) * @return ApiResponse<InvoicingV2InvoiceSettingsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse updateInvoiceSettingsWithHttpInfo(InvoiceSettingsRequest invoiceSettingsRequest) throws ApiException { + public ApiResponse updateInvoiceSettingsWithHttpInfo(InvoiceSettingsRequest invoiceSettingsRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateInvoiceSettingsValidateBeforeCall(invoiceSettingsRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -315,8 +323,9 @@ public ApiResponse updateInvoiceSettin * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateInvoiceSettingsAsync(InvoiceSettingsRequest invoiceSettingsRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call updateInvoiceSettingsAsync(InvoiceSettingsRequest invoiceSettingsRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/InvoicesApi.java b/src/main/java/Api/InvoicesApi.java index ebb4f4947..3dbe89015 100644 --- a/src/main/java/Api/InvoicesApi.java +++ b/src/main/java/Api/InvoicesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -82,8 +83,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createInvoiceCall(CreateInvoiceRequest createInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createInvoiceCall(CreateInvoiceRequest createInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createInvoiceRequest, CreateInvoiceRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createInvoiceValidateBeforeCall(CreateInvoiceRequest createInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createInvoiceValidateBeforeCall(CreateInvoiceRequest createInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createInvoiceRequest' is set if (createInvoiceRequest == null) { @@ -160,8 +162,9 @@ private okhttp3.Call createInvoiceValidateBeforeCall(CreateInvoiceRequest create * @param createInvoiceRequest (required) * @return InvoicingV2InvoicesPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoicesPost201Response createInvoice(CreateInvoiceRequest createInvoiceRequest) throws ApiException { + public InvoicingV2InvoicesPost201Response createInvoice(CreateInvoiceRequest createInvoiceRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createInvoice' STARTED"); ApiResponse resp = createInvoiceWithHttpInfo(createInvoiceRequest); logger.info("CALL TO METHOD 'createInvoice' ENDED"); @@ -174,8 +177,9 @@ public InvoicingV2InvoicesPost201Response createInvoice(CreateInvoiceRequest cre * @param createInvoiceRequest (required) * @return ApiResponse<InvoicingV2InvoicesPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createInvoiceWithHttpInfo(CreateInvoiceRequest createInvoiceRequest) throws ApiException { + public ApiResponse createInvoiceWithHttpInfo(CreateInvoiceRequest createInvoiceRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createInvoiceValidateBeforeCall(createInvoiceRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -189,8 +193,9 @@ public ApiResponse createInvoiceWithHttpInfo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createInvoiceAsync(CreateInvoiceRequest createInvoiceRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createInvoiceAsync(CreateInvoiceRequest createInvoiceRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -226,8 +231,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllInvoicesCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getAllInvoicesCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -289,7 +295,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getAllInvoicesValidateBeforeCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getAllInvoicesValidateBeforeCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'offset' is set if (offset == null) { @@ -321,8 +327,9 @@ private okhttp3.Call getAllInvoicesValidateBeforeCall(Integer offset, Integer li * @param status The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED (optional) * @return InvoicingV2InvoicesAllGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoicesAllGet200Response getAllInvoices(Integer offset, Integer limit, String status) throws ApiException { + public InvoicingV2InvoicesAllGet200Response getAllInvoices(Integer offset, Integer limit, String status) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getAllInvoices' STARTED"); ApiResponse resp = getAllInvoicesWithHttpInfo(offset, limit, status); logger.info("CALL TO METHOD 'getAllInvoices' ENDED"); @@ -337,8 +344,9 @@ public InvoicingV2InvoicesAllGet200Response getAllInvoices(Integer offset, Integ * @param status The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED (optional) * @return ApiResponse<InvoicingV2InvoicesAllGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getAllInvoicesWithHttpInfo(Integer offset, Integer limit, String status) throws ApiException { + public ApiResponse getAllInvoicesWithHttpInfo(Integer offset, Integer limit, String status) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAllInvoicesValidateBeforeCall(offset, limit, status, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -354,8 +362,9 @@ public ApiResponse getAllInvoicesWithHttpI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllInvoicesAsync(Integer offset, Integer limit, String status, final ApiCallback callback) throws ApiException { + public okhttp3.Call getAllInvoicesAsync(Integer offset, Integer limit, String status, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -389,8 +398,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInvoiceCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getInvoiceCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -447,7 +457,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getInvoiceValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getInvoiceValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -471,8 +481,9 @@ private okhttp3.Call getInvoiceValidateBeforeCall(String id, final ProgressRespo * @param id The invoice number. (required) * @return InvoicingV2InvoicesGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoicesGet200Response getInvoice(String id) throws ApiException { + public InvoicingV2InvoicesGet200Response getInvoice(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getInvoice' STARTED"); ApiResponse resp = getInvoiceWithHttpInfo(id); logger.info("CALL TO METHOD 'getInvoice' ENDED"); @@ -485,8 +496,9 @@ public InvoicingV2InvoicesGet200Response getInvoice(String id) throws ApiExcepti * @param id The invoice number. (required) * @return ApiResponse<InvoicingV2InvoicesGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getInvoiceWithHttpInfo(String id) throws ApiException { + public ApiResponse getInvoiceWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getInvoiceValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -500,8 +512,9 @@ public ApiResponse getInvoiceWithHttpInfo(Str * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getInvoiceAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call getInvoiceAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -535,8 +548,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call performCancelActionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call performCancelActionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -593,7 +607,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call performCancelActionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call performCancelActionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -617,8 +631,9 @@ private okhttp3.Call performCancelActionValidateBeforeCall(String id, final Prog * @param id The invoice number. (required) * @return InvoicingV2InvoicesCancel200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoicesCancel200Response performCancelAction(String id) throws ApiException { + public InvoicingV2InvoicesCancel200Response performCancelAction(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'performCancelAction' STARTED"); ApiResponse resp = performCancelActionWithHttpInfo(id); logger.info("CALL TO METHOD 'performCancelAction' ENDED"); @@ -631,8 +646,9 @@ public InvoicingV2InvoicesCancel200Response performCancelAction(String id) throw * @param id The invoice number. (required) * @return ApiResponse<InvoicingV2InvoicesCancel200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse performCancelActionWithHttpInfo(String id) throws ApiException { + public ApiResponse performCancelActionWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = performCancelActionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -646,8 +662,9 @@ public ApiResponse performCancelActionWith * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call performCancelActionAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call performCancelActionAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -681,8 +698,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call performPublishActionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call performPublishActionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -739,7 +757,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call performPublishActionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call performPublishActionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -763,8 +781,9 @@ private okhttp3.Call performPublishActionValidateBeforeCall(String id, final Pro * @param id The invoice number. (required) * @return InvoicingV2InvoicesPublish200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoicesPublish200Response performPublishAction(String id) throws ApiException { + public InvoicingV2InvoicesPublish200Response performPublishAction(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'performPublishAction' STARTED"); ApiResponse resp = performPublishActionWithHttpInfo(id); logger.info("CALL TO METHOD 'performPublishAction' ENDED"); @@ -777,8 +796,9 @@ public InvoicingV2InvoicesPublish200Response performPublishAction(String id) thr * @param id The invoice number. (required) * @return ApiResponse<InvoicingV2InvoicesPublish200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse performPublishActionWithHttpInfo(String id) throws ApiException { + public ApiResponse performPublishActionWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = performPublishActionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -792,8 +812,9 @@ public ApiResponse performPublishActionWi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call performPublishActionAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call performPublishActionAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -827,8 +848,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call performSendActionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call performSendActionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -885,7 +907,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call performSendActionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call performSendActionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -909,8 +931,9 @@ private okhttp3.Call performSendActionValidateBeforeCall(String id, final Progre * @param id The invoice number. (required) * @return InvoicingV2InvoicesSend200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoicesSend200Response performSendAction(String id) throws ApiException { + public InvoicingV2InvoicesSend200Response performSendAction(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'performSendAction' STARTED"); ApiResponse resp = performSendActionWithHttpInfo(id); logger.info("CALL TO METHOD 'performSendAction' ENDED"); @@ -923,8 +946,9 @@ public InvoicingV2InvoicesSend200Response performSendAction(String id) throws Ap * @param id The invoice number. (required) * @return ApiResponse<InvoicingV2InvoicesSend200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse performSendActionWithHttpInfo(String id) throws ApiException { + public ApiResponse performSendActionWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = performSendActionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -938,8 +962,9 @@ public ApiResponse performSendActionWithHttp * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call performSendActionAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call performSendActionAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -974,8 +999,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateInvoiceCall(String id, UpdateInvoiceRequest updateInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call updateInvoiceCall(String id, UpdateInvoiceRequest updateInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(updateInvoiceRequest, UpdateInvoiceRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -1029,7 +1055,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call updateInvoiceValidateBeforeCall(String id, UpdateInvoiceRequest updateInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call updateInvoiceValidateBeforeCall(String id, UpdateInvoiceRequest updateInvoiceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -1060,8 +1086,9 @@ private okhttp3.Call updateInvoiceValidateBeforeCall(String id, UpdateInvoiceReq * @param updateInvoiceRequest Updating the invoice does not resend the invoice automatically. You must resend the invoice separately. (required) * @return InvoicingV2InvoicesPut200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InvoicingV2InvoicesPut200Response updateInvoice(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException { + public InvoicingV2InvoicesPut200Response updateInvoice(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'updateInvoice' STARTED"); ApiResponse resp = updateInvoiceWithHttpInfo(id, updateInvoiceRequest); logger.info("CALL TO METHOD 'updateInvoice' ENDED"); @@ -1075,8 +1102,9 @@ public InvoicingV2InvoicesPut200Response updateInvoice(String id, UpdateInvoiceR * @param updateInvoiceRequest Updating the invoice does not resend the invoice automatically. You must resend the invoice separately. (required) * @return ApiResponse<InvoicingV2InvoicesPut200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse updateInvoiceWithHttpInfo(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException { + public ApiResponse updateInvoiceWithHttpInfo(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateInvoiceValidateBeforeCall(id, updateInvoiceRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1091,8 +1119,9 @@ public ApiResponse updateInvoiceWithHttpInfo( * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateInvoiceAsync(String id, UpdateInvoiceRequest updateInvoiceRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call updateInvoiceAsync(String id, UpdateInvoiceRequest updateInvoiceRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ManageWebhooksApi.java b/src/main/java/Api/ManageWebhooksApi.java index bde1fa42a..97a7be6df 100644 --- a/src/main/java/Api/ManageWebhooksApi.java +++ b/src/main/java/Api/ManageWebhooksApi.java @@ -22,18 +22,19 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; import java.io.InputStream; -import Model.InlineResponse2004; import Model.InlineResponse2005; +import Model.InlineResponse2006; import Model.InlineResponse2015; import Model.InlineResponse2016; import Model.InlineResponse2017; -import Model.InlineResponse4042; +import Model.InlineResponse4043; import Model.SaveAsymEgressKey; import Model.UpdateStatus; import Model.UpdateWebhook; @@ -78,8 +79,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteWebhookSubscriptionCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteWebhookSubscriptionCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteWebhookSubscriptionValidateBeforeCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteWebhookSubscriptionValidateBeforeCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'webhookId' is set if (webhookId == null) { @@ -159,8 +161,9 @@ private okhttp3.Call deleteWebhookSubscriptionValidateBeforeCall(String webhookI * Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications. * @param webhookId The webhook identifier. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteWebhookSubscription(String webhookId) throws ApiException { + public void deleteWebhookSubscription(String webhookId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteWebhookSubscription' STARTED"); deleteWebhookSubscriptionWithHttpInfo(webhookId); @@ -172,8 +175,9 @@ public void deleteWebhookSubscription(String webhookId) throws ApiException { * @param webhookId The webhook identifier. (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteWebhookSubscriptionWithHttpInfo(String webhookId) throws ApiException { + public ApiResponse deleteWebhookSubscriptionWithHttpInfo(String webhookId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteWebhookSubscriptionValidateBeforeCall(webhookId, null, null); return apiClient.execute(call); @@ -186,8 +190,9 @@ public ApiResponse deleteWebhookSubscriptionWithHttpInfo(String webhookId) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteWebhookSubscriptionAsync(String webhookId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteWebhookSubscriptionAsync(String webhookId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -220,8 +225,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getWebhookSubscriptionByIdCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getWebhookSubscriptionByIdCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -278,7 +284,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getWebhookSubscriptionByIdValidateBeforeCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getWebhookSubscriptionByIdValidateBeforeCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'webhookId' is set if (webhookId == null) { @@ -302,8 +308,9 @@ private okhttp3.Call getWebhookSubscriptionByIdValidateBeforeCall(String webhook * @param webhookId The webhook Identifier (required) * @return InlineResponse2015 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2015 getWebhookSubscriptionById(String webhookId) throws ApiException { + public InlineResponse2015 getWebhookSubscriptionById(String webhookId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getWebhookSubscriptionById' STARTED"); ApiResponse resp = getWebhookSubscriptionByIdWithHttpInfo(webhookId); logger.info("CALL TO METHOD 'getWebhookSubscriptionById' ENDED"); @@ -316,8 +323,9 @@ public InlineResponse2015 getWebhookSubscriptionById(String webhookId) throws Ap * @param webhookId The webhook Identifier (required) * @return ApiResponse<InlineResponse2015> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getWebhookSubscriptionByIdWithHttpInfo(String webhookId) throws ApiException { + public ApiResponse getWebhookSubscriptionByIdWithHttpInfo(String webhookId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getWebhookSubscriptionByIdValidateBeforeCall(webhookId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -331,8 +339,9 @@ public ApiResponse getWebhookSubscriptionByIdWithHttpInfo(St * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getWebhookSubscriptionByIdAsync(String webhookId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getWebhookSubscriptionByIdAsync(String webhookId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -368,8 +377,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getWebhookSubscriptionsByOrgCall(String organizationId, String productId, String eventType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getWebhookSubscriptionsByOrgCall(String organizationId, String productId, String eventType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -431,7 +441,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getWebhookSubscriptionsByOrgValidateBeforeCall(String organizationId, String productId, String eventType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getWebhookSubscriptionsByOrgValidateBeforeCall(String organizationId, String productId, String eventType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'organizationId' is set if (organizationId == null) { @@ -455,12 +465,13 @@ private okhttp3.Call getWebhookSubscriptionsByOrgValidateBeforeCall(String organ * @param organizationId The Organization Identifier. (required) * @param productId The Product Identifier. (optional) * @param eventType The Event Type. (optional) - * @return List<InlineResponse2004> + * @return List<InlineResponse2005> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public List getWebhookSubscriptionsByOrg(String organizationId, String productId, String eventType) throws ApiException { + public List getWebhookSubscriptionsByOrg(String organizationId, String productId, String eventType) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' STARTED"); - ApiResponse> resp = getWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType); + ApiResponse> resp = getWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType); logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' ENDED"); return resp.getData(); } @@ -471,13 +482,14 @@ public List getWebhookSubscriptionsByOrg(String organization * @param organizationId The Organization Identifier. (required) * @param productId The Product Identifier. (optional) * @param eventType The Event Type. (optional) - * @return ApiResponse<List<InlineResponse2004>> + * @return ApiResponse<List<InlineResponse2005>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse> getWebhookSubscriptionsByOrgWithHttpInfo(String organizationId, String productId, String eventType) throws ApiException { + public ApiResponse> getWebhookSubscriptionsByOrgWithHttpInfo(String organizationId, String productId, String eventType) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getWebhookSubscriptionsByOrgValidateBeforeCall(organizationId, productId, eventType, null, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -490,8 +502,9 @@ public ApiResponse> getWebhookSubscriptionsByOrgWithHtt * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getWebhookSubscriptionsByOrgAsync(String organizationId, String productId, String eventType, final ApiCallback> callback) throws ApiException { + public okhttp3.Call getWebhookSubscriptionsByOrgAsync(String organizationId, String productId, String eventType, final ApiCallback> callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -514,7 +527,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getWebhookSubscriptionsByOrgValidateBeforeCall(organizationId, productId, eventType, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -525,8 +538,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -583,7 +597,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostValidateBeforeCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostValidateBeforeCall(String webhookId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'webhookId' is set if (webhookId == null) { @@ -607,8 +621,9 @@ private okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostValidateBef * @param webhookId The Webhook Identifier. (required) * @return InlineResponse2016 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2016 notificationSubscriptionsV1WebhooksWebhookIdPost(String webhookId) throws ApiException { + public InlineResponse2016 notificationSubscriptionsV1WebhooksWebhookIdPost(String webhookId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'notificationSubscriptionsV1WebhooksWebhookIdPost' STARTED"); ApiResponse resp = notificationSubscriptionsV1WebhooksWebhookIdPostWithHttpInfo(webhookId); logger.info("CALL TO METHOD 'notificationSubscriptionsV1WebhooksWebhookIdPost' ENDED"); @@ -621,8 +636,9 @@ public InlineResponse2016 notificationSubscriptionsV1WebhooksWebhookIdPost(Strin * @param webhookId The Webhook Identifier. (required) * @return ApiResponse<InlineResponse2016> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse notificationSubscriptionsV1WebhooksWebhookIdPostWithHttpInfo(String webhookId) throws ApiException { + public ApiResponse notificationSubscriptionsV1WebhooksWebhookIdPostWithHttpInfo(String webhookId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = notificationSubscriptionsV1WebhooksWebhookIdPostValidateBeforeCall(webhookId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -636,8 +652,9 @@ public ApiResponse notificationSubscriptionsV1WebhooksWebhoo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostAsync(String webhookId, final ApiCallback callback) throws ApiException { + public okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostAsync(String webhookId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -672,8 +689,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchCall(String webhookId, UpdateWebhook updateWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchCall(String webhookId, UpdateWebhook updateWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(updateWebhook, UpdateWebhook.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -727,7 +745,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(String webhookId, UpdateWebhook updateWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(String webhookId, UpdateWebhook updateWebhook, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'webhookId' is set if (webhookId == null) { @@ -750,12 +768,13 @@ private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBe * Update a Webhook Subscription. * @param webhookId The Webhook Identifier. (required) * @param updateWebhook The webhook payload or changes to apply. (optional) - * @return InlineResponse2005 + * @return InlineResponse2006 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2005 notificationSubscriptionsV2WebhooksWebhookIdPatch(String webhookId, UpdateWebhook updateWebhook) throws ApiException { + public InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksWebhookIdPatch' STARTED"); - ApiResponse resp = notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook); + ApiResponse resp = notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook); logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksWebhookIdPatch' ENDED"); return resp.getData(); } @@ -765,13 +784,14 @@ public InlineResponse2005 notificationSubscriptionsV2WebhooksWebhookIdPatch(Stri * Update a Webhook Subscription. * @param webhookId The Webhook Identifier. (required) * @param updateWebhook The webhook payload or changes to apply. (optional) - * @return ApiResponse<InlineResponse2005> + * @return ApiResponse<InlineResponse2006> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(String webhookId, UpdateWebhook updateWebhook) throws ApiException { + public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(webhookId, updateWebhook, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -783,8 +803,9 @@ public ApiResponse notificationSubscriptionsV2WebhooksWebhoo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchAsync(String webhookId, UpdateWebhook updateWebhook, final ApiCallback callback) throws ApiException { + public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchAsync(String webhookId, UpdateWebhook updateWebhook, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -807,7 +828,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(webhookId, updateWebhook, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -819,8 +840,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutCall(String webhookId, UpdateStatus updateStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutCall(String webhookId, UpdateStatus updateStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(updateStatus, UpdateStatus.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -874,7 +896,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutValidateBeforeCall(String webhookId, UpdateStatus updateStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutValidateBeforeCall(String webhookId, UpdateStatus updateStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'webhookId' is set if (webhookId == null) { @@ -898,8 +920,9 @@ private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutValida * @param webhookId The Webhook Identifier. (required) * @param updateStatus The status that the subscription should be updated to. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void notificationSubscriptionsV2WebhooksWebhookIdStatusPut(String webhookId, UpdateStatus updateStatus) throws ApiException { + public void notificationSubscriptionsV2WebhooksWebhookIdStatusPut(String webhookId, UpdateStatus updateStatus) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksWebhookIdStatusPut' STARTED"); notificationSubscriptionsV2WebhooksWebhookIdStatusPutWithHttpInfo(webhookId, updateStatus); @@ -912,8 +935,9 @@ public void notificationSubscriptionsV2WebhooksWebhookIdStatusPut(String webhook * @param updateStatus The status that the subscription should be updated to. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdStatusPutWithHttpInfo(String webhookId, UpdateStatus updateStatus) throws ApiException { + public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdStatusPutWithHttpInfo(String webhookId, UpdateStatus updateStatus) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = notificationSubscriptionsV2WebhooksWebhookIdStatusPutValidateBeforeCall(webhookId, updateStatus, null, null); return apiClient.execute(call); @@ -927,8 +951,9 @@ public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdStatusPutWi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutAsync(String webhookId, UpdateStatus updateStatus, final ApiCallback callback) throws ApiException { + public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutAsync(String webhookId, UpdateStatus updateStatus, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -964,8 +989,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call saveAsymEgressKeyCall(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call saveAsymEgressKeyCall(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(saveAsymEgressKey, SaveAsymEgressKey.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -1024,7 +1050,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call saveAsymEgressKeyValidateBeforeCall(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call saveAsymEgressKeyValidateBeforeCall(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'vCSenderOrganizationId' is set if (vCSenderOrganizationId == null) { @@ -1063,8 +1089,9 @@ private okhttp3.Call saveAsymEgressKeyValidateBeforeCall(String vCSenderOrganiza * @param vCCorrelationId A globally unique id associated with your request (optional) * @return InlineResponse2017 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2017 saveAsymEgressKey(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId) throws ApiException { + public InlineResponse2017 saveAsymEgressKey(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'saveAsymEgressKey' STARTED"); ApiResponse resp = saveAsymEgressKeyWithHttpInfo(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId); logger.info("CALL TO METHOD 'saveAsymEgressKey' ENDED"); @@ -1080,8 +1107,9 @@ public InlineResponse2017 saveAsymEgressKey(String vCSenderOrganizationId, Strin * @param vCCorrelationId A globally unique id associated with your request (optional) * @return ApiResponse<InlineResponse2017> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse saveAsymEgressKeyWithHttpInfo(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId) throws ApiException { + public ApiResponse saveAsymEgressKeyWithHttpInfo(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = saveAsymEgressKeyValidateBeforeCall(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1098,8 +1126,9 @@ public ApiResponse saveAsymEgressKeyWithHttpInfo(String vCSe * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call saveAsymEgressKeyAsync(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call saveAsymEgressKeyAsync(String vCSenderOrganizationId, String vCPermissions, SaveAsymEgressKey saveAsymEgressKey, String vCCorrelationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/MerchantBoardingApi.java b/src/main/java/Api/MerchantBoardingApi.java index 3c5378db6..65049a9ae 100644 --- a/src/main/java/Api/MerchantBoardingApi.java +++ b/src/main/java/Api/MerchantBoardingApi.java @@ -22,16 +22,17 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; import java.io.InputStream; -import Model.InlineResponse2002; +import Model.InlineResponse2003; import Model.InlineResponse2013; import Model.InlineResponse4007; -import Model.InlineResponse4041; +import Model.InlineResponse4042; import Model.InlineResponse4221; import Model.InlineResponse5002; import Model.PostRegistrationBody; @@ -76,8 +77,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getRegistrationCall(String registrationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getRegistrationCall(String registrationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getRegistrationValidateBeforeCall(String registrationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getRegistrationValidateBeforeCall(String registrationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'registrationId' is set if (registrationId == null) { @@ -156,12 +158,13 @@ private okhttp3.Call getRegistrationValidateBeforeCall(String registrationId, fi * Gets all the information on a boarding registration * This end point will get all information of a boarding registration * @param registrationId Identifies the boarding registration to be updated (required) - * @return InlineResponse2002 + * @return InlineResponse2003 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2002 getRegistration(String registrationId) throws ApiException { + public InlineResponse2003 getRegistration(String registrationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getRegistration' STARTED"); - ApiResponse resp = getRegistrationWithHttpInfo(registrationId); + ApiResponse resp = getRegistrationWithHttpInfo(registrationId); logger.info("CALL TO METHOD 'getRegistration' ENDED"); return resp.getData(); } @@ -170,13 +173,14 @@ public InlineResponse2002 getRegistration(String registrationId) throws ApiExcep * Gets all the information on a boarding registration * This end point will get all information of a boarding registration * @param registrationId Identifies the boarding registration to be updated (required) - * @return ApiResponse<InlineResponse2002> + * @return ApiResponse<InlineResponse2003> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getRegistrationWithHttpInfo(String registrationId) throws ApiException { + public ApiResponse getRegistrationWithHttpInfo(String registrationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getRegistrationValidateBeforeCall(registrationId, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -187,8 +191,9 @@ public ApiResponse getRegistrationWithHttpInfo(String regist * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getRegistrationAsync(String registrationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getRegistrationAsync(String registrationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -211,7 +216,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } okhttp3.Call call = getRegistrationValidateBeforeCall(registrationId, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -223,8 +228,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postRegistrationCall(PostRegistrationBody postRegistrationBody, String vCIdempotencyId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postRegistrationCall(PostRegistrationBody postRegistrationBody, String vCIdempotencyId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postRegistrationBody, PostRegistrationBody.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -279,7 +285,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postRegistrationValidateBeforeCall(PostRegistrationBody postRegistrationBody, String vCIdempotencyId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postRegistrationValidateBeforeCall(PostRegistrationBody postRegistrationBody, String vCIdempotencyId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'postRegistrationBody' is set if (postRegistrationBody == null) { @@ -304,8 +310,9 @@ private okhttp3.Call postRegistrationValidateBeforeCall(PostRegistrationBody pos * @param vCIdempotencyId defines idempotency of the request (optional) * @return InlineResponse2013 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse2013 postRegistration(PostRegistrationBody postRegistrationBody, String vCIdempotencyId) throws ApiException { + public InlineResponse2013 postRegistration(PostRegistrationBody postRegistrationBody, String vCIdempotencyId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postRegistration' STARTED"); ApiResponse resp = postRegistrationWithHttpInfo(postRegistrationBody, vCIdempotencyId); logger.info("CALL TO METHOD 'postRegistration' ENDED"); @@ -319,8 +326,9 @@ public InlineResponse2013 postRegistration(PostRegistrationBody postRegistration * @param vCIdempotencyId defines idempotency of the request (optional) * @return ApiResponse<InlineResponse2013> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postRegistrationWithHttpInfo(PostRegistrationBody postRegistrationBody, String vCIdempotencyId) throws ApiException { + public ApiResponse postRegistrationWithHttpInfo(PostRegistrationBody postRegistrationBody, String vCIdempotencyId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postRegistrationValidateBeforeCall(postRegistrationBody, vCIdempotencyId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -335,8 +343,9 @@ public ApiResponse postRegistrationWithHttpInfo(PostRegistra * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postRegistrationAsync(PostRegistrationBody postRegistrationBody, String vCIdempotencyId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postRegistrationAsync(PostRegistrationBody postRegistrationBody, String vCIdempotencyId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/MerchantDefinedFieldsApi.java b/src/main/java/Api/MerchantDefinedFieldsApi.java new file mode 100644 index 000000000..955d7db72 --- /dev/null +++ b/src/main/java/Api/MerchantDefinedFieldsApi.java @@ -0,0 +1,702 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Invokers.ApiCallback; +import Invokers.ApiClient; +import Invokers.ApiException; +import Invokers.ApiResponse; +import Invokers.Configuration; +import Invokers.Pair; +import Invokers.ProgressRequestBody; +import Invokers.ProgressResponseBody; + +import com.cybersource.authsdk.core.ConfigException; +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; +import java.io.InputStream; + + +import Model.InlineResponse2002; +import Model.InlineResponse4041; +import Model.MerchantDefinedFieldCore; +import Model.MerchantDefinedFieldDefinitionRequest; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import utilities.tracking.SdkTracker; +import com.cybersource.authsdk.util.mle.MLEUtility; +import com.cybersource.authsdk.util.mle.MLEException; + +public class MerchantDefinedFieldsApi { + private static Logger logger = LogManager.getLogger(MerchantDefinedFieldsApi.class); + + private ApiClient apiClient; + + public MerchantDefinedFieldsApi() { + this(Configuration.getDefaultApiClient()); + } + + public MerchantDefinedFieldsApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createMerchantDefinedFieldDefinition + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @param merchantDefinedFieldDefinitionRequest (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call createMerchantDefinedFieldDefinitionCall(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(merchantDefinedFieldDefinitionRequest, MerchantDefinedFieldDefinitionRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); + + String inboundMLEStatus = "false"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "createMerchantDefinedFieldDefinition,createMerchantDefinedFieldDefinitionAsync,createMerchantDefinedFieldDefinitionWithHttpInfo,createMerchantDefinedFieldDefinitionCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields" + .replaceAll("\\{" + "referenceType" + "\\}", apiClient.escapeString(referenceType.toString())); + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createMerchantDefinedFieldDefinitionValidateBeforeCall(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'referenceType' is set + if (referenceType == null) { + logger.error("Missing the required parameter 'referenceType' when calling createMerchantDefinedFieldDefinition(Async)"); + throw new ApiException("Missing the required parameter 'referenceType' when calling createMerchantDefinedFieldDefinition(Async)"); + } + + // verify the required parameter 'merchantDefinedFieldDefinitionRequest' is set + if (merchantDefinedFieldDefinitionRequest == null) { + logger.error("Missing the required parameter 'merchantDefinedFieldDefinitionRequest' when calling createMerchantDefinedFieldDefinition(Async)"); + throw new ApiException("Missing the required parameter 'merchantDefinedFieldDefinitionRequest' when calling createMerchantDefinedFieldDefinition(Async)"); + } + + + okhttp3.Call call = createMerchantDefinedFieldDefinitionCall(referenceType, merchantDefinedFieldDefinitionRequest, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Create merchant defined field for a given reference type + * + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @param merchantDefinedFieldDefinitionRequest (required) + * @return List<InlineResponse2002> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public List createMerchantDefinedFieldDefinition(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'createMerchantDefinedFieldDefinition' STARTED"); + ApiResponse> resp = createMerchantDefinedFieldDefinitionWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest); + logger.info("CALL TO METHOD 'createMerchantDefinedFieldDefinition' ENDED"); + return resp.getData(); + } + + /** + * Create merchant defined field for a given reference type + * + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @param merchantDefinedFieldDefinitionRequest (required) + * @return ApiResponse<List<InlineResponse2002>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse> createMerchantDefinedFieldDefinitionWithHttpInfo(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = createMerchantDefinedFieldDefinitionValidateBeforeCall(referenceType, merchantDefinedFieldDefinitionRequest, null, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Create merchant defined field for a given reference type (asynchronously) + * + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @param merchantDefinedFieldDefinitionRequest (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call createMerchantDefinedFieldDefinitionAsync(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest, final ApiCallback> callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = createMerchantDefinedFieldDefinitionValidateBeforeCall(referenceType, merchantDefinedFieldDefinitionRequest, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken>(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getMerchantDefinedFieldsDefinitions + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call getMerchantDefinedFieldsDefinitionsCall(String referenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = null; + if ("GET".equalsIgnoreCase("POST")) { + localVarPostBody = "{}"; + } + + String inboundMLEStatus = "false"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "getMerchantDefinedFieldsDefinitions,getMerchantDefinedFieldsDefinitionsAsync,getMerchantDefinedFieldsDefinitionsWithHttpInfo,getMerchantDefinedFieldsDefinitionsCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields" + .replaceAll("\\{" + "referenceType" + "\\}", apiClient.escapeString(referenceType.toString())); + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getMerchantDefinedFieldsDefinitionsValidateBeforeCall(String referenceType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'referenceType' is set + if (referenceType == null) { + logger.error("Missing the required parameter 'referenceType' when calling getMerchantDefinedFieldsDefinitions(Async)"); + throw new ApiException("Missing the required parameter 'referenceType' when calling getMerchantDefinedFieldsDefinitions(Async)"); + } + + + okhttp3.Call call = getMerchantDefinedFieldsDefinitionsCall(referenceType, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Get all merchant defined fields for a given reference type + * + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @return List<InlineResponse2002> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public List getMerchantDefinedFieldsDefinitions(String referenceType) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'getMerchantDefinedFieldsDefinitions' STARTED"); + ApiResponse> resp = getMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType); + logger.info("CALL TO METHOD 'getMerchantDefinedFieldsDefinitions' ENDED"); + return resp.getData(); + } + + /** + * Get all merchant defined fields for a given reference type + * + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @return ApiResponse<List<InlineResponse2002>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse> getMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = getMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, null, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Get all merchant defined fields for a given reference type (asynchronously) + * + * @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call getMerchantDefinedFieldsDefinitionsAsync(String referenceType, final ApiCallback> callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = getMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken>(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete + * @param referenceType (required) + * @param id (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteCall(String referenceType, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = null; + if ("DELETE".equalsIgnoreCase("POST")) { + localVarPostBody = "{}"; + } + + String inboundMLEStatus = "false"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete,invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteAsync,invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteWithHttpInfo,invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields/{id}" + .replaceAll("\\{" + "referenceType" + "\\}", apiClient.escapeString(referenceType.toString())) + .replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/hal+json;charset=utf-8" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json;charset=utf-8" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteValidateBeforeCall(String referenceType, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'referenceType' is set + if (referenceType == null) { + logger.error("Missing the required parameter 'referenceType' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(Async)"); + throw new ApiException("Missing the required parameter 'referenceType' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(Async)"); + } + + // verify the required parameter 'id' is set + if (id == null) { + logger.error("Missing the required parameter 'id' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(Async)"); + throw new ApiException("Missing the required parameter 'id' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(Async)"); + } + + + okhttp3.Call call = invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteCall(referenceType, id, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Delete a MerchantDefinedField by ID + * + * @param referenceType (required) + * @param id (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public void invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(String referenceType, Long id) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete' STARTED"); + invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteWithHttpInfo(referenceType, id); + + } + + /** + * Delete a MerchantDefinedField by ID + * + * @param referenceType (required) + * @param id (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteWithHttpInfo(String referenceType, Long id) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteValidateBeforeCall(referenceType, id, null, null); + return apiClient.execute(call); + } + + /** + * Delete a MerchantDefinedField by ID (asynchronously) + * + * @param referenceType (required) + * @param id (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteAsync(String referenceType, Long id, final ApiCallback callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteValidateBeforeCall(referenceType, id, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); + return call; + } + /** + * Build call for invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut + * @param referenceType (required) + * @param id (required) + * @param merchantDefinedFieldCore (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutCall(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(merchantDefinedFieldCore, MerchantDefinedFieldCore.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); + + String inboundMLEStatus = "false"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut,invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutAsync,invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutWithHttpInfo,invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields/{id}" + .replaceAll("\\{" + "referenceType" + "\\}", apiClient.escapeString(referenceType.toString())) + .replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/hal+json;charset=utf-8" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json;charset=utf-8" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutValidateBeforeCall(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'referenceType' is set + if (referenceType == null) { + logger.error("Missing the required parameter 'referenceType' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(Async)"); + throw new ApiException("Missing the required parameter 'referenceType' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(Async)"); + } + + // verify the required parameter 'id' is set + if (id == null) { + logger.error("Missing the required parameter 'id' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(Async)"); + throw new ApiException("Missing the required parameter 'id' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(Async)"); + } + + // verify the required parameter 'merchantDefinedFieldCore' is set + if (merchantDefinedFieldCore == null) { + logger.error("Missing the required parameter 'merchantDefinedFieldCore' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(Async)"); + throw new ApiException("Missing the required parameter 'merchantDefinedFieldCore' when calling invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(Async)"); + } + + + okhttp3.Call call = invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutCall(referenceType, id, merchantDefinedFieldCore, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Update a MerchantDefinedField by ID + * + * @param referenceType (required) + * @param id (required) + * @param merchantDefinedFieldCore (required) + * @return List<InlineResponse2002> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public List invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut' STARTED"); + ApiResponse> resp = invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutWithHttpInfo(referenceType, id, merchantDefinedFieldCore); + logger.info("CALL TO METHOD 'invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut' ENDED"); + return resp.getData(); + } + + /** + * Update a MerchantDefinedField by ID + * + * @param referenceType (required) + * @param id (required) + * @param merchantDefinedFieldCore (required) + * @return ApiResponse<List<InlineResponse2002>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse> invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutWithHttpInfo(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutValidateBeforeCall(referenceType, id, merchantDefinedFieldCore, null, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Update a MerchantDefinedField by ID (asynchronously) + * + * @param referenceType (required) + * @param id (required) + * @param merchantDefinedFieldCore (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutAsync(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore, final ApiCallback> callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutValidateBeforeCall(referenceType, id, merchantDefinedFieldCore, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken>(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/src/main/java/Api/MicroformIntegrationApi.java b/src/main/java/Api/MicroformIntegrationApi.java index adaa28bec..34ce58495 100644 --- a/src/main/java/Api/MicroformIntegrationApi.java +++ b/src/main/java/Api/MicroformIntegrationApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -71,8 +72,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call generateCaptureContextCall(GenerateCaptureContextRequest generateCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call generateCaptureContextCall(GenerateCaptureContextRequest generateCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(generateCaptureContextRequest, GenerateCaptureContextRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call generateCaptureContextValidateBeforeCall(GenerateCaptureContextRequest generateCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call generateCaptureContextValidateBeforeCall(GenerateCaptureContextRequest generateCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'generateCaptureContextRequest' is set if (generateCaptureContextRequest == null) { @@ -149,8 +151,9 @@ private okhttp3.Call generateCaptureContextValidateBeforeCall(GenerateCaptureCon * @param generateCaptureContextRequest (required) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public String generateCaptureContext(GenerateCaptureContextRequest generateCaptureContextRequest) throws ApiException { + public String generateCaptureContext(GenerateCaptureContextRequest generateCaptureContextRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'generateCaptureContext' STARTED"); ApiResponse resp = generateCaptureContextWithHttpInfo(generateCaptureContextRequest); logger.info("CALL TO METHOD 'generateCaptureContext' ENDED"); @@ -163,8 +166,9 @@ public String generateCaptureContext(GenerateCaptureContextRequest generateCaptu * @param generateCaptureContextRequest (required) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse generateCaptureContextWithHttpInfo(GenerateCaptureContextRequest generateCaptureContextRequest) throws ApiException { + public ApiResponse generateCaptureContextWithHttpInfo(GenerateCaptureContextRequest generateCaptureContextRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = generateCaptureContextValidateBeforeCall(generateCaptureContextRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -178,8 +182,9 @@ public ApiResponse generateCaptureContextWithHttpInfo(GenerateCaptureCon * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call generateCaptureContextAsync(GenerateCaptureContextRequest generateCaptureContextRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call generateCaptureContextAsync(GenerateCaptureContextRequest generateCaptureContextRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/NetFundingsApi.java b/src/main/java/Api/NetFundingsApi.java index cd7f8a5a0..d8a4000ab 100644 --- a/src/main/java/Api/NetFundingsApi.java +++ b/src/main/java/Api/NetFundingsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getNetFundingDetailsCall(DateTime startTime, DateTime endTime, String organizationId, String groupName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getNetFundingDetailsCall(DateTime startTime, DateTime endTime, String organizationId, String groupName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -140,7 +142,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getNetFundingDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, String groupName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getNetFundingDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, String groupName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -173,8 +175,9 @@ private okhttp3.Call getNetFundingDetailsValidateBeforeCall(DateTime startTime, * @param groupName Valid CyberSource Group Name. (optional) * @return ReportingV3NetFundingsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3NetFundingsGet200Response getNetFundingDetails(DateTime startTime, DateTime endTime, String organizationId, String groupName) throws ApiException { + public ReportingV3NetFundingsGet200Response getNetFundingDetails(DateTime startTime, DateTime endTime, String organizationId, String groupName) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getNetFundingDetails' STARTED"); ApiResponse resp = getNetFundingDetailsWithHttpInfo(startTime, endTime, organizationId, groupName); logger.info("CALL TO METHOD 'getNetFundingDetails' ENDED"); @@ -190,8 +193,9 @@ public ReportingV3NetFundingsGet200Response getNetFundingDetails(DateTime startT * @param groupName Valid CyberSource Group Name. (optional) * @return ApiResponse<ReportingV3NetFundingsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getNetFundingDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String groupName) throws ApiException { + public ApiResponse getNetFundingDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String groupName) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getNetFundingDetailsValidateBeforeCall(startTime, endTime, organizationId, groupName, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -208,8 +212,9 @@ public ApiResponse getNetFundingDetailsWit * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getNetFundingDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, String groupName, final ApiCallback callback) throws ApiException { + public okhttp3.Call getNetFundingDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, String groupName, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/NotificationOfChangesApi.java b/src/main/java/Api/NotificationOfChangesApi.java index a50d196a4..77559d7d1 100644 --- a/src/main/java/Api/NotificationOfChangesApi.java +++ b/src/main/java/Api/NotificationOfChangesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getNotificationOfChangeReportCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getNotificationOfChangeReportCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getNotificationOfChangeReportValidateBeforeCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getNotificationOfChangeReportValidateBeforeCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -165,8 +167,9 @@ private okhttp3.Call getNotificationOfChangeReportValidateBeforeCall(DateTime st * @param endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) (required) * @return ReportingV3NotificationofChangesGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3NotificationofChangesGet200Response getNotificationOfChangeReport(DateTime startTime, DateTime endTime) throws ApiException { + public ReportingV3NotificationofChangesGet200Response getNotificationOfChangeReport(DateTime startTime, DateTime endTime) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getNotificationOfChangeReport' STARTED"); ApiResponse resp = getNotificationOfChangeReportWithHttpInfo(startTime, endTime); logger.info("CALL TO METHOD 'getNotificationOfChangeReport' ENDED"); @@ -180,8 +183,9 @@ public ReportingV3NotificationofChangesGet200Response getNotificationOfChangeRep * @param endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) (required) * @return ApiResponse<ReportingV3NotificationofChangesGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getNotificationOfChangeReportWithHttpInfo(DateTime startTime, DateTime endTime) throws ApiException { + public ApiResponse getNotificationOfChangeReportWithHttpInfo(DateTime startTime, DateTime endTime) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getNotificationOfChangeReportValidateBeforeCall(startTime, endTime, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -196,8 +200,9 @@ public ApiResponse getNotificati * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getNotificationOfChangeReportAsync(DateTime startTime, DateTime endTime, final ApiCallback callback) throws ApiException { + public okhttp3.Call getNotificationOfChangeReportAsync(DateTime startTime, DateTime endTime, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/OAuthApi.java b/src/main/java/Api/OAuthApi.java index 6b9269218..13962e0fa 100644 --- a/src/main/java/Api/OAuthApi.java +++ b/src/main/java/Api/OAuthApi.java @@ -10,6 +10,7 @@ import Invokers.ProgressResponseBody; import Model.*; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -52,8 +53,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postAccessTokenFromAuthCodeCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postAccessTokenFromAuthCodeCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { Object localVarPostBody = createAccessTokenRequest; // create path and map variables @@ -94,7 +96,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postAccessTokenFromAuthCodeValidateBeforeCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postAccessTokenFromAuthCodeValidateBeforeCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'CreateAccessTokenRequest' is set if (createAccessTokenRequest == null) { @@ -111,8 +113,9 @@ private okhttp3.Call postAccessTokenFromAuthCodeValidateBeforeCall(CreateAccessT * @param createAccessTokenRequest (required) * @return AccessTokenResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public AccessTokenResponse postAccessTokenFromAuthCode(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException { + public AccessTokenResponse postAccessTokenFromAuthCode(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postAccessTokenFromAuthCodeWithHttpInfo(createAccessTokenRequest); return resp.getData(); @@ -124,9 +127,10 @@ public AccessTokenResponse postAccessTokenFromAuthCode(CreateAccessTokenRequest * @param createAccessTokenRequest (required) * @return ApiResponse<AccessTokenResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postAccessTokenFromAuthCodeWithHttpInfo(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException { + public ApiResponse postAccessTokenFromAuthCodeWithHttpInfo(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException, ConfigException { okhttp3.Call call = postAccessTokenFromAuthCodeValidateBeforeCall(createAccessTokenRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -138,9 +142,10 @@ public ApiResponse postAccessTokenFromAuthCodeWithHttpInfo( * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postAccessTokenFromAuthCodeAsync(CreateAccessTokenRequest createAccessTokenRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call postAccessTokenFromAuthCodeAsync(CreateAccessTokenRequest createAccessTokenRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -176,8 +181,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postAccessTokenFromRefreshTokenCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postAccessTokenFromRefreshTokenCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { Object localVarPostBody = createAccessTokenRequest; // create path and map variables @@ -218,7 +224,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postAccessTokenFromRefreshTokenValidateBeforeCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postAccessTokenFromRefreshTokenValidateBeforeCall(CreateAccessTokenRequest createAccessTokenRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'CreateAccessTokenRequest' is set if (createAccessTokenRequest == null) { @@ -235,8 +241,9 @@ private okhttp3.Call postAccessTokenFromRefreshTokenValidateBeforeCall(CreateAcc * @param createAccessTokenRequest (required) * @return AccessTokenResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public AccessTokenResponse postAccessTokenFromRefreshToken(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException { + public AccessTokenResponse postAccessTokenFromRefreshToken(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ApiResponse resp = postAccessTokenFromRefreshTokenWithHttpInfo(createAccessTokenRequest); return resp.getData(); @@ -248,9 +255,10 @@ public AccessTokenResponse postAccessTokenFromRefreshToken(CreateAccessTokenRequ * @param createAccessTokenRequest (required) * @return ApiResponse<AccessTokenResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postAccessTokenFromRefreshTokenWithHttpInfo(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException { + public ApiResponse postAccessTokenFromRefreshTokenWithHttpInfo(CreateAccessTokenRequest createAccessTokenRequest) throws ApiException, ConfigException { okhttp3.Call call = postAccessTokenFromRefreshTokenValidateBeforeCall(createAccessTokenRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -262,9 +270,10 @@ public ApiResponse postAccessTokenFromRefreshTokenWithHttpI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postAccessTokenFromRefreshTokenAsync(CreateAccessTokenRequest createAccessTokenRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call postAccessTokenFromRefreshTokenAsync(CreateAccessTokenRequest createAccessTokenRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/OrdersApi.java b/src/main/java/Api/OrdersApi.java index b883021cb..75d44741d 100644 --- a/src/main/java/Api/OrdersApi.java +++ b/src/main/java/Api/OrdersApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createOrderCall(CreateOrderRequest createOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createOrderCall(CreateOrderRequest createOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createOrderRequest, CreateOrderRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -129,7 +131,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createOrderValidateBeforeCall(CreateOrderRequest createOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createOrderValidateBeforeCall(CreateOrderRequest createOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createOrderRequest' is set if (createOrderRequest == null) { @@ -153,8 +155,9 @@ private okhttp3.Call createOrderValidateBeforeCall(CreateOrderRequest createOrde * @param createOrderRequest (required) * @return PtsV2CreateOrderPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2CreateOrderPost201Response createOrder(CreateOrderRequest createOrderRequest) throws ApiException { + public PtsV2CreateOrderPost201Response createOrder(CreateOrderRequest createOrderRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createOrder' STARTED"); ApiResponse resp = createOrderWithHttpInfo(createOrderRequest); logger.info("CALL TO METHOD 'createOrder' ENDED"); @@ -167,8 +170,9 @@ public PtsV2CreateOrderPost201Response createOrder(CreateOrderRequest createOrde * @param createOrderRequest (required) * @return ApiResponse<PtsV2CreateOrderPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createOrderWithHttpInfo(CreateOrderRequest createOrderRequest) throws ApiException { + public ApiResponse createOrderWithHttpInfo(CreateOrderRequest createOrderRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createOrderValidateBeforeCall(createOrderRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -182,8 +186,9 @@ public ApiResponse createOrderWithHttpInfo(Crea * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createOrderAsync(CreateOrderRequest createOrderRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createOrderAsync(CreateOrderRequest createOrderRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -218,8 +223,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateOrderCall(String id, UpdateOrderRequest updateOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call updateOrderCall(String id, UpdateOrderRequest updateOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(updateOrderRequest, UpdateOrderRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -273,7 +279,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call updateOrderValidateBeforeCall(String id, UpdateOrderRequest updateOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call updateOrderValidateBeforeCall(String id, UpdateOrderRequest updateOrderRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -304,8 +310,9 @@ private okhttp3.Call updateOrderValidateBeforeCall(String id, UpdateOrderRequest * @param updateOrderRequest (required) * @return PtsV2UpdateOrderPatch201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2UpdateOrderPatch201Response updateOrder(String id, UpdateOrderRequest updateOrderRequest) throws ApiException { + public PtsV2UpdateOrderPatch201Response updateOrder(String id, UpdateOrderRequest updateOrderRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'updateOrder' STARTED"); ApiResponse resp = updateOrderWithHttpInfo(id, updateOrderRequest); logger.info("CALL TO METHOD 'updateOrder' ENDED"); @@ -319,8 +326,9 @@ public PtsV2UpdateOrderPatch201Response updateOrder(String id, UpdateOrderReques * @param updateOrderRequest (required) * @return ApiResponse<PtsV2UpdateOrderPatch201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse updateOrderWithHttpInfo(String id, UpdateOrderRequest updateOrderRequest) throws ApiException { + public ApiResponse updateOrderWithHttpInfo(String id, UpdateOrderRequest updateOrderRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateOrderValidateBeforeCall(id, updateOrderRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -335,8 +343,9 @@ public ApiResponse updateOrderWithHttpInfo(Str * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateOrderAsync(String id, UpdateOrderRequest updateOrderRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call updateOrderAsync(String id, UpdateOrderRequest updateOrderRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PayerAuthenticationApi.java b/src/main/java/Api/PayerAuthenticationApi.java index 6f6cfcdb7..27bb22fb0 100644 --- a/src/main/java/Api/PayerAuthenticationApi.java +++ b/src/main/java/Api/PayerAuthenticationApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -78,8 +79,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call checkPayerAuthEnrollmentCall(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call checkPayerAuthEnrollmentCall(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(checkPayerAuthEnrollmentRequest, CheckPayerAuthEnrollmentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -132,7 +134,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call checkPayerAuthEnrollmentValidateBeforeCall(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call checkPayerAuthEnrollmentValidateBeforeCall(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'checkPayerAuthEnrollmentRequest' is set if (checkPayerAuthEnrollmentRequest == null) { @@ -156,8 +158,9 @@ private okhttp3.Call checkPayerAuthEnrollmentValidateBeforeCall(CheckPayerAuthEn * @param checkPayerAuthEnrollmentRequest (required) * @return RiskV1AuthenticationsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1AuthenticationsPost201Response checkPayerAuthEnrollment(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest) throws ApiException { + public RiskV1AuthenticationsPost201Response checkPayerAuthEnrollment(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'checkPayerAuthEnrollment' STARTED"); ApiResponse resp = checkPayerAuthEnrollmentWithHttpInfo(checkPayerAuthEnrollmentRequest); logger.info("CALL TO METHOD 'checkPayerAuthEnrollment' ENDED"); @@ -170,8 +173,9 @@ public RiskV1AuthenticationsPost201Response checkPayerAuthEnrollment(CheckPayerA * @param checkPayerAuthEnrollmentRequest (required) * @return ApiResponse<RiskV1AuthenticationsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse checkPayerAuthEnrollmentWithHttpInfo(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest) throws ApiException { + public ApiResponse checkPayerAuthEnrollmentWithHttpInfo(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = checkPayerAuthEnrollmentValidateBeforeCall(checkPayerAuthEnrollmentRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -185,8 +189,9 @@ public ApiResponse checkPayerAuthEnrollmen * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call checkPayerAuthEnrollmentAsync(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call checkPayerAuthEnrollmentAsync(CheckPayerAuthEnrollmentRequest checkPayerAuthEnrollmentRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -220,8 +225,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call payerAuthSetupCall(PayerAuthSetupRequest payerAuthSetupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call payerAuthSetupCall(PayerAuthSetupRequest payerAuthSetupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(payerAuthSetupRequest, PayerAuthSetupRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -274,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call payerAuthSetupValidateBeforeCall(PayerAuthSetupRequest payerAuthSetupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call payerAuthSetupValidateBeforeCall(PayerAuthSetupRequest payerAuthSetupRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'payerAuthSetupRequest' is set if (payerAuthSetupRequest == null) { @@ -298,8 +304,9 @@ private okhttp3.Call payerAuthSetupValidateBeforeCall(PayerAuthSetupRequest paye * @param payerAuthSetupRequest (required) * @return RiskV1AuthenticationSetupsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1AuthenticationSetupsPost201Response payerAuthSetup(PayerAuthSetupRequest payerAuthSetupRequest) throws ApiException { + public RiskV1AuthenticationSetupsPost201Response payerAuthSetup(PayerAuthSetupRequest payerAuthSetupRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'payerAuthSetup' STARTED"); ApiResponse resp = payerAuthSetupWithHttpInfo(payerAuthSetupRequest); logger.info("CALL TO METHOD 'payerAuthSetup' ENDED"); @@ -312,8 +319,9 @@ public RiskV1AuthenticationSetupsPost201Response payerAuthSetup(PayerAuthSetupRe * @param payerAuthSetupRequest (required) * @return ApiResponse<RiskV1AuthenticationSetupsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse payerAuthSetupWithHttpInfo(PayerAuthSetupRequest payerAuthSetupRequest) throws ApiException { + public ApiResponse payerAuthSetupWithHttpInfo(PayerAuthSetupRequest payerAuthSetupRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = payerAuthSetupValidateBeforeCall(payerAuthSetupRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -327,8 +335,9 @@ public ApiResponse payerAuthSetupWith * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call payerAuthSetupAsync(PayerAuthSetupRequest payerAuthSetupRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call payerAuthSetupAsync(PayerAuthSetupRequest payerAuthSetupRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -362,8 +371,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call validateAuthenticationResultsCall(ValidateRequest validateRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call validateAuthenticationResultsCall(ValidateRequest validateRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(validateRequest, ValidateRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -416,7 +426,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call validateAuthenticationResultsValidateBeforeCall(ValidateRequest validateRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call validateAuthenticationResultsValidateBeforeCall(ValidateRequest validateRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'validateRequest' is set if (validateRequest == null) { @@ -440,8 +450,9 @@ private okhttp3.Call validateAuthenticationResultsValidateBeforeCall(ValidateReq * @param validateRequest (required) * @return RiskV1AuthenticationResultsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1AuthenticationResultsPost201Response validateAuthenticationResults(ValidateRequest validateRequest) throws ApiException { + public RiskV1AuthenticationResultsPost201Response validateAuthenticationResults(ValidateRequest validateRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'validateAuthenticationResults' STARTED"); ApiResponse resp = validateAuthenticationResultsWithHttpInfo(validateRequest); logger.info("CALL TO METHOD 'validateAuthenticationResults' ENDED"); @@ -454,8 +465,9 @@ public RiskV1AuthenticationResultsPost201Response validateAuthenticationResults( * @param validateRequest (required) * @return ApiResponse<RiskV1AuthenticationResultsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse validateAuthenticationResultsWithHttpInfo(ValidateRequest validateRequest) throws ApiException { + public ApiResponse validateAuthenticationResultsWithHttpInfo(ValidateRequest validateRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = validateAuthenticationResultsValidateBeforeCall(validateRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -469,8 +481,9 @@ public ApiResponse validateAuthentic * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call validateAuthenticationResultsAsync(ValidateRequest validateRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call validateAuthenticationResultsAsync(ValidateRequest validateRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PaymentBatchSummariesApi.java b/src/main/java/Api/PaymentBatchSummariesApi.java index d47b9b5b6..64736444f 100644 --- a/src/main/java/Api/PaymentBatchSummariesApi.java +++ b/src/main/java/Api/PaymentBatchSummariesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -77,8 +78,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentBatchSummaryCall(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPaymentBatchSummaryCall(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -146,7 +148,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPaymentBatchSummaryValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPaymentBatchSummaryValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -181,8 +183,9 @@ private okhttp3.Call getPaymentBatchSummaryValidateBeforeCall(DateTime startTime * @param startDayOfWeek Optional - Start day of week to breakdown data for weeks in a month (optional) * @return ReportingV3PaymentBatchSummariesGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3PaymentBatchSummariesGet200Response getPaymentBatchSummary(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek) throws ApiException { + public ReportingV3PaymentBatchSummariesGet200Response getPaymentBatchSummary(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPaymentBatchSummary' STARTED"); ApiResponse resp = getPaymentBatchSummaryWithHttpInfo(startTime, endTime, organizationId, rollUp, breakdown, startDayOfWeek); logger.info("CALL TO METHOD 'getPaymentBatchSummary' ENDED"); @@ -200,8 +203,9 @@ public ReportingV3PaymentBatchSummariesGet200Response getPaymentBatchSummary(Dat * @param startDayOfWeek Optional - Start day of week to breakdown data for weeks in a month (optional) * @return ApiResponse<ReportingV3PaymentBatchSummariesGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPaymentBatchSummaryWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek) throws ApiException { + public ApiResponse getPaymentBatchSummaryWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPaymentBatchSummaryValidateBeforeCall(startTime, endTime, organizationId, rollUp, breakdown, startDayOfWeek, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -220,8 +224,9 @@ public ApiResponse getPaymentBat * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentBatchSummaryAsync(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPaymentBatchSummaryAsync(DateTime startTime, DateTime endTime, String organizationId, String rollUp, String breakdown, Integer startDayOfWeek, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PaymentInstrumentApi.java b/src/main/java/Api/PaymentInstrumentApi.java index 58b932f3d..18e7d219b 100644 --- a/src/main/java/Api/PaymentInstrumentApi.java +++ b/src/main/java/Api/PaymentInstrumentApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -79,8 +80,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deletePaymentInstrumentCall(String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deletePaymentInstrumentCall(String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -139,7 +141,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deletePaymentInstrumentValidateBeforeCall(String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deletePaymentInstrumentValidateBeforeCall(String paymentInstrumentId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'paymentInstrumentId' is set if (paymentInstrumentId == null) { @@ -163,8 +165,9 @@ private okhttp3.Call deletePaymentInstrumentValidateBeforeCall(String paymentIns * @param paymentInstrumentId The Id of a payment instrument. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deletePaymentInstrument(String paymentInstrumentId, String profileId) throws ApiException { + public void deletePaymentInstrument(String paymentInstrumentId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deletePaymentInstrument' STARTED"); deletePaymentInstrumentWithHttpInfo(paymentInstrumentId, profileId); @@ -177,8 +180,9 @@ public void deletePaymentInstrument(String paymentInstrumentId, String profileId * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deletePaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId) throws ApiException { + public ApiResponse deletePaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deletePaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, null, null); return apiClient.execute(call); @@ -192,8 +196,9 @@ public ApiResponse deletePaymentInstrumentWithHttpInfo(String paymentInstr * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deletePaymentInstrumentAsync(String paymentInstrumentId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deletePaymentInstrumentAsync(String paymentInstrumentId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -228,8 +233,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentInstrumentCall(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPaymentInstrumentCall(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -290,7 +296,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'paymentInstrumentId' is set if (paymentInstrumentId == null) { @@ -316,8 +322,9 @@ private okhttp3.Call getPaymentInstrumentValidateBeforeCall(String paymentInstru * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails) throws ApiException { + public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPaymentInstrument' STARTED"); ApiResponse resp = getPaymentInstrumentWithHttpInfo(paymentInstrumentId, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'getPaymentInstrument' ENDED"); @@ -332,8 +339,9 @@ public PostPaymentInstrumentRequest getPaymentInstrument(String paymentInstrumen * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails) throws ApiException { + public ApiResponse getPaymentInstrumentWithHttpInfo(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPaymentInstrumentValidateBeforeCall(paymentInstrumentId, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -349,8 +357,9 @@ public ApiResponse getPaymentInstrumentWithHttpInf * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentInstrumentAsync(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPaymentInstrumentAsync(String paymentInstrumentId, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -388,8 +397,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchPaymentInstrumentRequest, PatchPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -449,7 +459,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'paymentInstrumentId' is set if (paymentInstrumentId == null) { @@ -483,8 +493,9 @@ private okhttp3.Call patchPaymentInstrumentValidateBeforeCall(String paymentInst * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return PatchPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { + public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'patchPaymentInstrument' STARTED"); ApiResponse resp = patchPaymentInstrumentWithHttpInfo(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch); logger.info("CALL TO METHOD 'patchPaymentInstrument' ENDED"); @@ -501,8 +512,9 @@ public PatchPaymentInstrumentRequest patchPaymentInstrument(String paymentInstru * @param ifMatch Contains an ETag value from a GET request to make the request conditional. (optional) * @return ApiResponse<PatchPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse patchPaymentInstrumentWithHttpInfo(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException { + public ApiResponse patchPaymentInstrumentWithHttpInfo(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = patchPaymentInstrumentValidateBeforeCall(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, retrieveBinDetails, ifMatch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -520,8 +532,9 @@ public ApiResponse patchPaymentInstrumentWithHttp * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call patchPaymentInstrumentAsync(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ApiCallback callback) throws ApiException { + public okhttp3.Call patchPaymentInstrumentAsync(String paymentInstrumentId, PatchPaymentInstrumentRequest patchPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, String ifMatch, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -557,8 +570,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postPaymentInstrumentRequest, PostPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -615,7 +629,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'postPaymentInstrumentRequest' is set if (postPaymentInstrumentRequest == null) { @@ -641,8 +655,9 @@ private okhttp3.Call postPaymentInstrumentValidateBeforeCall(PostPaymentInstrume * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return PostPaymentInstrumentRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { + public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postPaymentInstrument' STARTED"); ApiResponse resp = postPaymentInstrumentWithHttpInfo(postPaymentInstrumentRequest, profileId, retrieveBinDetails); logger.info("CALL TO METHOD 'postPaymentInstrument' ENDED"); @@ -657,8 +672,9 @@ public PostPaymentInstrumentRequest postPaymentInstrument(PostPaymentInstrumentR * @param retrieveBinDetails Retrieve the Bin Details of PAN or network token (optional) * @return ApiResponse<PostPaymentInstrumentRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postPaymentInstrumentWithHttpInfo(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails) throws ApiException { + public ApiResponse postPaymentInstrumentWithHttpInfo(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postPaymentInstrumentValidateBeforeCall(postPaymentInstrumentRequest, profileId, retrieveBinDetails, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -674,8 +690,9 @@ public ApiResponse postPaymentInstrumentWithHttpIn * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postPaymentInstrumentAsync(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException { + public okhttp3.Call postPaymentInstrumentAsync(PostPaymentInstrumentRequest postPaymentInstrumentRequest, String profileId, Boolean retrieveBinDetails, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PaymentLinksApi.java b/src/main/java/Api/PaymentLinksApi.java index 3df66cb37..307cad499 100644 --- a/src/main/java/Api/PaymentLinksApi.java +++ b/src/main/java/Api/PaymentLinksApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -77,8 +78,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPaymentLinkCall(CreatePaymentLinkRequest createPaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createPaymentLinkCall(CreatePaymentLinkRequest createPaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createPaymentLinkRequest, CreatePaymentLinkRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -131,7 +133,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createPaymentLinkValidateBeforeCall(CreatePaymentLinkRequest createPaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createPaymentLinkValidateBeforeCall(CreatePaymentLinkRequest createPaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createPaymentLinkRequest' is set if (createPaymentLinkRequest == null) { @@ -155,8 +157,9 @@ private okhttp3.Call createPaymentLinkValidateBeforeCall(CreatePaymentLinkReques * @param createPaymentLinkRequest (required) * @return PblPaymentLinksPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PblPaymentLinksPost201Response createPaymentLink(CreatePaymentLinkRequest createPaymentLinkRequest) throws ApiException { + public PblPaymentLinksPost201Response createPaymentLink(CreatePaymentLinkRequest createPaymentLinkRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createPaymentLink' STARTED"); ApiResponse resp = createPaymentLinkWithHttpInfo(createPaymentLinkRequest); logger.info("CALL TO METHOD 'createPaymentLink' ENDED"); @@ -169,8 +172,9 @@ public PblPaymentLinksPost201Response createPaymentLink(CreatePaymentLinkRequest * @param createPaymentLinkRequest (required) * @return ApiResponse<PblPaymentLinksPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createPaymentLinkWithHttpInfo(CreatePaymentLinkRequest createPaymentLinkRequest) throws ApiException { + public ApiResponse createPaymentLinkWithHttpInfo(CreatePaymentLinkRequest createPaymentLinkRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createPaymentLinkValidateBeforeCall(createPaymentLinkRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -184,8 +188,9 @@ public ApiResponse createPaymentLinkWithHttpInfo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPaymentLinkAsync(CreatePaymentLinkRequest createPaymentLinkRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createPaymentLinkAsync(CreatePaymentLinkRequest createPaymentLinkRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -221,8 +226,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllPaymentLinksCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getAllPaymentLinksCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -284,7 +290,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getAllPaymentLinksValidateBeforeCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getAllPaymentLinksValidateBeforeCall(Integer offset, Integer limit, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'offset' is set if (offset == null) { @@ -316,8 +322,9 @@ private okhttp3.Call getAllPaymentLinksValidateBeforeCall(Integer offset, Intege * @param status The status of the purchase or donation link. Possible values: - ACTIVE - INACTIVE (optional) * @return PblPaymentLinksAllGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PblPaymentLinksAllGet200Response getAllPaymentLinks(Integer offset, Integer limit, String status) throws ApiException { + public PblPaymentLinksAllGet200Response getAllPaymentLinks(Integer offset, Integer limit, String status) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getAllPaymentLinks' STARTED"); ApiResponse resp = getAllPaymentLinksWithHttpInfo(offset, limit, status); logger.info("CALL TO METHOD 'getAllPaymentLinks' ENDED"); @@ -332,8 +339,9 @@ public PblPaymentLinksAllGet200Response getAllPaymentLinks(Integer offset, Integ * @param status The status of the purchase or donation link. Possible values: - ACTIVE - INACTIVE (optional) * @return ApiResponse<PblPaymentLinksAllGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getAllPaymentLinksWithHttpInfo(Integer offset, Integer limit, String status) throws ApiException { + public ApiResponse getAllPaymentLinksWithHttpInfo(Integer offset, Integer limit, String status) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAllPaymentLinksValidateBeforeCall(offset, limit, status, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -349,8 +357,9 @@ public ApiResponse getAllPaymentLinksWithHttpI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllPaymentLinksAsync(Integer offset, Integer limit, String status, final ApiCallback callback) throws ApiException { + public okhttp3.Call getAllPaymentLinksAsync(Integer offset, Integer limit, String status, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -384,8 +393,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentLinkCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPaymentLinkCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -442,7 +452,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPaymentLinkValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPaymentLinkValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -466,8 +476,9 @@ private okhttp3.Call getPaymentLinkValidateBeforeCall(String id, final ProgressR * @param id The purchase number. (required) * @return PblPaymentLinksGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PblPaymentLinksGet200Response getPaymentLink(String id) throws ApiException { + public PblPaymentLinksGet200Response getPaymentLink(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPaymentLink' STARTED"); ApiResponse resp = getPaymentLinkWithHttpInfo(id); logger.info("CALL TO METHOD 'getPaymentLink' ENDED"); @@ -480,8 +491,9 @@ public PblPaymentLinksGet200Response getPaymentLink(String id) throws ApiExcepti * @param id The purchase number. (required) * @return ApiResponse<PblPaymentLinksGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPaymentLinkWithHttpInfo(String id) throws ApiException { + public ApiResponse getPaymentLinkWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPaymentLinkValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -495,8 +507,9 @@ public ApiResponse getPaymentLinkWithHttpInfo(Str * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentLinkAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPaymentLinkAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -531,8 +544,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updatePaymentLinkCall(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call updatePaymentLinkCall(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(updatePaymentLinkRequest, UpdatePaymentLinkRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -586,7 +600,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call updatePaymentLinkValidateBeforeCall(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call updatePaymentLinkValidateBeforeCall(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -617,8 +631,9 @@ private okhttp3.Call updatePaymentLinkValidateBeforeCall(String id, UpdatePaymen * @param updatePaymentLinkRequest Updating the purchase or donation link does not resend the link automatically. You must resend the purchase or donation link separately. (required) * @return PblPaymentLinksPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PblPaymentLinksPost201Response updatePaymentLink(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest) throws ApiException { + public PblPaymentLinksPost201Response updatePaymentLink(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'updatePaymentLink' STARTED"); ApiResponse resp = updatePaymentLinkWithHttpInfo(id, updatePaymentLinkRequest); logger.info("CALL TO METHOD 'updatePaymentLink' ENDED"); @@ -632,8 +647,9 @@ public PblPaymentLinksPost201Response updatePaymentLink(String id, UpdatePayment * @param updatePaymentLinkRequest Updating the purchase or donation link does not resend the link automatically. You must resend the purchase or donation link separately. (required) * @return ApiResponse<PblPaymentLinksPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse updatePaymentLinkWithHttpInfo(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest) throws ApiException { + public ApiResponse updatePaymentLinkWithHttpInfo(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updatePaymentLinkValidateBeforeCall(id, updatePaymentLinkRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -648,8 +664,9 @@ public ApiResponse updatePaymentLinkWithHttpInfo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updatePaymentLinkAsync(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call updatePaymentLinkAsync(String id, UpdatePaymentLinkRequest updatePaymentLinkRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PaymentTokensApi.java b/src/main/java/Api/PaymentTokensApi.java index 7f7265490..5b9be1448 100644 --- a/src/main/java/Api/PaymentTokensApi.java +++ b/src/main/java/Api/PaymentTokensApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call retrieveOrDeletePaymentTokenCall(Request request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call retrieveOrDeletePaymentTokenCall(Request request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(request, Request.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call retrieveOrDeletePaymentTokenValidateBeforeCall(Request request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call retrieveOrDeletePaymentTokenValidateBeforeCall(Request request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'request' is set if (request == null) { @@ -151,8 +153,9 @@ private okhttp3.Call retrieveOrDeletePaymentTokenValidateBeforeCall(Request requ * @param request (required) * @return InlineResponse201 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse201 retrieveOrDeletePaymentToken(Request request) throws ApiException { + public InlineResponse201 retrieveOrDeletePaymentToken(Request request) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'retrieveOrDeletePaymentToken' STARTED"); ApiResponse resp = retrieveOrDeletePaymentTokenWithHttpInfo(request); logger.info("CALL TO METHOD 'retrieveOrDeletePaymentToken' ENDED"); @@ -165,8 +168,9 @@ public InlineResponse201 retrieveOrDeletePaymentToken(Request request) throws Ap * @param request (required) * @return ApiResponse<InlineResponse201> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse retrieveOrDeletePaymentTokenWithHttpInfo(Request request) throws ApiException { + public ApiResponse retrieveOrDeletePaymentTokenWithHttpInfo(Request request) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = retrieveOrDeletePaymentTokenValidateBeforeCall(request, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -180,8 +184,9 @@ public ApiResponse retrieveOrDeletePaymentTokenWithHttpInfo(R * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call retrieveOrDeletePaymentTokenAsync(Request request, final ApiCallback callback) throws ApiException { + public okhttp3.Call retrieveOrDeletePaymentTokenAsync(Request request, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PaymentsApi.java b/src/main/java/Api/PaymentsApi.java index f49492e22..10875c293 100644 --- a/src/main/java/Api/PaymentsApi.java +++ b/src/main/java/Api/PaymentsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -84,8 +85,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createOrderRequestCall(OrderPaymentRequest orderPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createOrderRequestCall(OrderPaymentRequest orderPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(orderPaymentRequest, OrderPaymentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -139,7 +141,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createOrderRequestValidateBeforeCall(OrderPaymentRequest orderPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createOrderRequestValidateBeforeCall(OrderPaymentRequest orderPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'orderPaymentRequest' is set if (orderPaymentRequest == null) { @@ -170,8 +172,9 @@ private okhttp3.Call createOrderRequestValidateBeforeCall(OrderPaymentRequest or * @param id Request identifier number for the order request. (required) * @return PtsV2PaymentsOrderPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsOrderPost201Response createOrderRequest(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException { + public PtsV2PaymentsOrderPost201Response createOrderRequest(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createOrderRequest' STARTED"); ApiResponse resp = createOrderRequestWithHttpInfo(orderPaymentRequest, id); logger.info("CALL TO METHOD 'createOrderRequest' ENDED"); @@ -185,8 +188,9 @@ public PtsV2PaymentsOrderPost201Response createOrderRequest(OrderPaymentRequest * @param id Request identifier number for the order request. (required) * @return ApiResponse<PtsV2PaymentsOrderPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createOrderRequestWithHttpInfo(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException { + public ApiResponse createOrderRequestWithHttpInfo(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createOrderRequestValidateBeforeCall(orderPaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -201,8 +205,9 @@ public ApiResponse createOrderRequestWithHttp * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createOrderRequestAsync(OrderPaymentRequest orderPaymentRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call createOrderRequestAsync(OrderPaymentRequest orderPaymentRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -236,8 +241,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPaymentCall(CreatePaymentRequest createPaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createPaymentCall(CreatePaymentRequest createPaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createPaymentRequest, CreatePaymentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -290,7 +296,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createPaymentValidateBeforeCall(CreatePaymentRequest createPaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createPaymentValidateBeforeCall(CreatePaymentRequest createPaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createPaymentRequest' is set if (createPaymentRequest == null) { @@ -314,8 +320,9 @@ private okhttp3.Call createPaymentValidateBeforeCall(CreatePaymentRequest create * @param createPaymentRequest (required) * @return PtsV2PaymentsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsPost201Response createPayment(CreatePaymentRequest createPaymentRequest) throws ApiException { + public PtsV2PaymentsPost201Response createPayment(CreatePaymentRequest createPaymentRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createPayment' STARTED"); ApiResponse resp = createPaymentWithHttpInfo(createPaymentRequest); logger.info("CALL TO METHOD 'createPayment' ENDED"); @@ -328,8 +335,9 @@ public PtsV2PaymentsPost201Response createPayment(CreatePaymentRequest createPay * @param createPaymentRequest (required) * @return ApiResponse<PtsV2PaymentsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createPaymentWithHttpInfo(CreatePaymentRequest createPaymentRequest) throws ApiException { + public ApiResponse createPaymentWithHttpInfo(CreatePaymentRequest createPaymentRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createPaymentValidateBeforeCall(createPaymentRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -343,8 +351,9 @@ public ApiResponse createPaymentWithHttpInfo(Creat * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPaymentAsync(CreatePaymentRequest createPaymentRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createPaymentAsync(CreatePaymentRequest createPaymentRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -378,8 +387,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSessionRequestCall(CreateSessionReq createSessionReq, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createSessionRequestCall(CreateSessionReq createSessionReq, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createSessionReq, CreateSessionReq.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -432,7 +442,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createSessionRequestValidateBeforeCall(CreateSessionReq createSessionReq, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createSessionRequestValidateBeforeCall(CreateSessionReq createSessionReq, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createSessionReq' is set if (createSessionReq == null) { @@ -456,8 +466,9 @@ private okhttp3.Call createSessionRequestValidateBeforeCall(CreateSessionReq cre * @param createSessionReq (required) * @return PtsV2PaymentsPost201Response2 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsPost201Response2 createSessionRequest(CreateSessionReq createSessionReq) throws ApiException { + public PtsV2PaymentsPost201Response2 createSessionRequest(CreateSessionReq createSessionReq) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createSessionRequest' STARTED"); ApiResponse resp = createSessionRequestWithHttpInfo(createSessionReq); logger.info("CALL TO METHOD 'createSessionRequest' ENDED"); @@ -470,8 +481,9 @@ public PtsV2PaymentsPost201Response2 createSessionRequest(CreateSessionReq creat * @param createSessionReq (required) * @return ApiResponse<PtsV2PaymentsPost201Response2> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createSessionRequestWithHttpInfo(CreateSessionReq createSessionReq) throws ApiException { + public ApiResponse createSessionRequestWithHttpInfo(CreateSessionReq createSessionReq) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSessionRequestValidateBeforeCall(createSessionReq, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -485,8 +497,9 @@ public ApiResponse createSessionRequestWithHttpIn * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSessionRequestAsync(CreateSessionReq createSessionReq, final ApiCallback callback) throws ApiException { + public okhttp3.Call createSessionRequestAsync(CreateSessionReq createSessionReq, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -521,8 +534,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call incrementAuthCall(String id, IncrementAuthRequest incrementAuthRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call incrementAuthCall(String id, IncrementAuthRequest incrementAuthRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(incrementAuthRequest, IncrementAuthRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -576,7 +590,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call incrementAuthValidateBeforeCall(String id, IncrementAuthRequest incrementAuthRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call incrementAuthValidateBeforeCall(String id, IncrementAuthRequest incrementAuthRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -607,8 +621,9 @@ private okhttp3.Call incrementAuthValidateBeforeCall(String id, IncrementAuthReq * @param incrementAuthRequest (required) * @return PtsV2IncrementalAuthorizationPatch201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2IncrementalAuthorizationPatch201Response incrementAuth(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException { + public PtsV2IncrementalAuthorizationPatch201Response incrementAuth(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'incrementAuth' STARTED"); ApiResponse resp = incrementAuthWithHttpInfo(id, incrementAuthRequest); logger.info("CALL TO METHOD 'incrementAuth' ENDED"); @@ -622,8 +637,9 @@ public PtsV2IncrementalAuthorizationPatch201Response incrementAuth(String id, In * @param incrementAuthRequest (required) * @return ApiResponse<PtsV2IncrementalAuthorizationPatch201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse incrementAuthWithHttpInfo(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException { + public ApiResponse incrementAuthWithHttpInfo(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = incrementAuthValidateBeforeCall(id, incrementAuthRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -638,8 +654,9 @@ public ApiResponse incrementAuthW * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call incrementAuthAsync(String id, IncrementAuthRequest incrementAuthRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call incrementAuthAsync(String id, IncrementAuthRequest incrementAuthRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -674,8 +691,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call refreshPaymentStatusCall(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call refreshPaymentStatusCall(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(refreshPaymentStatusRequest, RefreshPaymentStatusRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -729,7 +747,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call refreshPaymentStatusValidateBeforeCall(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call refreshPaymentStatusValidateBeforeCall(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -760,8 +778,9 @@ private okhttp3.Call refreshPaymentStatusValidateBeforeCall(String id, RefreshPa * @param refreshPaymentStatusRequest (required) * @return PtsV2PaymentsPost201Response1 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsPost201Response1 refreshPaymentStatus(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException { + public PtsV2PaymentsPost201Response1 refreshPaymentStatus(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'refreshPaymentStatus' STARTED"); ApiResponse resp = refreshPaymentStatusWithHttpInfo(id, refreshPaymentStatusRequest); logger.info("CALL TO METHOD 'refreshPaymentStatus' ENDED"); @@ -775,8 +794,9 @@ public PtsV2PaymentsPost201Response1 refreshPaymentStatus(String id, RefreshPaym * @param refreshPaymentStatusRequest (required) * @return ApiResponse<PtsV2PaymentsPost201Response1> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse refreshPaymentStatusWithHttpInfo(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException { + public ApiResponse refreshPaymentStatusWithHttpInfo(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = refreshPaymentStatusValidateBeforeCall(id, refreshPaymentStatusRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -791,8 +811,9 @@ public ApiResponse refreshPaymentStatusWithHttpIn * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call refreshPaymentStatusAsync(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call refreshPaymentStatusAsync(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -827,8 +848,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateSessionReqCall(CreateSessionRequest createSessionRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call updateSessionReqCall(CreateSessionRequest createSessionRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createSessionRequest, CreateSessionRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -882,7 +904,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call updateSessionReqValidateBeforeCall(CreateSessionRequest createSessionRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call updateSessionReqValidateBeforeCall(CreateSessionRequest createSessionRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createSessionRequest' is set if (createSessionRequest == null) { @@ -913,8 +935,9 @@ private okhttp3.Call updateSessionReqValidateBeforeCall(CreateSessionRequest cre * @param id The payment ID. This ID is returned from a previous payment request. (required) * @return PtsV2PaymentsPost201Response2 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsPost201Response2 updateSessionReq(CreateSessionRequest createSessionRequest, String id) throws ApiException { + public PtsV2PaymentsPost201Response2 updateSessionReq(CreateSessionRequest createSessionRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'updateSessionReq' STARTED"); ApiResponse resp = updateSessionReqWithHttpInfo(createSessionRequest, id); logger.info("CALL TO METHOD 'updateSessionReq' ENDED"); @@ -928,8 +951,9 @@ public PtsV2PaymentsPost201Response2 updateSessionReq(CreateSessionRequest creat * @param id The payment ID. This ID is returned from a previous payment request. (required) * @return ApiResponse<PtsV2PaymentsPost201Response2> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse updateSessionReqWithHttpInfo(CreateSessionRequest createSessionRequest, String id) throws ApiException { + public ApiResponse updateSessionReqWithHttpInfo(CreateSessionRequest createSessionRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateSessionReqValidateBeforeCall(createSessionRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -944,8 +968,9 @@ public ApiResponse updateSessionReqWithHttpInfo(C * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateSessionReqAsync(CreateSessionRequest createSessionRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call updateSessionReqAsync(CreateSessionRequest createSessionRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PayoutsApi.java b/src/main/java/Api/PayoutsApi.java index 5df4ce76b..10c73aea4 100644 --- a/src/main/java/Api/PayoutsApi.java +++ b/src/main/java/Api/PayoutsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call octCreatePaymentCall(OctCreatePaymentRequest octCreatePaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call octCreatePaymentCall(OctCreatePaymentRequest octCreatePaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(octCreatePaymentRequest, OctCreatePaymentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call octCreatePaymentValidateBeforeCall(OctCreatePaymentRequest octCreatePaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call octCreatePaymentValidateBeforeCall(OctCreatePaymentRequest octCreatePaymentRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'octCreatePaymentRequest' is set if (octCreatePaymentRequest == null) { @@ -151,8 +153,9 @@ private okhttp3.Call octCreatePaymentValidateBeforeCall(OctCreatePaymentRequest * @param octCreatePaymentRequest (required) * @return PtsV2PayoutsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PayoutsPost201Response octCreatePayment(OctCreatePaymentRequest octCreatePaymentRequest) throws ApiException { + public PtsV2PayoutsPost201Response octCreatePayment(OctCreatePaymentRequest octCreatePaymentRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'octCreatePayment' STARTED"); ApiResponse resp = octCreatePaymentWithHttpInfo(octCreatePaymentRequest); logger.info("CALL TO METHOD 'octCreatePayment' ENDED"); @@ -165,8 +168,9 @@ public PtsV2PayoutsPost201Response octCreatePayment(OctCreatePaymentRequest octC * @param octCreatePaymentRequest (required) * @return ApiResponse<PtsV2PayoutsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse octCreatePaymentWithHttpInfo(OctCreatePaymentRequest octCreatePaymentRequest) throws ApiException { + public ApiResponse octCreatePaymentWithHttpInfo(OctCreatePaymentRequest octCreatePaymentRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = octCreatePaymentValidateBeforeCall(octCreatePaymentRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -180,8 +184,9 @@ public ApiResponse octCreatePaymentWithHttpInfo(Oct * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call octCreatePaymentAsync(OctCreatePaymentRequest octCreatePaymentRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call octCreatePaymentAsync(OctCreatePaymentRequest octCreatePaymentRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PlansApi.java b/src/main/java/Api/PlansApi.java index b720e5c7d..78210a74e 100644 --- a/src/main/java/Api/PlansApi.java +++ b/src/main/java/Api/PlansApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -81,8 +82,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call activatePlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call activatePlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -139,7 +141,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call activatePlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call activatePlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -163,8 +165,9 @@ private okhttp3.Call activatePlanValidateBeforeCall(String id, final ProgressRes * @param id Plan Id (required) * @return ActivateDeactivatePlanResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ActivateDeactivatePlanResponse activatePlan(String id) throws ApiException { + public ActivateDeactivatePlanResponse activatePlan(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'activatePlan' STARTED"); ApiResponse resp = activatePlanWithHttpInfo(id); logger.info("CALL TO METHOD 'activatePlan' ENDED"); @@ -177,8 +180,9 @@ public ActivateDeactivatePlanResponse activatePlan(String id) throws ApiExceptio * @param id Plan Id (required) * @return ApiResponse<ActivateDeactivatePlanResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse activatePlanWithHttpInfo(String id) throws ApiException { + public ApiResponse activatePlanWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = activatePlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -192,8 +196,9 @@ public ApiResponse activatePlanWithHttpInfo(Stri * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call activatePlanAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call activatePlanAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -227,8 +232,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPlanCall(CreatePlanRequest createPlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createPlanCall(CreatePlanRequest createPlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createPlanRequest, CreatePlanRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -281,7 +287,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createPlanValidateBeforeCall(CreatePlanRequest createPlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createPlanValidateBeforeCall(CreatePlanRequest createPlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createPlanRequest' is set if (createPlanRequest == null) { @@ -305,8 +311,9 @@ private okhttp3.Call createPlanValidateBeforeCall(CreatePlanRequest createPlanRe * @param createPlanRequest (required) * @return CreatePlanResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public CreatePlanResponse createPlan(CreatePlanRequest createPlanRequest) throws ApiException { + public CreatePlanResponse createPlan(CreatePlanRequest createPlanRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createPlan' STARTED"); ApiResponse resp = createPlanWithHttpInfo(createPlanRequest); logger.info("CALL TO METHOD 'createPlan' ENDED"); @@ -319,8 +326,9 @@ public CreatePlanResponse createPlan(CreatePlanRequest createPlanRequest) throws * @param createPlanRequest (required) * @return ApiResponse<CreatePlanResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createPlanWithHttpInfo(CreatePlanRequest createPlanRequest) throws ApiException { + public ApiResponse createPlanWithHttpInfo(CreatePlanRequest createPlanRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createPlanValidateBeforeCall(createPlanRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -334,8 +342,9 @@ public ApiResponse createPlanWithHttpInfo(CreatePlanRequest * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPlanAsync(CreatePlanRequest createPlanRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createPlanAsync(CreatePlanRequest createPlanRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -369,8 +378,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deactivatePlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deactivatePlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -427,7 +437,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deactivatePlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deactivatePlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -451,8 +461,9 @@ private okhttp3.Call deactivatePlanValidateBeforeCall(String id, final ProgressR * @param id Plan Id (required) * @return ActivateDeactivatePlanResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ActivateDeactivatePlanResponse deactivatePlan(String id) throws ApiException { + public ActivateDeactivatePlanResponse deactivatePlan(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deactivatePlan' STARTED"); ApiResponse resp = deactivatePlanWithHttpInfo(id); logger.info("CALL TO METHOD 'deactivatePlan' ENDED"); @@ -465,8 +476,9 @@ public ActivateDeactivatePlanResponse deactivatePlan(String id) throws ApiExcept * @param id Plan Id (required) * @return ApiResponse<ActivateDeactivatePlanResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deactivatePlanWithHttpInfo(String id) throws ApiException { + public ApiResponse deactivatePlanWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deactivatePlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -480,8 +492,9 @@ public ApiResponse deactivatePlanWithHttpInfo(St * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deactivatePlanAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call deactivatePlanAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -515,8 +528,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deletePlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deletePlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -573,7 +587,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deletePlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deletePlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -597,8 +611,9 @@ private okhttp3.Call deletePlanValidateBeforeCall(String id, final ProgressRespo * @param id Plan Id (required) * @return DeletePlanResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public DeletePlanResponse deletePlan(String id) throws ApiException { + public DeletePlanResponse deletePlan(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deletePlan' STARTED"); ApiResponse resp = deletePlanWithHttpInfo(id); logger.info("CALL TO METHOD 'deletePlan' ENDED"); @@ -611,8 +626,9 @@ public DeletePlanResponse deletePlan(String id) throws ApiException { * @param id Plan Id (required) * @return ApiResponse<DeletePlanResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deletePlanWithHttpInfo(String id) throws ApiException { + public ApiResponse deletePlanWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deletePlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -626,8 +642,9 @@ public ApiResponse deletePlanWithHttpInfo(String id) throws * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deletePlanAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call deletePlanAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -661,8 +678,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPlanCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -719,7 +737,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPlanValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -743,8 +761,9 @@ private okhttp3.Call getPlanValidateBeforeCall(String id, final ProgressResponse * @param id Plan Id (required) * @return GetPlanResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public GetPlanResponse getPlan(String id) throws ApiException { + public GetPlanResponse getPlan(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPlan' STARTED"); ApiResponse resp = getPlanWithHttpInfo(id); logger.info("CALL TO METHOD 'getPlan' ENDED"); @@ -757,8 +776,9 @@ public GetPlanResponse getPlan(String id) throws ApiException { * @param id Plan Id (required) * @return ApiResponse<GetPlanResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPlanWithHttpInfo(String id) throws ApiException { + public ApiResponse getPlanWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPlanValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -772,8 +792,9 @@ public ApiResponse getPlanWithHttpInfo(String id) throws ApiExc * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPlanAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPlanAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -806,8 +827,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPlanCodeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPlanCodeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -863,7 +885,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPlanCodeValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPlanCodeValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getPlanCodeCall(progressListener, progressRequestListener); @@ -880,8 +902,9 @@ private okhttp3.Call getPlanCodeValidateBeforeCall(final ProgressResponseBody.Pr * Get a Unique Plan Code * @return GetPlanCodeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public GetPlanCodeResponse getPlanCode() throws ApiException { + public GetPlanCodeResponse getPlanCode() throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPlanCode' STARTED"); ApiResponse resp = getPlanCodeWithHttpInfo(); logger.info("CALL TO METHOD 'getPlanCode' ENDED"); @@ -893,8 +916,9 @@ public GetPlanCodeResponse getPlanCode() throws ApiException { * Get a Unique Plan Code * @return ApiResponse<GetPlanCodeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPlanCodeWithHttpInfo() throws ApiException { + public ApiResponse getPlanCodeWithHttpInfo() throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPlanCodeValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -907,8 +931,9 @@ public ApiResponse getPlanCodeWithHttpInfo() throws ApiExce * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPlanCodeAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call getPlanCodeAsync(final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -946,8 +971,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPlansCall(Integer offset, Integer limit, String code, String status, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPlansCall(Integer offset, Integer limit, String code, String status, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -1013,7 +1039,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPlansValidateBeforeCall(Integer offset, Integer limit, String code, String status, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPlansValidateBeforeCall(Integer offset, Integer limit, String code, String status, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getPlansCall(offset, limit, code, status, name, progressListener, progressRequestListener); @@ -1035,8 +1061,9 @@ private okhttp3.Call getPlansValidateBeforeCall(Integer offset, Integer limit, S * @param name Filter by Plan Name. (First sub string or full string) **[Not Recommended]** (optional) * @return GetAllPlansResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public GetAllPlansResponse getPlans(Integer offset, Integer limit, String code, String status, String name) throws ApiException { + public GetAllPlansResponse getPlans(Integer offset, Integer limit, String code, String status, String name) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPlans' STARTED"); ApiResponse resp = getPlansWithHttpInfo(offset, limit, code, status, name); logger.info("CALL TO METHOD 'getPlans' ENDED"); @@ -1053,8 +1080,9 @@ public GetAllPlansResponse getPlans(Integer offset, Integer limit, String code, * @param name Filter by Plan Name. (First sub string or full string) **[Not Recommended]** (optional) * @return ApiResponse<GetAllPlansResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPlansWithHttpInfo(Integer offset, Integer limit, String code, String status, String name) throws ApiException { + public ApiResponse getPlansWithHttpInfo(Integer offset, Integer limit, String code, String status, String name) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPlansValidateBeforeCall(offset, limit, code, status, name, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1072,8 +1100,9 @@ public ApiResponse getPlansWithHttpInfo(Integer offset, Int * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPlansAsync(Integer offset, Integer limit, String code, String status, String name, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPlansAsync(Integer offset, Integer limit, String code, String status, String name, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -1108,8 +1137,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updatePlanCall(String id, UpdatePlanRequest updatePlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call updatePlanCall(String id, UpdatePlanRequest updatePlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(updatePlanRequest, UpdatePlanRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -1163,7 +1193,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call updatePlanValidateBeforeCall(String id, UpdatePlanRequest updatePlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call updatePlanValidateBeforeCall(String id, UpdatePlanRequest updatePlanRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -1194,8 +1224,9 @@ private okhttp3.Call updatePlanValidateBeforeCall(String id, UpdatePlanRequest u * @param updatePlanRequest (required) * @return UpdatePlanResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public UpdatePlanResponse updatePlan(String id, UpdatePlanRequest updatePlanRequest) throws ApiException { + public UpdatePlanResponse updatePlan(String id, UpdatePlanRequest updatePlanRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'updatePlan' STARTED"); ApiResponse resp = updatePlanWithHttpInfo(id, updatePlanRequest); logger.info("CALL TO METHOD 'updatePlan' ENDED"); @@ -1209,8 +1240,9 @@ public UpdatePlanResponse updatePlan(String id, UpdatePlanRequest updatePlanRequ * @param updatePlanRequest (required) * @return ApiResponse<UpdatePlanResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse updatePlanWithHttpInfo(String id, UpdatePlanRequest updatePlanRequest) throws ApiException { + public ApiResponse updatePlanWithHttpInfo(String id, UpdatePlanRequest updatePlanRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updatePlanValidateBeforeCall(id, updatePlanRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1225,8 +1257,9 @@ public ApiResponse updatePlanWithHttpInfo(String id, UpdateP * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updatePlanAsync(String id, UpdatePlanRequest updatePlanRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call updatePlanAsync(String id, UpdatePlanRequest updatePlanRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PurchaseAndRefundDetailsApi.java b/src/main/java/Api/PurchaseAndRefundDetailsApi.java index 4e6ee241a..a86d9ff6d 100644 --- a/src/main/java/Api/PurchaseAndRefundDetailsApi.java +++ b/src/main/java/Api/PurchaseAndRefundDetailsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -79,8 +80,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPurchaseAndRefundDetailsCall(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPurchaseAndRefundDetailsCall(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -152,7 +154,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPurchaseAndRefundDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPurchaseAndRefundDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -189,8 +191,9 @@ private okhttp3.Call getPurchaseAndRefundDetailsValidateBeforeCall(DateTime star * @param limit Results count per page. Range(1-2000) (optional, default to 2000) * @return ReportingV3PurchaseRefundDetailsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3PurchaseRefundDetailsGet200Response getPurchaseAndRefundDetails(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit) throws ApiException { + public ReportingV3PurchaseRefundDetailsGet200Response getPurchaseAndRefundDetails(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPurchaseAndRefundDetails' STARTED"); ApiResponse resp = getPurchaseAndRefundDetailsWithHttpInfo(startTime, endTime, organizationId, paymentSubtype, viewBy, groupName, offset, limit); logger.info("CALL TO METHOD 'getPurchaseAndRefundDetails' ENDED"); @@ -210,8 +213,9 @@ public ReportingV3PurchaseRefundDetailsGet200Response getPurchaseAndRefundDetail * @param limit Results count per page. Range(1-2000) (optional, default to 2000) * @return ApiResponse<ReportingV3PurchaseRefundDetailsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPurchaseAndRefundDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit) throws ApiException { + public ApiResponse getPurchaseAndRefundDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPurchaseAndRefundDetailsValidateBeforeCall(startTime, endTime, organizationId, paymentSubtype, viewBy, groupName, offset, limit, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -232,8 +236,9 @@ public ApiResponse getPurchaseAn * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPurchaseAndRefundDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPurchaseAndRefundDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, String paymentSubtype, String viewBy, String groupName, Integer offset, Integer limit, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/PushFundsApi.java b/src/main/java/Api/PushFundsApi.java index 92cceaea9..49c016f95 100644 --- a/src/main/java/Api/PushFundsApi.java +++ b/src/main/java/Api/PushFundsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -81,8 +82,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPushFundsTransferCall(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createPushFundsTransferCall(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(pushFundsRequest, PushFundsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -147,7 +149,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createPushFundsTransferValidateBeforeCall(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createPushFundsTransferValidateBeforeCall(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'pushFundsRequest' is set if (pushFundsRequest == null) { @@ -213,8 +215,9 @@ private okhttp3.Call createPushFundsTransferValidateBeforeCall(PushFundsRequest * @param vCOrganizationId (required) * @return PushFunds201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PushFunds201Response createPushFundsTransfer(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId) throws ApiException { + public PushFunds201Response createPushFundsTransfer(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createPushFundsTransfer' STARTED"); ApiResponse resp = createPushFundsTransferWithHttpInfo(pushFundsRequest, contentType, xRequestid, vCMerchantId, vCPermissions, vCCorrelationId, vCOrganizationId); logger.info("CALL TO METHOD 'createPushFundsTransfer' ENDED"); @@ -233,8 +236,9 @@ public PushFunds201Response createPushFundsTransfer(PushFundsRequest pushFundsRe * @param vCOrganizationId (required) * @return ApiResponse<PushFunds201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createPushFundsTransferWithHttpInfo(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId) throws ApiException { + public ApiResponse createPushFundsTransferWithHttpInfo(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createPushFundsTransferValidateBeforeCall(pushFundsRequest, contentType, xRequestid, vCMerchantId, vCPermissions, vCCorrelationId, vCOrganizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -254,8 +258,9 @@ public ApiResponse createPushFundsTransferWithHttpInfo(Pus * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createPushFundsTransferAsync(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call createPushFundsTransferAsync(PushFundsRequest pushFundsRequest, String contentType, String xRequestid, String vCMerchantId, String vCPermissions, String vCCorrelationId, String vCOrganizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/RefundApi.java b/src/main/java/Api/RefundApi.java index 95c905ea6..09299bad9 100644 --- a/src/main/java/Api/RefundApi.java +++ b/src/main/java/Api/RefundApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call refundCaptureCall(RefundCaptureRequest refundCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call refundCaptureCall(RefundCaptureRequest refundCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(refundCaptureRequest, RefundCaptureRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call refundCaptureValidateBeforeCall(RefundCaptureRequest refundCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call refundCaptureValidateBeforeCall(RefundCaptureRequest refundCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'refundCaptureRequest' is set if (refundCaptureRequest == null) { @@ -161,8 +163,9 @@ private okhttp3.Call refundCaptureValidateBeforeCall(RefundCaptureRequest refund * @param id The capture ID. This ID is returned from a previous capture request. (required) * @return PtsV2PaymentsRefundPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsRefundPost201Response refundCapture(RefundCaptureRequest refundCaptureRequest, String id) throws ApiException { + public PtsV2PaymentsRefundPost201Response refundCapture(RefundCaptureRequest refundCaptureRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'refundCapture' STARTED"); ApiResponse resp = refundCaptureWithHttpInfo(refundCaptureRequest, id); logger.info("CALL TO METHOD 'refundCapture' ENDED"); @@ -176,8 +179,9 @@ public PtsV2PaymentsRefundPost201Response refundCapture(RefundCaptureRequest ref * @param id The capture ID. This ID is returned from a previous capture request. (required) * @return ApiResponse<PtsV2PaymentsRefundPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse refundCaptureWithHttpInfo(RefundCaptureRequest refundCaptureRequest, String id) throws ApiException { + public ApiResponse refundCaptureWithHttpInfo(RefundCaptureRequest refundCaptureRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = refundCaptureValidateBeforeCall(refundCaptureRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -192,8 +196,9 @@ public ApiResponse refundCaptureWithHttpInfo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call refundCaptureAsync(RefundCaptureRequest refundCaptureRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call refundCaptureAsync(RefundCaptureRequest refundCaptureRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -228,8 +233,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call refundPaymentCall(RefundPaymentRequest refundPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call refundPaymentCall(RefundPaymentRequest refundPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(refundPaymentRequest, RefundPaymentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -283,7 +289,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call refundPaymentValidateBeforeCall(RefundPaymentRequest refundPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call refundPaymentValidateBeforeCall(RefundPaymentRequest refundPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'refundPaymentRequest' is set if (refundPaymentRequest == null) { @@ -314,8 +320,9 @@ private okhttp3.Call refundPaymentValidateBeforeCall(RefundPaymentRequest refund * @param id The payment ID. This ID is returned from a previous payment request. (required) * @return PtsV2PaymentsRefundPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsRefundPost201Response refundPayment(RefundPaymentRequest refundPaymentRequest, String id) throws ApiException { + public PtsV2PaymentsRefundPost201Response refundPayment(RefundPaymentRequest refundPaymentRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'refundPayment' STARTED"); ApiResponse resp = refundPaymentWithHttpInfo(refundPaymentRequest, id); logger.info("CALL TO METHOD 'refundPayment' ENDED"); @@ -329,8 +336,9 @@ public PtsV2PaymentsRefundPost201Response refundPayment(RefundPaymentRequest ref * @param id The payment ID. This ID is returned from a previous payment request. (required) * @return ApiResponse<PtsV2PaymentsRefundPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse refundPaymentWithHttpInfo(RefundPaymentRequest refundPaymentRequest, String id) throws ApiException { + public ApiResponse refundPaymentWithHttpInfo(RefundPaymentRequest refundPaymentRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = refundPaymentValidateBeforeCall(refundPaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -345,8 +353,9 @@ public ApiResponse refundPaymentWithHttpInfo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call refundPaymentAsync(RefundPaymentRequest refundPaymentRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call refundPaymentAsync(RefundPaymentRequest refundPaymentRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ReportDefinitionsApi.java b/src/main/java/Api/ReportDefinitionsApi.java index 64802ae95..f7d71f06c 100644 --- a/src/main/java/Api/ReportDefinitionsApi.java +++ b/src/main/java/Api/ReportDefinitionsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getResourceInfoByReportDefinitionCall(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getResourceInfoByReportDefinitionCall(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -139,7 +141,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getResourceInfoByReportDefinitionValidateBeforeCall(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getResourceInfoByReportDefinitionValidateBeforeCall(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'reportDefinitionName' is set if (reportDefinitionName == null) { @@ -166,8 +168,9 @@ private okhttp3.Call getResourceInfoByReportDefinitionValidateBeforeCall(String * @param organizationId Valid Organization Id (optional) * @return ReportingV3ReportDefinitionsNameGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ReportDefinitionsNameGet200Response getResourceInfoByReportDefinition(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId) throws ApiException { + public ReportingV3ReportDefinitionsNameGet200Response getResourceInfoByReportDefinition(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getResourceInfoByReportDefinition' STARTED"); ApiResponse resp = getResourceInfoByReportDefinitionWithHttpInfo(reportDefinitionName, subscriptionType, reportMimeType, organizationId); logger.info("CALL TO METHOD 'getResourceInfoByReportDefinition' ENDED"); @@ -183,8 +186,9 @@ public ReportingV3ReportDefinitionsNameGet200Response getResourceInfoByReportDef * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ReportDefinitionsNameGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getResourceInfoByReportDefinitionWithHttpInfo(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId) throws ApiException { + public ApiResponse getResourceInfoByReportDefinitionWithHttpInfo(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getResourceInfoByReportDefinitionValidateBeforeCall(reportDefinitionName, subscriptionType, reportMimeType, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -201,8 +205,9 @@ public ApiResponse getResourceIn * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getResourceInfoByReportDefinitionAsync(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getResourceInfoByReportDefinitionAsync(String reportDefinitionName, String subscriptionType, String reportMimeType, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -237,8 +242,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getResourceV2InfoCall(String subscriptionType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getResourceV2InfoCall(String subscriptionType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -298,7 +304,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getResourceV2InfoValidateBeforeCall(String subscriptionType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getResourceV2InfoValidateBeforeCall(String subscriptionType, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getResourceV2InfoCall(subscriptionType, organizationId, progressListener, progressRequestListener); @@ -317,8 +323,9 @@ private okhttp3.Call getResourceV2InfoValidateBeforeCall(String subscriptionType * @param organizationId Valid Organization Id (optional) * @return ReportingV3ReportDefinitionsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ReportDefinitionsGet200Response getResourceV2Info(String subscriptionType, String organizationId) throws ApiException { + public ReportingV3ReportDefinitionsGet200Response getResourceV2Info(String subscriptionType, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getResourceV2Info' STARTED"); ApiResponse resp = getResourceV2InfoWithHttpInfo(subscriptionType, organizationId); logger.info("CALL TO METHOD 'getResourceV2Info' ENDED"); @@ -332,8 +339,9 @@ public ReportingV3ReportDefinitionsGet200Response getResourceV2Info(String subsc * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ReportDefinitionsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getResourceV2InfoWithHttpInfo(String subscriptionType, String organizationId) throws ApiException { + public ApiResponse getResourceV2InfoWithHttpInfo(String subscriptionType, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getResourceV2InfoValidateBeforeCall(subscriptionType, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -348,8 +356,9 @@ public ApiResponse getResourceV2Info * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getResourceV2InfoAsync(String subscriptionType, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getResourceV2InfoAsync(String subscriptionType, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ReportDownloadsApi.java b/src/main/java/Api/ReportDownloadsApi.java index 7b84f188b..5dc3e4e72 100644 --- a/src/main/java/Api/ReportDownloadsApi.java +++ b/src/main/java/Api/ReportDownloadsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call downloadReportCall(LocalDate reportDate, String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call downloadReportCall(LocalDate reportDate, String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call downloadReportValidateBeforeCall(LocalDate reportDate, String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call downloadReportValidateBeforeCall(LocalDate reportDate, String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'reportDate' is set if (reportDate == null) { @@ -167,8 +169,9 @@ private okhttp3.Call downloadReportValidateBeforeCall(LocalDate reportDate, Stri * @param reportName Name of the report to download (required) * @param organizationId Valid Organization Id (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void downloadReport(LocalDate reportDate, String reportName, String organizationId) throws ApiException { + public void downloadReport(LocalDate reportDate, String reportName, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'downloadReport' STARTED"); downloadReportWithHttpInfo(reportDate, reportName, organizationId); @@ -182,8 +185,9 @@ public void downloadReport(LocalDate reportDate, String reportName, String organ * @param organizationId Valid Organization Id (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse downloadReportWithHttpInfo(LocalDate reportDate, String reportName, String organizationId) throws ApiException { + public ApiResponse downloadReportWithHttpInfo(LocalDate reportDate, String reportName, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = downloadReportValidateBeforeCall(reportDate, reportName, organizationId, null, null); return apiClient.execute(call); @@ -198,8 +202,9 @@ public ApiResponse downloadReportWithHttpInfo(LocalDate reportDate, * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call downloadReportAsync(LocalDate reportDate, String reportName, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call downloadReportAsync(LocalDate reportDate, String reportName, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ReportSubscriptionsApi.java b/src/main/java/Api/ReportSubscriptionsApi.java index 116fb3c2a..e84109c4e 100644 --- a/src/main/java/Api/ReportSubscriptionsApi.java +++ b/src/main/java/Api/ReportSubscriptionsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -76,8 +77,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createStandardOrClassicSubscriptionCall(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createStandardOrClassicSubscriptionCall(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(predefinedSubscriptionRequestBean, PredefinedSubscriptionRequestBean.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -132,7 +134,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createStandardOrClassicSubscriptionValidateBeforeCall(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createStandardOrClassicSubscriptionValidateBeforeCall(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'predefinedSubscriptionRequestBean' is set if (predefinedSubscriptionRequestBean == null) { @@ -156,8 +158,9 @@ private okhttp3.Call createStandardOrClassicSubscriptionValidateBeforeCall(Prede * @param predefinedSubscriptionRequestBean Report subscription request payload (required) * @param organizationId Valid Organization Id (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void createStandardOrClassicSubscription(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId) throws ApiException { + public void createStandardOrClassicSubscription(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createStandardOrClassicSubscription' STARTED"); createStandardOrClassicSubscriptionWithHttpInfo(predefinedSubscriptionRequestBean, organizationId); @@ -170,8 +173,9 @@ public void createStandardOrClassicSubscription(PredefinedSubscriptionRequestBea * @param organizationId Valid Organization Id (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createStandardOrClassicSubscriptionWithHttpInfo(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId) throws ApiException { + public ApiResponse createStandardOrClassicSubscriptionWithHttpInfo(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createStandardOrClassicSubscriptionValidateBeforeCall(predefinedSubscriptionRequestBean, organizationId, null, null); return apiClient.execute(call); @@ -185,8 +189,9 @@ public ApiResponse createStandardOrClassicSubscriptionWithHttpInfo(Predefi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createStandardOrClassicSubscriptionAsync(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call createStandardOrClassicSubscriptionAsync(PredefinedSubscriptionRequestBean predefinedSubscriptionRequestBean, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -220,8 +225,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSubscriptionCall(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createSubscriptionCall(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createReportSubscriptionRequest, CreateReportSubscriptionRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -276,7 +282,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createSubscriptionValidateBeforeCall(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createSubscriptionValidateBeforeCall(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createReportSubscriptionRequest' is set if (createReportSubscriptionRequest == null) { @@ -300,8 +306,9 @@ private okhttp3.Call createSubscriptionValidateBeforeCall(CreateReportSubscripti * @param createReportSubscriptionRequest Report subscription request payload (required) * @param organizationId Valid Organization Id (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void createSubscription(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId) throws ApiException { + public void createSubscription(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createSubscription' STARTED"); createSubscriptionWithHttpInfo(createReportSubscriptionRequest, organizationId); @@ -314,8 +321,9 @@ public void createSubscription(CreateReportSubscriptionRequest createReportSubsc * @param organizationId Valid Organization Id (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createSubscriptionWithHttpInfo(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId) throws ApiException { + public ApiResponse createSubscriptionWithHttpInfo(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSubscriptionValidateBeforeCall(createReportSubscriptionRequest, organizationId, null, null); return apiClient.execute(call); @@ -329,8 +337,9 @@ public ApiResponse createSubscriptionWithHttpInfo(CreateReportSubscription * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSubscriptionAsync(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call createSubscriptionAsync(CreateReportSubscriptionRequest createReportSubscriptionRequest, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -364,8 +373,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteSubscriptionCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteSubscriptionCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -424,7 +434,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteSubscriptionValidateBeforeCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteSubscriptionValidateBeforeCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'reportName' is set if (reportName == null) { @@ -448,8 +458,9 @@ private okhttp3.Call deleteSubscriptionValidateBeforeCall(String reportName, Str * @param reportName Name of the Report to Delete (required) * @param organizationId Valid Organization Id (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteSubscription(String reportName, String organizationId) throws ApiException { + public void deleteSubscription(String reportName, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteSubscription' STARTED"); deleteSubscriptionWithHttpInfo(reportName, organizationId); @@ -462,8 +473,9 @@ public void deleteSubscription(String reportName, String organizationId) throws * @param organizationId Valid Organization Id (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteSubscriptionWithHttpInfo(String reportName, String organizationId) throws ApiException { + public ApiResponse deleteSubscriptionWithHttpInfo(String reportName, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteSubscriptionValidateBeforeCall(reportName, organizationId, null, null); return apiClient.execute(call); @@ -477,8 +489,9 @@ public ApiResponse deleteSubscriptionWithHttpInfo(String reportName, Strin * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteSubscriptionAsync(String reportName, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteSubscriptionAsync(String reportName, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -511,8 +524,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllSubscriptionsCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getAllSubscriptionsCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -570,7 +584,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getAllSubscriptionsValidateBeforeCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getAllSubscriptionsValidateBeforeCall(String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getAllSubscriptionsCall(organizationId, progressListener, progressRequestListener); @@ -588,8 +602,9 @@ private okhttp3.Call getAllSubscriptionsValidateBeforeCall(String organizationId * @param organizationId Valid Organization Id (optional) * @return ReportingV3ReportSubscriptionsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ReportSubscriptionsGet200Response getAllSubscriptions(String organizationId) throws ApiException { + public ReportingV3ReportSubscriptionsGet200Response getAllSubscriptions(String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getAllSubscriptions' STARTED"); ApiResponse resp = getAllSubscriptionsWithHttpInfo(organizationId); logger.info("CALL TO METHOD 'getAllSubscriptions' ENDED"); @@ -602,8 +617,9 @@ public ReportingV3ReportSubscriptionsGet200Response getAllSubscriptions(String o * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ReportSubscriptionsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getAllSubscriptionsWithHttpInfo(String organizationId) throws ApiException { + public ApiResponse getAllSubscriptionsWithHttpInfo(String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAllSubscriptionsValidateBeforeCall(organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -617,8 +633,9 @@ public ApiResponse getAllSubscript * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllSubscriptionsAsync(String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getAllSubscriptionsAsync(String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -653,8 +670,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSubscriptionCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getSubscriptionCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -713,7 +731,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getSubscriptionValidateBeforeCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getSubscriptionValidateBeforeCall(String reportName, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'reportName' is set if (reportName == null) { @@ -738,8 +756,9 @@ private okhttp3.Call getSubscriptionValidateBeforeCall(String reportName, String * @param organizationId Valid Organization Id (optional) * @return ReportingV3ReportSubscriptionsGet200ResponseSubscriptions * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ReportSubscriptionsGet200ResponseSubscriptions getSubscription(String reportName, String organizationId) throws ApiException { + public ReportingV3ReportSubscriptionsGet200ResponseSubscriptions getSubscription(String reportName, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getSubscription' STARTED"); ApiResponse resp = getSubscriptionWithHttpInfo(reportName, organizationId); logger.info("CALL TO METHOD 'getSubscription' ENDED"); @@ -753,8 +772,9 @@ public ReportingV3ReportSubscriptionsGet200ResponseSubscriptions getSubscription * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ReportSubscriptionsGet200ResponseSubscriptions> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getSubscriptionWithHttpInfo(String reportName, String organizationId) throws ApiException { + public ApiResponse getSubscriptionWithHttpInfo(String reportName, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSubscriptionValidateBeforeCall(reportName, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -769,8 +789,9 @@ public ApiResponse ge * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSubscriptionAsync(String reportName, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getSubscriptionAsync(String reportName, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ReportsApi.java b/src/main/java/Api/ReportsApi.java index 4ef15905d..3b0face43 100644 --- a/src/main/java/Api/ReportsApi.java +++ b/src/main/java/Api/ReportsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createReportCall(CreateAdhocReportRequest createAdhocReportRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createReportCall(CreateAdhocReportRequest createAdhocReportRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createAdhocReportRequest, CreateAdhocReportRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -131,7 +133,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createReportValidateBeforeCall(CreateAdhocReportRequest createAdhocReportRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createReportValidateBeforeCall(CreateAdhocReportRequest createAdhocReportRequest, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createAdhocReportRequest' is set if (createAdhocReportRequest == null) { @@ -155,8 +157,9 @@ private okhttp3.Call createReportValidateBeforeCall(CreateAdhocReportRequest cre * @param createAdhocReportRequest Report subscription request payload (required) * @param organizationId Valid Organization Id (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void createReport(CreateAdhocReportRequest createAdhocReportRequest, String organizationId) throws ApiException { + public void createReport(CreateAdhocReportRequest createAdhocReportRequest, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createReport' STARTED"); createReportWithHttpInfo(createAdhocReportRequest, organizationId); @@ -169,8 +172,9 @@ public void createReport(CreateAdhocReportRequest createAdhocReportRequest, Stri * @param organizationId Valid Organization Id (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createReportWithHttpInfo(CreateAdhocReportRequest createAdhocReportRequest, String organizationId) throws ApiException { + public ApiResponse createReportWithHttpInfo(CreateAdhocReportRequest createAdhocReportRequest, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createReportValidateBeforeCall(createAdhocReportRequest, organizationId, null, null); return apiClient.execute(call); @@ -184,8 +188,9 @@ public ApiResponse createReportWithHttpInfo(CreateAdhocReportRequest creat * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createReportAsync(CreateAdhocReportRequest createAdhocReportRequest, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call createReportAsync(CreateAdhocReportRequest createAdhocReportRequest, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -219,8 +224,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getReportByReportIdCall(String reportId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getReportByReportIdCall(String reportId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -279,7 +285,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getReportByReportIdValidateBeforeCall(String reportId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getReportByReportIdValidateBeforeCall(String reportId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'reportId' is set if (reportId == null) { @@ -304,8 +310,9 @@ private okhttp3.Call getReportByReportIdValidateBeforeCall(String reportId, Stri * @param organizationId Valid Organization Id (optional) * @return ReportingV3ReportsIdGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ReportsIdGet200Response getReportByReportId(String reportId, String organizationId) throws ApiException { + public ReportingV3ReportsIdGet200Response getReportByReportId(String reportId, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getReportByReportId' STARTED"); ApiResponse resp = getReportByReportIdWithHttpInfo(reportId, organizationId); logger.info("CALL TO METHOD 'getReportByReportId' ENDED"); @@ -319,8 +326,9 @@ public ReportingV3ReportsIdGet200Response getReportByReportId(String reportId, S * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3ReportsIdGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getReportByReportIdWithHttpInfo(String reportId, String organizationId) throws ApiException { + public ApiResponse getReportByReportIdWithHttpInfo(String reportId, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getReportByReportIdValidateBeforeCall(reportId, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -335,8 +343,9 @@ public ApiResponse getReportByReportIdWithHt * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getReportByReportIdAsync(String reportId, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getReportByReportIdAsync(String reportId, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -378,8 +387,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call searchReportsCall(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call searchReportsCall(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -453,7 +463,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call searchReportsValidateBeforeCall(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call searchReportsValidateBeforeCall(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -497,8 +507,9 @@ private okhttp3.Call searchReportsValidateBeforeCall(DateTime startTime, DateTim * @param reportStatus Valid Report Status Valid values: - COMPLETED - PENDING - QUEUED - RUNNING - ERROR - NO_DATA (optional) * @return ReportingV3ReportsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3ReportsGet200Response searchReports(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus) throws ApiException { + public ReportingV3ReportsGet200Response searchReports(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'searchReports' STARTED"); ApiResponse resp = searchReportsWithHttpInfo(startTime, endTime, timeQueryType, organizationId, reportMimeType, reportFrequency, reportName, reportDefinitionId, reportStatus); logger.info("CALL TO METHOD 'searchReports' ENDED"); @@ -519,8 +530,9 @@ public ReportingV3ReportsGet200Response searchReports(DateTime startTime, DateTi * @param reportStatus Valid Report Status Valid values: - COMPLETED - PENDING - QUEUED - RUNNING - ERROR - NO_DATA (optional) * @return ApiResponse<ReportingV3ReportsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse searchReportsWithHttpInfo(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus) throws ApiException { + public ApiResponse searchReportsWithHttpInfo(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = searchReportsValidateBeforeCall(startTime, endTime, timeQueryType, organizationId, reportMimeType, reportFrequency, reportName, reportDefinitionId, reportStatus, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -542,8 +554,9 @@ public ApiResponse searchReportsWithHttpInfo(D * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call searchReportsAsync(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus, final ApiCallback callback) throws ApiException { + public okhttp3.Call searchReportsAsync(DateTime startTime, DateTime endTime, String timeQueryType, String organizationId, String reportMimeType, String reportFrequency, String reportName, Integer reportDefinitionId, String reportStatus, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/RetrievalDetailsApi.java b/src/main/java/Api/RetrievalDetailsApi.java index 7f59bbcba..60594787f 100644 --- a/src/main/java/Api/RetrievalDetailsApi.java +++ b/src/main/java/Api/RetrievalDetailsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getRetrievalDetailsCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getRetrievalDetailsCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getRetrievalDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getRetrievalDetailsValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -168,8 +170,9 @@ private okhttp3.Call getRetrievalDetailsValidateBeforeCall(DateTime startTime, D * @param organizationId Valid Organization Id (optional) * @return ReportingV3RetrievalDetailsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3RetrievalDetailsGet200Response getRetrievalDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ReportingV3RetrievalDetailsGet200Response getRetrievalDetails(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getRetrievalDetails' STARTED"); ApiResponse resp = getRetrievalDetailsWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getRetrievalDetails' ENDED"); @@ -184,8 +187,9 @@ public ReportingV3RetrievalDetailsGet200Response getRetrievalDetails(DateTime st * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3RetrievalDetailsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getRetrievalDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ApiResponse getRetrievalDetailsWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getRetrievalDetailsValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -201,8 +205,9 @@ public ApiResponse getRetrievalDetail * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getRetrievalDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getRetrievalDetailsAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/RetrievalSummariesApi.java b/src/main/java/Api/RetrievalSummariesApi.java index f6f808d13..ba66295b0 100644 --- a/src/main/java/Api/RetrievalSummariesApi.java +++ b/src/main/java/Api/RetrievalSummariesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getRetrievalSummaryCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getRetrievalSummaryCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getRetrievalSummaryValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getRetrievalSummaryValidateBeforeCall(DateTime startTime, DateTime endTime, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -168,8 +170,9 @@ private okhttp3.Call getRetrievalSummaryValidateBeforeCall(DateTime startTime, D * @param organizationId Valid Organization Id (optional) * @return ReportingV3RetrievalSummariesGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ReportingV3RetrievalSummariesGet200Response getRetrievalSummary(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ReportingV3RetrievalSummariesGet200Response getRetrievalSummary(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getRetrievalSummary' STARTED"); ApiResponse resp = getRetrievalSummaryWithHttpInfo(startTime, endTime, organizationId); logger.info("CALL TO METHOD 'getRetrievalSummary' ENDED"); @@ -184,8 +187,9 @@ public ReportingV3RetrievalSummariesGet200Response getRetrievalSummary(DateTime * @param organizationId Valid Organization Id (optional) * @return ApiResponse<ReportingV3RetrievalSummariesGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getRetrievalSummaryWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException { + public ApiResponse getRetrievalSummaryWithHttpInfo(DateTime startTime, DateTime endTime, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getRetrievalSummaryValidateBeforeCall(startTime, endTime, organizationId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -201,8 +205,9 @@ public ApiResponse getRetrievalSumm * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getRetrievalSummaryAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getRetrievalSummaryAsync(DateTime startTime, DateTime endTime, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/ReversalApi.java b/src/main/java/Api/ReversalApi.java index a46608769..67a89fac2 100644 --- a/src/main/java/Api/ReversalApi.java +++ b/src/main/java/Api/ReversalApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call authReversalCall(String id, AuthReversalRequest authReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call authReversalCall(String id, AuthReversalRequest authReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(authReversalRequest, AuthReversalRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call authReversalValidateBeforeCall(String id, AuthReversalRequest authReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call authReversalValidateBeforeCall(String id, AuthReversalRequest authReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -161,8 +163,9 @@ private okhttp3.Call authReversalValidateBeforeCall(String id, AuthReversalReque * @param authReversalRequest (required) * @return PtsV2PaymentsReversalsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsReversalsPost201Response authReversal(String id, AuthReversalRequest authReversalRequest) throws ApiException { + public PtsV2PaymentsReversalsPost201Response authReversal(String id, AuthReversalRequest authReversalRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'authReversal' STARTED"); ApiResponse resp = authReversalWithHttpInfo(id, authReversalRequest); logger.info("CALL TO METHOD 'authReversal' ENDED"); @@ -176,8 +179,9 @@ public PtsV2PaymentsReversalsPost201Response authReversal(String id, AuthReversa * @param authReversalRequest (required) * @return ApiResponse<PtsV2PaymentsReversalsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse authReversalWithHttpInfo(String id, AuthReversalRequest authReversalRequest) throws ApiException { + public ApiResponse authReversalWithHttpInfo(String id, AuthReversalRequest authReversalRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = authReversalValidateBeforeCall(id, authReversalRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -192,8 +196,9 @@ public ApiResponse authReversalWithHttpIn * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call authReversalAsync(String id, AuthReversalRequest authReversalRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call authReversalAsync(String id, AuthReversalRequest authReversalRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -227,8 +232,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call mitReversalCall(MitReversalRequest mitReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call mitReversalCall(MitReversalRequest mitReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(mitReversalRequest, MitReversalRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -281,7 +287,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call mitReversalValidateBeforeCall(MitReversalRequest mitReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call mitReversalValidateBeforeCall(MitReversalRequest mitReversalRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'mitReversalRequest' is set if (mitReversalRequest == null) { @@ -305,8 +311,9 @@ private okhttp3.Call mitReversalValidateBeforeCall(MitReversalRequest mitReversa * @param mitReversalRequest (required) * @return PtsV2PaymentsReversalsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsReversalsPost201Response mitReversal(MitReversalRequest mitReversalRequest) throws ApiException { + public PtsV2PaymentsReversalsPost201Response mitReversal(MitReversalRequest mitReversalRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'mitReversal' STARTED"); ApiResponse resp = mitReversalWithHttpInfo(mitReversalRequest); logger.info("CALL TO METHOD 'mitReversal' ENDED"); @@ -319,8 +326,9 @@ public PtsV2PaymentsReversalsPost201Response mitReversal(MitReversalRequest mitR * @param mitReversalRequest (required) * @return ApiResponse<PtsV2PaymentsReversalsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse mitReversalWithHttpInfo(MitReversalRequest mitReversalRequest) throws ApiException { + public ApiResponse mitReversalWithHttpInfo(MitReversalRequest mitReversalRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = mitReversalValidateBeforeCall(mitReversalRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -334,8 +342,9 @@ public ApiResponse mitReversalWithHttpInf * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call mitReversalAsync(MitReversalRequest mitReversalRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call mitReversalAsync(MitReversalRequest mitReversalRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/SearchTransactionsApi.java b/src/main/java/Api/SearchTransactionsApi.java index 85cdb7477..d63854aa5 100644 --- a/src/main/java/Api/SearchTransactionsApi.java +++ b/src/main/java/Api/SearchTransactionsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSearchCall(CreateSearchRequest createSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createSearchCall(CreateSearchRequest createSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createSearchRequest, CreateSearchRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createSearchValidateBeforeCall(CreateSearchRequest createSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createSearchValidateBeforeCall(CreateSearchRequest createSearchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createSearchRequest' is set if (createSearchRequest == null) { @@ -151,8 +153,9 @@ private okhttp3.Call createSearchValidateBeforeCall(CreateSearchRequest createSe * @param createSearchRequest (required) * @return TssV2TransactionsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public TssV2TransactionsPost201Response createSearch(CreateSearchRequest createSearchRequest) throws ApiException { + public TssV2TransactionsPost201Response createSearch(CreateSearchRequest createSearchRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createSearch' STARTED"); ApiResponse resp = createSearchWithHttpInfo(createSearchRequest); logger.info("CALL TO METHOD 'createSearch' ENDED"); @@ -165,8 +168,9 @@ public TssV2TransactionsPost201Response createSearch(CreateSearchRequest createS * @param createSearchRequest (required) * @return ApiResponse<TssV2TransactionsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createSearchWithHttpInfo(CreateSearchRequest createSearchRequest) throws ApiException { + public ApiResponse createSearchWithHttpInfo(CreateSearchRequest createSearchRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSearchValidateBeforeCall(createSearchRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -180,8 +184,9 @@ public ApiResponse createSearchWithHttpInfo(Cr * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSearchAsync(CreateSearchRequest createSearchRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createSearchAsync(CreateSearchRequest createSearchRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -215,8 +220,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSearchCall(String searchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getSearchCall(String searchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -273,7 +279,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getSearchValidateBeforeCall(String searchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getSearchValidateBeforeCall(String searchId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'searchId' is set if (searchId == null) { @@ -297,8 +303,9 @@ private okhttp3.Call getSearchValidateBeforeCall(String searchId, final Progress * @param searchId Search ID. (required) * @return TssV2TransactionsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public TssV2TransactionsPost201Response getSearch(String searchId) throws ApiException { + public TssV2TransactionsPost201Response getSearch(String searchId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getSearch' STARTED"); ApiResponse resp = getSearchWithHttpInfo(searchId); logger.info("CALL TO METHOD 'getSearch' ENDED"); @@ -311,8 +318,9 @@ public TssV2TransactionsPost201Response getSearch(String searchId) throws ApiExc * @param searchId Search ID. (required) * @return ApiResponse<TssV2TransactionsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getSearchWithHttpInfo(String searchId) throws ApiException { + public ApiResponse getSearchWithHttpInfo(String searchId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSearchValidateBeforeCall(searchId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -326,8 +334,9 @@ public ApiResponse getSearchWithHttpInfo(Strin * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSearchAsync(String searchId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getSearchAsync(String searchId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/SecureFileShareApi.java b/src/main/java/Api/SecureFileShareApi.java index 3f4a646ce..883807209 100644 --- a/src/main/java/Api/SecureFileShareApi.java +++ b/src/main/java/Api/SecureFileShareApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -73,8 +74,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getFileCall(String fileId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getFileCall(String fileId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -133,7 +135,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getFileValidateBeforeCall(String fileId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getFileValidateBeforeCall(String fileId, String organizationId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'fileId' is set if (fileId == null) { @@ -157,8 +159,9 @@ private okhttp3.Call getFileValidateBeforeCall(String fileId, String organizatio * @param fileId Unique identifier for each file (required) * @param organizationId Valid Cybersource Organization Id (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void getFile(String fileId, String organizationId) throws ApiException { + public void getFile(String fileId, String organizationId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getFile' STARTED"); getFileWithHttpInfo(fileId, organizationId); @@ -171,8 +174,9 @@ public void getFile(String fileId, String organizationId) throws ApiException { * @param organizationId Valid Cybersource Organization Id (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getFileWithHttpInfo(String fileId, String organizationId) throws ApiException { + public ApiResponse getFileWithHttpInfo(String fileId, String organizationId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getFileValidateBeforeCall(fileId, organizationId, null, null); return apiClient.execute(call); @@ -186,8 +190,9 @@ public ApiResponse getFileWithHttpInfo(String fileId, String organi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getFileAsync(String fileId, String organizationId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getFileAsync(String fileId, String organizationId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -223,8 +228,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getFileDetailCall(LocalDate startDate, LocalDate endDate, String organizationId, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getFileDetailCall(LocalDate startDate, LocalDate endDate, String organizationId, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -288,7 +294,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getFileDetailValidateBeforeCall(LocalDate startDate, LocalDate endDate, String organizationId, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getFileDetailValidateBeforeCall(LocalDate startDate, LocalDate endDate, String organizationId, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startDate' is set if (startDate == null) { @@ -321,8 +327,9 @@ private okhttp3.Call getFileDetailValidateBeforeCall(LocalDate startDate, LocalD * @param name **Tailored to searches for specific files with in given Date range** example : MyTransactionDetailreport.xml (optional) * @return V1FileDetailsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public V1FileDetailsGet200Response getFileDetail(LocalDate startDate, LocalDate endDate, String organizationId, String name) throws ApiException { + public V1FileDetailsGet200Response getFileDetail(LocalDate startDate, LocalDate endDate, String organizationId, String name) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getFileDetail' STARTED"); ApiResponse resp = getFileDetailWithHttpInfo(startDate, endDate, organizationId, name); logger.info("CALL TO METHOD 'getFileDetail' ENDED"); @@ -338,8 +345,9 @@ public V1FileDetailsGet200Response getFileDetail(LocalDate startDate, LocalDate * @param name **Tailored to searches for specific files with in given Date range** example : MyTransactionDetailreport.xml (optional) * @return ApiResponse<V1FileDetailsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getFileDetailWithHttpInfo(LocalDate startDate, LocalDate endDate, String organizationId, String name) throws ApiException { + public ApiResponse getFileDetailWithHttpInfo(LocalDate startDate, LocalDate endDate, String organizationId, String name) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getFileDetailValidateBeforeCall(startDate, endDate, organizationId, name, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -356,8 +364,9 @@ public ApiResponse getFileDetailWithHttpInfo(LocalD * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getFileDetailAsync(LocalDate startDate, LocalDate endDate, String organizationId, String name, final ApiCallback callback) throws ApiException { + public okhttp3.Call getFileDetailAsync(LocalDate startDate, LocalDate endDate, String organizationId, String name, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/SubscriptionsApi.java b/src/main/java/Api/SubscriptionsApi.java index c667c5280..2a8e0e7d0 100644 --- a/src/main/java/Api/SubscriptionsApi.java +++ b/src/main/java/Api/SubscriptionsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -84,8 +85,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call activateSubscriptionCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call activateSubscriptionCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -144,7 +146,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -169,8 +171,9 @@ private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean p * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) * @return ActivateSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ActivateSubscriptionResponse activateSubscription(String id, Boolean processSkippedPayments) throws ApiException { + public ActivateSubscriptionResponse activateSubscription(String id, Boolean processSkippedPayments) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'activateSubscription' STARTED"); ApiResponse resp = activateSubscriptionWithHttpInfo(id, processSkippedPayments); logger.info("CALL TO METHOD 'activateSubscription' ENDED"); @@ -184,8 +187,9 @@ public ActivateSubscriptionResponse activateSubscription(String id, Boolean proc * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) * @return ApiResponse<ActivateSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse activateSubscriptionWithHttpInfo(String id, Boolean processSkippedPayments) throws ApiException { + public ApiResponse activateSubscriptionWithHttpInfo(String id, Boolean processSkippedPayments) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processSkippedPayments, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -200,8 +204,9 @@ public ApiResponse activateSubscriptionWithHttpInf * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call activateSubscriptionAsync(String id, Boolean processSkippedPayments, final ApiCallback callback) throws ApiException { + public okhttp3.Call activateSubscriptionAsync(String id, Boolean processSkippedPayments, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -235,8 +240,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call cancelSubscriptionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call cancelSubscriptionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -293,7 +299,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call cancelSubscriptionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call cancelSubscriptionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -317,8 +323,9 @@ private okhttp3.Call cancelSubscriptionValidateBeforeCall(String id, final Progr * @param id Subscription Id (required) * @return CancelSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public CancelSubscriptionResponse cancelSubscription(String id) throws ApiException { + public CancelSubscriptionResponse cancelSubscription(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'cancelSubscription' STARTED"); ApiResponse resp = cancelSubscriptionWithHttpInfo(id); logger.info("CALL TO METHOD 'cancelSubscription' ENDED"); @@ -331,8 +338,9 @@ public CancelSubscriptionResponse cancelSubscription(String id) throws ApiExcept * @param id Subscription Id (required) * @return ApiResponse<CancelSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse cancelSubscriptionWithHttpInfo(String id) throws ApiException { + public ApiResponse cancelSubscriptionWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = cancelSubscriptionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -346,8 +354,9 @@ public ApiResponse cancelSubscriptionWithHttpInfo(St * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call cancelSubscriptionAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call cancelSubscriptionAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -381,8 +390,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSubscriptionCall(CreateSubscriptionRequest createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createSubscriptionCall(CreateSubscriptionRequest createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createSubscriptionRequest, CreateSubscriptionRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -435,7 +445,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createSubscriptionValidateBeforeCall(CreateSubscriptionRequest createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createSubscriptionValidateBeforeCall(CreateSubscriptionRequest createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'createSubscriptionRequest' is set if (createSubscriptionRequest == null) { @@ -459,8 +469,9 @@ private okhttp3.Call createSubscriptionValidateBeforeCall(CreateSubscriptionRequ * @param createSubscriptionRequest (required) * @return CreateSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public CreateSubscriptionResponse createSubscription(CreateSubscriptionRequest createSubscriptionRequest) throws ApiException { + public CreateSubscriptionResponse createSubscription(CreateSubscriptionRequest createSubscriptionRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createSubscription' STARTED"); ApiResponse resp = createSubscriptionWithHttpInfo(createSubscriptionRequest); logger.info("CALL TO METHOD 'createSubscription' ENDED"); @@ -473,8 +484,9 @@ public CreateSubscriptionResponse createSubscription(CreateSubscriptionRequest c * @param createSubscriptionRequest (required) * @return ApiResponse<CreateSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createSubscriptionWithHttpInfo(CreateSubscriptionRequest createSubscriptionRequest) throws ApiException { + public ApiResponse createSubscriptionWithHttpInfo(CreateSubscriptionRequest createSubscriptionRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createSubscriptionValidateBeforeCall(createSubscriptionRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -488,8 +500,9 @@ public ApiResponse createSubscriptionWithHttpInfo(Cr * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createSubscriptionAsync(CreateSubscriptionRequest createSubscriptionRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createSubscriptionAsync(CreateSubscriptionRequest createSubscriptionRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -526,8 +539,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllSubscriptionsCall(Integer offset, Integer limit, String code, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getAllSubscriptionsCall(Integer offset, Integer limit, String code, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -591,7 +605,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getAllSubscriptionsValidateBeforeCall(Integer offset, Integer limit, String code, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getAllSubscriptionsValidateBeforeCall(Integer offset, Integer limit, String code, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getAllSubscriptionsCall(offset, limit, code, status, progressListener, progressRequestListener); @@ -612,8 +626,9 @@ private okhttp3.Call getAllSubscriptionsValidateBeforeCall(Integer offset, Integ * @param status Filter by Subscription Status (optional) * @return GetAllSubscriptionsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public GetAllSubscriptionsResponse getAllSubscriptions(Integer offset, Integer limit, String code, String status) throws ApiException { + public GetAllSubscriptionsResponse getAllSubscriptions(Integer offset, Integer limit, String code, String status) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getAllSubscriptions' STARTED"); ApiResponse resp = getAllSubscriptionsWithHttpInfo(offset, limit, code, status); logger.info("CALL TO METHOD 'getAllSubscriptions' ENDED"); @@ -629,8 +644,9 @@ public GetAllSubscriptionsResponse getAllSubscriptions(Integer offset, Integer l * @param status Filter by Subscription Status (optional) * @return ApiResponse<GetAllSubscriptionsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getAllSubscriptionsWithHttpInfo(Integer offset, Integer limit, String code, String status) throws ApiException { + public ApiResponse getAllSubscriptionsWithHttpInfo(Integer offset, Integer limit, String code, String status) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getAllSubscriptionsValidateBeforeCall(offset, limit, code, status, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -647,8 +663,9 @@ public ApiResponse getAllSubscriptionsWithHttpInfo( * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getAllSubscriptionsAsync(Integer offset, Integer limit, String code, String status, final ApiCallback callback) throws ApiException { + public okhttp3.Call getAllSubscriptionsAsync(Integer offset, Integer limit, String code, String status, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -682,8 +699,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSubscriptionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getSubscriptionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -740,7 +758,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getSubscriptionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getSubscriptionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -764,8 +782,9 @@ private okhttp3.Call getSubscriptionValidateBeforeCall(String id, final Progress * @param id Subscription Id (required) * @return GetSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public GetSubscriptionResponse getSubscription(String id) throws ApiException { + public GetSubscriptionResponse getSubscription(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getSubscription' STARTED"); ApiResponse resp = getSubscriptionWithHttpInfo(id); logger.info("CALL TO METHOD 'getSubscription' ENDED"); @@ -778,8 +797,9 @@ public GetSubscriptionResponse getSubscription(String id) throws ApiException { * @param id Subscription Id (required) * @return ApiResponse<GetSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getSubscriptionWithHttpInfo(String id) throws ApiException { + public ApiResponse getSubscriptionWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSubscriptionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -793,8 +813,9 @@ public ApiResponse getSubscriptionWithHttpInfo(String i * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSubscriptionAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call getSubscriptionAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -827,8 +848,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSubscriptionCodeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getSubscriptionCodeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -884,7 +906,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getSubscriptionCodeValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getSubscriptionCodeValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getSubscriptionCodeCall(progressListener, progressRequestListener); @@ -901,8 +923,9 @@ private okhttp3.Call getSubscriptionCodeValidateBeforeCall(final ProgressRespons * Get a Unique Subscription Code * @return GetSubscriptionCodeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public GetSubscriptionCodeResponse getSubscriptionCode() throws ApiException { + public GetSubscriptionCodeResponse getSubscriptionCode() throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getSubscriptionCode' STARTED"); ApiResponse resp = getSubscriptionCodeWithHttpInfo(); logger.info("CALL TO METHOD 'getSubscriptionCode' ENDED"); @@ -914,8 +937,9 @@ public GetSubscriptionCodeResponse getSubscriptionCode() throws ApiException { * Get a Unique Subscription Code * @return ApiResponse<GetSubscriptionCodeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getSubscriptionCodeWithHttpInfo() throws ApiException { + public ApiResponse getSubscriptionCodeWithHttpInfo() throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getSubscriptionCodeValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -928,8 +952,9 @@ public ApiResponse getSubscriptionCodeWithHttpInfo( * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getSubscriptionCodeAsync(final ApiCallback callback) throws ApiException { + public okhttp3.Call getSubscriptionCodeAsync(final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -963,8 +988,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call suspendSubscriptionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call suspendSubscriptionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -1021,7 +1047,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call suspendSubscriptionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call suspendSubscriptionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -1045,8 +1071,9 @@ private okhttp3.Call suspendSubscriptionValidateBeforeCall(String id, final Prog * @param id Subscription Id (required) * @return SuspendSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public SuspendSubscriptionResponse suspendSubscription(String id) throws ApiException { + public SuspendSubscriptionResponse suspendSubscription(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'suspendSubscription' STARTED"); ApiResponse resp = suspendSubscriptionWithHttpInfo(id); logger.info("CALL TO METHOD 'suspendSubscription' ENDED"); @@ -1059,8 +1086,9 @@ public SuspendSubscriptionResponse suspendSubscription(String id) throws ApiExce * @param id Subscription Id (required) * @return ApiResponse<SuspendSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse suspendSubscriptionWithHttpInfo(String id) throws ApiException { + public ApiResponse suspendSubscriptionWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = suspendSubscriptionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1074,8 +1102,9 @@ public ApiResponse suspendSubscriptionWithHttpInfo( * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call suspendSubscriptionAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call suspendSubscriptionAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -1110,8 +1139,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateSubscriptionCall(String id, UpdateSubscription updateSubscription, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call updateSubscriptionCall(String id, UpdateSubscription updateSubscription, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(updateSubscription, UpdateSubscription.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -1165,7 +1195,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call updateSubscriptionValidateBeforeCall(String id, UpdateSubscription updateSubscription, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call updateSubscriptionValidateBeforeCall(String id, UpdateSubscription updateSubscription, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -1196,8 +1226,9 @@ private okhttp3.Call updateSubscriptionValidateBeforeCall(String id, UpdateSubsc * @param updateSubscription Update Subscription (required) * @return UpdateSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public UpdateSubscriptionResponse updateSubscription(String id, UpdateSubscription updateSubscription) throws ApiException { + public UpdateSubscriptionResponse updateSubscription(String id, UpdateSubscription updateSubscription) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'updateSubscription' STARTED"); ApiResponse resp = updateSubscriptionWithHttpInfo(id, updateSubscription); logger.info("CALL TO METHOD 'updateSubscription' ENDED"); @@ -1211,8 +1242,9 @@ public UpdateSubscriptionResponse updateSubscription(String id, UpdateSubscripti * @param updateSubscription Update Subscription (required) * @return ApiResponse<UpdateSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse updateSubscriptionWithHttpInfo(String id, UpdateSubscription updateSubscription) throws ApiException { + public ApiResponse updateSubscriptionWithHttpInfo(String id, UpdateSubscription updateSubscription) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = updateSubscriptionValidateBeforeCall(id, updateSubscription, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1227,8 +1259,9 @@ public ApiResponse updateSubscriptionWithHttpInfo(St * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call updateSubscriptionAsync(String id, UpdateSubscription updateSubscription, final ApiCallback callback) throws ApiException { + public okhttp3.Call updateSubscriptionAsync(String id, UpdateSubscription updateSubscription, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/SubscriptionsFollowOnsApi.java b/src/main/java/Api/SubscriptionsFollowOnsApi.java index 467c36bba..ce351f8ae 100644 --- a/src/main/java/Api/SubscriptionsFollowOnsApi.java +++ b/src/main/java/Api/SubscriptionsFollowOnsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -76,8 +77,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createFollowOnSubscriptionCall(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call createFollowOnSubscriptionCall(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(createSubscriptionRequest, CreateSubscriptionRequest1.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -131,7 +133,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call createFollowOnSubscriptionValidateBeforeCall(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call createFollowOnSubscriptionValidateBeforeCall(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'requestId' is set if (requestId == null) { @@ -162,8 +164,9 @@ private okhttp3.Call createFollowOnSubscriptionValidateBeforeCall(String request * @param createSubscriptionRequest (required) * @return CreateSubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public CreateSubscriptionResponse createFollowOnSubscription(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest) throws ApiException { + public CreateSubscriptionResponse createFollowOnSubscription(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'createFollowOnSubscription' STARTED"); ApiResponse resp = createFollowOnSubscriptionWithHttpInfo(requestId, createSubscriptionRequest); logger.info("CALL TO METHOD 'createFollowOnSubscription' ENDED"); @@ -177,8 +180,9 @@ public CreateSubscriptionResponse createFollowOnSubscription(String requestId, C * @param createSubscriptionRequest (required) * @return ApiResponse<CreateSubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse createFollowOnSubscriptionWithHttpInfo(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest) throws ApiException { + public ApiResponse createFollowOnSubscriptionWithHttpInfo(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = createFollowOnSubscriptionValidateBeforeCall(requestId, createSubscriptionRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -193,8 +197,9 @@ public ApiResponse createFollowOnSubscriptionWithHtt * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call createFollowOnSubscriptionAsync(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call createFollowOnSubscriptionAsync(String requestId, CreateSubscriptionRequest1 createSubscriptionRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -228,8 +233,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getFollowOnSubscriptionCall(String requestId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getFollowOnSubscriptionCall(String requestId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -286,7 +292,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getFollowOnSubscriptionValidateBeforeCall(String requestId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getFollowOnSubscriptionValidateBeforeCall(String requestId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'requestId' is set if (requestId == null) { @@ -310,8 +316,9 @@ private okhttp3.Call getFollowOnSubscriptionValidateBeforeCall(String requestId, * @param requestId Request Id of an existing successful Transaction (required) * @return GetSubscriptionResponse1 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public GetSubscriptionResponse1 getFollowOnSubscription(String requestId) throws ApiException { + public GetSubscriptionResponse1 getFollowOnSubscription(String requestId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getFollowOnSubscription' STARTED"); ApiResponse resp = getFollowOnSubscriptionWithHttpInfo(requestId); logger.info("CALL TO METHOD 'getFollowOnSubscription' ENDED"); @@ -324,8 +331,9 @@ public GetSubscriptionResponse1 getFollowOnSubscription(String requestId) throws * @param requestId Request Id of an existing successful Transaction (required) * @return ApiResponse<GetSubscriptionResponse1> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getFollowOnSubscriptionWithHttpInfo(String requestId) throws ApiException { + public ApiResponse getFollowOnSubscriptionWithHttpInfo(String requestId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getFollowOnSubscriptionValidateBeforeCall(requestId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -339,8 +347,9 @@ public ApiResponse getFollowOnSubscriptionWithHttpInfo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getFollowOnSubscriptionAsync(String requestId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getFollowOnSubscriptionAsync(String requestId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/TaxesApi.java b/src/main/java/Api/TaxesApi.java index 692120783..ab2ec57e3 100644 --- a/src/main/java/Api/TaxesApi.java +++ b/src/main/java/Api/TaxesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -76,8 +77,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call calculateTaxCall(TaxRequest taxRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call calculateTaxCall(TaxRequest taxRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(taxRequest, TaxRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call calculateTaxValidateBeforeCall(TaxRequest taxRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call calculateTaxValidateBeforeCall(TaxRequest taxRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'taxRequest' is set if (taxRequest == null) { @@ -154,8 +156,9 @@ private okhttp3.Call calculateTaxValidateBeforeCall(TaxRequest taxRequest, final * @param taxRequest (required) * @return VasV2PaymentsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public VasV2PaymentsPost201Response calculateTax(TaxRequest taxRequest) throws ApiException { + public VasV2PaymentsPost201Response calculateTax(TaxRequest taxRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'calculateTax' STARTED"); ApiResponse resp = calculateTaxWithHttpInfo(taxRequest); logger.info("CALL TO METHOD 'calculateTax' ENDED"); @@ -168,8 +171,9 @@ public VasV2PaymentsPost201Response calculateTax(TaxRequest taxRequest) throws A * @param taxRequest (required) * @return ApiResponse<VasV2PaymentsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse calculateTaxWithHttpInfo(TaxRequest taxRequest) throws ApiException { + public ApiResponse calculateTaxWithHttpInfo(TaxRequest taxRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = calculateTaxValidateBeforeCall(taxRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -183,8 +187,9 @@ public ApiResponse calculateTaxWithHttpInfo(TaxReq * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call calculateTaxAsync(TaxRequest taxRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call calculateTaxAsync(TaxRequest taxRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -219,8 +224,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidTaxCall(VoidTaxRequest voidTaxRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call voidTaxCall(VoidTaxRequest voidTaxRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(voidTaxRequest, VoidTaxRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -274,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call voidTaxValidateBeforeCall(VoidTaxRequest voidTaxRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call voidTaxValidateBeforeCall(VoidTaxRequest voidTaxRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'voidTaxRequest' is set if (voidTaxRequest == null) { @@ -305,8 +311,9 @@ private okhttp3.Call voidTaxValidateBeforeCall(VoidTaxRequest voidTaxRequest, St * @param id The tax ID returned from a previous request. (required) * @return VasV2TaxVoid200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public VasV2TaxVoid200Response voidTax(VoidTaxRequest voidTaxRequest, String id) throws ApiException { + public VasV2TaxVoid200Response voidTax(VoidTaxRequest voidTaxRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'voidTax' STARTED"); ApiResponse resp = voidTaxWithHttpInfo(voidTaxRequest, id); logger.info("CALL TO METHOD 'voidTax' ENDED"); @@ -320,8 +327,9 @@ public VasV2TaxVoid200Response voidTax(VoidTaxRequest voidTaxRequest, String id) * @param id The tax ID returned from a previous request. (required) * @return ApiResponse<VasV2TaxVoid200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse voidTaxWithHttpInfo(VoidTaxRequest voidTaxRequest, String id) throws ApiException { + public ApiResponse voidTaxWithHttpInfo(VoidTaxRequest voidTaxRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidTaxValidateBeforeCall(voidTaxRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -336,8 +344,9 @@ public ApiResponse voidTaxWithHttpInfo(VoidTaxRequest v * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidTaxAsync(VoidTaxRequest voidTaxRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call voidTaxAsync(VoidTaxRequest voidTaxRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/TokenApi.java b/src/main/java/Api/TokenApi.java index f8ece2e26..21a4877e0 100644 --- a/src/main/java/Api/TokenApi.java +++ b/src/main/java/Api/TokenApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -78,8 +79,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCardArtAssetCall(String instrumentIdentifierId, String tokenProvider, String assetType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getCardArtAssetCall(String instrumentIdentifierId, String tokenProvider, String assetType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -138,7 +140,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getCardArtAssetValidateBeforeCall(String instrumentIdentifierId, String tokenProvider, String assetType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getCardArtAssetValidateBeforeCall(String instrumentIdentifierId, String tokenProvider, String assetType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'instrumentIdentifierId' is set if (instrumentIdentifierId == null) { @@ -176,8 +178,9 @@ private okhttp3.Call getCardArtAssetValidateBeforeCall(String instrumentIdentifi * @param assetType The type of asset. (required) * @return InlineResponse200 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public InlineResponse200 getCardArtAsset(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException { + public InlineResponse200 getCardArtAsset(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getCardArtAsset' STARTED"); ApiResponse resp = getCardArtAssetWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType); logger.info("CALL TO METHOD 'getCardArtAsset' ENDED"); @@ -192,8 +195,9 @@ public InlineResponse200 getCardArtAsset(String instrumentIdentifierId, String t * @param assetType The type of asset. (required) * @return ApiResponse<InlineResponse200> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getCardArtAssetWithHttpInfo(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException { + public ApiResponse getCardArtAssetWithHttpInfo(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getCardArtAssetValidateBeforeCall(instrumentIdentifierId, tokenProvider, assetType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -209,8 +213,9 @@ public ApiResponse getCardArtAssetWithHttpInfo(String instrum * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getCardArtAssetAsync(String instrumentIdentifierId, String tokenProvider, String assetType, final ApiCallback callback) throws ApiException { + public okhttp3.Call getCardArtAssetAsync(String instrumentIdentifierId, String tokenProvider, String assetType, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -246,8 +251,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postTokenPaymentCredentialsCall(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postTokenPaymentCredentialsCall(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postPaymentCredentialsRequest, PostPaymentCredentialsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -303,7 +309,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postTokenPaymentCredentialsValidateBeforeCall(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postTokenPaymentCredentialsValidateBeforeCall(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'tokenId' is set if (tokenId == null) { @@ -335,8 +341,9 @@ private okhttp3.Call postTokenPaymentCredentialsValidateBeforeCall(String tokenI * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public String postTokenPaymentCredentials(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException { + public String postTokenPaymentCredentials(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postTokenPaymentCredentials' STARTED"); ApiResponse resp = postTokenPaymentCredentialsWithHttpInfo(tokenId, postPaymentCredentialsRequest, profileId); logger.info("CALL TO METHOD 'postTokenPaymentCredentials' ENDED"); @@ -351,8 +358,9 @@ public String postTokenPaymentCredentials(String tokenId, PostPaymentCredentials * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postTokenPaymentCredentialsWithHttpInfo(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException { + public ApiResponse postTokenPaymentCredentialsWithHttpInfo(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postTokenPaymentCredentialsValidateBeforeCall(tokenId, postPaymentCredentialsRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -368,8 +376,9 @@ public ApiResponse postTokenPaymentCredentialsWithHttpInfo(String tokenI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postTokenPaymentCredentialsAsync(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postTokenPaymentCredentialsAsync(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/TokenizedCardApi.java b/src/main/java/Api/TokenizedCardApi.java index d173b5417..cc099c00b 100644 --- a/src/main/java/Api/TokenizedCardApi.java +++ b/src/main/java/Api/TokenizedCardApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -34,6 +35,7 @@ import Model.InlineResponse410; import Model.InlineResponse424; import Model.InlineResponse500; +import Model.PostIssuerLifeCycleSimulationRequest; import Model.TokenizedcardRequest; import java.lang.reflect.Type; @@ -77,8 +79,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteTokenizedCardCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call deleteTokenizedCardCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("DELETE".equalsIgnoreCase("POST")) { @@ -137,7 +140,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteTokenizedCardValidateBeforeCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call deleteTokenizedCardValidateBeforeCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'tokenizedCardId' is set if (tokenizedCardId == null) { @@ -161,8 +164,9 @@ private okhttp3.Call deleteTokenizedCardValidateBeforeCall(String tokenizedCardI * @param tokenizedCardId The Id of a tokenized card. (required) * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void deleteTokenizedCard(String tokenizedCardId, String profileId) throws ApiException { + public void deleteTokenizedCard(String tokenizedCardId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'deleteTokenizedCard' STARTED"); deleteTokenizedCardWithHttpInfo(tokenizedCardId, profileId); @@ -175,8 +179,9 @@ public void deleteTokenizedCard(String tokenizedCardId, String profileId) throws * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse deleteTokenizedCardWithHttpInfo(String tokenizedCardId, String profileId) throws ApiException { + public ApiResponse deleteTokenizedCardWithHttpInfo(String tokenizedCardId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = deleteTokenizedCardValidateBeforeCall(tokenizedCardId, profileId, null, null); return apiClient.execute(call); @@ -190,8 +195,9 @@ public ApiResponse deleteTokenizedCardWithHttpInfo(String tokenizedCardId, * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call deleteTokenizedCardAsync(String tokenizedCardId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call deleteTokenizedCardAsync(String tokenizedCardId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -225,8 +231,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTokenizedCardCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getTokenizedCardCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -285,7 +292,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getTokenizedCardValidateBeforeCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getTokenizedCardValidateBeforeCall(String tokenizedCardId, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'tokenizedCardId' is set if (tokenizedCardId == null) { @@ -310,8 +317,9 @@ private okhttp3.Call getTokenizedCardValidateBeforeCall(String tokenizedCardId, * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return TokenizedcardRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public TokenizedcardRequest getTokenizedCard(String tokenizedCardId, String profileId) throws ApiException { + public TokenizedcardRequest getTokenizedCard(String tokenizedCardId, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getTokenizedCard' STARTED"); ApiResponse resp = getTokenizedCardWithHttpInfo(tokenizedCardId, profileId); logger.info("CALL TO METHOD 'getTokenizedCard' ENDED"); @@ -325,8 +333,9 @@ public TokenizedcardRequest getTokenizedCard(String tokenizedCardId, String prof * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<TokenizedcardRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getTokenizedCardWithHttpInfo(String tokenizedCardId, String profileId) throws ApiException { + public ApiResponse getTokenizedCardWithHttpInfo(String tokenizedCardId, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTokenizedCardValidateBeforeCall(tokenizedCardId, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -341,8 +350,9 @@ public ApiResponse getTokenizedCardWithHttpInfo(String tok * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTokenizedCardAsync(String tokenizedCardId, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getTokenizedCardAsync(String tokenizedCardId, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -369,6 +379,171 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } + /** + * Build call for postIssuerLifeCycleSimulation + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call postIssuerLifeCycleSimulationCall(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postIssuerLifeCycleSimulationRequest, PostIssuerLifeCycleSimulationRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); + + String inboundMLEStatus = "false"; + + if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postIssuerLifeCycleSimulation,postIssuerLifeCycleSimulationAsync,postIssuerLifeCycleSimulationWithHttpInfo,postIssuerLifeCycleSimulationCall")) { + try { + localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody); + } catch (MLEException e) { + logger.error("Failed to encrypt request body {}", e.getMessage(), e); + throw new ApiException("Failed to encrypt request body : " + e.getMessage()); + } + } + + // create path and map variables + String localVarPath = "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations" + .replaceAll("\\{" + "tokenizedCardId" + "\\}", apiClient.escapeString(tokenizedCardId.toString())); + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + if (profileId != null) + localVarHeaderParams.put("profile-id", apiClient.parameterToString(profileId)); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json;charset=utf-8" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json;charset=utf-8" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call postIssuerLifeCycleSimulationValidateBeforeCall(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { + + // verify the required parameter 'profileId' is set + if (profileId == null) { + logger.error("Missing the required parameter 'profileId' when calling postIssuerLifeCycleSimulation(Async)"); + throw new ApiException("Missing the required parameter 'profileId' when calling postIssuerLifeCycleSimulation(Async)"); + } + + // verify the required parameter 'tokenizedCardId' is set + if (tokenizedCardId == null) { + logger.error("Missing the required parameter 'tokenizedCardId' when calling postIssuerLifeCycleSimulation(Async)"); + throw new ApiException("Missing the required parameter 'tokenizedCardId' when calling postIssuerLifeCycleSimulation(Async)"); + } + + // verify the required parameter 'postIssuerLifeCycleSimulationRequest' is set + if (postIssuerLifeCycleSimulationRequest == null) { + logger.error("Missing the required parameter 'postIssuerLifeCycleSimulationRequest' when calling postIssuerLifeCycleSimulation(Async)"); + throw new ApiException("Missing the required parameter 'postIssuerLifeCycleSimulationRequest' when calling postIssuerLifeCycleSimulation(Async)"); + } + + + okhttp3.Call call = postIssuerLifeCycleSimulationCall(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Simulate Issuer Life Cycle Management Events + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public void postIssuerLifeCycleSimulation(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) throws ApiException, ConfigException { + logger.info("CALL TO METHOD 'postIssuerLifeCycleSimulation' STARTED"); + postIssuerLifeCycleSimulationWithHttpInfo(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + + } + + /** + * Simulate Issuer Life Cycle Management Events + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public ApiResponse postIssuerLifeCycleSimulationWithHttpInfo(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) throws ApiException, ConfigException { + this.apiClient.setComputationStartTime(System.nanoTime()); + okhttp3.Call call = postIssuerLifeCycleSimulationValidateBeforeCall(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest, null, null); + return apiClient.execute(call); + } + + /** + * Simulate Issuer Life Cycle Management Events (asynchronously) + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * @param profileId The Id of a profile containing user specific TMS configuration. (required) + * @param tokenizedCardId The Id of a tokenized card. (required) + * @param postIssuerLifeCycleSimulationRequest (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient + */ + public okhttp3.Call postIssuerLifeCycleSimulationAsync(String profileId, String tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest, final ApiCallback callback) throws ApiException, ConfigException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = postIssuerLifeCycleSimulationValidateBeforeCall(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); + return call; + } /** * Build call for postTokenizedCard * @param tokenizedcardRequest (required) @@ -377,8 +552,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postTokenizedCardCall(TokenizedcardRequest tokenizedcardRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call postTokenizedCardCall(TokenizedcardRequest tokenizedcardRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(tokenizedcardRequest, TokenizedcardRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -433,7 +609,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call postTokenizedCardValidateBeforeCall(TokenizedcardRequest tokenizedcardRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call postTokenizedCardValidateBeforeCall(TokenizedcardRequest tokenizedcardRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'tokenizedcardRequest' is set if (tokenizedcardRequest == null) { @@ -458,8 +634,9 @@ private okhttp3.Call postTokenizedCardValidateBeforeCall(TokenizedcardRequest to * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return TokenizedcardRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public TokenizedcardRequest postTokenizedCard(TokenizedcardRequest tokenizedcardRequest, String profileId) throws ApiException { + public TokenizedcardRequest postTokenizedCard(TokenizedcardRequest tokenizedcardRequest, String profileId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'postTokenizedCard' STARTED"); ApiResponse resp = postTokenizedCardWithHttpInfo(tokenizedcardRequest, profileId); logger.info("CALL TO METHOD 'postTokenizedCard' ENDED"); @@ -473,8 +650,9 @@ public TokenizedcardRequest postTokenizedCard(TokenizedcardRequest tokenizedcard * @param profileId The Id of a profile containing user specific TMS configuration. (optional) * @return ApiResponse<TokenizedcardRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse postTokenizedCardWithHttpInfo(TokenizedcardRequest tokenizedcardRequest, String profileId) throws ApiException { + public ApiResponse postTokenizedCardWithHttpInfo(TokenizedcardRequest tokenizedcardRequest, String profileId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = postTokenizedCardValidateBeforeCall(tokenizedcardRequest, profileId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -489,8 +667,9 @@ public ApiResponse postTokenizedCardWithHttpInfo(Tokenized * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call postTokenizedCardAsync(TokenizedcardRequest tokenizedcardRequest, String profileId, final ApiCallback callback) throws ApiException { + public okhttp3.Call postTokenizedCardAsync(TokenizedcardRequest tokenizedcardRequest, String profileId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/TransactionBatchesApi.java b/src/main/java/Api/TransactionBatchesApi.java index 05cc5b286..eecc6fb2b 100644 --- a/src/main/java/Api/TransactionBatchesApi.java +++ b/src/main/java/Api/TransactionBatchesApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -79,8 +80,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionBatchDetailsCall(String id, LocalDate uploadDate, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getTransactionBatchDetailsCall(String id, LocalDate uploadDate, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -141,7 +143,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getTransactionBatchDetailsValidateBeforeCall(String id, LocalDate uploadDate, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getTransactionBatchDetailsValidateBeforeCall(String id, LocalDate uploadDate, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -166,8 +168,9 @@ private okhttp3.Call getTransactionBatchDetailsValidateBeforeCall(String id, Loc * @param uploadDate Date in which the original batch file was uploaded. Date must be in ISO-8601 format. Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd (optional) * @param status Allows you to filter by rejected response. Valid values: - Rejected (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void getTransactionBatchDetails(String id, LocalDate uploadDate, String status) throws ApiException { + public void getTransactionBatchDetails(String id, LocalDate uploadDate, String status) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getTransactionBatchDetails' STARTED"); getTransactionBatchDetailsWithHttpInfo(id, uploadDate, status); @@ -181,8 +184,9 @@ public void getTransactionBatchDetails(String id, LocalDate uploadDate, String s * @param status Allows you to filter by rejected response. Valid values: - Rejected (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getTransactionBatchDetailsWithHttpInfo(String id, LocalDate uploadDate, String status) throws ApiException { + public ApiResponse getTransactionBatchDetailsWithHttpInfo(String id, LocalDate uploadDate, String status) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionBatchDetailsValidateBeforeCall(id, uploadDate, status, null, null); return apiClient.execute(call); @@ -197,8 +201,9 @@ public ApiResponse getTransactionBatchDetailsWithHttpInfo(String id * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionBatchDetailsAsync(String id, LocalDate uploadDate, String status, final ApiCallback callback) throws ApiException { + public okhttp3.Call getTransactionBatchDetailsAsync(String id, LocalDate uploadDate, String status, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -231,8 +236,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionBatchIdCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getTransactionBatchIdCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -289,7 +295,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getTransactionBatchIdValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getTransactionBatchIdValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -313,8 +319,9 @@ private okhttp3.Call getTransactionBatchIdValidateBeforeCall(String id, final Pr * @param id The batch id assigned for the template. (required) * @return PtsV1TransactionBatchesIdGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV1TransactionBatchesIdGet200Response getTransactionBatchId(String id) throws ApiException { + public PtsV1TransactionBatchesIdGet200Response getTransactionBatchId(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getTransactionBatchId' STARTED"); ApiResponse resp = getTransactionBatchIdWithHttpInfo(id); logger.info("CALL TO METHOD 'getTransactionBatchId' ENDED"); @@ -327,8 +334,9 @@ public PtsV1TransactionBatchesIdGet200Response getTransactionBatchId(String id) * @param id The batch id assigned for the template. (required) * @return ApiResponse<PtsV1TransactionBatchesIdGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getTransactionBatchIdWithHttpInfo(String id) throws ApiException { + public ApiResponse getTransactionBatchIdWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionBatchIdValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -342,8 +350,9 @@ public ApiResponse getTransactionBatchI * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionBatchIdAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call getTransactionBatchIdAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -378,8 +387,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionBatchesCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getTransactionBatchesCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -439,7 +449,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getTransactionBatchesValidateBeforeCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getTransactionBatchesValidateBeforeCall(DateTime startTime, DateTime endTime, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'startTime' is set if (startTime == null) { @@ -470,8 +480,9 @@ private okhttp3.Call getTransactionBatchesValidateBeforeCall(DateTime startTime, * @param endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ (required) * @return PtsV1TransactionBatchesGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV1TransactionBatchesGet200Response getTransactionBatches(DateTime startTime, DateTime endTime) throws ApiException { + public PtsV1TransactionBatchesGet200Response getTransactionBatches(DateTime startTime, DateTime endTime) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getTransactionBatches' STARTED"); ApiResponse resp = getTransactionBatchesWithHttpInfo(startTime, endTime); logger.info("CALL TO METHOD 'getTransactionBatches' ENDED"); @@ -485,8 +496,9 @@ public PtsV1TransactionBatchesGet200Response getTransactionBatches(DateTime star * @param endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ (required) * @return ApiResponse<PtsV1TransactionBatchesGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getTransactionBatchesWithHttpInfo(DateTime startTime, DateTime endTime) throws ApiException { + public ApiResponse getTransactionBatchesWithHttpInfo(DateTime startTime, DateTime endTime) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionBatchesValidateBeforeCall(startTime, endTime, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -501,8 +513,9 @@ public ApiResponse getTransactionBatchesW * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionBatchesAsync(DateTime startTime, DateTime endTime, final ApiCallback callback) throws ApiException { + public okhttp3.Call getTransactionBatchesAsync(DateTime startTime, DateTime endTime, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -536,8 +549,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call uploadTransactionBatchCall(File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call uploadTransactionBatchCall(File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("POST".equalsIgnoreCase("POST")) { @@ -595,7 +609,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call uploadTransactionBatchValidateBeforeCall(File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call uploadTransactionBatchValidateBeforeCall(File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'file' is set if (file == null) { @@ -618,8 +632,9 @@ private okhttp3.Call uploadTransactionBatchValidateBeforeCall(File file, final P * This endpoint enables the upload of a batch file containing transactions for processing. * @param file The file to upload. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void uploadTransactionBatch(File file) throws ApiException { + public void uploadTransactionBatch(File file) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'uploadTransactionBatch' STARTED"); uploadTransactionBatchWithHttpInfo(file); @@ -631,8 +646,9 @@ public void uploadTransactionBatch(File file) throws ApiException { * @param file The file to upload. (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse uploadTransactionBatchWithHttpInfo(File file) throws ApiException { + public ApiResponse uploadTransactionBatchWithHttpInfo(File file) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = uploadTransactionBatchValidateBeforeCall(file, null, null); return apiClient.execute(call); @@ -645,8 +661,9 @@ public ApiResponse uploadTransactionBatchWithHttpInfo(File file) throws Ap * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call uploadTransactionBatchAsync(File file, final ApiCallback callback) throws ApiException { + public okhttp3.Call uploadTransactionBatchAsync(File file, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/TransactionDetailsApi.java b/src/main/java/Api/TransactionDetailsApi.java index 332891761..df1127b61 100644 --- a/src/main/java/Api/TransactionDetailsApi.java +++ b/src/main/java/Api/TransactionDetailsApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -70,8 +71,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getTransactionCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -128,7 +130,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getTransactionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getTransactionValidateBeforeCall(String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'id' is set if (id == null) { @@ -152,8 +154,9 @@ private okhttp3.Call getTransactionValidateBeforeCall(String id, final ProgressR * @param id Request ID. (required) * @return TssV2TransactionsGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public TssV2TransactionsGet200Response getTransaction(String id) throws ApiException { + public TssV2TransactionsGet200Response getTransaction(String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getTransaction' STARTED"); ApiResponse resp = getTransactionWithHttpInfo(id); logger.info("CALL TO METHOD 'getTransaction' ENDED"); @@ -166,8 +169,9 @@ public TssV2TransactionsGet200Response getTransaction(String id) throws ApiExcep * @param id Request ID. (required) * @return ApiResponse<TssV2TransactionsGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getTransactionWithHttpInfo(String id) throws ApiException { + public ApiResponse getTransactionWithHttpInfo(String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionValidateBeforeCall(id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -181,8 +185,9 @@ public ApiResponse getTransactionWithHttpInfo(S * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionAsync(String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call getTransactionAsync(String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/TransientTokenDataApi.java b/src/main/java/Api/TransientTokenDataApi.java index 36e72d243..d99c9845c 100644 --- a/src/main/java/Api/TransientTokenDataApi.java +++ b/src/main/java/Api/TransientTokenDataApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -69,8 +70,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentCredentialsForTransientTokenCall(String paymentCredentialsReference, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getPaymentCredentialsForTransientTokenCall(String paymentCredentialsReference, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getPaymentCredentialsForTransientTokenValidateBeforeCall(String paymentCredentialsReference, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getPaymentCredentialsForTransientTokenValidateBeforeCall(String paymentCredentialsReference, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'paymentCredentialsReference' is set if (paymentCredentialsReference == null) { @@ -151,8 +153,9 @@ private okhttp3.Call getPaymentCredentialsForTransientTokenValidateBeforeCall(St * @param paymentCredentialsReference The paymentCredentialsReference field contained within the Transient token returned from a successful Unified Checkout transaction (required) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public String getPaymentCredentialsForTransientToken(String paymentCredentialsReference) throws ApiException { + public String getPaymentCredentialsForTransientToken(String paymentCredentialsReference) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getPaymentCredentialsForTransientToken' STARTED"); ApiResponse resp = getPaymentCredentialsForTransientTokenWithHttpInfo(paymentCredentialsReference); logger.info("CALL TO METHOD 'getPaymentCredentialsForTransientToken' ENDED"); @@ -165,8 +168,9 @@ public String getPaymentCredentialsForTransientToken(String paymentCredentialsRe * @param paymentCredentialsReference The paymentCredentialsReference field contained within the Transient token returned from a successful Unified Checkout transaction (required) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getPaymentCredentialsForTransientTokenWithHttpInfo(String paymentCredentialsReference) throws ApiException { + public ApiResponse getPaymentCredentialsForTransientTokenWithHttpInfo(String paymentCredentialsReference) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getPaymentCredentialsForTransientTokenValidateBeforeCall(paymentCredentialsReference, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -180,8 +184,9 @@ public ApiResponse getPaymentCredentialsForTransientTokenWithHttpInfo(St * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getPaymentCredentialsForTransientTokenAsync(String paymentCredentialsReference, final ApiCallback callback) throws ApiException { + public okhttp3.Call getPaymentCredentialsForTransientTokenAsync(String paymentCredentialsReference, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -215,8 +220,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionForTransientTokenCall(String transientToken, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getTransactionForTransientTokenCall(String transientToken, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -273,7 +279,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getTransactionForTransientTokenValidateBeforeCall(String transientToken, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getTransactionForTransientTokenValidateBeforeCall(String transientToken, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'transientToken' is set if (transientToken == null) { @@ -296,8 +302,9 @@ private okhttp3.Call getTransactionForTransientTokenValidateBeforeCall(String tr * Retrieve the data captured by Unified Checkout. This API is used to retrieve the detailed data represented by the Transient Token. This API will not return PCI payment data (PAN). Include the Request ID in the GET request to retrieve the transaction details. * @param transientToken Transient Token returned by the Unified Checkout application. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public void getTransactionForTransientToken(String transientToken) throws ApiException { + public void getTransactionForTransientToken(String transientToken) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getTransactionForTransientToken' STARTED"); getTransactionForTransientTokenWithHttpInfo(transientToken); @@ -309,8 +316,9 @@ public void getTransactionForTransientToken(String transientToken) throws ApiExc * @param transientToken Transient Token returned by the Unified Checkout application. (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getTransactionForTransientTokenWithHttpInfo(String transientToken) throws ApiException { + public ApiResponse getTransactionForTransientTokenWithHttpInfo(String transientToken) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getTransactionForTransientTokenValidateBeforeCall(transientToken, null, null); return apiClient.execute(call); @@ -323,8 +331,9 @@ public ApiResponse getTransactionForTransientTokenWithHttpInfo(String tran * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getTransactionForTransientTokenAsync(String transientToken, final ApiCallback callback) throws ApiException { + public okhttp3.Call getTransactionForTransientTokenAsync(String transientToken, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java b/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java index aee79d394..9d9ef1ff4 100644 --- a/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java +++ b/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -71,8 +72,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call generateUnifiedCheckoutCaptureContextCall(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call generateUnifiedCheckoutCaptureContextCall(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(generateUnifiedCheckoutCaptureContextRequest, GenerateUnifiedCheckoutCaptureContextRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call generateUnifiedCheckoutCaptureContextValidateBeforeCall(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call generateUnifiedCheckoutCaptureContextValidateBeforeCall(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'generateUnifiedCheckoutCaptureContextRequest' is set if (generateUnifiedCheckoutCaptureContextRequest == null) { @@ -149,8 +151,9 @@ private okhttp3.Call generateUnifiedCheckoutCaptureContextValidateBeforeCall(Gen * @param generateUnifiedCheckoutCaptureContextRequest (required) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public String generateUnifiedCheckoutCaptureContext(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest) throws ApiException { + public String generateUnifiedCheckoutCaptureContext(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'generateUnifiedCheckoutCaptureContext' STARTED"); ApiResponse resp = generateUnifiedCheckoutCaptureContextWithHttpInfo(generateUnifiedCheckoutCaptureContextRequest); logger.info("CALL TO METHOD 'generateUnifiedCheckoutCaptureContext' ENDED"); @@ -163,8 +166,9 @@ public String generateUnifiedCheckoutCaptureContext(GenerateUnifiedCheckoutCaptu * @param generateUnifiedCheckoutCaptureContextRequest (required) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse generateUnifiedCheckoutCaptureContextWithHttpInfo(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest) throws ApiException { + public ApiResponse generateUnifiedCheckoutCaptureContextWithHttpInfo(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = generateUnifiedCheckoutCaptureContextValidateBeforeCall(generateUnifiedCheckoutCaptureContextRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -178,8 +182,9 @@ public ApiResponse generateUnifiedCheckoutCaptureContextWithHttpInfo(Gen * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call generateUnifiedCheckoutCaptureContextAsync(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call generateUnifiedCheckoutCaptureContextAsync(GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/UserManagementApi.java b/src/main/java/Api/UserManagementApi.java index e55cc4f43..530da5147 100644 --- a/src/main/java/Api/UserManagementApi.java +++ b/src/main/java/Api/UserManagementApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -74,8 +75,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getUsersCall(String organizationId, String userName, String permissionId, String roleId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call getUsersCall(String organizationId, String userName, String permissionId, String roleId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = null; if ("GET".equalsIgnoreCase("POST")) { @@ -139,7 +141,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call getUsersValidateBeforeCall(String organizationId, String userName, String permissionId, String roleId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call getUsersValidateBeforeCall(String organizationId, String userName, String permissionId, String roleId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { okhttp3.Call call = getUsersCall(organizationId, userName, permissionId, roleId, progressListener, progressRequestListener); @@ -160,8 +162,9 @@ private okhttp3.Call getUsersValidateBeforeCall(String organizationId, String us * @param roleId role of the user you are trying to search on. (optional) * @return UmsV1UsersGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public UmsV1UsersGet200Response getUsers(String organizationId, String userName, String permissionId, String roleId) throws ApiException { + public UmsV1UsersGet200Response getUsers(String organizationId, String userName, String permissionId, String roleId) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'getUsers' STARTED"); ApiResponse resp = getUsersWithHttpInfo(organizationId, userName, permissionId, roleId); logger.info("CALL TO METHOD 'getUsers' ENDED"); @@ -177,8 +180,9 @@ public UmsV1UsersGet200Response getUsers(String organizationId, String userName, * @param roleId role of the user you are trying to search on. (optional) * @return ApiResponse<UmsV1UsersGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse getUsersWithHttpInfo(String organizationId, String userName, String permissionId, String roleId) throws ApiException { + public ApiResponse getUsersWithHttpInfo(String organizationId, String userName, String permissionId, String roleId) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = getUsersValidateBeforeCall(organizationId, userName, permissionId, roleId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -195,8 +199,9 @@ public ApiResponse getUsersWithHttpInfo(String organiz * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call getUsersAsync(String organizationId, String userName, String permissionId, String roleId, final ApiCallback callback) throws ApiException { + public okhttp3.Call getUsersAsync(String organizationId, String userName, String permissionId, String roleId, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/UserManagementSearchApi.java b/src/main/java/Api/UserManagementSearchApi.java index 958b3cdb8..acfd89976 100644 --- a/src/main/java/Api/UserManagementSearchApi.java +++ b/src/main/java/Api/UserManagementSearchApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -72,8 +73,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call searchUsersCall(SearchRequest searchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call searchUsersCall(SearchRequest searchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(searchRequest, SearchRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -126,7 +128,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call searchUsersValidateBeforeCall(SearchRequest searchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call searchUsersValidateBeforeCall(SearchRequest searchRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'searchRequest' is set if (searchRequest == null) { @@ -150,8 +152,9 @@ private okhttp3.Call searchUsersValidateBeforeCall(SearchRequest searchRequest, * @param searchRequest (required) * @return UmsV1UsersGet200Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public UmsV1UsersGet200Response searchUsers(SearchRequest searchRequest) throws ApiException { + public UmsV1UsersGet200Response searchUsers(SearchRequest searchRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'searchUsers' STARTED"); ApiResponse resp = searchUsersWithHttpInfo(searchRequest); logger.info("CALL TO METHOD 'searchUsers' ENDED"); @@ -164,8 +167,9 @@ public UmsV1UsersGet200Response searchUsers(SearchRequest searchRequest) throws * @param searchRequest (required) * @return ApiResponse<UmsV1UsersGet200Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse searchUsersWithHttpInfo(SearchRequest searchRequest) throws ApiException { + public ApiResponse searchUsersWithHttpInfo(SearchRequest searchRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = searchUsersValidateBeforeCall(searchRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -179,8 +183,9 @@ public ApiResponse searchUsersWithHttpInfo(SearchReque * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call searchUsersAsync(SearchRequest searchRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call searchUsersAsync(SearchRequest searchRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/VerificationApi.java b/src/main/java/Api/VerificationApi.java index 5b416cf75..efb8c6244 100644 --- a/src/main/java/Api/VerificationApi.java +++ b/src/main/java/Api/VerificationApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -75,8 +76,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call validateExportComplianceCall(ValidateExportComplianceRequest validateExportComplianceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call validateExportComplianceCall(ValidateExportComplianceRequest validateExportComplianceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(validateExportComplianceRequest, ValidateExportComplianceRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -129,7 +131,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call validateExportComplianceValidateBeforeCall(ValidateExportComplianceRequest validateExportComplianceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call validateExportComplianceValidateBeforeCall(ValidateExportComplianceRequest validateExportComplianceRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'validateExportComplianceRequest' is set if (validateExportComplianceRequest == null) { @@ -153,8 +155,9 @@ private okhttp3.Call validateExportComplianceValidateBeforeCall(ValidateExportCo * @param validateExportComplianceRequest (required) * @return RiskV1ExportComplianceInquiriesPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1ExportComplianceInquiriesPost201Response validateExportCompliance(ValidateExportComplianceRequest validateExportComplianceRequest) throws ApiException { + public RiskV1ExportComplianceInquiriesPost201Response validateExportCompliance(ValidateExportComplianceRequest validateExportComplianceRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'validateExportCompliance' STARTED"); ApiResponse resp = validateExportComplianceWithHttpInfo(validateExportComplianceRequest); logger.info("CALL TO METHOD 'validateExportCompliance' ENDED"); @@ -167,8 +170,9 @@ public RiskV1ExportComplianceInquiriesPost201Response validateExportCompliance(V * @param validateExportComplianceRequest (required) * @return ApiResponse<RiskV1ExportComplianceInquiriesPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse validateExportComplianceWithHttpInfo(ValidateExportComplianceRequest validateExportComplianceRequest) throws ApiException { + public ApiResponse validateExportComplianceWithHttpInfo(ValidateExportComplianceRequest validateExportComplianceRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = validateExportComplianceValidateBeforeCall(validateExportComplianceRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -182,8 +186,9 @@ public ApiResponse validateExpor * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call validateExportComplianceAsync(ValidateExportComplianceRequest validateExportComplianceRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call validateExportComplianceAsync(ValidateExportComplianceRequest validateExportComplianceRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -217,8 +222,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call verifyCustomerAddressCall(VerifyCustomerAddressRequest verifyCustomerAddressRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call verifyCustomerAddressCall(VerifyCustomerAddressRequest verifyCustomerAddressRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(verifyCustomerAddressRequest, VerifyCustomerAddressRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -271,7 +277,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call verifyCustomerAddressValidateBeforeCall(VerifyCustomerAddressRequest verifyCustomerAddressRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call verifyCustomerAddressValidateBeforeCall(VerifyCustomerAddressRequest verifyCustomerAddressRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'verifyCustomerAddressRequest' is set if (verifyCustomerAddressRequest == null) { @@ -295,8 +301,9 @@ private okhttp3.Call verifyCustomerAddressValidateBeforeCall(VerifyCustomerAddre * @param verifyCustomerAddressRequest (required) * @return RiskV1AddressVerificationsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public RiskV1AddressVerificationsPost201Response verifyCustomerAddress(VerifyCustomerAddressRequest verifyCustomerAddressRequest) throws ApiException { + public RiskV1AddressVerificationsPost201Response verifyCustomerAddress(VerifyCustomerAddressRequest verifyCustomerAddressRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'verifyCustomerAddress' STARTED"); ApiResponse resp = verifyCustomerAddressWithHttpInfo(verifyCustomerAddressRequest); logger.info("CALL TO METHOD 'verifyCustomerAddress' ENDED"); @@ -309,8 +316,9 @@ public RiskV1AddressVerificationsPost201Response verifyCustomerAddress(VerifyCus * @param verifyCustomerAddressRequest (required) * @return ApiResponse<RiskV1AddressVerificationsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse verifyCustomerAddressWithHttpInfo(VerifyCustomerAddressRequest verifyCustomerAddressRequest) throws ApiException { + public ApiResponse verifyCustomerAddressWithHttpInfo(VerifyCustomerAddressRequest verifyCustomerAddressRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = verifyCustomerAddressValidateBeforeCall(verifyCustomerAddressRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -324,8 +332,9 @@ public ApiResponse verifyCustomerAddr * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call verifyCustomerAddressAsync(VerifyCustomerAddressRequest verifyCustomerAddressRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call verifyCustomerAddressAsync(VerifyCustomerAddressRequest verifyCustomerAddressRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Api/VoidApi.java b/src/main/java/Api/VoidApi.java index bf2e37765..8dfeb488b 100644 --- a/src/main/java/Api/VoidApi.java +++ b/src/main/java/Api/VoidApi.java @@ -22,6 +22,7 @@ import Invokers.ProgressRequestBody; import Invokers.ProgressResponseBody; +import com.cybersource.authsdk.core.ConfigException; import com.google.gson.reflect.TypeToken; import java.io.IOException; @@ -77,8 +78,9 @@ public void setApiClient(ApiClient apiClient) { * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call mitVoidCall(MitVoidRequest mitVoidRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call mitVoidCall(MitVoidRequest mitVoidRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(mitVoidRequest, MitVoidRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -131,7 +133,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call mitVoidValidateBeforeCall(MitVoidRequest mitVoidRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call mitVoidValidateBeforeCall(MitVoidRequest mitVoidRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'mitVoidRequest' is set if (mitVoidRequest == null) { @@ -155,8 +157,9 @@ private okhttp3.Call mitVoidValidateBeforeCall(MitVoidRequest mitVoidRequest, fi * @param mitVoidRequest (required) * @return PtsV2PaymentsVoidsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsVoidsPost201Response mitVoid(MitVoidRequest mitVoidRequest) throws ApiException { + public PtsV2PaymentsVoidsPost201Response mitVoid(MitVoidRequest mitVoidRequest) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'mitVoid' STARTED"); ApiResponse resp = mitVoidWithHttpInfo(mitVoidRequest); logger.info("CALL TO METHOD 'mitVoid' ENDED"); @@ -169,8 +172,9 @@ public PtsV2PaymentsVoidsPost201Response mitVoid(MitVoidRequest mitVoidRequest) * @param mitVoidRequest (required) * @return ApiResponse<PtsV2PaymentsVoidsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse mitVoidWithHttpInfo(MitVoidRequest mitVoidRequest) throws ApiException { + public ApiResponse mitVoidWithHttpInfo(MitVoidRequest mitVoidRequest) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = mitVoidValidateBeforeCall(mitVoidRequest, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -184,8 +188,9 @@ public ApiResponse mitVoidWithHttpInfo(MitVoi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call mitVoidAsync(MitVoidRequest mitVoidRequest, final ApiCallback callback) throws ApiException { + public okhttp3.Call mitVoidAsync(MitVoidRequest mitVoidRequest, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -220,8 +225,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidCaptureCall(VoidCaptureRequest voidCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call voidCaptureCall(VoidCaptureRequest voidCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(voidCaptureRequest, VoidCaptureRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -275,7 +281,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call voidCaptureValidateBeforeCall(VoidCaptureRequest voidCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call voidCaptureValidateBeforeCall(VoidCaptureRequest voidCaptureRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'voidCaptureRequest' is set if (voidCaptureRequest == null) { @@ -306,8 +312,9 @@ private okhttp3.Call voidCaptureValidateBeforeCall(VoidCaptureRequest voidCaptur * @param id The capture ID returned from a previous capture request. (required) * @return PtsV2PaymentsVoidsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsVoidsPost201Response voidCapture(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException { + public PtsV2PaymentsVoidsPost201Response voidCapture(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'voidCapture' STARTED"); ApiResponse resp = voidCaptureWithHttpInfo(voidCaptureRequest, id); logger.info("CALL TO METHOD 'voidCapture' ENDED"); @@ -321,8 +328,9 @@ public PtsV2PaymentsVoidsPost201Response voidCapture(VoidCaptureRequest voidCapt * @param id The capture ID returned from a previous capture request. (required) * @return ApiResponse<PtsV2PaymentsVoidsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse voidCaptureWithHttpInfo(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException { + public ApiResponse voidCaptureWithHttpInfo(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidCaptureValidateBeforeCall(voidCaptureRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -337,8 +345,9 @@ public ApiResponse voidCaptureWithHttpInfo(Vo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidCaptureAsync(VoidCaptureRequest voidCaptureRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call voidCaptureAsync(VoidCaptureRequest voidCaptureRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -373,8 +382,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidCreditCall(VoidCreditRequest voidCreditRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call voidCreditCall(VoidCreditRequest voidCreditRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(voidCreditRequest, VoidCreditRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -428,7 +438,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call voidCreditValidateBeforeCall(VoidCreditRequest voidCreditRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call voidCreditValidateBeforeCall(VoidCreditRequest voidCreditRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'voidCreditRequest' is set if (voidCreditRequest == null) { @@ -459,8 +469,9 @@ private okhttp3.Call voidCreditValidateBeforeCall(VoidCreditRequest voidCreditRe * @param id The credit ID returned from a previous credit request. (required) * @return PtsV2PaymentsVoidsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsVoidsPost201Response voidCredit(VoidCreditRequest voidCreditRequest, String id) throws ApiException { + public PtsV2PaymentsVoidsPost201Response voidCredit(VoidCreditRequest voidCreditRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'voidCredit' STARTED"); ApiResponse resp = voidCreditWithHttpInfo(voidCreditRequest, id); logger.info("CALL TO METHOD 'voidCredit' ENDED"); @@ -474,8 +485,9 @@ public PtsV2PaymentsVoidsPost201Response voidCredit(VoidCreditRequest voidCredit * @param id The credit ID returned from a previous credit request. (required) * @return ApiResponse<PtsV2PaymentsVoidsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse voidCreditWithHttpInfo(VoidCreditRequest voidCreditRequest, String id) throws ApiException { + public ApiResponse voidCreditWithHttpInfo(VoidCreditRequest voidCreditRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidCreditValidateBeforeCall(voidCreditRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -490,8 +502,9 @@ public ApiResponse voidCreditWithHttpInfo(Voi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidCreditAsync(VoidCreditRequest voidCreditRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call voidCreditAsync(VoidCreditRequest voidCreditRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -526,8 +539,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidPaymentCall(VoidPaymentRequest voidPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call voidPaymentCall(VoidPaymentRequest voidPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(voidPaymentRequest, VoidPaymentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -581,7 +595,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call voidPaymentValidateBeforeCall(VoidPaymentRequest voidPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call voidPaymentValidateBeforeCall(VoidPaymentRequest voidPaymentRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'voidPaymentRequest' is set if (voidPaymentRequest == null) { @@ -612,8 +626,9 @@ private okhttp3.Call voidPaymentValidateBeforeCall(VoidPaymentRequest voidPaymen * @param id The payment ID returned from a previous payment request. (required) * @return PtsV2PaymentsVoidsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsVoidsPost201Response voidPayment(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException { + public PtsV2PaymentsVoidsPost201Response voidPayment(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'voidPayment' STARTED"); ApiResponse resp = voidPaymentWithHttpInfo(voidPaymentRequest, id); logger.info("CALL TO METHOD 'voidPayment' ENDED"); @@ -627,8 +642,9 @@ public PtsV2PaymentsVoidsPost201Response voidPayment(VoidPaymentRequest voidPaym * @param id The payment ID returned from a previous payment request. (required) * @return ApiResponse<PtsV2PaymentsVoidsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse voidPaymentWithHttpInfo(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException { + public ApiResponse voidPaymentWithHttpInfo(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidPaymentValidateBeforeCall(voidPaymentRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -643,8 +659,9 @@ public ApiResponse voidPaymentWithHttpInfo(Vo * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidPaymentAsync(VoidPaymentRequest voidPaymentRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call voidPaymentAsync(VoidPaymentRequest voidPaymentRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; @@ -679,8 +696,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidRefundCall(VoidRefundRequest voidRefundRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public okhttp3.Call voidRefundCall(VoidRefundRequest voidRefundRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { SdkTracker sdkTracker = new SdkTracker(); Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(voidRefundRequest, VoidRefundRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId()); @@ -734,7 +752,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce } @SuppressWarnings("rawtypes") - private okhttp3.Call voidRefundValidateBeforeCall(VoidRefundRequest voidRefundRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private okhttp3.Call voidRefundValidateBeforeCall(VoidRefundRequest voidRefundRequest, String id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { // verify the required parameter 'voidRefundRequest' is set if (voidRefundRequest == null) { @@ -765,8 +783,9 @@ private okhttp3.Call voidRefundValidateBeforeCall(VoidRefundRequest voidRefundRe * @param id The refund ID returned from a previous refund request. (required) * @return PtsV2PaymentsVoidsPost201Response * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public PtsV2PaymentsVoidsPost201Response voidRefund(VoidRefundRequest voidRefundRequest, String id) throws ApiException { + public PtsV2PaymentsVoidsPost201Response voidRefund(VoidRefundRequest voidRefundRequest, String id) throws ApiException, ConfigException { logger.info("CALL TO METHOD 'voidRefund' STARTED"); ApiResponse resp = voidRefundWithHttpInfo(voidRefundRequest, id); logger.info("CALL TO METHOD 'voidRefund' ENDED"); @@ -780,8 +799,9 @@ public PtsV2PaymentsVoidsPost201Response voidRefund(VoidRefundRequest voidRefund * @param id The refund ID returned from a previous refund request. (required) * @return ApiResponse<PtsV2PaymentsVoidsPost201Response> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public ApiResponse voidRefundWithHttpInfo(VoidRefundRequest voidRefundRequest, String id) throws ApiException { + public ApiResponse voidRefundWithHttpInfo(VoidRefundRequest voidRefundRequest, String id) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); okhttp3.Call call = voidRefundValidateBeforeCall(voidRefundRequest, id, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -796,8 +816,9 @@ public ApiResponse voidRefundWithHttpInfo(Voi * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @throws ConfigException If creation of merchant configuration fails in ApiClient */ - public okhttp3.Call voidRefundAsync(VoidRefundRequest voidRefundRequest, String id, final ApiCallback callback) throws ApiException { + public okhttp3.Call voidRefundAsync(VoidRefundRequest voidRefundRequest, String id, final ApiCallback callback) throws ApiException, ConfigException { this.apiClient.setComputationStartTime(System.nanoTime()); ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/Invokers/ApiClient.java b/src/main/java/Invokers/ApiClient.java index a20e68550..fde9b20c0 100644 --- a/src/main/java/Invokers/ApiClient.java +++ b/src/main/java/Invokers/ApiClient.java @@ -14,7 +14,6 @@ import java.io.*; import java.lang.reflect.Type; -import java.net.HttpRetryException; import java.net.InetSocketAddress; import java.net.Proxy; import java.net.URLConnection; @@ -29,7 +28,6 @@ import java.text.SimpleDateFormat; import java.util.*; import java.util.Map.Entry; -import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.net.ssl.*; @@ -43,7 +41,6 @@ import okhttp3.Authenticator; import okhttp3.Call; import okhttp3.Callback; -import okhttp3.ConnectionPool; import okhttp3.Credentials; import okhttp3.FormBody; import okhttp3.Headers; @@ -127,12 +124,11 @@ public class ApiClient { private KeyManager[] keyManagers; private String acceptHeader = ""; - private static OkHttpClient httpClient; - private final OkHttpClient classHttpClient = initializeFinalVariables(); + private OkHttpClient httpClient; + private HttpClientFactoryAdditionalSettings additionalSettings = new HttpClientFactoryAdditionalSettings(); private JSON json; private String versionInfo; - private static ConnectionPool connectionPool = new ConnectionPool(5, 10, TimeUnit.SECONDS); private HttpLoggingInterceptor loggingInterceptor; private long computationStartTime; private static Logger logger = LogManager.getLogger(ApiClient.class); @@ -158,44 +154,14 @@ public class ApiClient { public MerchantConfig merchantConfig; public RequestTransactionMetrics apiRequestMetrics = new RequestTransactionMetrics(); - public static OkHttpClient initializeFinalVariables() { - HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); - logging.setLevel(Level.NONE); - // connectionPool = new ConnectionPool(5, 10, TimeUnit.SECONDS); - - try { - return new OkHttpClient.Builder() - .connectTimeout(1, TimeUnit.SECONDS) - .writeTimeout(60, TimeUnit.SECONDS) - .readTimeout(60, TimeUnit.SECONDS) - .connectionPool(ApiClient.connectionPool) - .addInterceptor(logging) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - return null; - } - } - /* * Constructor for ApiClient */ public ApiClient() { versionInfo = getClientID(); - - try { - httpClient = classHttpClient.newBuilder() - .retryOnConnectionFailure(true) - .addInterceptor(new RetryInterceptor(this.apiRequestMetrics)) - .eventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - } + additionalSettings.setCustomRetryOnConnectionFailure(true); + additionalSettings.setCustomRetryInterceptor(new RetryInterceptor(this.apiRequestMetrics)); + additionalSettings.setCustomNetworkEventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())); verifyingSsl = true; @@ -243,32 +209,13 @@ public ApiClient(MerchantConfig merchantConfig) { int proxyPort = merchantConfig.getProxyPort(); String proxyHost = merchantConfig.getProxyAddress(); - // User Defined Timeout for HTTP Client - int connectionTimeout = Math.max(merchantConfig.getUserDefinedConnectionTimeout(), 1); - int readTimeout = Math.max(merchantConfig.getUserDefinedReadTimeout(), 60); - int writeTimeout = Math.max(merchantConfig.getUserDefinedWriteTimeout(), 60); - int keepAliveDuration = Math.max(merchantConfig.getUserDefinedKeepAliveDuration(), 10); - connectionPool = new ConnectionPool(5, keepAliveDuration, TimeUnit.SECONDS); - Authenticator proxyAuthenticator; if (useProxy && (proxyHost != null && !proxyHost.isEmpty())) { if ((username != null && !username.isEmpty()) && (password != null && !password.isEmpty())) { proxyAuthenticator = new Authenticator() { - // private int proxyCounter = 0; - @Override public Request authenticate(Route route, Response response) throws IOException { - // if (proxyCounter++ > 0) { - // if (response.code() == 407) { - // logger.error("HttpRetryException : 407 Proxy Authentication Missing or Incorrect"); - // throw new HttpRetryException("Proxy Authentication Missing or Incorrect.", 407); - // } else { - // logger.error("IOException : " + response.message()); - // throw new IOException(response.message()); - // } - // } - String credential = Credentials.basic(username, password); return response.request().newBuilder().header("Proxy-Authorization", credential).build(); } @@ -282,51 +229,15 @@ public Request authenticate(Route route, Response response) throws IOException { }; } - try { - httpClient = classHttpClient.newBuilder() - .proxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort))) - .proxyAuthenticator(proxyAuthenticator) - .connectTimeout(connectionTimeout, TimeUnit.SECONDS) - .writeTimeout(writeTimeout, TimeUnit.SECONDS) - .readTimeout(readTimeout, TimeUnit.SECONDS) - .retryOnConnectionFailure(true) - .addInterceptor(new RetryInterceptor(this.apiRequestMetrics)) - .connectionPool(ApiClient.connectionPool) - .eventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - } - - this.setHttpClient(httpClient); + additionalSettings.setCustomProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort))); + additionalSettings.setCustomProxyAuthenticator(proxyAuthenticator); } - else - { - // override the custom timeout in HTTPClient - try { - httpClient = classHttpClient.newBuilder() - .connectTimeout(connectionTimeout, TimeUnit.SECONDS) - .writeTimeout(writeTimeout, TimeUnit.SECONDS) - .readTimeout(readTimeout, TimeUnit.SECONDS) - .connectionPool(ApiClient.connectionPool) - .retryOnConnectionFailure(true) - .addInterceptor(new RetryInterceptor(this.apiRequestMetrics)) - .eventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())) - .build(); - } - catch (Exception ex) - { - logger.error("Error in creating HTTP Client"); - } - this.setHttpClient(httpClient); - } + additionalSettings.setCustomRetryOnConnectionFailure(true); + additionalSettings.setCustomRetryInterceptor(new RetryInterceptor(this.apiRequestMetrics)); + additionalSettings.setCustomNetworkEventListener(new NetworkEventListener(this.getNewRandomId(), System.nanoTime())); this.merchantConfig = merchantConfig; - // RetryInterceptor.retryDelay = merchantConfig.getRetryDelay(); - // RetryInterceptor.retryEnabled = merchantConfig.isRetryEnabled(); } /** @@ -365,17 +276,6 @@ public OkHttpClient getHttpClient() { return httpClient; } - /** - * Set HTTP client - * - * @param httpClient An instance of OkHttpClient - * @return Api Client - */ - public ApiClient setHttpClient(OkHttpClient httpClient) { - ApiClient.httpClient = httpClient; - return this; - } - /** * Get JSON * @@ -780,9 +680,9 @@ public ApiClient setDebugging(boolean debugging) { if (debugging) { loggingInterceptor = new HttpLoggingInterceptor(); loggingInterceptor.setLevel(Level.BODY); - httpClient.interceptors().add(loggingInterceptor); + additionalSettings.setCustomLoggingInterceptor(loggingInterceptor); } else { - httpClient.interceptors().remove(loggingInterceptor); + additionalSettings.setCustomLoggingInterceptor(null); loggingInterceptor = null; } } @@ -814,27 +714,6 @@ public ApiClient setTempFolderPath(String tempFolderPath) { return this; } - // /** - // * Get connection timeout (in milliseconds). - // * - // * @return Timeout in milliseconds - // */ - // public int getConnectTimeout() { - // return httpClient.connectTimeoutMillis(); - // } - - // /** - // * Sets the connect timeout (in milliseconds). A value of 0 means no timeout, - // * otherwise values must be between 1 and - // * - // * @param connectionTimeout connection timeout in milliseconds - // * @return Api client - // */ - // public ApiClient setConnectTimeout(int connectionTimeout) { - // ApiClient.httpClient = ApiClient.httpClient.newBuilder().connectTimeout(connectionTimeout, TimeUnit.MILLISECONDS).build(); - // return this; - // } - /** * @return the computationStartTime */ @@ -1071,8 +950,7 @@ public T deserialize(Response response, Type returnType) throws ApiException // Expecting string, return the raw response body. return (T) respBody; } else { - logger.error( - "ApiException : Content type \"" + contentType + "\" is not supported for type: " + returnType); + logger.error("ApiException : Content type \"" + contentType + "\" is not supported for type: " + returnType); throw new ApiException("Content type \"" + contentType + "\" is not supported for type: " + returnType, response.code(), response.headers().toMultimap(), respBody); } @@ -1324,10 +1202,11 @@ public T handleResponse(Response response, Type returnType) throws ApiExcept * @param progressRequestListener Progress request listener * @return The HTTP call * @throws ApiException If fail to serialize the request body object + * @throws ConfigException If creation of merchant configuration fails */ public Call buildCall(String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String[] authNames, - ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException { //create reqHeader parameter here Map requestHeaderMap = new HashMap(); @@ -1366,6 +1245,11 @@ public Call buildCall(String path, String method, List queryParams, Object logger.info("Request Header Parameters:\n{}", new PrettyPrintingMap(headerParams)); Request request = buildRequest(path, method, queryParams, requestbody, headerParams, formParams, authNames, progressRequestListener); + try { + httpClient = HttpClientFactory.getHttpClient(this.merchantConfig, this.additionalSettings); + } catch (ConfigException e) { + throw e; + } return httpClient.newCall(request); } @@ -1452,8 +1336,8 @@ public void callAuthenticationHeader(String method, String path, RequestBody req if (versionInfo != null && !versionInfo.isEmpty()) { requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-" + versionInfo); } else { - requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-VERSIONUNKNOWN"); - } + requestHeaderMap.put("v-c-client-id", "cybs-rest-sdk-java-VERSIONUNKNOWN"); + } } catch (ConfigException | IOException e) { logger.error(e.getMessage()); @@ -1713,8 +1597,8 @@ public void checkServerTrusted(java.security.cert.X509Certificate[] chain, Strin public java.security.cert.X509Certificate[] getAcceptedIssuers() { return new java.security.cert.X509Certificate[] {}; } - } - }; + } + }; KeyStore merchantKeyStore = KeyStore.getInstance("PKCS12", new BouncyCastleProvider()); FileInputStream file = new FileInputStream( @@ -1727,9 +1611,8 @@ public java.security.cert.X509Certificate[] getAcceptedIssuers() { SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(keyManagerFactory.getKeyManagers(), trustAllCerts, new SecureRandom()); - httpClient = httpClient.newBuilder() - .sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) trustAllCerts[0]).build(); - + additionalSettings.setCustomSSLSocketFactory(sslContext.getSocketFactory()); + additionalSettings.setCustomX509TrustManager((X509TrustManager) trustAllCerts[0]); } catch (IOException | CertificateException | NoSuchAlgorithmException | KeyStoreException | KeyManagementException | UnrecoverableKeyException ex) { @@ -1792,11 +1675,11 @@ public boolean verify(String hostname, SSLSession session) { if (keyManagers != null || trustManagers != null) { SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(keyManagers, trustManagers, new SecureRandom()); - httpClient = httpClient.newBuilder().sslSocketFactory(sslContext.getSocketFactory()).build(); + additionalSettings.setCustomSSLSocketFactory(sslContext.getSocketFactory()); } else { - httpClient = httpClient.newBuilder().sslSocketFactory(null).build(); + additionalSettings.setCustomSSLSocketFactory(null); } - httpClient = httpClient.newBuilder().hostnameVerifier(hostnameVerifier).build(); + additionalSettings.setCustomHostnameVerifier(hostnameVerifier); } catch (GeneralSecurityException e) { logger.error("RuntimeException : " + e); throw new RuntimeException(e); diff --git a/src/main/java/Invokers/HttpClientFactory.java b/src/main/java/Invokers/HttpClientFactory.java new file mode 100644 index 000000000..c662ea581 --- /dev/null +++ b/src/main/java/Invokers/HttpClientFactory.java @@ -0,0 +1,102 @@ +package Invokers; + +import com.cybersource.authsdk.core.ConfigException; +import com.cybersource.authsdk.core.MerchantConfig; +import com.cybersource.authsdk.util.GlobalLabelParameters; +import okhttp3.ConnectionPool; +import okhttp3.OkHttpClient; + +import java.util.Objects; +import java.util.Properties; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.TimeUnit; + +public class HttpClientFactory { + private static final ConcurrentHashMap _httpClientInstances = new ConcurrentHashMap<>(); + + public static OkHttpClient getHttpClient(MerchantConfig merchantConfig, HttpClientFactoryAdditionalSettings additionalSettings) throws ConfigException { + if (merchantConfig == null) { + Properties customProperties = new Properties(); + customProperties.setProperty("userDefinedConnectionTimeout", GlobalLabelParameters.DEFAULT_MAX_CONNECT_TIMEOUT_IN_SECONDS); + customProperties.setProperty("userDefinedReadTimeout", GlobalLabelParameters.DEFAULT_MAX_READ_TIMEOUT_IN_SECONDS); + customProperties.setProperty("userDefinedWriteTimeout", GlobalLabelParameters.DEFAULT_MAX_WRITE_TIMEOUT_IN_SECONDS); + customProperties.setProperty("userDefinedKeepAliveDuration", GlobalLabelParameters.DEFAULT_MAX_KEEP_ALIVE_DURATION_IN_SECONDS); + customProperties.setProperty("userDefinedMaxIdleConnections", GlobalLabelParameters.DEFAULT_MAX_IDLE_CONNECTIONS); + + merchantConfig = new MerchantConfig(customProperties); + } + + int hash = GetHashOfMerchantConfiguration(merchantConfig, additionalSettings); + + MerchantConfig finalMerchantConfig = merchantConfig; + + return _httpClientInstances.computeIfAbsent(hash, value -> createNewHttpClient(finalMerchantConfig, additionalSettings)); + } + + private static OkHttpClient createNewHttpClient(MerchantConfig merchantConfig, HttpClientFactoryAdditionalSettings additionalSettings) { + ConnectionPool customConnectionPool = new ConnectionPool(merchantConfig.getUserDefinedMaxIdleConnections(), merchantConfig.getUserDefinedKeepAliveDuration(), TimeUnit.SECONDS); + + OkHttpClient.Builder builder = new OkHttpClient.Builder(); + + builder.connectionPool(customConnectionPool); + builder.connectTimeout(merchantConfig.getUserDefinedConnectionTimeout(), TimeUnit.SECONDS); + builder.readTimeout(merchantConfig.getUserDefinedReadTimeout(), TimeUnit.SECONDS); + builder.writeTimeout(merchantConfig.getUserDefinedWriteTimeout(), TimeUnit.SECONDS); + + /* OPTIONAL ADD-ONS */ + if (additionalSettings != null) { + if (additionalSettings.getCustomLoggingInterceptor() != null) { + builder.addInterceptor(additionalSettings.getCustomLoggingInterceptor()); + } + + if (additionalSettings.getCustomRetryInterceptor() != null) { + builder.addInterceptor(additionalSettings.getCustomRetryInterceptor()); + } + + if (additionalSettings.getCustomSSLSocketFactory() != null && additionalSettings.getCustomX509TrustManager() != null) { + builder.sslSocketFactory(additionalSettings.getCustomSSLSocketFactory(), additionalSettings.getCustomX509TrustManager()); + } + + if (additionalSettings.getCustomHostnameVerifier() != null) { + builder.hostnameVerifier(additionalSettings.getCustomHostnameVerifier()); + } + + if (additionalSettings.getCustomRetryOnConnectionFailure() != null) { + builder.retryOnConnectionFailure(additionalSettings.getCustomRetryOnConnectionFailure()); + } + + if (additionalSettings.getCustomNetworkEventListener() != null) { + builder.eventListener(additionalSettings.getCustomNetworkEventListener()); + } + + if (additionalSettings.getCustomProxy() != null) { + builder.proxy(additionalSettings.getCustomProxy()); + + if (additionalSettings.getCustomProxyAuthenticator() != null) { + builder.proxyAuthenticator(additionalSettings.getCustomProxyAuthenticator()); + } + } + } + + return builder.build(); + } + + private static int GetHashOfMerchantConfiguration(MerchantConfig merchantConfig, HttpClientFactoryAdditionalSettings additionalSettings) { + return Objects.hash( + merchantConfig.getUserDefinedConnectionTimeout(), + merchantConfig.getUserDefinedReadTimeout(), + merchantConfig.getUserDefinedWriteTimeout(), + merchantConfig.getUserDefinedKeepAliveDuration(), + merchantConfig.getUserDefinedMaxIdleConnections(), + additionalSettings.getCustomLoggingInterceptor(), + additionalSettings.getCustomRetryInterceptor(), + additionalSettings.getCustomSSLSocketFactory(), + additionalSettings.getCustomX509TrustManager(), + additionalSettings.getCustomHostnameVerifier(), + additionalSettings.getCustomRetryOnConnectionFailure(), + additionalSettings.getCustomNetworkEventListener(), + additionalSettings.getCustomProxy(), + additionalSettings.getCustomProxyAuthenticator() + ); + } +} diff --git a/src/main/java/Invokers/HttpClientFactoryAdditionalSettings.java b/src/main/java/Invokers/HttpClientFactoryAdditionalSettings.java new file mode 100644 index 000000000..61f0cfb3b --- /dev/null +++ b/src/main/java/Invokers/HttpClientFactoryAdditionalSettings.java @@ -0,0 +1,95 @@ +package Invokers; + +import okhttp3.Authenticator; +import okhttp3.logging.HttpLoggingInterceptor; +import utilities.interceptors.RetryInterceptor; +import utilities.listeners.NetworkEventListener; + +import javax.net.ssl.HostnameVerifier; +import javax.net.ssl.SSLSocketFactory; +import javax.net.ssl.X509TrustManager; +import java.net.Proxy; + +public class HttpClientFactoryAdditionalSettings { + private HttpLoggingInterceptor customLoggingInterceptor; + private RetryInterceptor customRetryInterceptor; + private SSLSocketFactory customSSLSocketFactory; + private X509TrustManager customX509TrustManager; + private HostnameVerifier customHostnameVerifier; + private Boolean customRetryOnConnectionFailure; + private NetworkEventListener customNetworkEventListener; + private Proxy customProxy; + private Authenticator customProxyAuthenticator; + + public HttpLoggingInterceptor getCustomLoggingInterceptor() { + return customLoggingInterceptor; + } + + public void setCustomLoggingInterceptor(HttpLoggingInterceptor customLoggingInterceptor) { + this.customLoggingInterceptor = customLoggingInterceptor; + } + + public RetryInterceptor getCustomRetryInterceptor() { + return customRetryInterceptor; + } + + public void setCustomRetryInterceptor(RetryInterceptor customRetryInterceptor) { + this.customRetryInterceptor = customRetryInterceptor; + } + + public SSLSocketFactory getCustomSSLSocketFactory() { + return customSSLSocketFactory; + } + + public void setCustomSSLSocketFactory(SSLSocketFactory customSSLSocketFactory) { + this.customSSLSocketFactory = customSSLSocketFactory; + } + + public X509TrustManager getCustomX509TrustManager() { + return customX509TrustManager; + } + + public void setCustomX509TrustManager(X509TrustManager customX509TrustManager) { + this.customX509TrustManager = customX509TrustManager; + } + + public HostnameVerifier getCustomHostnameVerifier() { + return customHostnameVerifier; + } + + public void setCustomHostnameVerifier(HostnameVerifier customHostnameVerifier) { + this.customHostnameVerifier = customHostnameVerifier; + } + + public Boolean getCustomRetryOnConnectionFailure() { + return customRetryOnConnectionFailure; + } + + public void setCustomRetryOnConnectionFailure(Boolean customRetryOnConnectionFailure) { + this.customRetryOnConnectionFailure = customRetryOnConnectionFailure; + } + + public NetworkEventListener getCustomNetworkEventListener() { + return customNetworkEventListener; + } + + public void setCustomNetworkEventListener(NetworkEventListener customNetworkEventListener) { + this.customNetworkEventListener = customNetworkEventListener; + } + + public Proxy getCustomProxy() { + return customProxy; + } + + public void setCustomProxy(Proxy customProxy) { + this.customProxy = customProxy; + } + + public Authenticator getCustomProxyAuthenticator() { + return customProxyAuthenticator; + } + + public void setCustomProxyAuthenticator(Authenticator customProxyAuthenticator) { + this.customProxyAuthenticator = customProxyAuthenticator; + } +} diff --git a/src/main/java/Model/AccountValidationsRequest.java b/src/main/java/Model/AccountValidationsRequest.java new file mode 100644 index 000000000..489a46830 --- /dev/null +++ b/src/main/java/Model/AccountValidationsRequest.java @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Bavsv1accountvalidationsClientReferenceInformation; +import Model.Bavsv1accountvalidationsPaymentInformation; +import Model.Bavsv1accountvalidationsProcessingInformation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * AccountValidationsRequest + */ + +public class AccountValidationsRequest { + @SerializedName("clientReferenceInformation") + private Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation = null; + + @SerializedName("processingInformation") + private Bavsv1accountvalidationsProcessingInformation processingInformation = null; + + @SerializedName("paymentInformation") + private Bavsv1accountvalidationsPaymentInformation paymentInformation = null; + + public AccountValidationsRequest clientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public Bavsv1accountvalidationsClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + + public AccountValidationsRequest processingInformation(Bavsv1accountvalidationsProcessingInformation processingInformation) { + this.processingInformation = processingInformation; + return this; + } + + /** + * Get processingInformation + * @return processingInformation + **/ + @ApiModelProperty(required = true, value = "") + public Bavsv1accountvalidationsProcessingInformation getProcessingInformation() { + return processingInformation; + } + + public void setProcessingInformation(Bavsv1accountvalidationsProcessingInformation processingInformation) { + this.processingInformation = processingInformation; + } + + public AccountValidationsRequest paymentInformation(Bavsv1accountvalidationsPaymentInformation paymentInformation) { + this.paymentInformation = paymentInformation; + return this; + } + + /** + * Get paymentInformation + * @return paymentInformation + **/ + @ApiModelProperty(required = true, value = "") + public Bavsv1accountvalidationsPaymentInformation getPaymentInformation() { + return paymentInformation; + } + + public void setPaymentInformation(Bavsv1accountvalidationsPaymentInformation paymentInformation) { + this.paymentInformation = paymentInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccountValidationsRequest accountValidationsRequest = (AccountValidationsRequest) o; + return Objects.equals(this.clientReferenceInformation, accountValidationsRequest.clientReferenceInformation) && + Objects.equals(this.processingInformation, accountValidationsRequest.processingInformation) && + Objects.equals(this.paymentInformation, accountValidationsRequest.paymentInformation); + } + + @Override + public int hashCode() { + return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountValidationsRequest {\n"); + + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); + if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Bavsv1accountvalidationsClientReferenceInformation.java b/src/main/java/Model/Bavsv1accountvalidationsClientReferenceInformation.java new file mode 100644 index 000000000..db4b45033 --- /dev/null +++ b/src/main/java/Model/Bavsv1accountvalidationsClientReferenceInformation.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Bavsv1accountvalidationsClientReferenceInformation + */ + +public class Bavsv1accountvalidationsClientReferenceInformation { + @SerializedName("code") + private String code = null; + + public Bavsv1accountvalidationsClientReferenceInformation code(String code) { + this.code = code; + return this; + } + + /** + * Client reference code + * @return code + **/ + @ApiModelProperty(example = "TC50171_3", value = "Client reference code") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Bavsv1accountvalidationsClientReferenceInformation bavsv1accountvalidationsClientReferenceInformation = (Bavsv1accountvalidationsClientReferenceInformation) o; + return Objects.equals(this.code, bavsv1accountvalidationsClientReferenceInformation.code); + } + + @Override + public int hashCode() { + return Objects.hash(code); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Bavsv1accountvalidationsClientReferenceInformation {\n"); + + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Bavsv1accountvalidationsPaymentInformation.java b/src/main/java/Model/Bavsv1accountvalidationsPaymentInformation.java new file mode 100644 index 000000000..ab9923ed6 --- /dev/null +++ b/src/main/java/Model/Bavsv1accountvalidationsPaymentInformation.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Bavsv1accountvalidationsPaymentInformationBank; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Bavsv1accountvalidationsPaymentInformation + */ + +public class Bavsv1accountvalidationsPaymentInformation { + @SerializedName("bank") + private Bavsv1accountvalidationsPaymentInformationBank bank = null; + + public Bavsv1accountvalidationsPaymentInformation bank(Bavsv1accountvalidationsPaymentInformationBank bank) { + this.bank = bank; + return this; + } + + /** + * Get bank + * @return bank + **/ + @ApiModelProperty(required = true, value = "") + public Bavsv1accountvalidationsPaymentInformationBank getBank() { + return bank; + } + + public void setBank(Bavsv1accountvalidationsPaymentInformationBank bank) { + this.bank = bank; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Bavsv1accountvalidationsPaymentInformation bavsv1accountvalidationsPaymentInformation = (Bavsv1accountvalidationsPaymentInformation) o; + return Objects.equals(this.bank, bavsv1accountvalidationsPaymentInformation.bank); + } + + @Override + public int hashCode() { + return Objects.hash(bank); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Bavsv1accountvalidationsPaymentInformation {\n"); + + if (bank != null) sb.append(" bank: ").append(toIndentedString(bank)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Bavsv1accountvalidationsPaymentInformationBank.java b/src/main/java/Model/Bavsv1accountvalidationsPaymentInformationBank.java new file mode 100644 index 000000000..58a4a9f32 --- /dev/null +++ b/src/main/java/Model/Bavsv1accountvalidationsPaymentInformationBank.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Bavsv1accountvalidationsPaymentInformationBankAccount; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Bavsv1accountvalidationsPaymentInformationBank + */ + +public class Bavsv1accountvalidationsPaymentInformationBank { + @SerializedName("routingNumber") + private String routingNumber = null; + + @SerializedName("account") + private Bavsv1accountvalidationsPaymentInformationBankAccount account = null; + + public Bavsv1accountvalidationsPaymentInformationBank routingNumber(String routingNumber) { + this.routingNumber = routingNumber; + return this; + } + + /** + * Bank routing number. This is also called the transit number. Non-Negative Integer + * @return routingNumber + **/ + @ApiModelProperty(example = "123456789", required = true, value = "Bank routing number. This is also called the transit number. Non-Negative Integer ") + public String getRoutingNumber() { + return routingNumber; + } + + public void setRoutingNumber(String routingNumber) { + this.routingNumber = routingNumber; + } + + public Bavsv1accountvalidationsPaymentInformationBank account(Bavsv1accountvalidationsPaymentInformationBankAccount account) { + this.account = account; + return this; + } + + /** + * Get account + * @return account + **/ + @ApiModelProperty(required = true, value = "") + public Bavsv1accountvalidationsPaymentInformationBankAccount getAccount() { + return account; + } + + public void setAccount(Bavsv1accountvalidationsPaymentInformationBankAccount account) { + this.account = account; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Bavsv1accountvalidationsPaymentInformationBank bavsv1accountvalidationsPaymentInformationBank = (Bavsv1accountvalidationsPaymentInformationBank) o; + return Objects.equals(this.routingNumber, bavsv1accountvalidationsPaymentInformationBank.routingNumber) && + Objects.equals(this.account, bavsv1accountvalidationsPaymentInformationBank.account); + } + + @Override + public int hashCode() { + return Objects.hash(routingNumber, account); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Bavsv1accountvalidationsPaymentInformationBank {\n"); + + if (routingNumber != null) sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); + if (account != null) sb.append(" account: ").append(toIndentedString(account)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Bavsv1accountvalidationsPaymentInformationBankAccount.java b/src/main/java/Model/Bavsv1accountvalidationsPaymentInformationBankAccount.java new file mode 100644 index 000000000..2198c621d --- /dev/null +++ b/src/main/java/Model/Bavsv1accountvalidationsPaymentInformationBankAccount.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Bavsv1accountvalidationsPaymentInformationBankAccount + */ + +public class Bavsv1accountvalidationsPaymentInformationBankAccount { + @SerializedName("number") + private String number = null; + + public Bavsv1accountvalidationsPaymentInformationBankAccount number(String number) { + this.number = number; + return this; + } + + /** + * Account Number. Non-Negative Integer. example: 12345678901234577 + * @return number + **/ + @ApiModelProperty(required = true, value = "Account Number. Non-Negative Integer. example: 12345678901234577 ") + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Bavsv1accountvalidationsPaymentInformationBankAccount bavsv1accountvalidationsPaymentInformationBankAccount = (Bavsv1accountvalidationsPaymentInformationBankAccount) o; + return Objects.equals(this.number, bavsv1accountvalidationsPaymentInformationBankAccount.number); + } + + @Override + public int hashCode() { + return Objects.hash(number); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Bavsv1accountvalidationsPaymentInformationBankAccount {\n"); + + if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Bavsv1accountvalidationsProcessingInformation.java b/src/main/java/Model/Bavsv1accountvalidationsProcessingInformation.java new file mode 100644 index 000000000..fff813bde --- /dev/null +++ b/src/main/java/Model/Bavsv1accountvalidationsProcessingInformation.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Bavsv1accountvalidationsProcessingInformation + */ + +public class Bavsv1accountvalidationsProcessingInformation { + @SerializedName("validationLevel") + private Integer validationLevel = null; + + public Bavsv1accountvalidationsProcessingInformation validationLevel(Integer validationLevel) { + this.validationLevel = validationLevel; + return this; + } + + /** + * Enter 1 for routing and account number validation. + * @return validationLevel + **/ + @ApiModelProperty(required = true, value = "Enter 1 for routing and account number validation. ") + public Integer getValidationLevel() { + return validationLevel; + } + + public void setValidationLevel(Integer validationLevel) { + this.validationLevel = validationLevel; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Bavsv1accountvalidationsProcessingInformation bavsv1accountvalidationsProcessingInformation = (Bavsv1accountvalidationsProcessingInformation) o; + return Objects.equals(this.validationLevel, bavsv1accountvalidationsProcessingInformation.validationLevel); + } + + @Override + public int hashCode() { + return Objects.hash(validationLevel); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Bavsv1accountvalidationsProcessingInformation {\n"); + + if (validationLevel != null) sb.append(" validationLevel: ").append(toIndentedString(validationLevel)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/CapturePaymentRequest.java b/src/main/java/Model/CapturePaymentRequest.java index d7d48f163..268dd42de 100644 --- a/src/main/java/Model/CapturePaymentRequest.java +++ b/src/main/java/Model/CapturePaymentRequest.java @@ -29,6 +29,7 @@ import Model.Ptsv2paymentsidcapturesPaymentInformation; import Model.Ptsv2paymentsidcapturesPointOfSaleInformation; import Model.Ptsv2paymentsidcapturesProcessingInformation; +import Model.Ptsv2reversalsProcessorInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -87,6 +88,9 @@ public class CapturePaymentRequest { @SerializedName("promotionInformation") private Ptsv2paymentsPromotionInformation promotionInformation = null; + @SerializedName("processorInformation") + private Ptsv2reversalsProcessorInformation processorInformation = null; + public CapturePaymentRequest clientReferenceInformation(Ptsv2paymentsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; @@ -347,6 +351,24 @@ public void setPromotionInformation(Ptsv2paymentsPromotionInformation promotionI this.promotionInformation = promotionInformation; } + public CapturePaymentRequest processorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + return this; + } + + /** + * Get processorInformation + * @return processorInformation + **/ + @ApiModelProperty(value = "") + public Ptsv2reversalsProcessorInformation getProcessorInformation() { + return processorInformation; + } + + public void setProcessorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -370,12 +392,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.merchantDefinedSecureInformation, capturePaymentRequest.merchantDefinedSecureInformation) && Objects.equals(this.installmentInformation, capturePaymentRequest.installmentInformation) && Objects.equals(this.travelInformation, capturePaymentRequest.travelInformation) && - Objects.equals(this.promotionInformation, capturePaymentRequest.promotionInformation); + Objects.equals(this.promotionInformation, capturePaymentRequest.promotionInformation) && + Objects.equals(this.processorInformation, capturePaymentRequest.processorInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, merchantDefinedSecureInformation, installmentInformation, travelInformation, promotionInformation); + return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, merchantDefinedSecureInformation, installmentInformation, travelInformation, promotionInformation, processorInformation); } @@ -398,6 +421,7 @@ public String toString() { if (installmentInformation != null) sb.append(" installmentInformation: ").append(toIndentedString(installmentInformation)).append("\n"); if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/CardProcessingConfigCommonAcquirers.java b/src/main/java/Model/CardProcessingConfigCommonAcquirers.java new file mode 100644 index 000000000..d818fe9ce --- /dev/null +++ b/src/main/java/Model/CardProcessingConfigCommonAcquirers.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.CardProcessingConfigCommonCurrencies; +import Model.CardProcessingConfigCommonPaymentTypes; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * CardProcessingConfigCommonAcquirers + */ + +public class CardProcessingConfigCommonAcquirers { + @SerializedName("institutionId") + private String institutionId = null; + + @SerializedName("interbankCardAssociationId") + private String interbankCardAssociationId = null; + + @SerializedName("discoverInstitutionId") + private String discoverInstitutionId = null; + + @SerializedName("countryCode") + private String countryCode = null; + + @SerializedName("fileDestinationBin") + private String fileDestinationBin = null; + + @SerializedName("merchantVerificationValue") + private String merchantVerificationValue = null; + + @SerializedName("merchantId") + private String merchantId = null; + + @SerializedName("terminalId") + private String terminalId = null; + + @SerializedName("allowMultipleBills") + private Boolean allowMultipleBills = null; + + @SerializedName("enableTransactionReferenceNumber") + private Boolean enableTransactionReferenceNumber = null; + + @SerializedName("paymentTypes") + private Map paymentTypes = null; + + @SerializedName("currencies") + private Map currencies = null; + + public CardProcessingConfigCommonAcquirers institutionId(String institutionId) { + this.institutionId = institutionId; + return this; + } + + /** + * Identifier of the acquirer. This number is usually assigned by Visa. + * @return institutionId + **/ + @ApiModelProperty(value = "Identifier of the acquirer. This number is usually assigned by Visa.") + public String getInstitutionId() { + return institutionId; + } + + public void setInstitutionId(String institutionId) { + this.institutionId = institutionId; + } + + public CardProcessingConfigCommonAcquirers interbankCardAssociationId(String interbankCardAssociationId) { + this.interbankCardAssociationId = interbankCardAssociationId; + return this; + } + + /** + * Number assigned by MasterCard to banks to identify the member in transactions. + * @return interbankCardAssociationId + **/ + @ApiModelProperty(value = "Number assigned by MasterCard to banks to identify the member in transactions.") + public String getInterbankCardAssociationId() { + return interbankCardAssociationId; + } + + public void setInterbankCardAssociationId(String interbankCardAssociationId) { + this.interbankCardAssociationId = interbankCardAssociationId; + } + + public CardProcessingConfigCommonAcquirers discoverInstitutionId(String discoverInstitutionId) { + this.discoverInstitutionId = discoverInstitutionId; + return this; + } + + /** + * Assigned by Discover to identify the acquirer. + * @return discoverInstitutionId + **/ + @ApiModelProperty(value = "Assigned by Discover to identify the acquirer.") + public String getDiscoverInstitutionId() { + return discoverInstitutionId; + } + + public void setDiscoverInstitutionId(String discoverInstitutionId) { + this.discoverInstitutionId = discoverInstitutionId; + } + + public CardProcessingConfigCommonAcquirers countryCode(String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * ISO 4217 format. + * @return countryCode + **/ + @ApiModelProperty(value = "ISO 4217 format.") + public String getCountryCode() { + return countryCode; + } + + public void setCountryCode(String countryCode) { + this.countryCode = countryCode; + } + + public CardProcessingConfigCommonAcquirers fileDestinationBin(String fileDestinationBin) { + this.fileDestinationBin = fileDestinationBin; + return this; + } + + /** + * The BIN to which this capturefile is sent. This field must contain a valid BIN. + * @return fileDestinationBin + **/ + @ApiModelProperty(value = "The BIN to which this capturefile is sent. This field must contain a valid BIN.") + public String getFileDestinationBin() { + return fileDestinationBin; + } + + public void setFileDestinationBin(String fileDestinationBin) { + this.fileDestinationBin = fileDestinationBin; + } + + public CardProcessingConfigCommonAcquirers merchantVerificationValue(String merchantVerificationValue) { + this.merchantVerificationValue = merchantVerificationValue; + return this; + } + + /** + * Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. + * @return merchantVerificationValue + **/ + @ApiModelProperty(value = "Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant.") + public String getMerchantVerificationValue() { + return merchantVerificationValue; + } + + public void setMerchantVerificationValue(String merchantVerificationValue) { + this.merchantVerificationValue = merchantVerificationValue; + } + + public CardProcessingConfigCommonAcquirers merchantId(String merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. + * @return merchantId + **/ + @ApiModelProperty(value = "Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party.") + public String getMerchantId() { + return merchantId; + } + + public void setMerchantId(String merchantId) { + this.merchantId = merchantId; + } + + public CardProcessingConfigCommonAcquirers terminalId(String terminalId) { + this.terminalId = terminalId; + return this; + } + + /** + * 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. + * @return terminalId + **/ + @ApiModelProperty(value = "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. ") + public String getTerminalId() { + return terminalId; + } + + public void setTerminalId(String terminalId) { + this.terminalId = terminalId; + } + + public CardProcessingConfigCommonAcquirers allowMultipleBills(Boolean allowMultipleBills) { + this.allowMultipleBills = allowMultipleBills; + return this; + } + + /** + * Allows multiple captures for a single authorization transaction. + * @return allowMultipleBills + **/ + @ApiModelProperty(value = "Allows multiple captures for a single authorization transaction. ") + public Boolean AllowMultipleBills() { + return allowMultipleBills; + } + + public void setAllowMultipleBills(Boolean allowMultipleBills) { + this.allowMultipleBills = allowMultipleBills; + } + + public CardProcessingConfigCommonAcquirers enableTransactionReferenceNumber(Boolean enableTransactionReferenceNumber) { + this.enableTransactionReferenceNumber = enableTransactionReferenceNumber; + return this; + } + + /** + * To enable merchant to send in transaction reference number (unique reconciliation ID). + * @return enableTransactionReferenceNumber + **/ + @ApiModelProperty(value = "To enable merchant to send in transaction reference number (unique reconciliation ID).") + public Boolean EnableTransactionReferenceNumber() { + return enableTransactionReferenceNumber; + } + + public void setEnableTransactionReferenceNumber(Boolean enableTransactionReferenceNumber) { + this.enableTransactionReferenceNumber = enableTransactionReferenceNumber; + } + + public CardProcessingConfigCommonAcquirers paymentTypes(Map paymentTypes) { + this.paymentTypes = paymentTypes; + return this; + } + + public CardProcessingConfigCommonAcquirers putPaymentTypesItem(String key, CardProcessingConfigCommonPaymentTypes paymentTypesItem) { + if (this.paymentTypes == null) { + this.paymentTypes = new HashMap(); + } + this.paymentTypes.put(key, paymentTypesItem); + return this; + } + + /** + * Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB + * @return paymentTypes + **/ + @ApiModelProperty(value = "Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB ") + public Map getPaymentTypes() { + return paymentTypes; + } + + public void setPaymentTypes(Map paymentTypes) { + this.paymentTypes = paymentTypes; + } + + public CardProcessingConfigCommonAcquirers currencies(Map currencies) { + this.currencies = currencies; + return this; + } + + public CardProcessingConfigCommonAcquirers putCurrenciesItem(String key, CardProcessingConfigCommonCurrencies currenciesItem) { + if (this.currencies == null) { + this.currencies = new HashMap(); + } + this.currencies.put(key, currenciesItem); + return this; + } + + /** + * Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) + * @return currencies + **/ + @ApiModelProperty(value = "Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)") + public Map getCurrencies() { + return currencies; + } + + public void setCurrencies(Map currencies) { + this.currencies = currencies; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CardProcessingConfigCommonAcquirers cardProcessingConfigCommonAcquirers = (CardProcessingConfigCommonAcquirers) o; + return Objects.equals(this.institutionId, cardProcessingConfigCommonAcquirers.institutionId) && + Objects.equals(this.interbankCardAssociationId, cardProcessingConfigCommonAcquirers.interbankCardAssociationId) && + Objects.equals(this.discoverInstitutionId, cardProcessingConfigCommonAcquirers.discoverInstitutionId) && + Objects.equals(this.countryCode, cardProcessingConfigCommonAcquirers.countryCode) && + Objects.equals(this.fileDestinationBin, cardProcessingConfigCommonAcquirers.fileDestinationBin) && + Objects.equals(this.merchantVerificationValue, cardProcessingConfigCommonAcquirers.merchantVerificationValue) && + Objects.equals(this.merchantId, cardProcessingConfigCommonAcquirers.merchantId) && + Objects.equals(this.terminalId, cardProcessingConfigCommonAcquirers.terminalId) && + Objects.equals(this.allowMultipleBills, cardProcessingConfigCommonAcquirers.allowMultipleBills) && + Objects.equals(this.enableTransactionReferenceNumber, cardProcessingConfigCommonAcquirers.enableTransactionReferenceNumber) && + Objects.equals(this.paymentTypes, cardProcessingConfigCommonAcquirers.paymentTypes) && + Objects.equals(this.currencies, cardProcessingConfigCommonAcquirers.currencies); + } + + @Override + public int hashCode() { + return Objects.hash(institutionId, interbankCardAssociationId, discoverInstitutionId, countryCode, fileDestinationBin, merchantVerificationValue, merchantId, terminalId, allowMultipleBills, enableTransactionReferenceNumber, paymentTypes, currencies); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CardProcessingConfigCommonAcquirers {\n"); + + if (institutionId != null) sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n"); + if (interbankCardAssociationId != null) sb.append(" interbankCardAssociationId: ").append(toIndentedString(interbankCardAssociationId)).append("\n"); + if (discoverInstitutionId != null) sb.append(" discoverInstitutionId: ").append(toIndentedString(discoverInstitutionId)).append("\n"); + if (countryCode != null) sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + if (fileDestinationBin != null) sb.append(" fileDestinationBin: ").append(toIndentedString(fileDestinationBin)).append("\n"); + if (merchantVerificationValue != null) sb.append(" merchantVerificationValue: ").append(toIndentedString(merchantVerificationValue)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); + if (allowMultipleBills != null) sb.append(" allowMultipleBills: ").append(toIndentedString(allowMultipleBills)).append("\n"); + if (enableTransactionReferenceNumber != null) sb.append(" enableTransactionReferenceNumber: ").append(toIndentedString(enableTransactionReferenceNumber)).append("\n"); + if (paymentTypes != null) sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); + if (currencies != null) sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/CardProcessingConfigCommonProcessors.java b/src/main/java/Model/CardProcessingConfigCommonProcessors.java index 409556b5e..dea161194 100644 --- a/src/main/java/Model/CardProcessingConfigCommonProcessors.java +++ b/src/main/java/Model/CardProcessingConfigCommonProcessors.java @@ -16,6 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.CardProcessingConfigCommonAcquirer; +import Model.CardProcessingConfigCommonAcquirers; import Model.CardProcessingConfigCommonCurrencies1; import Model.CardProcessingConfigCommonPaymentTypes; import com.google.gson.TypeAdapter; @@ -50,6 +51,9 @@ public class CardProcessingConfigCommonProcessors { @SerializedName("acquirer") private CardProcessingConfigCommonAcquirer acquirer = null; + @SerializedName("acquirers") + private Map acquirers = null; + @SerializedName("merchantId") private String merchantId = null; @@ -266,6 +270,32 @@ public void setAcquirer(CardProcessingConfigCommonAcquirer acquirer) { this.acquirer = acquirer; } + public CardProcessingConfigCommonProcessors acquirers(Map acquirers) { + this.acquirers = acquirers; + return this; + } + + public CardProcessingConfigCommonProcessors putAcquirersItem(String key, CardProcessingConfigCommonAcquirers acquirersItem) { + if (this.acquirers == null) { + this.acquirers = new HashMap(); + } + this.acquirers.put(key, acquirersItem); + return this; + } + + /** + * Identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant. + * @return acquirers + **/ + @ApiModelProperty(value = "Identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant.") + public Map getAcquirers() { + return acquirers; + } + + public void setAcquirers(Map acquirers) { + this.acquirers = acquirers; + } + public CardProcessingConfigCommonProcessors merchantId(String merchantId) { this.merchantId = merchantId; return this; @@ -1053,6 +1083,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.merchantVerificationValue, cardProcessingConfigCommonProcessors.merchantVerificationValue) && Objects.equals(this.abaNumber, cardProcessingConfigCommonProcessors.abaNumber) && Objects.equals(this.acquirer, cardProcessingConfigCommonProcessors.acquirer) && + Objects.equals(this.acquirers, cardProcessingConfigCommonProcessors.acquirers) && Objects.equals(this.merchantId, cardProcessingConfigCommonProcessors.merchantId) && Objects.equals(this.terminalId, cardProcessingConfigCommonProcessors.terminalId) && Objects.equals(this.paymentTypes, cardProcessingConfigCommonProcessors.paymentTypes) && @@ -1099,7 +1130,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(batchGroup, businessApplicationId, merchantVerificationValue, abaNumber, acquirer, merchantId, terminalId, paymentTypes, currencies, visaAggregatorId, amexAggregatorId, masterCardAggregatorId, sicCode, allowMultipleBills, allowMerchantDescriptorOverride, enhancedData, fireSafetyIndicator, quasiCash, acquirerMerchantId, avsFormat, enableLongTransRefNo, enableLevel2, enableMultipleTransactionAdviceAddendum, amexTransactionAdviceAddendum1, enableMultiLineItems, enableTransactionReferenceNumber, enableAutoAuthReversalAfterVoid, enableExpresspayPanTranslation, enableCreditAuth, industryCode, sendAmexLevel2Data, softDescriptorType, vitalNumber, bankNumber, chainNumber, merchantBinNumber, merchantLocationNumber, storeID, travelAgencyCode, travelAgencyName, settlementCurrency, enableLeastCostRouting, enableCVVResponseIndicator, enableMultiCurrencyProcessing, enablePosNetworkSwitching, enableDynamicCurrencyConversion, merchantTier); + return Objects.hash(batchGroup, businessApplicationId, merchantVerificationValue, abaNumber, acquirer, acquirers, merchantId, terminalId, paymentTypes, currencies, visaAggregatorId, amexAggregatorId, masterCardAggregatorId, sicCode, allowMultipleBills, allowMerchantDescriptorOverride, enhancedData, fireSafetyIndicator, quasiCash, acquirerMerchantId, avsFormat, enableLongTransRefNo, enableLevel2, enableMultipleTransactionAdviceAddendum, amexTransactionAdviceAddendum1, enableMultiLineItems, enableTransactionReferenceNumber, enableAutoAuthReversalAfterVoid, enableExpresspayPanTranslation, enableCreditAuth, industryCode, sendAmexLevel2Data, softDescriptorType, vitalNumber, bankNumber, chainNumber, merchantBinNumber, merchantLocationNumber, storeID, travelAgencyCode, travelAgencyName, settlementCurrency, enableLeastCostRouting, enableCVVResponseIndicator, enableMultiCurrencyProcessing, enablePosNetworkSwitching, enableDynamicCurrencyConversion, merchantTier); } @@ -1113,6 +1144,7 @@ public String toString() { if (merchantVerificationValue != null) sb.append(" merchantVerificationValue: ").append(toIndentedString(merchantVerificationValue)).append("\n"); if (abaNumber != null) sb.append(" abaNumber: ").append(toIndentedString(abaNumber)).append("\n"); if (acquirer != null) sb.append(" acquirer: ").append(toIndentedString(acquirer)).append("\n"); + if (acquirers != null) sb.append(" acquirers: ").append(toIndentedString(acquirers)).append("\n"); if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); if (paymentTypes != null) sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); diff --git a/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java b/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java index e91849c5c..cc713b39a 100644 --- a/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java +++ b/src/main/java/Model/CommerceSolutionsProductsAccountUpdater.java @@ -16,7 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.CommerceSolutionsProductsAccountUpdaterConfigurationInformation; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,12 +32,12 @@ public class CommerceSolutionsProductsAccountUpdater { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private CommerceSolutionsProductsAccountUpdaterConfigurationInformation configurationInformation = null; - public CommerceSolutionsProductsAccountUpdater subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public CommerceSolutionsProductsAccountUpdater subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public CommerceSolutionsProductsAccountUpdater subscriptionInformation(PaymentsP * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/CommerceSolutionsProductsBinLookup.java b/src/main/java/Model/CommerceSolutionsProductsBinLookup.java index f9ff2e56e..9bbe145e5 100644 --- a/src/main/java/Model/CommerceSolutionsProductsBinLookup.java +++ b/src/main/java/Model/CommerceSolutionsProductsBinLookup.java @@ -16,7 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.CommerceSolutionsProductsBinLookupConfigurationInformation; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,12 +32,12 @@ public class CommerceSolutionsProductsBinLookup { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private CommerceSolutionsProductsBinLookupConfigurationInformation configurationInformation = null; - public CommerceSolutionsProductsBinLookup subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public CommerceSolutionsProductsBinLookup subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public CommerceSolutionsProductsBinLookup subscriptionInformation(PaymentsProduc * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java b/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java index dc268af77..f4be0ff96 100644 --- a/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java +++ b/src/main/java/Model/CommerceSolutionsProductsTokenManagement.java @@ -16,7 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.CommerceSolutionsProductsTokenManagementConfigurationInformation; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,12 +32,12 @@ public class CommerceSolutionsProductsTokenManagement { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation = null; - public CommerceSolutionsProductsTokenManagement subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public CommerceSolutionsProductsTokenManagement subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public CommerceSolutionsProductsTokenManagement subscriptionInformation(Payments * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/CreateCreditRequest.java b/src/main/java/Model/CreateCreditRequest.java index 2b9e40dd9..e0fa4e43d 100644 --- a/src/main/java/Model/CreateCreditRequest.java +++ b/src/main/java/Model/CreateCreditRequest.java @@ -31,6 +31,7 @@ import Model.Ptsv2paymentsidrefundsMerchantInformation; import Model.Ptsv2paymentsidrefundsOrderInformation; import Model.Ptsv2paymentsidrefundsPaymentInformation; +import Model.Ptsv2reversalsProcessorInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -95,6 +96,9 @@ public class CreateCreditRequest { @SerializedName("promotionInformation") private Ptsv2paymentsPromotionInformation promotionInformation = null; + @SerializedName("processorInformation") + private Ptsv2reversalsProcessorInformation processorInformation = null; + public CreateCreditRequest clientReferenceInformation(Ptsv2paymentsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; @@ -391,6 +395,24 @@ public void setPromotionInformation(Ptsv2paymentsPromotionInformation promotionI this.promotionInformation = promotionInformation; } + public CreateCreditRequest processorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + return this; + } + + /** + * Get processorInformation + * @return processorInformation + **/ + @ApiModelProperty(value = "") + public Ptsv2reversalsProcessorInformation getProcessorInformation() { + return processorInformation; + } + + public void setProcessorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -416,12 +438,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.travelInformation, createCreditRequest.travelInformation) && Objects.equals(this.recipientInformation, createCreditRequest.recipientInformation) && Objects.equals(this.senderInformation, createCreditRequest.senderInformation) && - Objects.equals(this.promotionInformation, createCreditRequest.promotionInformation); + Objects.equals(this.promotionInformation, createCreditRequest.promotionInformation) && + Objects.equals(this.processorInformation, createCreditRequest.processorInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, merchantDefinedSecureInformation, installmentInformation, travelInformation, recipientInformation, senderInformation, promotionInformation); + return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, merchantDefinedSecureInformation, installmentInformation, travelInformation, recipientInformation, senderInformation, promotionInformation, processorInformation); } @@ -446,6 +469,7 @@ public String toString() { if (recipientInformation != null) sb.append(" recipientInformation: ").append(toIndentedString(recipientInformation)).append("\n"); if (senderInformation != null) sb.append(" senderInformation: ").append(toIndentedString(senderInformation)).append("\n"); if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/CreateInvoiceRequest.java b/src/main/java/Model/CreateInvoiceRequest.java index d1bd4527f..8ce4234ab 100644 --- a/src/main/java/Model/CreateInvoiceRequest.java +++ b/src/main/java/Model/CreateInvoiceRequest.java @@ -18,6 +18,7 @@ import Model.Invoicingv2invoicesClientReferenceInformation; import Model.Invoicingv2invoicesCustomerInformation; import Model.Invoicingv2invoicesInvoiceInformation; +import Model.Invoicingv2invoicesMerchantDefinedFieldValues; import Model.Invoicingv2invoicesOrderInformation; import Model.Invoicingv2invoicesProcessingInformation; import com.google.gson.TypeAdapter; @@ -28,6 +29,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * CreateInvoiceRequest @@ -49,6 +52,9 @@ public class CreateInvoiceRequest { @SerializedName("orderInformation") private Invoicingv2invoicesOrderInformation orderInformation = null; + @SerializedName("merchantDefinedFieldValues") + private List merchantDefinedFieldValues = null; + public CreateInvoiceRequest clientReferenceInformation(Invoicingv2invoicesClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; @@ -139,6 +145,32 @@ public void setOrderInformation(Invoicingv2invoicesOrderInformation orderInforma this.orderInformation = orderInformation; } + public CreateInvoiceRequest merchantDefinedFieldValues(List merchantDefinedFieldValues) { + this.merchantDefinedFieldValues = merchantDefinedFieldValues; + return this; + } + + public CreateInvoiceRequest addMerchantDefinedFieldValuesItem(Invoicingv2invoicesMerchantDefinedFieldValues merchantDefinedFieldValuesItem) { + if (this.merchantDefinedFieldValues == null) { + this.merchantDefinedFieldValues = new ArrayList(); + } + this.merchantDefinedFieldValues.add(merchantDefinedFieldValuesItem); + return this; + } + + /** + * Get merchantDefinedFieldValues + * @return merchantDefinedFieldValues + **/ + @ApiModelProperty(value = "") + public List getMerchantDefinedFieldValues() { + return merchantDefinedFieldValues; + } + + public void setMerchantDefinedFieldValues(List merchantDefinedFieldValues) { + this.merchantDefinedFieldValues = merchantDefinedFieldValues; + } + @Override public boolean equals(java.lang.Object o) { @@ -153,12 +185,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.customerInformation, createInvoiceRequest.customerInformation) && Objects.equals(this.processingInformation, createInvoiceRequest.processingInformation) && Objects.equals(this.invoiceInformation, createInvoiceRequest.invoiceInformation) && - Objects.equals(this.orderInformation, createInvoiceRequest.orderInformation); + Objects.equals(this.orderInformation, createInvoiceRequest.orderInformation) && + Objects.equals(this.merchantDefinedFieldValues, createInvoiceRequest.merchantDefinedFieldValues); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, customerInformation, processingInformation, invoiceInformation, orderInformation); + return Objects.hash(clientReferenceInformation, customerInformation, processingInformation, invoiceInformation, orderInformation, merchantDefinedFieldValues); } @@ -172,6 +205,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantDefinedFieldValues != null) sb.append(" merchantDefinedFieldValues: ").append(toIndentedString(merchantDefinedFieldValues)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20010.java b/src/main/java/Model/InlineResponse20010.java index 270fdecac..b9c23034d 100644 --- a/src/main/java/Model/InlineResponse20010.java +++ b/src/main/java/Model/InlineResponse20010.java @@ -15,9 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010Billing; +import Model.InlineResponse20010Embedded; import Model.InlineResponse20010Links; -import Model.InlineResponse2009EmbeddedTotals; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,6 +25,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * InlineResponse20010 @@ -33,213 +34,158 @@ public class InlineResponse20010 { @SerializedName("_links") - private InlineResponse20010Links links = null; + private List links = null; - @SerializedName("batchId") - private String batchId = null; + @SerializedName("object") + private String object = null; - @SerializedName("batchCreatedDate") - private String batchCreatedDate = null; + @SerializedName("offset") + private Integer offset = null; - @SerializedName("batchSource") - private String batchSource = null; + @SerializedName("limit") + private Integer limit = null; - @SerializedName("merchantReference") - private String merchantReference = null; + @SerializedName("count") + private Integer count = null; - @SerializedName("batchCaEndpoints") - private String batchCaEndpoints = null; + @SerializedName("total") + private Integer total = null; - @SerializedName("status") - private String status = null; + @SerializedName("_embedded") + private InlineResponse20010Embedded embedded = null; - @SerializedName("totals") - private InlineResponse2009EmbeddedTotals totals = null; - - @SerializedName("billing") - private InlineResponse20010Billing billing = null; - - @SerializedName("description") - private String description = null; - - public InlineResponse20010 links(InlineResponse20010Links links) { + public InlineResponse20010 links(List links) { this.links = links; return this; } + public InlineResponse20010 addLinksItem(InlineResponse20010Links linksItem) { + if (this.links == null) { + this.links = new ArrayList(); + } + this.links.add(linksItem); + return this; + } + /** * Get links * @return links **/ @ApiModelProperty(value = "") - public InlineResponse20010Links getLinks() { + public List getLinks() { return links; } - public void setLinks(InlineResponse20010Links links) { + public void setLinks(List links) { this.links = links; } - public InlineResponse20010 batchId(String batchId) { - this.batchId = batchId; - return this; - } - - /** - * Unique identification number assigned to the submitted request. - * @return batchId - **/ - @ApiModelProperty(example = "16188390061150001062041064", value = "Unique identification number assigned to the submitted request.") - public String getBatchId() { - return batchId; - } - - public void setBatchId(String batchId) { - this.batchId = batchId; - } - - public InlineResponse20010 batchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public InlineResponse20010 object(String object) { + this.object = object; return this; } /** - * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - * @return batchCreatedDate + * Get object + * @return object **/ - @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") - public String getBatchCreatedDate() { - return batchCreatedDate; + @ApiModelProperty(example = "collection", value = "") + public String getObject() { + return object; } - public void setBatchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public void setObject(String object) { + this.object = object; } - public InlineResponse20010 batchSource(String batchSource) { - this.batchSource = batchSource; + public InlineResponse20010 offset(Integer offset) { + this.offset = offset; return this; } /** - * Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - * @return batchSource + * Get offset + * @return offset **/ - @ApiModelProperty(value = "Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE ") - public String getBatchSource() { - return batchSource; + @ApiModelProperty(example = "0", value = "") + public Integer getOffset() { + return offset; } - public void setBatchSource(String batchSource) { - this.batchSource = batchSource; + public void setOffset(Integer offset) { + this.offset = offset; } - public InlineResponse20010 merchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public InlineResponse20010 limit(Integer limit) { + this.limit = limit; return this; } /** - * Reference used by merchant to identify batch. - * @return merchantReference + * Get limit + * @return limit **/ - @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") - public String getMerchantReference() { - return merchantReference; + @ApiModelProperty(example = "20", value = "") + public Integer getLimit() { + return limit; } - public void setMerchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public void setLimit(Integer limit) { + this.limit = limit; } - public InlineResponse20010 batchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public InlineResponse20010 count(Integer count) { + this.count = count; return this; } /** - * Get batchCaEndpoints - * @return batchCaEndpoints + * Get count + * @return count **/ - @ApiModelProperty(example = "VISA,MASTERCARD", value = "") - public String getBatchCaEndpoints() { - return batchCaEndpoints; + @ApiModelProperty(example = "1", value = "") + public Integer getCount() { + return count; } - public void setBatchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public void setCount(Integer count) { + this.count = count; } - public InlineResponse20010 status(String status) { - this.status = status; + public InlineResponse20010 total(Integer total) { + this.total = total; return this; } /** - * Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED - * @return status + * Get total + * @return total **/ - @ApiModelProperty(value = "Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED ") - public String getStatus() { - return status; + @ApiModelProperty(example = "1", value = "") + public Integer getTotal() { + return total; } - public void setStatus(String status) { - this.status = status; + public void setTotal(Integer total) { + this.total = total; } - public InlineResponse20010 totals(InlineResponse2009EmbeddedTotals totals) { - this.totals = totals; + public InlineResponse20010 embedded(InlineResponse20010Embedded embedded) { + this.embedded = embedded; return this; } /** - * Get totals - * @return totals + * Get embedded + * @return embedded **/ @ApiModelProperty(value = "") - public InlineResponse2009EmbeddedTotals getTotals() { - return totals; - } - - public void setTotals(InlineResponse2009EmbeddedTotals totals) { - this.totals = totals; - } - - public InlineResponse20010 billing(InlineResponse20010Billing billing) { - this.billing = billing; - return this; - } - - /** - * Get billing - * @return billing - **/ - @ApiModelProperty(value = "") - public InlineResponse20010Billing getBilling() { - return billing; - } - - public void setBilling(InlineResponse20010Billing billing) { - this.billing = billing; - } - - public InlineResponse20010 description(String description) { - this.description = description; - return this; - } - - /** - * Get description - * @return description - **/ - @ApiModelProperty(example = "Your batch has been received, and is being checked for errors.", value = "") - public String getDescription() { - return description; + public InlineResponse20010Embedded getEmbedded() { + return embedded; } - public void setDescription(String description) { - this.description = description; + public void setEmbedded(InlineResponse20010Embedded embedded) { + this.embedded = embedded; } @@ -253,20 +199,17 @@ public boolean equals(java.lang.Object o) { } InlineResponse20010 inlineResponse20010 = (InlineResponse20010) o; return Objects.equals(this.links, inlineResponse20010.links) && - Objects.equals(this.batchId, inlineResponse20010.batchId) && - Objects.equals(this.batchCreatedDate, inlineResponse20010.batchCreatedDate) && - Objects.equals(this.batchSource, inlineResponse20010.batchSource) && - Objects.equals(this.merchantReference, inlineResponse20010.merchantReference) && - Objects.equals(this.batchCaEndpoints, inlineResponse20010.batchCaEndpoints) && - Objects.equals(this.status, inlineResponse20010.status) && - Objects.equals(this.totals, inlineResponse20010.totals) && - Objects.equals(this.billing, inlineResponse20010.billing) && - Objects.equals(this.description, inlineResponse20010.description); + Objects.equals(this.object, inlineResponse20010.object) && + Objects.equals(this.offset, inlineResponse20010.offset) && + Objects.equals(this.limit, inlineResponse20010.limit) && + Objects.equals(this.count, inlineResponse20010.count) && + Objects.equals(this.total, inlineResponse20010.total) && + Objects.equals(this.embedded, inlineResponse20010.embedded); } @Override public int hashCode() { - return Objects.hash(links, batchId, batchCreatedDate, batchSource, merchantReference, batchCaEndpoints, status, totals, billing, description); + return Objects.hash(links, object, offset, limit, count, total, embedded); } @@ -276,15 +219,12 @@ public String toString() { sb.append("class InlineResponse20010 {\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); - if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); - if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); - if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); - if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); - if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); - if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); - if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); + if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2009Embedded.java b/src/main/java/Model/InlineResponse20010Embedded.java similarity index 70% rename from src/main/java/Model/InlineResponse2009Embedded.java rename to src/main/java/Model/InlineResponse20010Embedded.java index 49953b511..f60fe0585 100644 --- a/src/main/java/Model/InlineResponse2009Embedded.java +++ b/src/main/java/Model/InlineResponse20010Embedded.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2009EmbeddedBatches; +import Model.InlineResponse20010EmbeddedBatches; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,21 +28,21 @@ import java.util.List; /** - * InlineResponse2009Embedded + * InlineResponse20010Embedded */ -public class InlineResponse2009Embedded { +public class InlineResponse20010Embedded { @SerializedName("batches") - private List batches = null; + private List batches = null; - public InlineResponse2009Embedded batches(List batches) { + public InlineResponse20010Embedded batches(List batches) { this.batches = batches; return this; } - public InlineResponse2009Embedded addBatchesItem(InlineResponse2009EmbeddedBatches batchesItem) { + public InlineResponse20010Embedded addBatchesItem(InlineResponse20010EmbeddedBatches batchesItem) { if (this.batches == null) { - this.batches = new ArrayList(); + this.batches = new ArrayList(); } this.batches.add(batchesItem); return this; @@ -53,11 +53,11 @@ public InlineResponse2009Embedded addBatchesItem(InlineResponse2009EmbeddedBatch * @return batches **/ @ApiModelProperty(value = "") - public List getBatches() { + public List getBatches() { return batches; } - public void setBatches(List batches) { + public void setBatches(List batches) { this.batches = batches; } @@ -70,8 +70,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009Embedded inlineResponse2009Embedded = (InlineResponse2009Embedded) o; - return Objects.equals(this.batches, inlineResponse2009Embedded.batches); + InlineResponse20010Embedded inlineResponse20010Embedded = (InlineResponse20010Embedded) o; + return Objects.equals(this.batches, inlineResponse20010Embedded.batches); } @Override @@ -83,7 +83,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009Embedded {\n"); + sb.append("class InlineResponse20010Embedded {\n"); if (batches != null) sb.append(" batches: ").append(toIndentedString(batches)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse2009EmbeddedBatches.java b/src/main/java/Model/InlineResponse20010EmbeddedBatches.java similarity index 75% rename from src/main/java/Model/InlineResponse2009EmbeddedBatches.java rename to src/main/java/Model/InlineResponse20010EmbeddedBatches.java index 58f6f2ea7..64e325f14 100644 --- a/src/main/java/Model/InlineResponse2009EmbeddedBatches.java +++ b/src/main/java/Model/InlineResponse20010EmbeddedBatches.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2009EmbeddedLinks; -import Model.InlineResponse2009EmbeddedTotals; +import Model.InlineResponse20010EmbeddedLinks; +import Model.InlineResponse20010EmbeddedTotals; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -29,12 +29,12 @@ import java.util.List; /** - * InlineResponse2009EmbeddedBatches + * InlineResponse20010EmbeddedBatches */ -public class InlineResponse2009EmbeddedBatches { +public class InlineResponse20010EmbeddedBatches { @SerializedName("_links") - private InlineResponse2009EmbeddedLinks links = null; + private InlineResponse20010EmbeddedLinks links = null; @SerializedName("batchId") private String batchId = null; @@ -61,9 +61,9 @@ public class InlineResponse2009EmbeddedBatches { private String status = null; @SerializedName("totals") - private InlineResponse2009EmbeddedTotals totals = null; + private InlineResponse20010EmbeddedTotals totals = null; - public InlineResponse2009EmbeddedBatches links(InlineResponse2009EmbeddedLinks links) { + public InlineResponse20010EmbeddedBatches links(InlineResponse20010EmbeddedLinks links) { this.links = links; return this; } @@ -73,15 +73,15 @@ public InlineResponse2009EmbeddedBatches links(InlineResponse2009EmbeddedLinks l * @return links **/ @ApiModelProperty(value = "") - public InlineResponse2009EmbeddedLinks getLinks() { + public InlineResponse20010EmbeddedLinks getLinks() { return links; } - public void setLinks(InlineResponse2009EmbeddedLinks links) { + public void setLinks(InlineResponse20010EmbeddedLinks links) { this.links = links; } - public InlineResponse2009EmbeddedBatches batchId(String batchId) { + public InlineResponse20010EmbeddedBatches batchId(String batchId) { this.batchId = batchId; return this; } @@ -99,7 +99,7 @@ public void setBatchId(String batchId) { this.batchId = batchId; } - public InlineResponse2009EmbeddedBatches batchCreatedDate(String batchCreatedDate) { + public InlineResponse20010EmbeddedBatches batchCreatedDate(String batchCreatedDate) { this.batchCreatedDate = batchCreatedDate; return this; } @@ -117,7 +117,7 @@ public void setBatchCreatedDate(String batchCreatedDate) { this.batchCreatedDate = batchCreatedDate; } - public InlineResponse2009EmbeddedBatches batchModifiedDate(String batchModifiedDate) { + public InlineResponse20010EmbeddedBatches batchModifiedDate(String batchModifiedDate) { this.batchModifiedDate = batchModifiedDate; return this; } @@ -135,7 +135,7 @@ public void setBatchModifiedDate(String batchModifiedDate) { this.batchModifiedDate = batchModifiedDate; } - public InlineResponse2009EmbeddedBatches batchSource(String batchSource) { + public InlineResponse20010EmbeddedBatches batchSource(String batchSource) { this.batchSource = batchSource; return this; } @@ -153,7 +153,7 @@ public void setBatchSource(String batchSource) { this.batchSource = batchSource; } - public InlineResponse2009EmbeddedBatches tokenSource(String tokenSource) { + public InlineResponse20010EmbeddedBatches tokenSource(String tokenSource) { this.tokenSource = tokenSource; return this; } @@ -171,7 +171,7 @@ public void setTokenSource(String tokenSource) { this.tokenSource = tokenSource; } - public InlineResponse2009EmbeddedBatches merchantReference(String merchantReference) { + public InlineResponse20010EmbeddedBatches merchantReference(String merchantReference) { this.merchantReference = merchantReference; return this; } @@ -189,12 +189,12 @@ public void setMerchantReference(String merchantReference) { this.merchantReference = merchantReference; } - public InlineResponse2009EmbeddedBatches batchCaEndpoints(List batchCaEndpoints) { + public InlineResponse20010EmbeddedBatches batchCaEndpoints(List batchCaEndpoints) { this.batchCaEndpoints = batchCaEndpoints; return this; } - public InlineResponse2009EmbeddedBatches addBatchCaEndpointsItem(String batchCaEndpointsItem) { + public InlineResponse20010EmbeddedBatches addBatchCaEndpointsItem(String batchCaEndpointsItem) { if (this.batchCaEndpoints == null) { this.batchCaEndpoints = new ArrayList(); } @@ -215,7 +215,7 @@ public void setBatchCaEndpoints(List batchCaEndpoints) { this.batchCaEndpoints = batchCaEndpoints; } - public InlineResponse2009EmbeddedBatches status(String status) { + public InlineResponse20010EmbeddedBatches status(String status) { this.status = status; return this; } @@ -233,7 +233,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2009EmbeddedBatches totals(InlineResponse2009EmbeddedTotals totals) { + public InlineResponse20010EmbeddedBatches totals(InlineResponse20010EmbeddedTotals totals) { this.totals = totals; return this; } @@ -243,11 +243,11 @@ public InlineResponse2009EmbeddedBatches totals(InlineResponse2009EmbeddedTotals * @return totals **/ @ApiModelProperty(value = "") - public InlineResponse2009EmbeddedTotals getTotals() { + public InlineResponse20010EmbeddedTotals getTotals() { return totals; } - public void setTotals(InlineResponse2009EmbeddedTotals totals) { + public void setTotals(InlineResponse20010EmbeddedTotals totals) { this.totals = totals; } @@ -260,17 +260,17 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009EmbeddedBatches inlineResponse2009EmbeddedBatches = (InlineResponse2009EmbeddedBatches) o; - return Objects.equals(this.links, inlineResponse2009EmbeddedBatches.links) && - Objects.equals(this.batchId, inlineResponse2009EmbeddedBatches.batchId) && - Objects.equals(this.batchCreatedDate, inlineResponse2009EmbeddedBatches.batchCreatedDate) && - Objects.equals(this.batchModifiedDate, inlineResponse2009EmbeddedBatches.batchModifiedDate) && - Objects.equals(this.batchSource, inlineResponse2009EmbeddedBatches.batchSource) && - Objects.equals(this.tokenSource, inlineResponse2009EmbeddedBatches.tokenSource) && - Objects.equals(this.merchantReference, inlineResponse2009EmbeddedBatches.merchantReference) && - Objects.equals(this.batchCaEndpoints, inlineResponse2009EmbeddedBatches.batchCaEndpoints) && - Objects.equals(this.status, inlineResponse2009EmbeddedBatches.status) && - Objects.equals(this.totals, inlineResponse2009EmbeddedBatches.totals); + InlineResponse20010EmbeddedBatches inlineResponse20010EmbeddedBatches = (InlineResponse20010EmbeddedBatches) o; + return Objects.equals(this.links, inlineResponse20010EmbeddedBatches.links) && + Objects.equals(this.batchId, inlineResponse20010EmbeddedBatches.batchId) && + Objects.equals(this.batchCreatedDate, inlineResponse20010EmbeddedBatches.batchCreatedDate) && + Objects.equals(this.batchModifiedDate, inlineResponse20010EmbeddedBatches.batchModifiedDate) && + Objects.equals(this.batchSource, inlineResponse20010EmbeddedBatches.batchSource) && + Objects.equals(this.tokenSource, inlineResponse20010EmbeddedBatches.tokenSource) && + Objects.equals(this.merchantReference, inlineResponse20010EmbeddedBatches.merchantReference) && + Objects.equals(this.batchCaEndpoints, inlineResponse20010EmbeddedBatches.batchCaEndpoints) && + Objects.equals(this.status, inlineResponse20010EmbeddedBatches.status) && + Objects.equals(this.totals, inlineResponse20010EmbeddedBatches.totals); } @Override @@ -282,7 +282,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009EmbeddedBatches {\n"); + sb.append("class InlineResponse20010EmbeddedBatches {\n"); if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2009EmbeddedLinks.java b/src/main/java/Model/InlineResponse20010EmbeddedLinks.java similarity index 68% rename from src/main/java/Model/InlineResponse2009EmbeddedLinks.java rename to src/main/java/Model/InlineResponse20010EmbeddedLinks.java index 2dc339c4a..c2ba48ef0 100644 --- a/src/main/java/Model/InlineResponse2009EmbeddedLinks.java +++ b/src/main/java/Model/InlineResponse20010EmbeddedLinks.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2009EmbeddedLinksReports; +import Model.InlineResponse20010EmbeddedLinksReports; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,21 +28,21 @@ import java.util.List; /** - * InlineResponse2009EmbeddedLinks + * InlineResponse20010EmbeddedLinks */ -public class InlineResponse2009EmbeddedLinks { +public class InlineResponse20010EmbeddedLinks { @SerializedName("reports") - private List reports = null; + private List reports = null; - public InlineResponse2009EmbeddedLinks reports(List reports) { + public InlineResponse20010EmbeddedLinks reports(List reports) { this.reports = reports; return this; } - public InlineResponse2009EmbeddedLinks addReportsItem(InlineResponse2009EmbeddedLinksReports reportsItem) { + public InlineResponse20010EmbeddedLinks addReportsItem(InlineResponse20010EmbeddedLinksReports reportsItem) { if (this.reports == null) { - this.reports = new ArrayList(); + this.reports = new ArrayList(); } this.reports.add(reportsItem); return this; @@ -53,11 +53,11 @@ public InlineResponse2009EmbeddedLinks addReportsItem(InlineResponse2009Embedded * @return reports **/ @ApiModelProperty(value = "") - public List getReports() { + public List getReports() { return reports; } - public void setReports(List reports) { + public void setReports(List reports) { this.reports = reports; } @@ -70,8 +70,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009EmbeddedLinks inlineResponse2009EmbeddedLinks = (InlineResponse2009EmbeddedLinks) o; - return Objects.equals(this.reports, inlineResponse2009EmbeddedLinks.reports); + InlineResponse20010EmbeddedLinks inlineResponse20010EmbeddedLinks = (InlineResponse20010EmbeddedLinks) o; + return Objects.equals(this.reports, inlineResponse20010EmbeddedLinks.reports); } @Override @@ -83,7 +83,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009EmbeddedLinks {\n"); + sb.append("class InlineResponse20010EmbeddedLinks {\n"); if (reports != null) sb.append(" reports: ").append(toIndentedString(reports)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse2009EmbeddedLinksReports.java b/src/main/java/Model/InlineResponse20010EmbeddedLinksReports.java similarity index 83% rename from src/main/java/Model/InlineResponse2009EmbeddedLinksReports.java rename to src/main/java/Model/InlineResponse20010EmbeddedLinksReports.java index e476715b0..c919c35ba 100644 --- a/src/main/java/Model/InlineResponse2009EmbeddedLinksReports.java +++ b/src/main/java/Model/InlineResponse20010EmbeddedLinksReports.java @@ -29,11 +29,11 @@ */ @ApiModel(description = "Retrieve the generated report of a batch when available.") -public class InlineResponse2009EmbeddedLinksReports { +public class InlineResponse20010EmbeddedLinksReports { @SerializedName("href") private String href = null; - public InlineResponse2009EmbeddedLinksReports href(String href) { + public InlineResponse20010EmbeddedLinksReports href(String href) { this.href = href; return this; } @@ -60,8 +60,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009EmbeddedLinksReports inlineResponse2009EmbeddedLinksReports = (InlineResponse2009EmbeddedLinksReports) o; - return Objects.equals(this.href, inlineResponse2009EmbeddedLinksReports.href); + InlineResponse20010EmbeddedLinksReports inlineResponse20010EmbeddedLinksReports = (InlineResponse20010EmbeddedLinksReports) o; + return Objects.equals(this.href, inlineResponse20010EmbeddedLinksReports.href); } @Override @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009EmbeddedLinksReports {\n"); + sb.append("class InlineResponse20010EmbeddedLinksReports {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse2009EmbeddedTotals.java b/src/main/java/Model/InlineResponse20010EmbeddedTotals.java similarity index 81% rename from src/main/java/Model/InlineResponse2009EmbeddedTotals.java rename to src/main/java/Model/InlineResponse20010EmbeddedTotals.java index a8cd3bcf5..5b711c84b 100644 --- a/src/main/java/Model/InlineResponse2009EmbeddedTotals.java +++ b/src/main/java/Model/InlineResponse20010EmbeddedTotals.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse2009EmbeddedTotals + * InlineResponse20010EmbeddedTotals */ -public class InlineResponse2009EmbeddedTotals { +public class InlineResponse20010EmbeddedTotals { @SerializedName("acceptedRecords") private Integer acceptedRecords = null; @@ -44,7 +44,7 @@ public class InlineResponse2009EmbeddedTotals { @SerializedName("caResponsesOmitted") private Integer caResponsesOmitted = null; - public InlineResponse2009EmbeddedTotals acceptedRecords(Integer acceptedRecords) { + public InlineResponse20010EmbeddedTotals acceptedRecords(Integer acceptedRecords) { this.acceptedRecords = acceptedRecords; return this; } @@ -62,7 +62,7 @@ public void setAcceptedRecords(Integer acceptedRecords) { this.acceptedRecords = acceptedRecords; } - public InlineResponse2009EmbeddedTotals rejectedRecords(Integer rejectedRecords) { + public InlineResponse20010EmbeddedTotals rejectedRecords(Integer rejectedRecords) { this.rejectedRecords = rejectedRecords; return this; } @@ -80,7 +80,7 @@ public void setRejectedRecords(Integer rejectedRecords) { this.rejectedRecords = rejectedRecords; } - public InlineResponse2009EmbeddedTotals updatedRecords(Integer updatedRecords) { + public InlineResponse20010EmbeddedTotals updatedRecords(Integer updatedRecords) { this.updatedRecords = updatedRecords; return this; } @@ -98,7 +98,7 @@ public void setUpdatedRecords(Integer updatedRecords) { this.updatedRecords = updatedRecords; } - public InlineResponse2009EmbeddedTotals caResponses(Integer caResponses) { + public InlineResponse20010EmbeddedTotals caResponses(Integer caResponses) { this.caResponses = caResponses; return this; } @@ -116,7 +116,7 @@ public void setCaResponses(Integer caResponses) { this.caResponses = caResponses; } - public InlineResponse2009EmbeddedTotals caResponsesOmitted(Integer caResponsesOmitted) { + public InlineResponse20010EmbeddedTotals caResponsesOmitted(Integer caResponsesOmitted) { this.caResponsesOmitted = caResponsesOmitted; return this; } @@ -143,12 +143,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009EmbeddedTotals inlineResponse2009EmbeddedTotals = (InlineResponse2009EmbeddedTotals) o; - return Objects.equals(this.acceptedRecords, inlineResponse2009EmbeddedTotals.acceptedRecords) && - Objects.equals(this.rejectedRecords, inlineResponse2009EmbeddedTotals.rejectedRecords) && - Objects.equals(this.updatedRecords, inlineResponse2009EmbeddedTotals.updatedRecords) && - Objects.equals(this.caResponses, inlineResponse2009EmbeddedTotals.caResponses) && - Objects.equals(this.caResponsesOmitted, inlineResponse2009EmbeddedTotals.caResponsesOmitted); + InlineResponse20010EmbeddedTotals inlineResponse20010EmbeddedTotals = (InlineResponse20010EmbeddedTotals) o; + return Objects.equals(this.acceptedRecords, inlineResponse20010EmbeddedTotals.acceptedRecords) && + Objects.equals(this.rejectedRecords, inlineResponse20010EmbeddedTotals.rejectedRecords) && + Objects.equals(this.updatedRecords, inlineResponse20010EmbeddedTotals.updatedRecords) && + Objects.equals(this.caResponses, inlineResponse20010EmbeddedTotals.caResponses) && + Objects.equals(this.caResponsesOmitted, inlineResponse20010EmbeddedTotals.caResponsesOmitted); } @Override @@ -160,7 +160,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009EmbeddedTotals {\n"); + sb.append("class InlineResponse20010EmbeddedTotals {\n"); if (acceptedRecords != null) sb.append(" acceptedRecords: ").append(toIndentedString(acceptedRecords)).append("\n"); if (rejectedRecords != null) sb.append(" rejectedRecords: ").append(toIndentedString(rejectedRecords)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20010Links.java b/src/main/java/Model/InlineResponse20010Links.java index 579d95e80..68e70cb16 100644 --- a/src/main/java/Model/InlineResponse20010Links.java +++ b/src/main/java/Model/InlineResponse20010Links.java @@ -15,8 +15,6 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010LinksReport; -import Model.InlineResponse202LinksStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -25,62 +23,52 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse20010Links */ public class InlineResponse20010Links { - @SerializedName("self") - private InlineResponse202LinksStatus self = null; + @SerializedName("rel") + private String rel = null; - @SerializedName("report") - private List report = null; + @SerializedName("href") + private String href = null; - public InlineResponse20010Links self(InlineResponse202LinksStatus self) { - this.self = self; + public InlineResponse20010Links rel(String rel) { + this.rel = rel; return this; } /** - * Get self - * @return self + * Valid Values: * self * first * last * prev * next + * @return rel **/ - @ApiModelProperty(value = "") - public InlineResponse202LinksStatus getSelf() { - return self; + @ApiModelProperty(value = "Valid Values: * self * first * last * prev * next ") + public String getRel() { + return rel; } - public void setSelf(InlineResponse202LinksStatus self) { - this.self = self; + public void setRel(String rel) { + this.rel = rel; } - public InlineResponse20010Links report(List report) { - this.report = report; - return this; - } - - public InlineResponse20010Links addReportItem(InlineResponse20010LinksReport reportItem) { - if (this.report == null) { - this.report = new ArrayList(); - } - this.report.add(reportItem); + public InlineResponse20010Links href(String href) { + this.href = href; return this; } /** - * Get report - * @return report + * Get href + * @return href **/ - @ApiModelProperty(value = "") - public List getReport() { - return report; + @ApiModelProperty(example = "https://api.cybersource.com/accountupdater/v1/batches?offset=0&limit=20", value = "") + public String getHref() { + return href; } - public void setReport(List report) { - this.report = report; + public void setHref(String href) { + this.href = href; } @@ -93,13 +81,13 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse20010Links inlineResponse20010Links = (InlineResponse20010Links) o; - return Objects.equals(this.self, inlineResponse20010Links.self) && - Objects.equals(this.report, inlineResponse20010Links.report); + return Objects.equals(this.rel, inlineResponse20010Links.rel) && + Objects.equals(this.href, inlineResponse20010Links.href); } @Override public int hashCode() { - return Objects.hash(self, report); + return Objects.hash(rel, href); } @@ -108,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse20010Links {\n"); - if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); - if (report != null) sb.append(" report: ").append(toIndentedString(report)).append("\n"); + if (rel != null) sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); + if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20011.java b/src/main/java/Model/InlineResponse20011.java index 8b98e6f57..7d0e009fb 100644 --- a/src/main/java/Model/InlineResponse20011.java +++ b/src/main/java/Model/InlineResponse20011.java @@ -15,9 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20010Billing; -import Model.InlineResponse20011Records; -import Model.InlineResponse2009EmbeddedTotals; +import Model.InlineResponse20010EmbeddedTotals; +import Model.InlineResponse20011Billing; +import Model.InlineResponse20011Links; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,78 +26,58 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.ArrayList; -import java.util.List; /** * InlineResponse20011 */ public class InlineResponse20011 { - @SerializedName("version") - private String version = null; - - @SerializedName("reportCreatedDate") - private String reportCreatedDate = null; + @SerializedName("_links") + private InlineResponse20011Links links = null; @SerializedName("batchId") private String batchId = null; + @SerializedName("batchCreatedDate") + private String batchCreatedDate = null; + @SerializedName("batchSource") private String batchSource = null; + @SerializedName("merchantReference") + private String merchantReference = null; + @SerializedName("batchCaEndpoints") private String batchCaEndpoints = null; - @SerializedName("batchCreatedDate") - private String batchCreatedDate = null; - - @SerializedName("merchantReference") - private String merchantReference = null; + @SerializedName("status") + private String status = null; @SerializedName("totals") - private InlineResponse2009EmbeddedTotals totals = null; + private InlineResponse20010EmbeddedTotals totals = null; @SerializedName("billing") - private InlineResponse20010Billing billing = null; + private InlineResponse20011Billing billing = null; - @SerializedName("records") - private List records = null; + @SerializedName("description") + private String description = null; - public InlineResponse20011 version(String version) { - this.version = version; + public InlineResponse20011 links(InlineResponse20011Links links) { + this.links = links; return this; } /** - * Get version - * @return version + * Get links + * @return links **/ - @ApiModelProperty(example = "1.0", value = "") - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - public InlineResponse20011 reportCreatedDate(String reportCreatedDate) { - this.reportCreatedDate = reportCreatedDate; - return this; - } - - /** - * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - * @return reportCreatedDate - **/ - @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") - public String getReportCreatedDate() { - return reportCreatedDate; + @ApiModelProperty(value = "") + public InlineResponse20011Links getLinks() { + return links; } - public void setReportCreatedDate(String reportCreatedDate) { - this.reportCreatedDate = reportCreatedDate; + public void setLinks(InlineResponse20011Links links) { + this.links = links; } public InlineResponse20011 batchId(String batchId) { @@ -118,6 +98,24 @@ public void setBatchId(String batchId) { this.batchId = batchId; } + public InlineResponse20011 batchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; + return this; + } + + /** + * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + * @return batchCreatedDate + **/ + @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") + public String getBatchCreatedDate() { + return batchCreatedDate; + } + + public void setBatchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; + } + public InlineResponse20011 batchSource(String batchSource) { this.batchSource = batchSource; return this; @@ -136,61 +134,61 @@ public void setBatchSource(String batchSource) { this.batchSource = batchSource; } - public InlineResponse20011 batchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public InlineResponse20011 merchantReference(String merchantReference) { + this.merchantReference = merchantReference; return this; } /** - * Get batchCaEndpoints - * @return batchCaEndpoints + * Reference used by merchant to identify batch. + * @return merchantReference **/ - @ApiModelProperty(example = "VISA,MASTERCARD", value = "") - public String getBatchCaEndpoints() { - return batchCaEndpoints; + @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") + public String getMerchantReference() { + return merchantReference; } - public void setBatchCaEndpoints(String batchCaEndpoints) { - this.batchCaEndpoints = batchCaEndpoints; + public void setMerchantReference(String merchantReference) { + this.merchantReference = merchantReference; } - public InlineResponse20011 batchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public InlineResponse20011 batchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; return this; } /** - * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - * @return batchCreatedDate + * Get batchCaEndpoints + * @return batchCaEndpoints **/ - @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") - public String getBatchCreatedDate() { - return batchCreatedDate; + @ApiModelProperty(example = "VISA,MASTERCARD", value = "") + public String getBatchCaEndpoints() { + return batchCaEndpoints; } - public void setBatchCreatedDate(String batchCreatedDate) { - this.batchCreatedDate = batchCreatedDate; + public void setBatchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; } - public InlineResponse20011 merchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public InlineResponse20011 status(String status) { + this.status = status; return this; } /** - * Reference used by merchant to identify batch. - * @return merchantReference + * Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + * @return status **/ - @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") - public String getMerchantReference() { - return merchantReference; + @ApiModelProperty(value = "Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED ") + public String getStatus() { + return status; } - public void setMerchantReference(String merchantReference) { - this.merchantReference = merchantReference; + public void setStatus(String status) { + this.status = status; } - public InlineResponse20011 totals(InlineResponse2009EmbeddedTotals totals) { + public InlineResponse20011 totals(InlineResponse20010EmbeddedTotals totals) { this.totals = totals; return this; } @@ -200,15 +198,15 @@ public InlineResponse20011 totals(InlineResponse2009EmbeddedTotals totals) { * @return totals **/ @ApiModelProperty(value = "") - public InlineResponse2009EmbeddedTotals getTotals() { + public InlineResponse20010EmbeddedTotals getTotals() { return totals; } - public void setTotals(InlineResponse2009EmbeddedTotals totals) { + public void setTotals(InlineResponse20010EmbeddedTotals totals) { this.totals = totals; } - public InlineResponse20011 billing(InlineResponse20010Billing billing) { + public InlineResponse20011 billing(InlineResponse20011Billing billing) { this.billing = billing; return this; } @@ -218,38 +216,30 @@ public InlineResponse20011 billing(InlineResponse20010Billing billing) { * @return billing **/ @ApiModelProperty(value = "") - public InlineResponse20010Billing getBilling() { + public InlineResponse20011Billing getBilling() { return billing; } - public void setBilling(InlineResponse20010Billing billing) { + public void setBilling(InlineResponse20011Billing billing) { this.billing = billing; } - public InlineResponse20011 records(List records) { - this.records = records; - return this; - } - - public InlineResponse20011 addRecordsItem(InlineResponse20011Records recordsItem) { - if (this.records == null) { - this.records = new ArrayList(); - } - this.records.add(recordsItem); + public InlineResponse20011 description(String description) { + this.description = description; return this; } /** - * Get records - * @return records + * Get description + * @return description **/ - @ApiModelProperty(value = "") - public List getRecords() { - return records; + @ApiModelProperty(example = "Your batch has been received, and is being checked for errors.", value = "") + public String getDescription() { + return description; } - public void setRecords(List records) { - this.records = records; + public void setDescription(String description) { + this.description = description; } @@ -262,21 +252,21 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse20011 inlineResponse20011 = (InlineResponse20011) o; - return Objects.equals(this.version, inlineResponse20011.version) && - Objects.equals(this.reportCreatedDate, inlineResponse20011.reportCreatedDate) && + return Objects.equals(this.links, inlineResponse20011.links) && Objects.equals(this.batchId, inlineResponse20011.batchId) && - Objects.equals(this.batchSource, inlineResponse20011.batchSource) && - Objects.equals(this.batchCaEndpoints, inlineResponse20011.batchCaEndpoints) && Objects.equals(this.batchCreatedDate, inlineResponse20011.batchCreatedDate) && + Objects.equals(this.batchSource, inlineResponse20011.batchSource) && Objects.equals(this.merchantReference, inlineResponse20011.merchantReference) && + Objects.equals(this.batchCaEndpoints, inlineResponse20011.batchCaEndpoints) && + Objects.equals(this.status, inlineResponse20011.status) && Objects.equals(this.totals, inlineResponse20011.totals) && Objects.equals(this.billing, inlineResponse20011.billing) && - Objects.equals(this.records, inlineResponse20011.records); + Objects.equals(this.description, inlineResponse20011.description); } @Override public int hashCode() { - return Objects.hash(version, reportCreatedDate, batchId, batchSource, batchCaEndpoints, batchCreatedDate, merchantReference, totals, billing, records); + return Objects.hash(links, batchId, batchCreatedDate, batchSource, merchantReference, batchCaEndpoints, status, totals, billing, description); } @@ -285,16 +275,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse20011 {\n"); - if (version != null) sb.append(" version: ").append(toIndentedString(version)).append("\n"); - if (reportCreatedDate != null) sb.append(" reportCreatedDate: ").append(toIndentedString(reportCreatedDate)).append("\n"); + if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); - if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); - if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); + if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); - if (records != null) sb.append(" records: ").append(toIndentedString(records)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse20010Billing.java b/src/main/java/Model/InlineResponse20011Billing.java similarity index 81% rename from src/main/java/Model/InlineResponse20010Billing.java rename to src/main/java/Model/InlineResponse20011Billing.java index ed2ee419d..33cb64d0c 100644 --- a/src/main/java/Model/InlineResponse20010Billing.java +++ b/src/main/java/Model/InlineResponse20011Billing.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse20010Billing + * InlineResponse20011Billing */ -public class InlineResponse20010Billing { +public class InlineResponse20011Billing { @SerializedName("nan") private Integer nan = null; @@ -41,7 +41,7 @@ public class InlineResponse20010Billing { @SerializedName("cch") private Integer cch = null; - public InlineResponse20010Billing nan(Integer nan) { + public InlineResponse20011Billing nan(Integer nan) { this.nan = nan; return this; } @@ -59,7 +59,7 @@ public void setNan(Integer nan) { this.nan = nan; } - public InlineResponse20010Billing ned(Integer ned) { + public InlineResponse20011Billing ned(Integer ned) { this.ned = ned; return this; } @@ -77,7 +77,7 @@ public void setNed(Integer ned) { this.ned = ned; } - public InlineResponse20010Billing acl(Integer acl) { + public InlineResponse20011Billing acl(Integer acl) { this.acl = acl; return this; } @@ -95,7 +95,7 @@ public void setAcl(Integer acl) { this.acl = acl; } - public InlineResponse20010Billing cch(Integer cch) { + public InlineResponse20011Billing cch(Integer cch) { this.cch = cch; return this; } @@ -122,11 +122,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20010Billing inlineResponse20010Billing = (InlineResponse20010Billing) o; - return Objects.equals(this.nan, inlineResponse20010Billing.nan) && - Objects.equals(this.ned, inlineResponse20010Billing.ned) && - Objects.equals(this.acl, inlineResponse20010Billing.acl) && - Objects.equals(this.cch, inlineResponse20010Billing.cch); + InlineResponse20011Billing inlineResponse20011Billing = (InlineResponse20011Billing) o; + return Objects.equals(this.nan, inlineResponse20011Billing.nan) && + Objects.equals(this.ned, inlineResponse20011Billing.ned) && + Objects.equals(this.acl, inlineResponse20011Billing.acl) && + Objects.equals(this.cch, inlineResponse20011Billing.cch); } @Override @@ -138,7 +138,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010Billing {\n"); + sb.append("class InlineResponse20011Billing {\n"); if (nan != null) sb.append(" nan: ").append(toIndentedString(nan)).append("\n"); if (ned != null) sb.append(" ned: ").append(toIndentedString(ned)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20011Links.java b/src/main/java/Model/InlineResponse20011Links.java new file mode 100644 index 000000000..fdf6f42ac --- /dev/null +++ b/src/main/java/Model/InlineResponse20011Links.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InlineResponse20011LinksReport; +import Model.InlineResponse202LinksStatus; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * InlineResponse20011Links + */ + +public class InlineResponse20011Links { + @SerializedName("self") + private InlineResponse202LinksStatus self = null; + + @SerializedName("report") + private List report = null; + + public InlineResponse20011Links self(InlineResponse202LinksStatus self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public InlineResponse202LinksStatus getSelf() { + return self; + } + + public void setSelf(InlineResponse202LinksStatus self) { + this.self = self; + } + + public InlineResponse20011Links report(List report) { + this.report = report; + return this; + } + + public InlineResponse20011Links addReportItem(InlineResponse20011LinksReport reportItem) { + if (this.report == null) { + this.report = new ArrayList(); + } + this.report.add(reportItem); + return this; + } + + /** + * Get report + * @return report + **/ + @ApiModelProperty(value = "") + public List getReport() { + return report; + } + + public void setReport(List report) { + this.report = report; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse20011Links inlineResponse20011Links = (InlineResponse20011Links) o; + return Objects.equals(this.self, inlineResponse20011Links.self) && + Objects.equals(this.report, inlineResponse20011Links.report); + } + + @Override + public int hashCode() { + return Objects.hash(self, report); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse20011Links {\n"); + + if (self != null) sb.append(" self: ").append(toIndentedString(self)).append("\n"); + if (report != null) sb.append(" report: ").append(toIndentedString(report)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse20010LinksReport.java b/src/main/java/Model/InlineResponse20011LinksReport.java similarity index 84% rename from src/main/java/Model/InlineResponse20010LinksReport.java rename to src/main/java/Model/InlineResponse20011LinksReport.java index 67519a650..a7ab79964 100644 --- a/src/main/java/Model/InlineResponse20010LinksReport.java +++ b/src/main/java/Model/InlineResponse20011LinksReport.java @@ -25,14 +25,14 @@ import java.io.IOException; /** - * InlineResponse20010LinksReport + * InlineResponse20011LinksReport */ -public class InlineResponse20010LinksReport { +public class InlineResponse20011LinksReport { @SerializedName("href") private String href = null; - public InlineResponse20010LinksReport href(String href) { + public InlineResponse20011LinksReport href(String href) { this.href = href; return this; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20010LinksReport inlineResponse20010LinksReport = (InlineResponse20010LinksReport) o; - return Objects.equals(this.href, inlineResponse20010LinksReport.href); + InlineResponse20011LinksReport inlineResponse20011LinksReport = (InlineResponse20011LinksReport) o; + return Objects.equals(this.href, inlineResponse20011LinksReport.href); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20010LinksReport {\n"); + sb.append("class InlineResponse20011LinksReport {\n"); if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/InlineResponse20012.java b/src/main/java/Model/InlineResponse20012.java new file mode 100644 index 000000000..fdb49d731 --- /dev/null +++ b/src/main/java/Model/InlineResponse20012.java @@ -0,0 +1,314 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InlineResponse20010EmbeddedTotals; +import Model.InlineResponse20011Billing; +import Model.InlineResponse20012Records; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * InlineResponse20012 + */ + +public class InlineResponse20012 { + @SerializedName("version") + private String version = null; + + @SerializedName("reportCreatedDate") + private String reportCreatedDate = null; + + @SerializedName("batchId") + private String batchId = null; + + @SerializedName("batchSource") + private String batchSource = null; + + @SerializedName("batchCaEndpoints") + private String batchCaEndpoints = null; + + @SerializedName("batchCreatedDate") + private String batchCreatedDate = null; + + @SerializedName("merchantReference") + private String merchantReference = null; + + @SerializedName("totals") + private InlineResponse20010EmbeddedTotals totals = null; + + @SerializedName("billing") + private InlineResponse20011Billing billing = null; + + @SerializedName("records") + private List records = null; + + public InlineResponse20012 version(String version) { + this.version = version; + return this; + } + + /** + * Get version + * @return version + **/ + @ApiModelProperty(example = "1.0", value = "") + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public InlineResponse20012 reportCreatedDate(String reportCreatedDate) { + this.reportCreatedDate = reportCreatedDate; + return this; + } + + /** + * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + * @return reportCreatedDate + **/ + @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") + public String getReportCreatedDate() { + return reportCreatedDate; + } + + public void setReportCreatedDate(String reportCreatedDate) { + this.reportCreatedDate = reportCreatedDate; + } + + public InlineResponse20012 batchId(String batchId) { + this.batchId = batchId; + return this; + } + + /** + * Unique identification number assigned to the submitted request. + * @return batchId + **/ + @ApiModelProperty(example = "16188390061150001062041064", value = "Unique identification number assigned to the submitted request.") + public String getBatchId() { + return batchId; + } + + public void setBatchId(String batchId) { + this.batchId = batchId; + } + + public InlineResponse20012 batchSource(String batchSource) { + this.batchSource = batchSource; + return this; + } + + /** + * Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + * @return batchSource + **/ + @ApiModelProperty(value = "Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE ") + public String getBatchSource() { + return batchSource; + } + + public void setBatchSource(String batchSource) { + this.batchSource = batchSource; + } + + public InlineResponse20012 batchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; + return this; + } + + /** + * Get batchCaEndpoints + * @return batchCaEndpoints + **/ + @ApiModelProperty(example = "VISA,MASTERCARD", value = "") + public String getBatchCaEndpoints() { + return batchCaEndpoints; + } + + public void setBatchCaEndpoints(String batchCaEndpoints) { + this.batchCaEndpoints = batchCaEndpoints; + } + + public InlineResponse20012 batchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; + return this; + } + + /** + * ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + * @return batchCreatedDate + **/ + @ApiModelProperty(example = "2018-05-22T14.38.57Z", value = "ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ") + public String getBatchCreatedDate() { + return batchCreatedDate; + } + + public void setBatchCreatedDate(String batchCreatedDate) { + this.batchCreatedDate = batchCreatedDate; + } + + public InlineResponse20012 merchantReference(String merchantReference) { + this.merchantReference = merchantReference; + return this; + } + + /** + * Reference used by merchant to identify batch. + * @return merchantReference + **/ + @ApiModelProperty(example = "TC50171_3", value = "Reference used by merchant to identify batch.") + public String getMerchantReference() { + return merchantReference; + } + + public void setMerchantReference(String merchantReference) { + this.merchantReference = merchantReference; + } + + public InlineResponse20012 totals(InlineResponse20010EmbeddedTotals totals) { + this.totals = totals; + return this; + } + + /** + * Get totals + * @return totals + **/ + @ApiModelProperty(value = "") + public InlineResponse20010EmbeddedTotals getTotals() { + return totals; + } + + public void setTotals(InlineResponse20010EmbeddedTotals totals) { + this.totals = totals; + } + + public InlineResponse20012 billing(InlineResponse20011Billing billing) { + this.billing = billing; + return this; + } + + /** + * Get billing + * @return billing + **/ + @ApiModelProperty(value = "") + public InlineResponse20011Billing getBilling() { + return billing; + } + + public void setBilling(InlineResponse20011Billing billing) { + this.billing = billing; + } + + public InlineResponse20012 records(List records) { + this.records = records; + return this; + } + + public InlineResponse20012 addRecordsItem(InlineResponse20012Records recordsItem) { + if (this.records == null) { + this.records = new ArrayList(); + } + this.records.add(recordsItem); + return this; + } + + /** + * Get records + * @return records + **/ + @ApiModelProperty(value = "") + public List getRecords() { + return records; + } + + public void setRecords(List records) { + this.records = records; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse20012 inlineResponse20012 = (InlineResponse20012) o; + return Objects.equals(this.version, inlineResponse20012.version) && + Objects.equals(this.reportCreatedDate, inlineResponse20012.reportCreatedDate) && + Objects.equals(this.batchId, inlineResponse20012.batchId) && + Objects.equals(this.batchSource, inlineResponse20012.batchSource) && + Objects.equals(this.batchCaEndpoints, inlineResponse20012.batchCaEndpoints) && + Objects.equals(this.batchCreatedDate, inlineResponse20012.batchCreatedDate) && + Objects.equals(this.merchantReference, inlineResponse20012.merchantReference) && + Objects.equals(this.totals, inlineResponse20012.totals) && + Objects.equals(this.billing, inlineResponse20012.billing) && + Objects.equals(this.records, inlineResponse20012.records); + } + + @Override + public int hashCode() { + return Objects.hash(version, reportCreatedDate, batchId, batchSource, batchCaEndpoints, batchCreatedDate, merchantReference, totals, billing, records); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse20012 {\n"); + + if (version != null) sb.append(" version: ").append(toIndentedString(version)).append("\n"); + if (reportCreatedDate != null) sb.append(" reportCreatedDate: ").append(toIndentedString(reportCreatedDate)).append("\n"); + if (batchId != null) sb.append(" batchId: ").append(toIndentedString(batchId)).append("\n"); + if (batchSource != null) sb.append(" batchSource: ").append(toIndentedString(batchSource)).append("\n"); + if (batchCaEndpoints != null) sb.append(" batchCaEndpoints: ").append(toIndentedString(batchCaEndpoints)).append("\n"); + if (batchCreatedDate != null) sb.append(" batchCreatedDate: ").append(toIndentedString(batchCreatedDate)).append("\n"); + if (merchantReference != null) sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); + if (totals != null) sb.append(" totals: ").append(toIndentedString(totals)).append("\n"); + if (billing != null) sb.append(" billing: ").append(toIndentedString(billing)).append("\n"); + if (records != null) sb.append(" records: ").append(toIndentedString(records)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse20011Records.java b/src/main/java/Model/InlineResponse20012Records.java similarity index 70% rename from src/main/java/Model/InlineResponse20011Records.java rename to src/main/java/Model/InlineResponse20012Records.java index d24aa03ca..835dc9e4c 100644 --- a/src/main/java/Model/InlineResponse20011Records.java +++ b/src/main/java/Model/InlineResponse20012Records.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20011ResponseRecord; -import Model.InlineResponse20011SourceRecord; +import Model.InlineResponse20012ResponseRecord; +import Model.InlineResponse20012SourceRecord; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -27,20 +27,20 @@ import java.io.IOException; /** - * InlineResponse20011Records + * InlineResponse20012Records */ -public class InlineResponse20011Records { +public class InlineResponse20012Records { @SerializedName("id") private String id = null; @SerializedName("sourceRecord") - private InlineResponse20011SourceRecord sourceRecord = null; + private InlineResponse20012SourceRecord sourceRecord = null; @SerializedName("responseRecord") - private InlineResponse20011ResponseRecord responseRecord = null; + private InlineResponse20012ResponseRecord responseRecord = null; - public InlineResponse20011Records id(String id) { + public InlineResponse20012Records id(String id) { this.id = id; return this; } @@ -58,7 +58,7 @@ public void setId(String id) { this.id = id; } - public InlineResponse20011Records sourceRecord(InlineResponse20011SourceRecord sourceRecord) { + public InlineResponse20012Records sourceRecord(InlineResponse20012SourceRecord sourceRecord) { this.sourceRecord = sourceRecord; return this; } @@ -68,15 +68,15 @@ public InlineResponse20011Records sourceRecord(InlineResponse20011SourceRecord s * @return sourceRecord **/ @ApiModelProperty(value = "") - public InlineResponse20011SourceRecord getSourceRecord() { + public InlineResponse20012SourceRecord getSourceRecord() { return sourceRecord; } - public void setSourceRecord(InlineResponse20011SourceRecord sourceRecord) { + public void setSourceRecord(InlineResponse20012SourceRecord sourceRecord) { this.sourceRecord = sourceRecord; } - public InlineResponse20011Records responseRecord(InlineResponse20011ResponseRecord responseRecord) { + public InlineResponse20012Records responseRecord(InlineResponse20012ResponseRecord responseRecord) { this.responseRecord = responseRecord; return this; } @@ -86,11 +86,11 @@ public InlineResponse20011Records responseRecord(InlineResponse20011ResponseReco * @return responseRecord **/ @ApiModelProperty(value = "") - public InlineResponse20011ResponseRecord getResponseRecord() { + public InlineResponse20012ResponseRecord getResponseRecord() { return responseRecord; } - public void setResponseRecord(InlineResponse20011ResponseRecord responseRecord) { + public void setResponseRecord(InlineResponse20012ResponseRecord responseRecord) { this.responseRecord = responseRecord; } @@ -103,10 +103,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20011Records inlineResponse20011Records = (InlineResponse20011Records) o; - return Objects.equals(this.id, inlineResponse20011Records.id) && - Objects.equals(this.sourceRecord, inlineResponse20011Records.sourceRecord) && - Objects.equals(this.responseRecord, inlineResponse20011Records.responseRecord); + InlineResponse20012Records inlineResponse20012Records = (InlineResponse20012Records) o; + return Objects.equals(this.id, inlineResponse20012Records.id) && + Objects.equals(this.sourceRecord, inlineResponse20012Records.sourceRecord) && + Objects.equals(this.responseRecord, inlineResponse20012Records.responseRecord); } @Override @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20011Records {\n"); + sb.append("class InlineResponse20012Records {\n"); if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); if (sourceRecord != null) sb.append(" sourceRecord: ").append(toIndentedString(sourceRecord)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20011ResponseRecord.java b/src/main/java/Model/InlineResponse20012ResponseRecord.java similarity index 79% rename from src/main/java/Model/InlineResponse20011ResponseRecord.java rename to src/main/java/Model/InlineResponse20012ResponseRecord.java index 8b719bedc..60d7ad2db 100644 --- a/src/main/java/Model/InlineResponse20011ResponseRecord.java +++ b/src/main/java/Model/InlineResponse20012ResponseRecord.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse20011ResponseRecordAdditionalUpdates; +import Model.InlineResponse20012ResponseRecordAdditionalUpdates; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,10 +28,10 @@ import java.util.List; /** - * InlineResponse20011ResponseRecord + * InlineResponse20012ResponseRecord */ -public class InlineResponse20011ResponseRecord { +public class InlineResponse20012ResponseRecord { @SerializedName("response") private String response = null; @@ -60,9 +60,9 @@ public class InlineResponse20011ResponseRecord { private String cardType = null; @SerializedName("additionalUpdates") - private List additionalUpdates = null; + private List additionalUpdates = null; - public InlineResponse20011ResponseRecord response(String response) { + public InlineResponse20012ResponseRecord response(String response) { this.response = response; return this; } @@ -80,7 +80,7 @@ public void setResponse(String response) { this.response = response; } - public InlineResponse20011ResponseRecord reason(String reason) { + public InlineResponse20012ResponseRecord reason(String reason) { this.reason = reason; return this; } @@ -98,7 +98,7 @@ public void setReason(String reason) { this.reason = reason; } - public InlineResponse20011ResponseRecord token(String token) { + public InlineResponse20012ResponseRecord token(String token) { this.token = token; return this; } @@ -116,7 +116,7 @@ public void setToken(String token) { this.token = token; } - public InlineResponse20011ResponseRecord instrumentIdentifierId(String instrumentIdentifierId) { + public InlineResponse20012ResponseRecord instrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; return this; } @@ -134,7 +134,7 @@ public void setInstrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; } - public InlineResponse20011ResponseRecord instrumentIdentifierCreated(String instrumentIdentifierCreated) { + public InlineResponse20012ResponseRecord instrumentIdentifierCreated(String instrumentIdentifierCreated) { this.instrumentIdentifierCreated = instrumentIdentifierCreated; return this; } @@ -152,7 +152,7 @@ public void setInstrumentIdentifierCreated(String instrumentIdentifierCreated) { this.instrumentIdentifierCreated = instrumentIdentifierCreated; } - public InlineResponse20011ResponseRecord cardNumber(String cardNumber) { + public InlineResponse20012ResponseRecord cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } @@ -170,7 +170,7 @@ public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - public InlineResponse20011ResponseRecord cardExpiryMonth(String cardExpiryMonth) { + public InlineResponse20012ResponseRecord cardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; return this; } @@ -188,7 +188,7 @@ public void setCardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; } - public InlineResponse20011ResponseRecord cardExpiryYear(String cardExpiryYear) { + public InlineResponse20012ResponseRecord cardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; return this; } @@ -206,7 +206,7 @@ public void setCardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; } - public InlineResponse20011ResponseRecord cardType(String cardType) { + public InlineResponse20012ResponseRecord cardType(String cardType) { this.cardType = cardType; return this; } @@ -224,14 +224,14 @@ public void setCardType(String cardType) { this.cardType = cardType; } - public InlineResponse20011ResponseRecord additionalUpdates(List additionalUpdates) { + public InlineResponse20012ResponseRecord additionalUpdates(List additionalUpdates) { this.additionalUpdates = additionalUpdates; return this; } - public InlineResponse20011ResponseRecord addAdditionalUpdatesItem(InlineResponse20011ResponseRecordAdditionalUpdates additionalUpdatesItem) { + public InlineResponse20012ResponseRecord addAdditionalUpdatesItem(InlineResponse20012ResponseRecordAdditionalUpdates additionalUpdatesItem) { if (this.additionalUpdates == null) { - this.additionalUpdates = new ArrayList(); + this.additionalUpdates = new ArrayList(); } this.additionalUpdates.add(additionalUpdatesItem); return this; @@ -242,11 +242,11 @@ public InlineResponse20011ResponseRecord addAdditionalUpdatesItem(InlineResponse * @return additionalUpdates **/ @ApiModelProperty(value = "") - public List getAdditionalUpdates() { + public List getAdditionalUpdates() { return additionalUpdates; } - public void setAdditionalUpdates(List additionalUpdates) { + public void setAdditionalUpdates(List additionalUpdates) { this.additionalUpdates = additionalUpdates; } @@ -259,17 +259,17 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20011ResponseRecord inlineResponse20011ResponseRecord = (InlineResponse20011ResponseRecord) o; - return Objects.equals(this.response, inlineResponse20011ResponseRecord.response) && - Objects.equals(this.reason, inlineResponse20011ResponseRecord.reason) && - Objects.equals(this.token, inlineResponse20011ResponseRecord.token) && - Objects.equals(this.instrumentIdentifierId, inlineResponse20011ResponseRecord.instrumentIdentifierId) && - Objects.equals(this.instrumentIdentifierCreated, inlineResponse20011ResponseRecord.instrumentIdentifierCreated) && - Objects.equals(this.cardNumber, inlineResponse20011ResponseRecord.cardNumber) && - Objects.equals(this.cardExpiryMonth, inlineResponse20011ResponseRecord.cardExpiryMonth) && - Objects.equals(this.cardExpiryYear, inlineResponse20011ResponseRecord.cardExpiryYear) && - Objects.equals(this.cardType, inlineResponse20011ResponseRecord.cardType) && - Objects.equals(this.additionalUpdates, inlineResponse20011ResponseRecord.additionalUpdates); + InlineResponse20012ResponseRecord inlineResponse20012ResponseRecord = (InlineResponse20012ResponseRecord) o; + return Objects.equals(this.response, inlineResponse20012ResponseRecord.response) && + Objects.equals(this.reason, inlineResponse20012ResponseRecord.reason) && + Objects.equals(this.token, inlineResponse20012ResponseRecord.token) && + Objects.equals(this.instrumentIdentifierId, inlineResponse20012ResponseRecord.instrumentIdentifierId) && + Objects.equals(this.instrumentIdentifierCreated, inlineResponse20012ResponseRecord.instrumentIdentifierCreated) && + Objects.equals(this.cardNumber, inlineResponse20012ResponseRecord.cardNumber) && + Objects.equals(this.cardExpiryMonth, inlineResponse20012ResponseRecord.cardExpiryMonth) && + Objects.equals(this.cardExpiryYear, inlineResponse20012ResponseRecord.cardExpiryYear) && + Objects.equals(this.cardType, inlineResponse20012ResponseRecord.cardType) && + Objects.equals(this.additionalUpdates, inlineResponse20012ResponseRecord.additionalUpdates); } @Override @@ -281,7 +281,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20011ResponseRecord {\n"); + sb.append("class InlineResponse20012ResponseRecord {\n"); if (response != null) sb.append(" response: ").append(toIndentedString(response)).append("\n"); if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20011ResponseRecordAdditionalUpdates.java b/src/main/java/Model/InlineResponse20012ResponseRecordAdditionalUpdates.java similarity index 82% rename from src/main/java/Model/InlineResponse20011ResponseRecordAdditionalUpdates.java rename to src/main/java/Model/InlineResponse20012ResponseRecordAdditionalUpdates.java index 6009f4f21..6a36b3d95 100644 --- a/src/main/java/Model/InlineResponse20011ResponseRecordAdditionalUpdates.java +++ b/src/main/java/Model/InlineResponse20012ResponseRecordAdditionalUpdates.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse20011ResponseRecordAdditionalUpdates + * InlineResponse20012ResponseRecordAdditionalUpdates */ -public class InlineResponse20011ResponseRecordAdditionalUpdates { +public class InlineResponse20012ResponseRecordAdditionalUpdates { @SerializedName("customerId") private String customerId = null; @@ -44,7 +44,7 @@ public class InlineResponse20011ResponseRecordAdditionalUpdates { @SerializedName("message") private String message = null; - public InlineResponse20011ResponseRecordAdditionalUpdates customerId(String customerId) { + public InlineResponse20012ResponseRecordAdditionalUpdates customerId(String customerId) { this.customerId = customerId; return this; } @@ -62,7 +62,7 @@ public void setCustomerId(String customerId) { this.customerId = customerId; } - public InlineResponse20011ResponseRecordAdditionalUpdates paymentInstrumentId(String paymentInstrumentId) { + public InlineResponse20012ResponseRecordAdditionalUpdates paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } @@ -80,7 +80,7 @@ public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - public InlineResponse20011ResponseRecordAdditionalUpdates creator(String creator) { + public InlineResponse20012ResponseRecordAdditionalUpdates creator(String creator) { this.creator = creator; return this; } @@ -98,7 +98,7 @@ public void setCreator(String creator) { this.creator = creator; } - public InlineResponse20011ResponseRecordAdditionalUpdates state(String state) { + public InlineResponse20012ResponseRecordAdditionalUpdates state(String state) { this.state = state; return this; } @@ -116,7 +116,7 @@ public void setState(String state) { this.state = state; } - public InlineResponse20011ResponseRecordAdditionalUpdates message(String message) { + public InlineResponse20012ResponseRecordAdditionalUpdates message(String message) { this.message = message; return this; } @@ -143,12 +143,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20011ResponseRecordAdditionalUpdates inlineResponse20011ResponseRecordAdditionalUpdates = (InlineResponse20011ResponseRecordAdditionalUpdates) o; - return Objects.equals(this.customerId, inlineResponse20011ResponseRecordAdditionalUpdates.customerId) && - Objects.equals(this.paymentInstrumentId, inlineResponse20011ResponseRecordAdditionalUpdates.paymentInstrumentId) && - Objects.equals(this.creator, inlineResponse20011ResponseRecordAdditionalUpdates.creator) && - Objects.equals(this.state, inlineResponse20011ResponseRecordAdditionalUpdates.state) && - Objects.equals(this.message, inlineResponse20011ResponseRecordAdditionalUpdates.message); + InlineResponse20012ResponseRecordAdditionalUpdates inlineResponse20012ResponseRecordAdditionalUpdates = (InlineResponse20012ResponseRecordAdditionalUpdates) o; + return Objects.equals(this.customerId, inlineResponse20012ResponseRecordAdditionalUpdates.customerId) && + Objects.equals(this.paymentInstrumentId, inlineResponse20012ResponseRecordAdditionalUpdates.paymentInstrumentId) && + Objects.equals(this.creator, inlineResponse20012ResponseRecordAdditionalUpdates.creator) && + Objects.equals(this.state, inlineResponse20012ResponseRecordAdditionalUpdates.state) && + Objects.equals(this.message, inlineResponse20012ResponseRecordAdditionalUpdates.message); } @Override @@ -160,7 +160,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20011ResponseRecordAdditionalUpdates {\n"); + sb.append("class InlineResponse20012ResponseRecordAdditionalUpdates {\n"); if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); if (paymentInstrumentId != null) sb.append(" paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20011SourceRecord.java b/src/main/java/Model/InlineResponse20012SourceRecord.java similarity index 83% rename from src/main/java/Model/InlineResponse20011SourceRecord.java rename to src/main/java/Model/InlineResponse20012SourceRecord.java index dbc19e3eb..c9f8f810c 100644 --- a/src/main/java/Model/InlineResponse20011SourceRecord.java +++ b/src/main/java/Model/InlineResponse20012SourceRecord.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse20011SourceRecord + * InlineResponse20012SourceRecord */ -public class InlineResponse20011SourceRecord { +public class InlineResponse20012SourceRecord { @SerializedName("token") private String token = null; @@ -53,7 +53,7 @@ public class InlineResponse20011SourceRecord { @SerializedName("cardType") private String cardType = null; - public InlineResponse20011SourceRecord token(String token) { + public InlineResponse20012SourceRecord token(String token) { this.token = token; return this; } @@ -71,7 +71,7 @@ public void setToken(String token) { this.token = token; } - public InlineResponse20011SourceRecord customerId(String customerId) { + public InlineResponse20012SourceRecord customerId(String customerId) { this.customerId = customerId; return this; } @@ -89,7 +89,7 @@ public void setCustomerId(String customerId) { this.customerId = customerId; } - public InlineResponse20011SourceRecord paymentInstrumentId(String paymentInstrumentId) { + public InlineResponse20012SourceRecord paymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; return this; } @@ -107,7 +107,7 @@ public void setPaymentInstrumentId(String paymentInstrumentId) { this.paymentInstrumentId = paymentInstrumentId; } - public InlineResponse20011SourceRecord instrumentIdentifierId(String instrumentIdentifierId) { + public InlineResponse20012SourceRecord instrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; return this; } @@ -125,7 +125,7 @@ public void setInstrumentIdentifierId(String instrumentIdentifierId) { this.instrumentIdentifierId = instrumentIdentifierId; } - public InlineResponse20011SourceRecord cardNumber(String cardNumber) { + public InlineResponse20012SourceRecord cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } @@ -143,7 +143,7 @@ public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } - public InlineResponse20011SourceRecord cardExpiryMonth(String cardExpiryMonth) { + public InlineResponse20012SourceRecord cardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; return this; } @@ -161,7 +161,7 @@ public void setCardExpiryMonth(String cardExpiryMonth) { this.cardExpiryMonth = cardExpiryMonth; } - public InlineResponse20011SourceRecord cardExpiryYear(String cardExpiryYear) { + public InlineResponse20012SourceRecord cardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; return this; } @@ -179,7 +179,7 @@ public void setCardExpiryYear(String cardExpiryYear) { this.cardExpiryYear = cardExpiryYear; } - public InlineResponse20011SourceRecord cardType(String cardType) { + public InlineResponse20012SourceRecord cardType(String cardType) { this.cardType = cardType; return this; } @@ -206,15 +206,15 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse20011SourceRecord inlineResponse20011SourceRecord = (InlineResponse20011SourceRecord) o; - return Objects.equals(this.token, inlineResponse20011SourceRecord.token) && - Objects.equals(this.customerId, inlineResponse20011SourceRecord.customerId) && - Objects.equals(this.paymentInstrumentId, inlineResponse20011SourceRecord.paymentInstrumentId) && - Objects.equals(this.instrumentIdentifierId, inlineResponse20011SourceRecord.instrumentIdentifierId) && - Objects.equals(this.cardNumber, inlineResponse20011SourceRecord.cardNumber) && - Objects.equals(this.cardExpiryMonth, inlineResponse20011SourceRecord.cardExpiryMonth) && - Objects.equals(this.cardExpiryYear, inlineResponse20011SourceRecord.cardExpiryYear) && - Objects.equals(this.cardType, inlineResponse20011SourceRecord.cardType); + InlineResponse20012SourceRecord inlineResponse20012SourceRecord = (InlineResponse20012SourceRecord) o; + return Objects.equals(this.token, inlineResponse20012SourceRecord.token) && + Objects.equals(this.customerId, inlineResponse20012SourceRecord.customerId) && + Objects.equals(this.paymentInstrumentId, inlineResponse20012SourceRecord.paymentInstrumentId) && + Objects.equals(this.instrumentIdentifierId, inlineResponse20012SourceRecord.instrumentIdentifierId) && + Objects.equals(this.cardNumber, inlineResponse20012SourceRecord.cardNumber) && + Objects.equals(this.cardExpiryMonth, inlineResponse20012SourceRecord.cardExpiryMonth) && + Objects.equals(this.cardExpiryYear, inlineResponse20012SourceRecord.cardExpiryYear) && + Objects.equals(this.cardType, inlineResponse20012SourceRecord.cardType); } @Override @@ -226,7 +226,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse20011SourceRecord {\n"); + sb.append("class InlineResponse20012SourceRecord {\n"); if (token != null) sb.append(" token: ").append(toIndentedString(token)).append("\n"); if (customerId != null) sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse20013.java b/src/main/java/Model/InlineResponse20013.java new file mode 100644 index 000000000..c6cd1d9a7 --- /dev/null +++ b/src/main/java/Model/InlineResponse20013.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Bavsv1accountvalidationsClientReferenceInformation; +import Model.TssV2TransactionsGet200ResponseBankAccountValidation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse20013 + */ + +public class InlineResponse20013 { + @SerializedName("clientReferenceInformation") + private Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation = null; + + @SerializedName("requestId") + private String requestId = null; + + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + @SerializedName("bankAccountValidation") + private TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation = null; + + public InlineResponse20013 clientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public Bavsv1accountvalidationsClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(Bavsv1accountvalidationsClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + + public InlineResponse20013 requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Request Id sent as part of the request. + * @return requestId + **/ + @ApiModelProperty(value = "Request Id sent as part of the request.") + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public InlineResponse20013 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + * @return submitTimeUtc + **/ + @ApiModelProperty(value = "Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse20013 bankAccountValidation(TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation) { + this.bankAccountValidation = bankAccountValidation; + return this; + } + + /** + * Get bankAccountValidation + * @return bankAccountValidation + **/ + @ApiModelProperty(value = "") + public TssV2TransactionsGet200ResponseBankAccountValidation getBankAccountValidation() { + return bankAccountValidation; + } + + public void setBankAccountValidation(TssV2TransactionsGet200ResponseBankAccountValidation bankAccountValidation) { + this.bankAccountValidation = bankAccountValidation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse20013 inlineResponse20013 = (InlineResponse20013) o; + return Objects.equals(this.clientReferenceInformation, inlineResponse20013.clientReferenceInformation) && + Objects.equals(this.requestId, inlineResponse20013.requestId) && + Objects.equals(this.submitTimeUtc, inlineResponse20013.submitTimeUtc) && + Objects.equals(this.bankAccountValidation, inlineResponse20013.bankAccountValidation); + } + + @Override + public int hashCode() { + return Objects.hash(clientReferenceInformation, requestId, submitTimeUtc, bankAccountValidation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse20013 {\n"); + + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (requestId != null) sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (bankAccountValidation != null) sb.append(" bankAccountValidation: ").append(toIndentedString(bankAccountValidation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse2002.java b/src/main/java/Model/InlineResponse2002.java index f8b708bd0..2ad39587c 100644 --- a/src/main/java/Model/InlineResponse2002.java +++ b/src/main/java/Model/InlineResponse2002.java @@ -15,12 +15,6 @@ import java.util.Objects; import java.util.Arrays; -import Model.Boardingv1registrationsDocumentInformation; -import Model.Boardingv1registrationsOrganizationInformation; -import Model.Boardingv1registrationsProductInformation; -import Model.Boardingv1registrationsRegistrationInformation; -import Model.InlineResponse2002IntegrationInformation; -import Model.InlineResponse2013ProductInformationSetups; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -29,177 +23,262 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; /** * InlineResponse2002 */ public class InlineResponse2002 { - @SerializedName("registrationInformation") - private Boardingv1registrationsRegistrationInformation registrationInformation = null; + @SerializedName("id") + private Long id = null; - @SerializedName("integrationInformation") - private InlineResponse2002IntegrationInformation integrationInformation = null; + @SerializedName("fieldType") + private String fieldType = null; - @SerializedName("organizationInformation") - private Boardingv1registrationsOrganizationInformation organizationInformation = null; + @SerializedName("label") + private String label = null; - @SerializedName("productInformation") - private Boardingv1registrationsProductInformation productInformation = null; + @SerializedName("customerVisible") + private Boolean customerVisible = null; - @SerializedName("productInformationSetups") - private List productInformationSetups = null; + @SerializedName("textMinLength") + private Integer textMinLength = null; - @SerializedName("documentInformation") - private Boardingv1registrationsDocumentInformation documentInformation = null; + @SerializedName("textMaxLength") + private Integer textMaxLength = null; - @SerializedName("details") - private Map> details = null; + @SerializedName("possibleValues") + private String possibleValues = null; - public InlineResponse2002 registrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { - this.registrationInformation = registrationInformation; + @SerializedName("textDefaultValue") + private String textDefaultValue = null; + + @SerializedName("merchantId") + private String merchantId = null; + + @SerializedName("referenceType") + private String referenceType = null; + + @SerializedName("readOnly") + private Boolean readOnly = null; + + @SerializedName("merchantDefinedDataIndex") + private Integer merchantDefinedDataIndex = null; + + public InlineResponse2002 id(Long id) { + this.id = id; return this; } /** - * Get registrationInformation - * @return registrationInformation + * Get id + * @return id **/ @ApiModelProperty(value = "") - public Boardingv1registrationsRegistrationInformation getRegistrationInformation() { - return registrationInformation; + public Long getId() { + return id; } - public void setRegistrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { - this.registrationInformation = registrationInformation; + public void setId(Long id) { + this.id = id; } - public InlineResponse2002 integrationInformation(InlineResponse2002IntegrationInformation integrationInformation) { - this.integrationInformation = integrationInformation; + public InlineResponse2002 fieldType(String fieldType) { + this.fieldType = fieldType; return this; } /** - * Get integrationInformation - * @return integrationInformation + * Get fieldType + * @return fieldType **/ @ApiModelProperty(value = "") - public InlineResponse2002IntegrationInformation getIntegrationInformation() { - return integrationInformation; + public String getFieldType() { + return fieldType; } - public void setIntegrationInformation(InlineResponse2002IntegrationInformation integrationInformation) { - this.integrationInformation = integrationInformation; + public void setFieldType(String fieldType) { + this.fieldType = fieldType; } - public InlineResponse2002 organizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { - this.organizationInformation = organizationInformation; + public InlineResponse2002 label(String label) { + this.label = label; return this; } /** - * Get organizationInformation - * @return organizationInformation + * Get label + * @return label **/ @ApiModelProperty(value = "") - public Boardingv1registrationsOrganizationInformation getOrganizationInformation() { - return organizationInformation; + public String getLabel() { + return label; } - public void setOrganizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { - this.organizationInformation = organizationInformation; + public void setLabel(String label) { + this.label = label; } - public InlineResponse2002 productInformation(Boardingv1registrationsProductInformation productInformation) { - this.productInformation = productInformation; + public InlineResponse2002 customerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; return this; } /** - * Get productInformation - * @return productInformation + * Get customerVisible + * @return customerVisible **/ @ApiModelProperty(value = "") - public Boardingv1registrationsProductInformation getProductInformation() { - return productInformation; + public Boolean CustomerVisible() { + return customerVisible; } - public void setProductInformation(Boardingv1registrationsProductInformation productInformation) { - this.productInformation = productInformation; + public void setCustomerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; } - public InlineResponse2002 productInformationSetups(List productInformationSetups) { - this.productInformationSetups = productInformationSetups; + public InlineResponse2002 textMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; return this; } - public InlineResponse2002 addProductInformationSetupsItem(InlineResponse2013ProductInformationSetups productInformationSetupsItem) { - if (this.productInformationSetups == null) { - this.productInformationSetups = new ArrayList(); - } - this.productInformationSetups.add(productInformationSetupsItem); + /** + * Get textMinLength + * @return textMinLength + **/ + @ApiModelProperty(value = "") + public Integer getTextMinLength() { + return textMinLength; + } + + public void setTextMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + } + + public InlineResponse2002 textMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; return this; } /** - * Get productInformationSetups - * @return productInformationSetups + * Get textMaxLength + * @return textMaxLength **/ @ApiModelProperty(value = "") - public List getProductInformationSetups() { - return productInformationSetups; + public Integer getTextMaxLength() { + return textMaxLength; } - public void setProductInformationSetups(List productInformationSetups) { - this.productInformationSetups = productInformationSetups; + public void setTextMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; } - public InlineResponse2002 documentInformation(Boardingv1registrationsDocumentInformation documentInformation) { - this.documentInformation = documentInformation; + public InlineResponse2002 possibleValues(String possibleValues) { + this.possibleValues = possibleValues; return this; } /** - * Get documentInformation - * @return documentInformation + * Get possibleValues + * @return possibleValues **/ @ApiModelProperty(value = "") - public Boardingv1registrationsDocumentInformation getDocumentInformation() { - return documentInformation; + public String getPossibleValues() { + return possibleValues; } - public void setDocumentInformation(Boardingv1registrationsDocumentInformation documentInformation) { - this.documentInformation = documentInformation; + public void setPossibleValues(String possibleValues) { + this.possibleValues = possibleValues; } - public InlineResponse2002 details(Map> details) { - this.details = details; + public InlineResponse2002 textDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; return this; } - public InlineResponse2002 putDetailsItem(String key, List detailsItem) { - if (this.details == null) { - this.details = new HashMap>(); - } - this.details.put(key, detailsItem); + /** + * Get textDefaultValue + * @return textDefaultValue + **/ + @ApiModelProperty(value = "") + public String getTextDefaultValue() { + return textDefaultValue; + } + + public void setTextDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + } + + public InlineResponse2002 merchantId(String merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Get merchantId + * @return merchantId + **/ + @ApiModelProperty(value = "") + public String getMerchantId() { + return merchantId; + } + + public void setMerchantId(String merchantId) { + this.merchantId = merchantId; + } + + public InlineResponse2002 referenceType(String referenceType) { + this.referenceType = referenceType; + return this; + } + + /** + * Get referenceType + * @return referenceType + **/ + @ApiModelProperty(value = "") + public String getReferenceType() { + return referenceType; + } + + public void setReferenceType(String referenceType) { + this.referenceType = referenceType; + } + + public InlineResponse2002 readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Get readOnly + * @return readOnly + **/ + @ApiModelProperty(value = "") + public Boolean ReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public InlineResponse2002 merchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; return this; } /** - * Get details - * @return details + * Get merchantDefinedDataIndex + * @return merchantDefinedDataIndex **/ @ApiModelProperty(value = "") - public Map> getDetails() { - return details; + public Integer getMerchantDefinedDataIndex() { + return merchantDefinedDataIndex; } - public void setDetails(Map> details) { - this.details = details; + public void setMerchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; } @@ -212,18 +291,23 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2002 inlineResponse2002 = (InlineResponse2002) o; - return Objects.equals(this.registrationInformation, inlineResponse2002.registrationInformation) && - Objects.equals(this.integrationInformation, inlineResponse2002.integrationInformation) && - Objects.equals(this.organizationInformation, inlineResponse2002.organizationInformation) && - Objects.equals(this.productInformation, inlineResponse2002.productInformation) && - Objects.equals(this.productInformationSetups, inlineResponse2002.productInformationSetups) && - Objects.equals(this.documentInformation, inlineResponse2002.documentInformation) && - Objects.equals(this.details, inlineResponse2002.details); + return Objects.equals(this.id, inlineResponse2002.id) && + Objects.equals(this.fieldType, inlineResponse2002.fieldType) && + Objects.equals(this.label, inlineResponse2002.label) && + Objects.equals(this.customerVisible, inlineResponse2002.customerVisible) && + Objects.equals(this.textMinLength, inlineResponse2002.textMinLength) && + Objects.equals(this.textMaxLength, inlineResponse2002.textMaxLength) && + Objects.equals(this.possibleValues, inlineResponse2002.possibleValues) && + Objects.equals(this.textDefaultValue, inlineResponse2002.textDefaultValue) && + Objects.equals(this.merchantId, inlineResponse2002.merchantId) && + Objects.equals(this.referenceType, inlineResponse2002.referenceType) && + Objects.equals(this.readOnly, inlineResponse2002.readOnly) && + Objects.equals(this.merchantDefinedDataIndex, inlineResponse2002.merchantDefinedDataIndex); } @Override public int hashCode() { - return Objects.hash(registrationInformation, integrationInformation, organizationInformation, productInformation, productInformationSetups, documentInformation, details); + return Objects.hash(id, fieldType, label, customerVisible, textMinLength, textMaxLength, possibleValues, textDefaultValue, merchantId, referenceType, readOnly, merchantDefinedDataIndex); } @@ -232,13 +316,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2002 {\n"); - if (registrationInformation != null) sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); - if (integrationInformation != null) sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); - if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); - if (productInformation != null) sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); - if (productInformationSetups != null) sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); - if (documentInformation != null) sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); - if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (fieldType != null) sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + if (label != null) sb.append(" label: ").append(toIndentedString(label)).append("\n"); + if (customerVisible != null) sb.append(" customerVisible: ").append(toIndentedString(customerVisible)).append("\n"); + if (textMinLength != null) sb.append(" textMinLength: ").append(toIndentedString(textMinLength)).append("\n"); + if (textMaxLength != null) sb.append(" textMaxLength: ").append(toIndentedString(textMaxLength)).append("\n"); + if (possibleValues != null) sb.append(" possibleValues: ").append(toIndentedString(possibleValues)).append("\n"); + if (textDefaultValue != null) sb.append(" textDefaultValue: ").append(toIndentedString(textDefaultValue)).append("\n"); + if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + if (referenceType != null) sb.append(" referenceType: ").append(toIndentedString(referenceType)).append("\n"); + if (readOnly != null) sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + if (merchantDefinedDataIndex != null) sb.append(" merchantDefinedDataIndex: ").append(toIndentedString(merchantDefinedDataIndex)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2003.java b/src/main/java/Model/InlineResponse2003.java index 20a8d2263..3295be691 100644 --- a/src/main/java/Model/InlineResponse2003.java +++ b/src/main/java/Model/InlineResponse2003.java @@ -15,7 +15,12 @@ import java.util.Objects; import java.util.Arrays; -import Model.Notificationsubscriptionsv2productsorganizationIdEventTypes; +import Model.Boardingv1registrationsDocumentInformation; +import Model.Boardingv1registrationsOrganizationInformation; +import Model.Boardingv1registrationsProductInformation; +import Model.Boardingv1registrationsRegistrationInformation; +import Model.InlineResponse2003IntegrationInformation; +import Model.InlineResponse2013ProductInformationSetups; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -25,82 +30,176 @@ import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; /** * InlineResponse2003 */ public class InlineResponse2003 { - @SerializedName("productId") - private String productId = null; + @SerializedName("registrationInformation") + private Boardingv1registrationsRegistrationInformation registrationInformation = null; - @SerializedName("productName") - private String productName = null; + @SerializedName("integrationInformation") + private InlineResponse2003IntegrationInformation integrationInformation = null; - @SerializedName("eventTypes") - private List eventTypes = null; + @SerializedName("organizationInformation") + private Boardingv1registrationsOrganizationInformation organizationInformation = null; - public InlineResponse2003 productId(String productId) { - this.productId = productId; + @SerializedName("productInformation") + private Boardingv1registrationsProductInformation productInformation = null; + + @SerializedName("productInformationSetups") + private List productInformationSetups = null; + + @SerializedName("documentInformation") + private Boardingv1registrationsDocumentInformation documentInformation = null; + + @SerializedName("details") + private Map> details = null; + + public InlineResponse2003 registrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { + this.registrationInformation = registrationInformation; + return this; + } + + /** + * Get registrationInformation + * @return registrationInformation + **/ + @ApiModelProperty(value = "") + public Boardingv1registrationsRegistrationInformation getRegistrationInformation() { + return registrationInformation; + } + + public void setRegistrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) { + this.registrationInformation = registrationInformation; + } + + public InlineResponse2003 integrationInformation(InlineResponse2003IntegrationInformation integrationInformation) { + this.integrationInformation = integrationInformation; + return this; + } + + /** + * Get integrationInformation + * @return integrationInformation + **/ + @ApiModelProperty(value = "") + public InlineResponse2003IntegrationInformation getIntegrationInformation() { + return integrationInformation; + } + + public void setIntegrationInformation(InlineResponse2003IntegrationInformation integrationInformation) { + this.integrationInformation = integrationInformation; + } + + public InlineResponse2003 organizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { + this.organizationInformation = organizationInformation; + return this; + } + + /** + * Get organizationInformation + * @return organizationInformation + **/ + @ApiModelProperty(value = "") + public Boardingv1registrationsOrganizationInformation getOrganizationInformation() { + return organizationInformation; + } + + public void setOrganizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) { + this.organizationInformation = organizationInformation; + } + + public InlineResponse2003 productInformation(Boardingv1registrationsProductInformation productInformation) { + this.productInformation = productInformation; return this; } /** - * Product ID. - * @return productId + * Get productInformation + * @return productInformation **/ - @ApiModelProperty(value = "Product ID.") - public String getProductId() { - return productId; + @ApiModelProperty(value = "") + public Boardingv1registrationsProductInformation getProductInformation() { + return productInformation; } - public void setProductId(String productId) { - this.productId = productId; + public void setProductInformation(Boardingv1registrationsProductInformation productInformation) { + this.productInformation = productInformation; } - public InlineResponse2003 productName(String productName) { - this.productName = productName; + public InlineResponse2003 productInformationSetups(List productInformationSetups) { + this.productInformationSetups = productInformationSetups; + return this; + } + + public InlineResponse2003 addProductInformationSetupsItem(InlineResponse2013ProductInformationSetups productInformationSetupsItem) { + if (this.productInformationSetups == null) { + this.productInformationSetups = new ArrayList(); + } + this.productInformationSetups.add(productInformationSetupsItem); + return this; + } + + /** + * Get productInformationSetups + * @return productInformationSetups + **/ + @ApiModelProperty(value = "") + public List getProductInformationSetups() { + return productInformationSetups; + } + + public void setProductInformationSetups(List productInformationSetups) { + this.productInformationSetups = productInformationSetups; + } + + public InlineResponse2003 documentInformation(Boardingv1registrationsDocumentInformation documentInformation) { + this.documentInformation = documentInformation; return this; } /** - * Product Name. - * @return productName + * Get documentInformation + * @return documentInformation **/ - @ApiModelProperty(value = "Product Name.") - public String getProductName() { - return productName; + @ApiModelProperty(value = "") + public Boardingv1registrationsDocumentInformation getDocumentInformation() { + return documentInformation; } - public void setProductName(String productName) { - this.productName = productName; + public void setDocumentInformation(Boardingv1registrationsDocumentInformation documentInformation) { + this.documentInformation = documentInformation; } - public InlineResponse2003 eventTypes(List eventTypes) { - this.eventTypes = eventTypes; + public InlineResponse2003 details(Map> details) { + this.details = details; return this; } - public InlineResponse2003 addEventTypesItem(Notificationsubscriptionsv2productsorganizationIdEventTypes eventTypesItem) { - if (this.eventTypes == null) { - this.eventTypes = new ArrayList(); + public InlineResponse2003 putDetailsItem(String key, List detailsItem) { + if (this.details == null) { + this.details = new HashMap>(); } - this.eventTypes.add(eventTypesItem); + this.details.put(key, detailsItem); return this; } /** - * Get eventTypes - * @return eventTypes + * Get details + * @return details **/ @ApiModelProperty(value = "") - public List getEventTypes() { - return eventTypes; + public Map> getDetails() { + return details; } - public void setEventTypes(List eventTypes) { - this.eventTypes = eventTypes; + public void setDetails(Map> details) { + this.details = details; } @@ -113,14 +212,18 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2003 inlineResponse2003 = (InlineResponse2003) o; - return Objects.equals(this.productId, inlineResponse2003.productId) && - Objects.equals(this.productName, inlineResponse2003.productName) && - Objects.equals(this.eventTypes, inlineResponse2003.eventTypes); + return Objects.equals(this.registrationInformation, inlineResponse2003.registrationInformation) && + Objects.equals(this.integrationInformation, inlineResponse2003.integrationInformation) && + Objects.equals(this.organizationInformation, inlineResponse2003.organizationInformation) && + Objects.equals(this.productInformation, inlineResponse2003.productInformation) && + Objects.equals(this.productInformationSetups, inlineResponse2003.productInformationSetups) && + Objects.equals(this.documentInformation, inlineResponse2003.documentInformation) && + Objects.equals(this.details, inlineResponse2003.details); } @Override public int hashCode() { - return Objects.hash(productId, productName, eventTypes); + return Objects.hash(registrationInformation, integrationInformation, organizationInformation, productInformation, productInformationSetups, documentInformation, details); } @@ -129,9 +232,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2003 {\n"); - if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); - if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); - if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); + if (registrationInformation != null) sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n"); + if (integrationInformation != null) sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n"); + if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); + if (productInformation != null) sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n"); + if (productInformationSetups != null) sb.append(" productInformationSetups: ").append(toIndentedString(productInformationSetups)).append("\n"); + if (documentInformation != null) sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2002IntegrationInformation.java b/src/main/java/Model/InlineResponse2003IntegrationInformation.java similarity index 77% rename from src/main/java/Model/InlineResponse2002IntegrationInformation.java rename to src/main/java/Model/InlineResponse2003IntegrationInformation.java index 6ee1685d5..42c98dbdd 100644 --- a/src/main/java/Model/InlineResponse2002IntegrationInformation.java +++ b/src/main/java/Model/InlineResponse2003IntegrationInformation.java @@ -16,7 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.Boardingv1registrationsIntegrationInformationOauth2; -import Model.InlineResponse2002IntegrationInformationTenantConfigurations; +import Model.InlineResponse2003IntegrationInformationTenantConfigurations; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -29,22 +29,22 @@ import java.util.List; /** - * InlineResponse2002IntegrationInformation + * InlineResponse2003IntegrationInformation */ -public class InlineResponse2002IntegrationInformation { +public class InlineResponse2003IntegrationInformation { @SerializedName("oauth2") private List oauth2 = null; @SerializedName("tenantConfigurations") - private List tenantConfigurations = null; + private List tenantConfigurations = null; - public InlineResponse2002IntegrationInformation oauth2(List oauth2) { + public InlineResponse2003IntegrationInformation oauth2(List oauth2) { this.oauth2 = oauth2; return this; } - public InlineResponse2002IntegrationInformation addOauth2Item(Boardingv1registrationsIntegrationInformationOauth2 oauth2Item) { + public InlineResponse2003IntegrationInformation addOauth2Item(Boardingv1registrationsIntegrationInformationOauth2 oauth2Item) { if (this.oauth2 == null) { this.oauth2 = new ArrayList(); } @@ -65,14 +65,14 @@ public void setOauth2(List this.oauth2 = oauth2; } - public InlineResponse2002IntegrationInformation tenantConfigurations(List tenantConfigurations) { + public InlineResponse2003IntegrationInformation tenantConfigurations(List tenantConfigurations) { this.tenantConfigurations = tenantConfigurations; return this; } - public InlineResponse2002IntegrationInformation addTenantConfigurationsItem(InlineResponse2002IntegrationInformationTenantConfigurations tenantConfigurationsItem) { + public InlineResponse2003IntegrationInformation addTenantConfigurationsItem(InlineResponse2003IntegrationInformationTenantConfigurations tenantConfigurationsItem) { if (this.tenantConfigurations == null) { - this.tenantConfigurations = new ArrayList(); + this.tenantConfigurations = new ArrayList(); } this.tenantConfigurations.add(tenantConfigurationsItem); return this; @@ -83,11 +83,11 @@ public InlineResponse2002IntegrationInformation addTenantConfigurationsItem(Inli * @return tenantConfigurations **/ @ApiModelProperty(value = "tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.") - public List getTenantConfigurations() { + public List getTenantConfigurations() { return tenantConfigurations; } - public void setTenantConfigurations(List tenantConfigurations) { + public void setTenantConfigurations(List tenantConfigurations) { this.tenantConfigurations = tenantConfigurations; } @@ -100,9 +100,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2002IntegrationInformation inlineResponse2002IntegrationInformation = (InlineResponse2002IntegrationInformation) o; - return Objects.equals(this.oauth2, inlineResponse2002IntegrationInformation.oauth2) && - Objects.equals(this.tenantConfigurations, inlineResponse2002IntegrationInformation.tenantConfigurations); + InlineResponse2003IntegrationInformation inlineResponse2003IntegrationInformation = (InlineResponse2003IntegrationInformation) o; + return Objects.equals(this.oauth2, inlineResponse2003IntegrationInformation.oauth2) && + Objects.equals(this.tenantConfigurations, inlineResponse2003IntegrationInformation.tenantConfigurations); } @Override @@ -114,7 +114,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2002IntegrationInformation {\n"); + sb.append("class InlineResponse2003IntegrationInformation {\n"); if (oauth2 != null) sb.append(" oauth2: ").append(toIndentedString(oauth2)).append("\n"); if (tenantConfigurations != null) sb.append(" tenantConfigurations: ").append(toIndentedString(tenantConfigurations)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2002IntegrationInformationTenantConfigurations.java b/src/main/java/Model/InlineResponse2003IntegrationInformationTenantConfigurations.java similarity index 85% rename from src/main/java/Model/InlineResponse2002IntegrationInformationTenantConfigurations.java rename to src/main/java/Model/InlineResponse2003IntegrationInformationTenantConfigurations.java index 06bfb0584..0b7af246f 100644 --- a/src/main/java/Model/InlineResponse2002IntegrationInformationTenantConfigurations.java +++ b/src/main/java/Model/InlineResponse2003IntegrationInformationTenantConfigurations.java @@ -27,10 +27,10 @@ import org.joda.time.DateTime; /** - * InlineResponse2002IntegrationInformationTenantConfigurations + * InlineResponse2003IntegrationInformationTenantConfigurations */ -public class InlineResponse2002IntegrationInformationTenantConfigurations { +public class InlineResponse2003IntegrationInformationTenantConfigurations { @SerializedName("solutionId") private String solutionId = null; @@ -46,7 +46,7 @@ public class InlineResponse2002IntegrationInformationTenantConfigurations { @SerializedName("tenantInformation") private Boardingv1registrationsIntegrationInformationTenantInformation tenantInformation = null; - public InlineResponse2002IntegrationInformationTenantConfigurations solutionId(String solutionId) { + public InlineResponse2003IntegrationInformationTenantConfigurations solutionId(String solutionId) { this.solutionId = solutionId; return this; } @@ -64,7 +64,7 @@ public void setSolutionId(String solutionId) { this.solutionId = solutionId; } - public InlineResponse2002IntegrationInformationTenantConfigurations tenantConfigurationId(String tenantConfigurationId) { + public InlineResponse2003IntegrationInformationTenantConfigurations tenantConfigurationId(String tenantConfigurationId) { this.tenantConfigurationId = tenantConfigurationId; return this; } @@ -82,7 +82,7 @@ public void setTenantConfigurationId(String tenantConfigurationId) { this.tenantConfigurationId = tenantConfigurationId; } - public InlineResponse2002IntegrationInformationTenantConfigurations status(String status) { + public InlineResponse2003IntegrationInformationTenantConfigurations status(String status) { this.status = status; return this; } @@ -100,7 +100,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2002IntegrationInformationTenantConfigurations submitTimeUtc(DateTime submitTimeUtc) { + public InlineResponse2003IntegrationInformationTenantConfigurations submitTimeUtc(DateTime submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; return this; } @@ -118,7 +118,7 @@ public void setSubmitTimeUtc(DateTime submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; } - public InlineResponse2002IntegrationInformationTenantConfigurations tenantInformation(Boardingv1registrationsIntegrationInformationTenantInformation tenantInformation) { + public InlineResponse2003IntegrationInformationTenantConfigurations tenantInformation(Boardingv1registrationsIntegrationInformationTenantInformation tenantInformation) { this.tenantInformation = tenantInformation; return this; } @@ -145,12 +145,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2002IntegrationInformationTenantConfigurations inlineResponse2002IntegrationInformationTenantConfigurations = (InlineResponse2002IntegrationInformationTenantConfigurations) o; - return Objects.equals(this.solutionId, inlineResponse2002IntegrationInformationTenantConfigurations.solutionId) && - Objects.equals(this.tenantConfigurationId, inlineResponse2002IntegrationInformationTenantConfigurations.tenantConfigurationId) && - Objects.equals(this.status, inlineResponse2002IntegrationInformationTenantConfigurations.status) && - Objects.equals(this.submitTimeUtc, inlineResponse2002IntegrationInformationTenantConfigurations.submitTimeUtc) && - Objects.equals(this.tenantInformation, inlineResponse2002IntegrationInformationTenantConfigurations.tenantInformation); + InlineResponse2003IntegrationInformationTenantConfigurations inlineResponse2003IntegrationInformationTenantConfigurations = (InlineResponse2003IntegrationInformationTenantConfigurations) o; + return Objects.equals(this.solutionId, inlineResponse2003IntegrationInformationTenantConfigurations.solutionId) && + Objects.equals(this.tenantConfigurationId, inlineResponse2003IntegrationInformationTenantConfigurations.tenantConfigurationId) && + Objects.equals(this.status, inlineResponse2003IntegrationInformationTenantConfigurations.status) && + Objects.equals(this.submitTimeUtc, inlineResponse2003IntegrationInformationTenantConfigurations.submitTimeUtc) && + Objects.equals(this.tenantInformation, inlineResponse2003IntegrationInformationTenantConfigurations.tenantInformation); } @Override @@ -162,7 +162,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2002IntegrationInformationTenantConfigurations {\n"); + sb.append("class InlineResponse2003IntegrationInformationTenantConfigurations {\n"); if (solutionId != null) sb.append(" solutionId: ").append(toIndentedString(solutionId)).append("\n"); if (tenantConfigurationId != null) sb.append(" tenantConfigurationId: ").append(toIndentedString(tenantConfigurationId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2004.java b/src/main/java/Model/InlineResponse2004.java index 5f1bffa11..df2395d0d 100644 --- a/src/main/java/Model/InlineResponse2004.java +++ b/src/main/java/Model/InlineResponse2004.java @@ -15,9 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Notificationsubscriptionsv2webhooksProducts; -import Model.Notificationsubscriptionsv2webhooksRetryPolicy; -import Model.Notificationsubscriptionsv2webhooksSecurityPolicy; +import Model.Notificationsubscriptionsv2productsorganizationIdEventTypes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,264 +32,75 @@ */ public class InlineResponse2004 { - @SerializedName("webhookId") - private String webhookId = null; + @SerializedName("productId") + private String productId = null; - @SerializedName("organizationId") - private String organizationId = null; + @SerializedName("productName") + private String productName = null; - @SerializedName("products") - private List products = null; + @SerializedName("eventTypes") + private List eventTypes = null; - @SerializedName("webhookUrl") - private String webhookUrl = null; - - @SerializedName("healthCheckUrl") - private String healthCheckUrl = null; - - @SerializedName("status") - private String status = "INACTIVE"; - - @SerializedName("name") - private String name = null; - - @SerializedName("description") - private String description = null; - - @SerializedName("retryPolicy") - private Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy = null; - - @SerializedName("securityPolicy") - private Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy = null; - - @SerializedName("createdOn") - private String createdOn = null; - - @SerializedName("notificationScope") - private String notificationScope = "DESCENDANTS"; - - public InlineResponse2004 webhookId(String webhookId) { - this.webhookId = webhookId; + public InlineResponse2004 productId(String productId) { + this.productId = productId; return this; } /** - * Webhook Id. This is generated by the server. - * @return webhookId + * Product ID. + * @return productId **/ - @ApiModelProperty(value = "Webhook Id. This is generated by the server.") - public String getWebhookId() { - return webhookId; + @ApiModelProperty(value = "Product ID.") + public String getProductId() { + return productId; } - public void setWebhookId(String webhookId) { - this.webhookId = webhookId; + public void setProductId(String productId) { + this.productId = productId; } - public InlineResponse2004 organizationId(String organizationId) { - this.organizationId = organizationId; + public InlineResponse2004 productName(String productName) { + this.productName = productName; return this; } /** - * Organization ID. - * @return organizationId + * Product Name. + * @return productName **/ - @ApiModelProperty(value = "Organization ID.") - public String getOrganizationId() { - return organizationId; + @ApiModelProperty(value = "Product Name.") + public String getProductName() { + return productName; } - public void setOrganizationId(String organizationId) { - this.organizationId = organizationId; + public void setProductName(String productName) { + this.productName = productName; } - public InlineResponse2004 products(List products) { - this.products = products; + public InlineResponse2004 eventTypes(List eventTypes) { + this.eventTypes = eventTypes; return this; } - public InlineResponse2004 addProductsItem(Notificationsubscriptionsv2webhooksProducts productsItem) { - if (this.products == null) { - this.products = new ArrayList(); + public InlineResponse2004 addEventTypesItem(Notificationsubscriptionsv2productsorganizationIdEventTypes eventTypesItem) { + if (this.eventTypes == null) { + this.eventTypes = new ArrayList(); } - this.products.add(productsItem); - return this; - } - - /** - * Get products - * @return products - **/ - @ApiModelProperty(value = "") - public List getProducts() { - return products; - } - - public void setProducts(List products) { - this.products = products; - } - - public InlineResponse2004 webhookUrl(String webhookUrl) { - this.webhookUrl = webhookUrl; - return this; - } - - /** - * The client's endpoint (URL) to receive webhooks. - * @return webhookUrl - **/ - @ApiModelProperty(value = "The client's endpoint (URL) to receive webhooks.") - public String getWebhookUrl() { - return webhookUrl; - } - - public void setWebhookUrl(String webhookUrl) { - this.webhookUrl = webhookUrl; - } - - public InlineResponse2004 healthCheckUrl(String healthCheckUrl) { - this.healthCheckUrl = healthCheckUrl; - return this; - } - - /** - * The client's health check endpoint (URL). - * @return healthCheckUrl - **/ - @ApiModelProperty(value = "The client's health check endpoint (URL).") - public String getHealthCheckUrl() { - return healthCheckUrl; - } - - public void setHealthCheckUrl(String healthCheckUrl) { - this.healthCheckUrl = healthCheckUrl; - } - - public InlineResponse2004 status(String status) { - this.status = status; - return this; - } - - /** - * Webhook status. - * @return status - **/ - @ApiModelProperty(value = "Webhook status.") - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - public InlineResponse2004 name(String name) { - this.name = name; + this.eventTypes.add(eventTypesItem); return this; } /** - * Client friendly webhook name. - * @return name - **/ - @ApiModelProperty(value = "Client friendly webhook name.") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public InlineResponse2004 description(String description) { - this.description = description; - return this; - } - - /** - * Client friendly webhook description. - * @return description - **/ - @ApiModelProperty(value = "Client friendly webhook description.") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public InlineResponse2004 retryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { - this.retryPolicy = retryPolicy; - return this; - } - - /** - * Get retryPolicy - * @return retryPolicy - **/ - @ApiModelProperty(value = "") - public Notificationsubscriptionsv2webhooksRetryPolicy getRetryPolicy() { - return retryPolicy; - } - - public void setRetryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { - this.retryPolicy = retryPolicy; - } - - public InlineResponse2004 securityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { - this.securityPolicy = securityPolicy; - return this; - } - - /** - * Get securityPolicy - * @return securityPolicy + * Get eventTypes + * @return eventTypes **/ @ApiModelProperty(value = "") - public Notificationsubscriptionsv2webhooksSecurityPolicy getSecurityPolicy() { - return securityPolicy; - } - - public void setSecurityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { - this.securityPolicy = securityPolicy; - } - - public InlineResponse2004 createdOn(String createdOn) { - this.createdOn = createdOn; - return this; - } - - /** - * Date on which webhook was created/registered. - * @return createdOn - **/ - @ApiModelProperty(value = "Date on which webhook was created/registered.") - public String getCreatedOn() { - return createdOn; - } - - public void setCreatedOn(String createdOn) { - this.createdOn = createdOn; - } - - public InlineResponse2004 notificationScope(String notificationScope) { - this.notificationScope = notificationScope; - return this; - } - - /** - * 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. This field is optional. Possible values: - SELF - DESCENDANTS - * @return notificationScope - **/ - @ApiModelProperty(value = "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. This field is optional. Possible values: - SELF - DESCENDANTS") - public String getNotificationScope() { - return notificationScope; + public List getEventTypes() { + return eventTypes; } - public void setNotificationScope(String notificationScope) { - this.notificationScope = notificationScope; + public void setEventTypes(List eventTypes) { + this.eventTypes = eventTypes; } @@ -304,23 +113,14 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2004 inlineResponse2004 = (InlineResponse2004) o; - return Objects.equals(this.webhookId, inlineResponse2004.webhookId) && - Objects.equals(this.organizationId, inlineResponse2004.organizationId) && - Objects.equals(this.products, inlineResponse2004.products) && - Objects.equals(this.webhookUrl, inlineResponse2004.webhookUrl) && - Objects.equals(this.healthCheckUrl, inlineResponse2004.healthCheckUrl) && - Objects.equals(this.status, inlineResponse2004.status) && - Objects.equals(this.name, inlineResponse2004.name) && - Objects.equals(this.description, inlineResponse2004.description) && - Objects.equals(this.retryPolicy, inlineResponse2004.retryPolicy) && - Objects.equals(this.securityPolicy, inlineResponse2004.securityPolicy) && - Objects.equals(this.createdOn, inlineResponse2004.createdOn) && - Objects.equals(this.notificationScope, inlineResponse2004.notificationScope); + return Objects.equals(this.productId, inlineResponse2004.productId) && + Objects.equals(this.productName, inlineResponse2004.productName) && + Objects.equals(this.eventTypes, inlineResponse2004.eventTypes); } @Override public int hashCode() { - return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, notificationScope); + return Objects.hash(productId, productName, eventTypes); } @@ -329,18 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2004 {\n"); - if (webhookId != null) sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); - if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); - if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); - if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); - if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); - if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); - if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); - if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); - if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); - if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (productName != null) sb.append(" productName: ").append(toIndentedString(productName)).append("\n"); + if (eventTypes != null) sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2005.java b/src/main/java/Model/InlineResponse2005.java index 92ef1b4b7..8707f6319 100644 --- a/src/main/java/Model/InlineResponse2005.java +++ b/src/main/java/Model/InlineResponse2005.java @@ -67,9 +67,6 @@ public class InlineResponse2005 { @SerializedName("createdOn") private String createdOn = null; - @SerializedName("updatedOn") - private String updatedOn = null; - @SerializedName("notificationScope") private String notificationScope = "DESCENDANTS"; @@ -279,24 +276,6 @@ public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } - public InlineResponse2005 updatedOn(String updatedOn) { - this.updatedOn = updatedOn; - return this; - } - - /** - * Date on which webhook was most recently updated. - * @return updatedOn - **/ - @ApiModelProperty(value = "Date on which webhook was most recently updated.") - public String getUpdatedOn() { - return updatedOn; - } - - public void setUpdatedOn(String updatedOn) { - this.updatedOn = updatedOn; - } - public InlineResponse2005 notificationScope(String notificationScope) { this.notificationScope = notificationScope; return this; @@ -336,13 +315,12 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.retryPolicy, inlineResponse2005.retryPolicy) && Objects.equals(this.securityPolicy, inlineResponse2005.securityPolicy) && Objects.equals(this.createdOn, inlineResponse2005.createdOn) && - Objects.equals(this.updatedOn, inlineResponse2005.updatedOn) && Objects.equals(this.notificationScope, inlineResponse2005.notificationScope); } @Override public int hashCode() { - return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, updatedOn, notificationScope); + return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, notificationScope); } @@ -362,7 +340,6 @@ public String toString() { if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); - if (updatedOn != null) sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/InlineResponse2006.java b/src/main/java/Model/InlineResponse2006.java index 3df35fd86..33ce967d4 100644 --- a/src/main/java/Model/InlineResponse2006.java +++ b/src/main/java/Model/InlineResponse2006.java @@ -15,7 +15,9 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2006Devices; +import Model.Notificationsubscriptionsv2webhooksProducts; +import Model.Notificationsubscriptionsv2webhooksRetryPolicy; +import Model.Notificationsubscriptionsv2webhooksSecurityPolicy; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,138 +34,285 @@ */ public class InlineResponse2006 { - @SerializedName("totalCount") - private Integer totalCount = null; + @SerializedName("webhookId") + private String webhookId = null; - @SerializedName("offset") - private Integer offset = null; + @SerializedName("organizationId") + private String organizationId = null; - @SerializedName("limit") - private Integer limit = null; + @SerializedName("products") + private List products = null; - @SerializedName("sort") - private String sort = null; + @SerializedName("webhookUrl") + private String webhookUrl = null; - @SerializedName("count") - private Integer count = null; + @SerializedName("healthCheckUrl") + private String healthCheckUrl = null; - @SerializedName("devices") - private List devices = null; + @SerializedName("status") + private String status = "INACTIVE"; - public InlineResponse2006 totalCount(Integer totalCount) { - this.totalCount = totalCount; + @SerializedName("name") + private String name = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("retryPolicy") + private Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy = null; + + @SerializedName("securityPolicy") + private Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy = null; + + @SerializedName("createdOn") + private String createdOn = null; + + @SerializedName("updatedOn") + private String updatedOn = null; + + @SerializedName("notificationScope") + private String notificationScope = "DESCENDANTS"; + + public InlineResponse2006 webhookId(String webhookId) { + this.webhookId = webhookId; return this; } /** - * Total number of results. - * @return totalCount + * Webhook Id. This is generated by the server. + * @return webhookId **/ - @ApiModelProperty(value = "Total number of results.") - public Integer getTotalCount() { - return totalCount; + @ApiModelProperty(value = "Webhook Id. This is generated by the server.") + public String getWebhookId() { + return webhookId; } - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; + public void setWebhookId(String webhookId) { + this.webhookId = webhookId; } - public InlineResponse2006 offset(Integer offset) { - this.offset = offset; + public InlineResponse2006 organizationId(String organizationId) { + this.organizationId = organizationId; return this; } /** - * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - * @return offset + * Organization ID. + * @return organizationId **/ - @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") - public Integer getOffset() { - return offset; + @ApiModelProperty(value = "Organization ID.") + public String getOrganizationId() { + return organizationId; + } + + public void setOrganizationId(String organizationId) { + this.organizationId = organizationId; } - public void setOffset(Integer offset) { - this.offset = offset; + public InlineResponse2006 products(List products) { + this.products = products; + return this; } - public InlineResponse2006 limit(Integer limit) { - this.limit = limit; + public InlineResponse2006 addProductsItem(Notificationsubscriptionsv2webhooksProducts productsItem) { + if (this.products == null) { + this.products = new ArrayList(); + } + this.products.add(productsItem); return this; } /** - * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - * @return limit + * Get products + * @return products **/ - @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") - public Integer getLimit() { - return limit; + @ApiModelProperty(value = "") + public List getProducts() { + return products; } - public void setLimit(Integer limit) { - this.limit = limit; + public void setProducts(List products) { + this.products = products; } - public InlineResponse2006 sort(String sort) { - this.sort = sort; + public InlineResponse2006 webhookUrl(String webhookUrl) { + this.webhookUrl = webhookUrl; return this; } /** - * A comma separated list of the following form: `submitTimeUtc:desc` - * @return sort + * The client's endpoint (URL) to receive webhooks. + * @return webhookUrl **/ - @ApiModelProperty(value = "A comma separated list of the following form: `submitTimeUtc:desc` ") - public String getSort() { - return sort; + @ApiModelProperty(value = "The client's endpoint (URL) to receive webhooks.") + public String getWebhookUrl() { + return webhookUrl; } - public void setSort(String sort) { - this.sort = sort; + public void setWebhookUrl(String webhookUrl) { + this.webhookUrl = webhookUrl; } - public InlineResponse2006 count(Integer count) { - this.count = count; + public InlineResponse2006 healthCheckUrl(String healthCheckUrl) { + this.healthCheckUrl = healthCheckUrl; return this; } /** - * Results for this page, this could be below the limit. - * @return count + * The client's health check endpoint (URL). + * @return healthCheckUrl **/ - @ApiModelProperty(value = "Results for this page, this could be below the limit.") - public Integer getCount() { - return count; + @ApiModelProperty(value = "The client's health check endpoint (URL).") + public String getHealthCheckUrl() { + return healthCheckUrl; } - public void setCount(Integer count) { - this.count = count; + public void setHealthCheckUrl(String healthCheckUrl) { + this.healthCheckUrl = healthCheckUrl; } - public InlineResponse2006 devices(List devices) { - this.devices = devices; + public InlineResponse2006 status(String status) { + this.status = status; return this; } - public InlineResponse2006 addDevicesItem(InlineResponse2006Devices devicesItem) { - if (this.devices == null) { - this.devices = new ArrayList(); - } - this.devices.add(devicesItem); + /** + * Webhook status. + * @return status + **/ + @ApiModelProperty(value = "Webhook status.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse2006 name(String name) { + this.name = name; + return this; + } + + /** + * Client friendly webhook name. + * @return name + **/ + @ApiModelProperty(value = "Client friendly webhook name.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public InlineResponse2006 description(String description) { + this.description = description; + return this; + } + + /** + * Client friendly webhook description. + * @return description + **/ + @ApiModelProperty(value = "Client friendly webhook description.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public InlineResponse2006 retryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + return this; + } + + /** + * Get retryPolicy + * @return retryPolicy + **/ + @ApiModelProperty(value = "") + public Notificationsubscriptionsv2webhooksRetryPolicy getRetryPolicy() { + return retryPolicy; + } + + public void setRetryPolicy(Notificationsubscriptionsv2webhooksRetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + } + + public InlineResponse2006 securityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { + this.securityPolicy = securityPolicy; + return this; + } + + /** + * Get securityPolicy + * @return securityPolicy + **/ + @ApiModelProperty(value = "") + public Notificationsubscriptionsv2webhooksSecurityPolicy getSecurityPolicy() { + return securityPolicy; + } + + public void setSecurityPolicy(Notificationsubscriptionsv2webhooksSecurityPolicy securityPolicy) { + this.securityPolicy = securityPolicy; + } + + public InlineResponse2006 createdOn(String createdOn) { + this.createdOn = createdOn; + return this; + } + + /** + * Date on which webhook was created/registered. + * @return createdOn + **/ + @ApiModelProperty(value = "Date on which webhook was created/registered.") + public String getCreatedOn() { + return createdOn; + } + + public void setCreatedOn(String createdOn) { + this.createdOn = createdOn; + } + + public InlineResponse2006 updatedOn(String updatedOn) { + this.updatedOn = updatedOn; + return this; + } + + /** + * Date on which webhook was most recently updated. + * @return updatedOn + **/ + @ApiModelProperty(value = "Date on which webhook was most recently updated.") + public String getUpdatedOn() { + return updatedOn; + } + + public void setUpdatedOn(String updatedOn) { + this.updatedOn = updatedOn; + } + + public InlineResponse2006 notificationScope(String notificationScope) { + this.notificationScope = notificationScope; return this; } /** - * A collection of devices - * @return devices + * 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. This field is optional. Possible values: - SELF - DESCENDANTS + * @return notificationScope **/ - @ApiModelProperty(value = "A collection of devices") - public List getDevices() { - return devices; + @ApiModelProperty(value = "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. This field is optional. Possible values: - SELF - DESCENDANTS") + public String getNotificationScope() { + return notificationScope; } - public void setDevices(List devices) { - this.devices = devices; + public void setNotificationScope(String notificationScope) { + this.notificationScope = notificationScope; } @@ -176,17 +325,24 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2006 inlineResponse2006 = (InlineResponse2006) o; - return Objects.equals(this.totalCount, inlineResponse2006.totalCount) && - Objects.equals(this.offset, inlineResponse2006.offset) && - Objects.equals(this.limit, inlineResponse2006.limit) && - Objects.equals(this.sort, inlineResponse2006.sort) && - Objects.equals(this.count, inlineResponse2006.count) && - Objects.equals(this.devices, inlineResponse2006.devices); + return Objects.equals(this.webhookId, inlineResponse2006.webhookId) && + Objects.equals(this.organizationId, inlineResponse2006.organizationId) && + Objects.equals(this.products, inlineResponse2006.products) && + Objects.equals(this.webhookUrl, inlineResponse2006.webhookUrl) && + Objects.equals(this.healthCheckUrl, inlineResponse2006.healthCheckUrl) && + Objects.equals(this.status, inlineResponse2006.status) && + Objects.equals(this.name, inlineResponse2006.name) && + Objects.equals(this.description, inlineResponse2006.description) && + Objects.equals(this.retryPolicy, inlineResponse2006.retryPolicy) && + Objects.equals(this.securityPolicy, inlineResponse2006.securityPolicy) && + Objects.equals(this.createdOn, inlineResponse2006.createdOn) && + Objects.equals(this.updatedOn, inlineResponse2006.updatedOn) && + Objects.equals(this.notificationScope, inlineResponse2006.notificationScope); } @Override public int hashCode() { - return Objects.hash(totalCount, offset, limit, sort, count, devices); + return Objects.hash(webhookId, organizationId, products, webhookUrl, healthCheckUrl, status, name, description, retryPolicy, securityPolicy, createdOn, updatedOn, notificationScope); } @@ -195,12 +351,19 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2006 {\n"); - if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); - if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); + if (webhookId != null) sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); + if (webhookUrl != null) sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + if (healthCheckUrl != null) sb.append(" healthCheckUrl: ").append(toIndentedString(healthCheckUrl)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n"); + if (retryPolicy != null) sb.append(" retryPolicy: ").append(toIndentedString(retryPolicy)).append("\n"); + if (securityPolicy != null) sb.append(" securityPolicy: ").append(toIndentedString(securityPolicy)).append("\n"); + if (createdOn != null) sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); + if (updatedOn != null) sb.append(" updatedOn: ").append(toIndentedString(updatedOn)).append("\n"); + if (notificationScope != null) sb.append(" notificationScope: ").append(toIndentedString(notificationScope)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2007.java b/src/main/java/Model/InlineResponse2007.java index ff1598841..5154c2432 100644 --- a/src/main/java/Model/InlineResponse2007.java +++ b/src/main/java/Model/InlineResponse2007.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Dmsv3devicesdeassociateDevices; +import Model.InlineResponse2007Devices; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,53 +32,137 @@ */ public class InlineResponse2007 { - @SerializedName("status") - private String status = null; + @SerializedName("totalCount") + private Integer totalCount = null; + + @SerializedName("offset") + private Integer offset = null; + + @SerializedName("limit") + private Integer limit = null; + + @SerializedName("sort") + private String sort = null; + + @SerializedName("count") + private Integer count = null; @SerializedName("devices") - private List devices = null; + private List devices = null; + + public InlineResponse2007 totalCount(Integer totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Total number of results. + * @return totalCount + **/ + @ApiModelProperty(value = "Total number of results.") + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public InlineResponse2007 offset(Integer offset) { + this.offset = offset; + return this; + } + + /** + * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + * @return offset + **/ + @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public InlineResponse2007 limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + * @return limit + **/ + @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public InlineResponse2007 sort(String sort) { + this.sort = sort; + return this; + } + + /** + * A comma separated list of the following form: `submitTimeUtc:desc` + * @return sort + **/ + @ApiModelProperty(value = "A comma separated list of the following form: `submitTimeUtc:desc` ") + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } - public InlineResponse2007 status(String status) { - this.status = status; + public InlineResponse2007 count(Integer count) { + this.count = count; return this; } /** - * Possible values: - OK - * @return status + * Results for this page, this could be below the limit. + * @return count **/ - @ApiModelProperty(value = "Possible values: - OK") - public String getStatus() { - return status; + @ApiModelProperty(value = "Results for this page, this could be below the limit.") + public Integer getCount() { + return count; } - public void setStatus(String status) { - this.status = status; + public void setCount(Integer count) { + this.count = count; } - public InlineResponse2007 devices(List devices) { + public InlineResponse2007 devices(List devices) { this.devices = devices; return this; } - public InlineResponse2007 addDevicesItem(Dmsv3devicesdeassociateDevices devicesItem) { + public InlineResponse2007 addDevicesItem(InlineResponse2007Devices devicesItem) { if (this.devices == null) { - this.devices = new ArrayList(); + this.devices = new ArrayList(); } this.devices.add(devicesItem); return this; } /** - * Get devices + * A collection of devices * @return devices **/ - @ApiModelProperty(value = "") - public List getDevices() { + @ApiModelProperty(value = "A collection of devices") + public List getDevices() { return devices; } - public void setDevices(List devices) { + public void setDevices(List devices) { this.devices = devices; } @@ -92,13 +176,17 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2007 inlineResponse2007 = (InlineResponse2007) o; - return Objects.equals(this.status, inlineResponse2007.status) && + return Objects.equals(this.totalCount, inlineResponse2007.totalCount) && + Objects.equals(this.offset, inlineResponse2007.offset) && + Objects.equals(this.limit, inlineResponse2007.limit) && + Objects.equals(this.sort, inlineResponse2007.sort) && + Objects.equals(this.count, inlineResponse2007.count) && Objects.equals(this.devices, inlineResponse2007.devices); } @Override public int hashCode() { - return Objects.hash(status, devices); + return Objects.hash(totalCount, offset, limit, sort, count, devices); } @@ -107,7 +195,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2007 {\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); + if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/InlineResponse2006Devices.java b/src/main/java/Model/InlineResponse2007Devices.java similarity index 82% rename from src/main/java/Model/InlineResponse2006Devices.java rename to src/main/java/Model/InlineResponse2007Devices.java index cf55e55ab..55c647c83 100644 --- a/src/main/java/Model/InlineResponse2006Devices.java +++ b/src/main/java/Model/InlineResponse2007Devices.java @@ -25,10 +25,10 @@ import java.io.IOException; /** - * InlineResponse2006Devices + * InlineResponse2007Devices */ -public class InlineResponse2006Devices { +public class InlineResponse2007Devices { @SerializedName("readerId") private String readerId = null; @@ -56,7 +56,7 @@ public class InlineResponse2006Devices { @SerializedName("pin") private String pin = null; - public InlineResponse2006Devices readerId(String readerId) { + public InlineResponse2007Devices readerId(String readerId) { this.readerId = readerId; return this; } @@ -74,7 +74,7 @@ public void setReaderId(String readerId) { this.readerId = readerId; } - public InlineResponse2006Devices terminalSerialNumber(String terminalSerialNumber) { + public InlineResponse2007Devices terminalSerialNumber(String terminalSerialNumber) { this.terminalSerialNumber = terminalSerialNumber; return this; } @@ -92,7 +92,7 @@ public void setTerminalSerialNumber(String terminalSerialNumber) { this.terminalSerialNumber = terminalSerialNumber; } - public InlineResponse2006Devices terminalId(String terminalId) { + public InlineResponse2007Devices terminalId(String terminalId) { this.terminalId = terminalId; return this; } @@ -110,7 +110,7 @@ public void setTerminalId(String terminalId) { this.terminalId = terminalId; } - public InlineResponse2006Devices model(String model) { + public InlineResponse2007Devices model(String model) { this.model = model; return this; } @@ -128,7 +128,7 @@ public void setModel(String model) { this.model = model; } - public InlineResponse2006Devices make(String make) { + public InlineResponse2007Devices make(String make) { this.make = make; return this; } @@ -146,7 +146,7 @@ public void setMake(String make) { this.make = make; } - public InlineResponse2006Devices hardwareRevision(String hardwareRevision) { + public InlineResponse2007Devices hardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; return this; } @@ -164,7 +164,7 @@ public void setHardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; } - public InlineResponse2006Devices status(String status) { + public InlineResponse2007Devices status(String status) { this.status = status; return this; } @@ -182,7 +182,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2006Devices creationDate(String creationDate) { + public InlineResponse2007Devices creationDate(String creationDate) { this.creationDate = creationDate; return this; } @@ -200,7 +200,7 @@ public void setCreationDate(String creationDate) { this.creationDate = creationDate; } - public InlineResponse2006Devices pin(String pin) { + public InlineResponse2007Devices pin(String pin) { this.pin = pin; return this; } @@ -227,16 +227,16 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2006Devices inlineResponse2006Devices = (InlineResponse2006Devices) o; - return Objects.equals(this.readerId, inlineResponse2006Devices.readerId) && - Objects.equals(this.terminalSerialNumber, inlineResponse2006Devices.terminalSerialNumber) && - Objects.equals(this.terminalId, inlineResponse2006Devices.terminalId) && - Objects.equals(this.model, inlineResponse2006Devices.model) && - Objects.equals(this.make, inlineResponse2006Devices.make) && - Objects.equals(this.hardwareRevision, inlineResponse2006Devices.hardwareRevision) && - Objects.equals(this.status, inlineResponse2006Devices.status) && - Objects.equals(this.creationDate, inlineResponse2006Devices.creationDate) && - Objects.equals(this.pin, inlineResponse2006Devices.pin); + InlineResponse2007Devices inlineResponse2007Devices = (InlineResponse2007Devices) o; + return Objects.equals(this.readerId, inlineResponse2007Devices.readerId) && + Objects.equals(this.terminalSerialNumber, inlineResponse2007Devices.terminalSerialNumber) && + Objects.equals(this.terminalId, inlineResponse2007Devices.terminalId) && + Objects.equals(this.model, inlineResponse2007Devices.model) && + Objects.equals(this.make, inlineResponse2007Devices.make) && + Objects.equals(this.hardwareRevision, inlineResponse2007Devices.hardwareRevision) && + Objects.equals(this.status, inlineResponse2007Devices.status) && + Objects.equals(this.creationDate, inlineResponse2007Devices.creationDate) && + Objects.equals(this.pin, inlineResponse2007Devices.pin); } @Override @@ -248,7 +248,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2006Devices {\n"); + sb.append("class InlineResponse2007Devices {\n"); if (readerId != null) sb.append(" readerId: ").append(toIndentedString(readerId)).append("\n"); if (terminalSerialNumber != null) sb.append(" terminalSerialNumber: ").append(toIndentedString(terminalSerialNumber)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2008.java b/src/main/java/Model/InlineResponse2008.java index 65b6e706a..58db3d75e 100644 --- a/src/main/java/Model/InlineResponse2008.java +++ b/src/main/java/Model/InlineResponse2008.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2008Devices; +import Model.Dmsv3devicesdeassociateDevices; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,137 +32,53 @@ */ public class InlineResponse2008 { - @SerializedName("totalCount") - private Integer totalCount = null; - - @SerializedName("offset") - private Integer offset = null; - - @SerializedName("limit") - private Integer limit = null; - - @SerializedName("sort") - private String sort = null; - - @SerializedName("count") - private Integer count = null; + @SerializedName("status") + private String status = null; @SerializedName("devices") - private List devices = null; - - public InlineResponse2008 totalCount(Integer totalCount) { - this.totalCount = totalCount; - return this; - } - - /** - * Total number of results. - * @return totalCount - **/ - @ApiModelProperty(value = "Total number of results.") - public Integer getTotalCount() { - return totalCount; - } - - public void setTotalCount(Integer totalCount) { - this.totalCount = totalCount; - } - - public InlineResponse2008 offset(Integer offset) { - this.offset = offset; - return this; - } - - /** - * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - * @return offset - **/ - @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") - public Integer getOffset() { - return offset; - } - - public void setOffset(Integer offset) { - this.offset = offset; - } - - public InlineResponse2008 limit(Integer limit) { - this.limit = limit; - return this; - } - - /** - * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - * @return limit - **/ - @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") - public Integer getLimit() { - return limit; - } - - public void setLimit(Integer limit) { - this.limit = limit; - } - - public InlineResponse2008 sort(String sort) { - this.sort = sort; - return this; - } - - /** - * A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` - * @return sort - **/ - @ApiModelProperty(value = "A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` ") - public String getSort() { - return sort; - } - - public void setSort(String sort) { - this.sort = sort; - } + private List devices = null; - public InlineResponse2008 count(Integer count) { - this.count = count; + public InlineResponse2008 status(String status) { + this.status = status; return this; } /** - * Results for this page, this could be below the limit. - * @return count + * Possible values: - OK + * @return status **/ - @ApiModelProperty(value = "Results for this page, this could be below the limit.") - public Integer getCount() { - return count; + @ApiModelProperty(value = "Possible values: - OK") + public String getStatus() { + return status; } - public void setCount(Integer count) { - this.count = count; + public void setStatus(String status) { + this.status = status; } - public InlineResponse2008 devices(List devices) { + public InlineResponse2008 devices(List devices) { this.devices = devices; return this; } - public InlineResponse2008 addDevicesItem(InlineResponse2008Devices devicesItem) { + public InlineResponse2008 addDevicesItem(Dmsv3devicesdeassociateDevices devicesItem) { if (this.devices == null) { - this.devices = new ArrayList(); + this.devices = new ArrayList(); } this.devices.add(devicesItem); return this; } /** - * A collection of devices + * Get devices * @return devices **/ - @ApiModelProperty(value = "A collection of devices") - public List getDevices() { + @ApiModelProperty(value = "") + public List getDevices() { return devices; } - public void setDevices(List devices) { + public void setDevices(List devices) { this.devices = devices; } @@ -176,17 +92,13 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2008 inlineResponse2008 = (InlineResponse2008) o; - return Objects.equals(this.totalCount, inlineResponse2008.totalCount) && - Objects.equals(this.offset, inlineResponse2008.offset) && - Objects.equals(this.limit, inlineResponse2008.limit) && - Objects.equals(this.sort, inlineResponse2008.sort) && - Objects.equals(this.count, inlineResponse2008.count) && + return Objects.equals(this.status, inlineResponse2008.status) && Objects.equals(this.devices, inlineResponse2008.devices); } @Override public int hashCode() { - return Objects.hash(totalCount, offset, limit, sort, count, devices); + return Objects.hash(status, devices); } @@ -195,11 +107,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2008 {\n"); - if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); - if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); - if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); - if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); - if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/InlineResponse2009.java b/src/main/java/Model/InlineResponse2009.java index c96e6db76..b88dc5a95 100644 --- a/src/main/java/Model/InlineResponse2009.java +++ b/src/main/java/Model/InlineResponse2009.java @@ -15,8 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2009Embedded; -import Model.InlineResponse2009Links; +import Model.InlineResponse2009Devices; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -33,11 +32,8 @@ */ public class InlineResponse2009 { - @SerializedName("_links") - private List links = null; - - @SerializedName("object") - private String object = null; + @SerializedName("totalCount") + private Integer totalCount = null; @SerializedName("offset") private Integer offset = null; @@ -45,57 +41,31 @@ public class InlineResponse2009 { @SerializedName("limit") private Integer limit = null; + @SerializedName("sort") + private String sort = null; + @SerializedName("count") private Integer count = null; - @SerializedName("total") - private Integer total = null; - - @SerializedName("_embedded") - private InlineResponse2009Embedded embedded = null; - - public InlineResponse2009 links(List links) { - this.links = links; - return this; - } - - public InlineResponse2009 addLinksItem(InlineResponse2009Links linksItem) { - if (this.links == null) { - this.links = new ArrayList(); - } - this.links.add(linksItem); - return this; - } - - /** - * Get links - * @return links - **/ - @ApiModelProperty(value = "") - public List getLinks() { - return links; - } - - public void setLinks(List links) { - this.links = links; - } + @SerializedName("devices") + private List devices = null; - public InlineResponse2009 object(String object) { - this.object = object; + public InlineResponse2009 totalCount(Integer totalCount) { + this.totalCount = totalCount; return this; } /** - * Get object - * @return object + * Total number of results. + * @return totalCount **/ - @ApiModelProperty(example = "collection", value = "") - public String getObject() { - return object; + @ApiModelProperty(value = "Total number of results.") + public Integer getTotalCount() { + return totalCount; } - public void setObject(String object) { - this.object = object; + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; } public InlineResponse2009 offset(Integer offset) { @@ -104,10 +74,10 @@ public InlineResponse2009 offset(Integer offset) { } /** - * Get offset + * Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. * @return offset **/ - @ApiModelProperty(example = "0", value = "") + @ApiModelProperty(value = "Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. ") public Integer getOffset() { return offset; } @@ -122,10 +92,10 @@ public InlineResponse2009 limit(Integer limit) { } /** - * Get limit + * Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. * @return limit **/ - @ApiModelProperty(example = "20", value = "") + @ApiModelProperty(value = "Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. ") public Integer getLimit() { return limit; } @@ -134,16 +104,34 @@ public void setLimit(Integer limit) { this.limit = limit; } + public InlineResponse2009 sort(String sort) { + this.sort = sort; + return this; + } + + /** + * A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` + * @return sort + **/ + @ApiModelProperty(value = "A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` ") + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } + public InlineResponse2009 count(Integer count) { this.count = count; return this; } /** - * Get count + * Results for this page, this could be below the limit. * @return count **/ - @ApiModelProperty(example = "1", value = "") + @ApiModelProperty(value = "Results for this page, this could be below the limit.") public Integer getCount() { return count; } @@ -152,40 +140,30 @@ public void setCount(Integer count) { this.count = count; } - public InlineResponse2009 total(Integer total) { - this.total = total; + public InlineResponse2009 devices(List devices) { + this.devices = devices; return this; } - /** - * Get total - * @return total - **/ - @ApiModelProperty(example = "1", value = "") - public Integer getTotal() { - return total; - } - - public void setTotal(Integer total) { - this.total = total; - } - - public InlineResponse2009 embedded(InlineResponse2009Embedded embedded) { - this.embedded = embedded; + public InlineResponse2009 addDevicesItem(InlineResponse2009Devices devicesItem) { + if (this.devices == null) { + this.devices = new ArrayList(); + } + this.devices.add(devicesItem); return this; } /** - * Get embedded - * @return embedded + * A collection of devices + * @return devices **/ - @ApiModelProperty(value = "") - public InlineResponse2009Embedded getEmbedded() { - return embedded; + @ApiModelProperty(value = "A collection of devices") + public List getDevices() { + return devices; } - public void setEmbedded(InlineResponse2009Embedded embedded) { - this.embedded = embedded; + public void setDevices(List devices) { + this.devices = devices; } @@ -198,18 +176,17 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse2009 inlineResponse2009 = (InlineResponse2009) o; - return Objects.equals(this.links, inlineResponse2009.links) && - Objects.equals(this.object, inlineResponse2009.object) && + return Objects.equals(this.totalCount, inlineResponse2009.totalCount) && Objects.equals(this.offset, inlineResponse2009.offset) && Objects.equals(this.limit, inlineResponse2009.limit) && + Objects.equals(this.sort, inlineResponse2009.sort) && Objects.equals(this.count, inlineResponse2009.count) && - Objects.equals(this.total, inlineResponse2009.total) && - Objects.equals(this.embedded, inlineResponse2009.embedded); + Objects.equals(this.devices, inlineResponse2009.devices); } @Override public int hashCode() { - return Objects.hash(links, object, offset, limit, count, total, embedded); + return Objects.hash(totalCount, offset, limit, sort, count, devices); } @@ -218,13 +195,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse2009 {\n"); - if (links != null) sb.append(" links: ").append(toIndentedString(links)).append("\n"); - if (object != null) sb.append(" object: ").append(toIndentedString(object)).append("\n"); + if (totalCount != null) sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); if (offset != null) sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); if (limit != null) sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + if (sort != null) sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); if (count != null) sb.append(" count: ").append(toIndentedString(count)).append("\n"); - if (total != null) sb.append(" total: ").append(toIndentedString(total)).append("\n"); - if (embedded != null) sb.append(" embedded: ").append(toIndentedString(embedded)).append("\n"); + if (devices != null) sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse2008Devices.java b/src/main/java/Model/InlineResponse2009Devices.java similarity index 81% rename from src/main/java/Model/InlineResponse2008Devices.java rename to src/main/java/Model/InlineResponse2009Devices.java index d57fea4fe..b4e5aad7a 100644 --- a/src/main/java/Model/InlineResponse2008Devices.java +++ b/src/main/java/Model/InlineResponse2009Devices.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse2008PaymentProcessorToTerminalMap; +import Model.InlineResponse2009PaymentProcessorToTerminalMap; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -27,10 +27,10 @@ import org.joda.time.DateTime; /** - * InlineResponse2008Devices + * InlineResponse2009Devices */ -public class InlineResponse2008Devices { +public class InlineResponse2009Devices { @SerializedName("readerId") private String readerId = null; @@ -65,9 +65,9 @@ public class InlineResponse2008Devices { private DateTime terminalUpdationDate = null; @SerializedName("paymentProcessorToTerminalMap") - private InlineResponse2008PaymentProcessorToTerminalMap paymentProcessorToTerminalMap = null; + private InlineResponse2009PaymentProcessorToTerminalMap paymentProcessorToTerminalMap = null; - public InlineResponse2008Devices readerId(String readerId) { + public InlineResponse2009Devices readerId(String readerId) { this.readerId = readerId; return this; } @@ -85,7 +85,7 @@ public void setReaderId(String readerId) { this.readerId = readerId; } - public InlineResponse2008Devices serialNumber(String serialNumber) { + public InlineResponse2009Devices serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } @@ -103,7 +103,7 @@ public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; } - public InlineResponse2008Devices model(String model) { + public InlineResponse2009Devices model(String model) { this.model = model; return this; } @@ -121,7 +121,7 @@ public void setModel(String model) { this.model = model; } - public InlineResponse2008Devices make(String make) { + public InlineResponse2009Devices make(String make) { this.make = make; return this; } @@ -139,7 +139,7 @@ public void setMake(String make) { this.make = make; } - public InlineResponse2008Devices hardwareRevision(String hardwareRevision) { + public InlineResponse2009Devices hardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; return this; } @@ -157,7 +157,7 @@ public void setHardwareRevision(String hardwareRevision) { this.hardwareRevision = hardwareRevision; } - public InlineResponse2008Devices status(String status) { + public InlineResponse2009Devices status(String status) { this.status = status; return this; } @@ -175,7 +175,7 @@ public void setStatus(String status) { this.status = status; } - public InlineResponse2008Devices statusChangeReason(String statusChangeReason) { + public InlineResponse2009Devices statusChangeReason(String statusChangeReason) { this.statusChangeReason = statusChangeReason; return this; } @@ -193,7 +193,7 @@ public void setStatusChangeReason(String statusChangeReason) { this.statusChangeReason = statusChangeReason; } - public InlineResponse2008Devices merchantId(String merchantId) { + public InlineResponse2009Devices merchantId(String merchantId) { this.merchantId = merchantId; return this; } @@ -211,7 +211,7 @@ public void setMerchantId(String merchantId) { this.merchantId = merchantId; } - public InlineResponse2008Devices accountId(String accountId) { + public InlineResponse2009Devices accountId(String accountId) { this.accountId = accountId; return this; } @@ -229,7 +229,7 @@ public void setAccountId(String accountId) { this.accountId = accountId; } - public InlineResponse2008Devices terminalCreationDate(DateTime terminalCreationDate) { + public InlineResponse2009Devices terminalCreationDate(DateTime terminalCreationDate) { this.terminalCreationDate = terminalCreationDate; return this; } @@ -247,7 +247,7 @@ public void setTerminalCreationDate(DateTime terminalCreationDate) { this.terminalCreationDate = terminalCreationDate; } - public InlineResponse2008Devices terminalUpdationDate(DateTime terminalUpdationDate) { + public InlineResponse2009Devices terminalUpdationDate(DateTime terminalUpdationDate) { this.terminalUpdationDate = terminalUpdationDate; return this; } @@ -265,7 +265,7 @@ public void setTerminalUpdationDate(DateTime terminalUpdationDate) { this.terminalUpdationDate = terminalUpdationDate; } - public InlineResponse2008Devices paymentProcessorToTerminalMap(InlineResponse2008PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { + public InlineResponse2009Devices paymentProcessorToTerminalMap(InlineResponse2009PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { this.paymentProcessorToTerminalMap = paymentProcessorToTerminalMap; return this; } @@ -275,11 +275,11 @@ public InlineResponse2008Devices paymentProcessorToTerminalMap(InlineResponse200 * @return paymentProcessorToTerminalMap **/ @ApiModelProperty(value = "") - public InlineResponse2008PaymentProcessorToTerminalMap getPaymentProcessorToTerminalMap() { + public InlineResponse2009PaymentProcessorToTerminalMap getPaymentProcessorToTerminalMap() { return paymentProcessorToTerminalMap; } - public void setPaymentProcessorToTerminalMap(InlineResponse2008PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { + public void setPaymentProcessorToTerminalMap(InlineResponse2009PaymentProcessorToTerminalMap paymentProcessorToTerminalMap) { this.paymentProcessorToTerminalMap = paymentProcessorToTerminalMap; } @@ -292,19 +292,19 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2008Devices inlineResponse2008Devices = (InlineResponse2008Devices) o; - return Objects.equals(this.readerId, inlineResponse2008Devices.readerId) && - Objects.equals(this.serialNumber, inlineResponse2008Devices.serialNumber) && - Objects.equals(this.model, inlineResponse2008Devices.model) && - Objects.equals(this.make, inlineResponse2008Devices.make) && - Objects.equals(this.hardwareRevision, inlineResponse2008Devices.hardwareRevision) && - Objects.equals(this.status, inlineResponse2008Devices.status) && - Objects.equals(this.statusChangeReason, inlineResponse2008Devices.statusChangeReason) && - Objects.equals(this.merchantId, inlineResponse2008Devices.merchantId) && - Objects.equals(this.accountId, inlineResponse2008Devices.accountId) && - Objects.equals(this.terminalCreationDate, inlineResponse2008Devices.terminalCreationDate) && - Objects.equals(this.terminalUpdationDate, inlineResponse2008Devices.terminalUpdationDate) && - Objects.equals(this.paymentProcessorToTerminalMap, inlineResponse2008Devices.paymentProcessorToTerminalMap); + InlineResponse2009Devices inlineResponse2009Devices = (InlineResponse2009Devices) o; + return Objects.equals(this.readerId, inlineResponse2009Devices.readerId) && + Objects.equals(this.serialNumber, inlineResponse2009Devices.serialNumber) && + Objects.equals(this.model, inlineResponse2009Devices.model) && + Objects.equals(this.make, inlineResponse2009Devices.make) && + Objects.equals(this.hardwareRevision, inlineResponse2009Devices.hardwareRevision) && + Objects.equals(this.status, inlineResponse2009Devices.status) && + Objects.equals(this.statusChangeReason, inlineResponse2009Devices.statusChangeReason) && + Objects.equals(this.merchantId, inlineResponse2009Devices.merchantId) && + Objects.equals(this.accountId, inlineResponse2009Devices.accountId) && + Objects.equals(this.terminalCreationDate, inlineResponse2009Devices.terminalCreationDate) && + Objects.equals(this.terminalUpdationDate, inlineResponse2009Devices.terminalUpdationDate) && + Objects.equals(this.paymentProcessorToTerminalMap, inlineResponse2009Devices.paymentProcessorToTerminalMap); } @Override @@ -316,7 +316,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2008Devices {\n"); + sb.append("class InlineResponse2009Devices {\n"); if (readerId != null) sb.append(" readerId: ").append(toIndentedString(readerId)).append("\n"); if (serialNumber != null) sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2008PaymentProcessorToTerminalMap.java b/src/main/java/Model/InlineResponse2009PaymentProcessorToTerminalMap.java similarity index 84% rename from src/main/java/Model/InlineResponse2008PaymentProcessorToTerminalMap.java rename to src/main/java/Model/InlineResponse2009PaymentProcessorToTerminalMap.java index e9f88e767..72b936c44 100644 --- a/src/main/java/Model/InlineResponse2008PaymentProcessorToTerminalMap.java +++ b/src/main/java/Model/InlineResponse2009PaymentProcessorToTerminalMap.java @@ -29,14 +29,14 @@ */ @ApiModel(description = "Mapping between processor and Terminal.") -public class InlineResponse2008PaymentProcessorToTerminalMap { +public class InlineResponse2009PaymentProcessorToTerminalMap { @SerializedName("processor") private String processor = null; @SerializedName("terminalId") private String terminalId = null; - public InlineResponse2008PaymentProcessorToTerminalMap processor(String processor) { + public InlineResponse2009PaymentProcessorToTerminalMap processor(String processor) { this.processor = processor; return this; } @@ -54,7 +54,7 @@ public void setProcessor(String processor) { this.processor = processor; } - public InlineResponse2008PaymentProcessorToTerminalMap terminalId(String terminalId) { + public InlineResponse2009PaymentProcessorToTerminalMap terminalId(String terminalId) { this.terminalId = terminalId; return this; } @@ -81,9 +81,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2008PaymentProcessorToTerminalMap inlineResponse2008PaymentProcessorToTerminalMap = (InlineResponse2008PaymentProcessorToTerminalMap) o; - return Objects.equals(this.processor, inlineResponse2008PaymentProcessorToTerminalMap.processor) && - Objects.equals(this.terminalId, inlineResponse2008PaymentProcessorToTerminalMap.terminalId); + InlineResponse2009PaymentProcessorToTerminalMap inlineResponse2009PaymentProcessorToTerminalMap = (InlineResponse2009PaymentProcessorToTerminalMap) o; + return Objects.equals(this.processor, inlineResponse2009PaymentProcessorToTerminalMap.processor) && + Objects.equals(this.terminalId, inlineResponse2009PaymentProcessorToTerminalMap.terminalId); } @Override @@ -95,7 +95,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2008PaymentProcessorToTerminalMap {\n"); + sb.append("class InlineResponse2009PaymentProcessorToTerminalMap {\n"); if (processor != null) sb.append(" processor: ").append(toIndentedString(processor)).append("\n"); if (terminalId != null) sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); diff --git a/src/main/java/Model/InlineResponse2012PayoutInformationPullFunds.java b/src/main/java/Model/InlineResponse2012PayoutInformationPullFunds.java index 5e33cdfb0..4820f2a75 100644 --- a/src/main/java/Model/InlineResponse2012PayoutInformationPullFunds.java +++ b/src/main/java/Model/InlineResponse2012PayoutInformationPullFunds.java @@ -41,10 +41,10 @@ public InlineResponse2012PayoutInformationPullFunds domesticParticipant(String d } /** - * This field indicates if domestic AFTs (pull funds) are allowed. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` + * This field indicates if domestic AFTs (pull funds) are allowed. Possible values: - `true` - `false` * @return domesticParticipant **/ - @ApiModelProperty(value = "This field indicates if domestic AFTs (pull funds) are allowed. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` ") + @ApiModelProperty(value = "This field indicates if domestic AFTs (pull funds) are allowed. Possible values: - `true` - `false` ") public String getDomesticParticipant() { return domesticParticipant; } @@ -59,10 +59,10 @@ public InlineResponse2012PayoutInformationPullFunds crossBorderParticipant(Strin } /** - * This field indicates if cross-border AFTs (pull funds) are allowed. Note: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` + * This field indicates if cross-border AFTs (pull funds) are allowed. Possible values: - `true` - `false` * @return crossBorderParticipant **/ - @ApiModelProperty(value = "This field indicates if cross-border AFTs (pull funds) are allowed. Note: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` ") + @ApiModelProperty(value = "This field indicates if cross-border AFTs (pull funds) are allowed. Possible values: - `true` - `false` ") public String getCrossBorderParticipant() { return crossBorderParticipant; } diff --git a/src/main/java/Model/InlineResponse2012PayoutInformationPushFunds.java b/src/main/java/Model/InlineResponse2012PayoutInformationPushFunds.java index 5441bc169..5116cc67a 100644 --- a/src/main/java/Model/InlineResponse2012PayoutInformationPushFunds.java +++ b/src/main/java/Model/InlineResponse2012PayoutInformationPushFunds.java @@ -293,10 +293,10 @@ public InlineResponse2012PayoutInformationPushFunds domesticParticipant(String d } /** - * This field indicates if domestic OCTs (push funds) are allowed. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` + * This field indicates if domestic OCTs (push funds) are allowed. Possible values: - `true` - `false` * @return domesticParticipant **/ - @ApiModelProperty(value = "This field indicates if domestic OCTs (push funds) are allowed. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` ") + @ApiModelProperty(value = "This field indicates if domestic OCTs (push funds) are allowed. Possible values: - `true` - `false` ") public String getDomesticParticipant() { return domesticParticipant; } @@ -311,10 +311,10 @@ public InlineResponse2012PayoutInformationPushFunds crossBorderParticipant(Strin } /** - * This field indicates if cross-border OCTs (push funds) are allowed. Note: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` + * This field indicates if cross-border OCTs (push funds) are allowed. Possible values: - `true` - `false` * @return crossBorderParticipant **/ - @ApiModelProperty(value = "This field indicates if cross-border OCTs (push funds) are allowed. Note: Supported only in US for cross-border transactions involving Push Payments Gateway Service(PPGS). Possible values: - `true` - `false` ") + @ApiModelProperty(value = "This field indicates if cross-border OCTs (push funds) are allowed. Possible values: - `true` - `false` ") public String getCrossBorderParticipant() { return crossBorderParticipant; } diff --git a/src/main/java/Model/InlineResponse4009.java b/src/main/java/Model/InlineResponse4009.java new file mode 100644 index 000000000..c30bd71cb --- /dev/null +++ b/src/main/java/Model/InlineResponse4009.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InlineResponse4009Details; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * InlineResponse4009 + */ + +public class InlineResponse4009 { + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("details") + private List details = null; + + public InlineResponse4009 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * Time verification was requested Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + * @return submitTimeUtc + **/ + @ApiModelProperty(value = "Time verification was requested Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse4009 status(String status) { + this.status = status; + return this; + } + + /** + * Possible values: - `INVALID_REQUEST` + * @return status + **/ + @ApiModelProperty(value = "Possible values: - `INVALID_REQUEST` ") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse4009 message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public InlineResponse4009 reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason of the status. Possible values: - `INVALID_REQUEST` + * @return reason + **/ + @ApiModelProperty(value = "The reason of the status. Possible values: - `INVALID_REQUEST` ") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public InlineResponse4009 details(List details) { + this.details = details; + return this; + } + + public InlineResponse4009 addDetailsItem(InlineResponse4009Details detailsItem) { + if (this.details == null) { + this.details = new ArrayList(); + } + this.details.add(detailsItem); + return this; + } + + /** + * Get details + * @return details + **/ + @ApiModelProperty(value = "") + public List getDetails() { + return details; + } + + public void setDetails(List details) { + this.details = details; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse4009 inlineResponse4009 = (InlineResponse4009) o; + return Objects.equals(this.submitTimeUtc, inlineResponse4009.submitTimeUtc) && + Objects.equals(this.status, inlineResponse4009.status) && + Objects.equals(this.message, inlineResponse4009.message) && + Objects.equals(this.reason, inlineResponse4009.reason) && + Objects.equals(this.details, inlineResponse4009.details); + } + + @Override + public int hashCode() { + return Objects.hash(submitTimeUtc, status, message, reason, details); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse4009 {\n"); + + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse4009Details.java b/src/main/java/Model/InlineResponse4009Details.java new file mode 100644 index 000000000..61c821201 --- /dev/null +++ b/src/main/java/Model/InlineResponse4009Details.java @@ -0,0 +1,117 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse4009Details + */ + +public class InlineResponse4009Details { + @SerializedName("field") + private String field = null; + + @SerializedName("reason") + private String reason = null; + + public InlineResponse4009Details field(String field) { + this.field = field; + return this; + } + + /** + * This is the flattened JSON object field name/path that is either missing or invalid. + * @return field + **/ + @ApiModelProperty(value = "This is the flattened JSON object field name/path that is either missing or invalid. ") + public String getField() { + return field; + } + + public void setField(String field) { + this.field = field; + } + + public InlineResponse4009Details reason(String reason) { + this.reason = reason; + return this; + } + + /** + * Possible reasons for the error. Possible values: - `MISSING_FIELD` - `INVALID_DATA` + * @return reason + **/ + @ApiModelProperty(value = "Possible reasons for the error. Possible values: - `MISSING_FIELD` - `INVALID_DATA` ") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse4009Details inlineResponse4009Details = (InlineResponse4009Details) o; + return Objects.equals(this.field, inlineResponse4009Details.field) && + Objects.equals(this.reason, inlineResponse4009Details.reason); + } + + @Override + public int hashCode() { + return Objects.hash(field, reason); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse4009Details {\n"); + + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse4033.java b/src/main/java/Model/InlineResponse4033.java new file mode 100644 index 000000000..3a54c0418 --- /dev/null +++ b/src/main/java/Model/InlineResponse4033.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse4033 + */ + +public class InlineResponse4033 { + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("message") + private String message = null; + + public InlineResponse4033 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + * @return submitTimeUtc + **/ + @ApiModelProperty(value = "Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse4033 status(String status) { + this.status = status; + return this; + } + + /** + * Possible values: - `UNAUTHORIZED` + * @return status + **/ + @ApiModelProperty(value = "Possible values: - `UNAUTHORIZED` ") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse4033 reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason of the status. Possible values: - `UNAUTHORIZED` + * @return reason + **/ + @ApiModelProperty(value = "The reason of the status. Possible values: - `UNAUTHORIZED` ") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public InlineResponse4033 message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason. + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason. ") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse4033 inlineResponse4033 = (InlineResponse4033) o; + return Objects.equals(this.submitTimeUtc, inlineResponse4033.submitTimeUtc) && + Objects.equals(this.status, inlineResponse4033.status) && + Objects.equals(this.reason, inlineResponse4033.reason) && + Objects.equals(this.message, inlineResponse4033.message); + } + + @Override + public int hashCode() { + return Objects.hash(submitTimeUtc, status, reason, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse4033 {\n"); + + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse4041.java b/src/main/java/Model/InlineResponse4041.java index 2f141d7ce..c0793b7ff 100644 --- a/src/main/java/Model/InlineResponse4041.java +++ b/src/main/java/Model/InlineResponse4041.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse4007Details; +import Model.InlineResponse4041Details; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,7 +26,6 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; -import org.joda.time.DateTime; /** * InlineResponse4041 @@ -34,10 +33,10 @@ public class InlineResponse4041 { @SerializedName("submitTimeUtc") - private DateTime submitTimeUtc = null; + private String submitTimeUtc = null; @SerializedName("status") - private String status = null; + private Integer status = null; @SerializedName("reason") private String reason = null; @@ -46,32 +45,41 @@ public class InlineResponse4041 { private String message = null; @SerializedName("details") - private List details = null; + private List details = null; + + public InlineResponse4041 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } /** - * 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 time the response was submitted * @return submitTimeUtc **/ - @ApiModelProperty(example = "2019-06-11T22:47:57.000Z", value = "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. ") - public DateTime getSubmitTimeUtc() { + @ApiModelProperty(value = "The time the response was submitted") + public String getSubmitTimeUtc() { return submitTimeUtc; } - public InlineResponse4041 status(String status) { + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse4041 status(Integer status) { this.status = status; return this; } /** - * The http status description of the submitted request. + * The status code of the response * @return status **/ - @ApiModelProperty(example = "NOT_FOUND", value = "The http status description of the submitted request.") - public String getStatus() { + @ApiModelProperty(value = "The status code of the response") + public Integer getStatus() { return status; } - public void setStatus(String status) { + public void setStatus(Integer status) { this.status = status; } @@ -81,10 +89,10 @@ public InlineResponse4041 reason(String reason) { } /** - * Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' + * The reason for the response * @return reason **/ - @ApiModelProperty(value = "Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' ") + @ApiModelProperty(value = "The reason for the response") public String getReason() { return reason; } @@ -99,10 +107,10 @@ public InlineResponse4041 message(String message) { } /** - * Descriptive message for the error. + * The message of the response * @return message **/ - @ApiModelProperty(value = "Descriptive message for the error.") + @ApiModelProperty(value = "The message of the response") public String getMessage() { return message; } @@ -111,29 +119,29 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4041 details(List details) { + public InlineResponse4041 details(List details) { this.details = details; return this; } - public InlineResponse4041 addDetailsItem(InlineResponse4007Details detailsItem) { + public InlineResponse4041 addDetailsItem(InlineResponse4041Details detailsItem) { if (this.details == null) { - this.details = new ArrayList(); + this.details = new ArrayList(); } this.details.add(detailsItem); return this; } /** - * Get details + * The details of the validation error * @return details **/ - @ApiModelProperty(value = "") - public List getDetails() { + @ApiModelProperty(value = "The details of the validation error") + public List getDetails() { return details; } - public void setDetails(List details) { + public void setDetails(List details) { this.details = details; } diff --git a/src/main/java/Model/InlineResponse2009Links.java b/src/main/java/Model/InlineResponse4041Details.java similarity index 52% rename from src/main/java/Model/InlineResponse2009Links.java rename to src/main/java/Model/InlineResponse4041Details.java index 43873a20f..2548be1b6 100644 --- a/src/main/java/Model/InlineResponse2009Links.java +++ b/src/main/java/Model/InlineResponse4041Details.java @@ -25,50 +25,50 @@ import java.io.IOException; /** - * InlineResponse2009Links + * InlineResponse4041Details */ -public class InlineResponse2009Links { - @SerializedName("rel") - private String rel = null; +public class InlineResponse4041Details { + @SerializedName("field") + private String field = null; - @SerializedName("href") - private String href = null; + @SerializedName("reason") + private String reason = null; - public InlineResponse2009Links rel(String rel) { - this.rel = rel; + public InlineResponse4041Details field(String field) { + this.field = field; return this; } /** - * Valid Values: * self * first * last * prev * next - * @return rel + * The field that caused the validation error + * @return field **/ - @ApiModelProperty(value = "Valid Values: * self * first * last * prev * next ") - public String getRel() { - return rel; + @ApiModelProperty(value = "The field that caused the validation error") + public String getField() { + return field; } - public void setRel(String rel) { - this.rel = rel; + public void setField(String field) { + this.field = field; } - public InlineResponse2009Links href(String href) { - this.href = href; + public InlineResponse4041Details reason(String reason) { + this.reason = reason; return this; } /** - * Get href - * @return href + * The reason for the validation error + * @return reason **/ - @ApiModelProperty(example = "https://api.cybersource.com/accountupdater/v1/batches?offset=0&limit=20", value = "") - public String getHref() { - return href; + @ApiModelProperty(value = "The reason for the validation error") + public String getReason() { + return reason; } - public void setHref(String href) { - this.href = href; + public void setReason(String reason) { + this.reason = reason; } @@ -80,24 +80,24 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse2009Links inlineResponse2009Links = (InlineResponse2009Links) o; - return Objects.equals(this.rel, inlineResponse2009Links.rel) && - Objects.equals(this.href, inlineResponse2009Links.href); + InlineResponse4041Details inlineResponse4041Details = (InlineResponse4041Details) o; + return Objects.equals(this.field, inlineResponse4041Details.field) && + Objects.equals(this.reason, inlineResponse4041Details.reason); } @Override public int hashCode() { - return Objects.hash(rel, href); + return Objects.hash(field, reason); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse2009Links {\n"); + sb.append("class InlineResponse4041Details {\n"); - if (rel != null) sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); - if (href != null) sb.append(" href: ").append(toIndentedString(href)).append("\n"); + if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4042.java b/src/main/java/Model/InlineResponse4042.java index 4a05592e4..bf73c1665 100644 --- a/src/main/java/Model/InlineResponse4042.java +++ b/src/main/java/Model/InlineResponse4042.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse4042Details; +import Model.InlineResponse4007Details; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,12 +26,19 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; +import org.joda.time.DateTime; /** * InlineResponse4042 */ public class InlineResponse4042 { + @SerializedName("submitTimeUtc") + private DateTime submitTimeUtc = null; + + @SerializedName("status") + private String status = null; + @SerializedName("reason") private String reason = null; @@ -39,7 +46,34 @@ public class InlineResponse4042 { private String message = null; @SerializedName("details") - private List details = null; + private List details = null; + + /** + * 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. + * @return submitTimeUtc + **/ + @ApiModelProperty(example = "2019-06-11T22:47:57.000Z", value = "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. ") + public DateTime getSubmitTimeUtc() { + return submitTimeUtc; + } + + public InlineResponse4042 status(String status) { + this.status = status; + return this; + } + + /** + * The http status description of the submitted request. + * @return status + **/ + @ApiModelProperty(example = "NOT_FOUND", value = "The http status description of the submitted request.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } public InlineResponse4042 reason(String reason) { this.reason = reason; @@ -47,10 +81,10 @@ public InlineResponse4042 reason(String reason) { } /** - * Get reason + * Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' * @return reason **/ - @ApiModelProperty(value = "") + @ApiModelProperty(value = "Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' ") public String getReason() { return reason; } @@ -65,10 +99,10 @@ public InlineResponse4042 message(String message) { } /** - * Get message + * Descriptive message for the error. * @return message **/ - @ApiModelProperty(value = "") + @ApiModelProperty(value = "Descriptive message for the error.") public String getMessage() { return message; } @@ -77,14 +111,14 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4042 details(List details) { + public InlineResponse4042 details(List details) { this.details = details; return this; } - public InlineResponse4042 addDetailsItem(InlineResponse4042Details detailsItem) { + public InlineResponse4042 addDetailsItem(InlineResponse4007Details detailsItem) { if (this.details == null) { - this.details = new ArrayList(); + this.details = new ArrayList(); } this.details.add(detailsItem); return this; @@ -95,11 +129,11 @@ public InlineResponse4042 addDetailsItem(InlineResponse4042Details detailsItem) * @return details **/ @ApiModelProperty(value = "") - public List getDetails() { + public List getDetails() { return details; } - public void setDetails(List details) { + public void setDetails(List details) { this.details = details; } @@ -113,14 +147,16 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse4042 inlineResponse4042 = (InlineResponse4042) o; - return Objects.equals(this.reason, inlineResponse4042.reason) && + return Objects.equals(this.submitTimeUtc, inlineResponse4042.submitTimeUtc) && + Objects.equals(this.status, inlineResponse4042.status) && + Objects.equals(this.reason, inlineResponse4042.reason) && Objects.equals(this.message, inlineResponse4042.message) && Objects.equals(this.details, inlineResponse4042.details); } @Override public int hashCode() { - return Objects.hash(reason, message, details); + return Objects.hash(submitTimeUtc, status, reason, message, details); } @@ -129,6 +165,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4042 {\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); diff --git a/src/main/java/Model/InlineResponse4043.java b/src/main/java/Model/InlineResponse4043.java index 65de116a4..80042ca83 100644 --- a/src/main/java/Model/InlineResponse4043.java +++ b/src/main/java/Model/InlineResponse4043.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.InlineResponse4043Details; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -23,40 +24,39 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * InlineResponse4043 */ public class InlineResponse4043 { - @SerializedName("status") - private String status = null; + @SerializedName("reason") + private String reason = null; @SerializedName("message") private String message = null; - @SerializedName("code") - private String code = null; + @SerializedName("details") + private List details = null; - @SerializedName("submitTimeUtc") - private String submitTimeUtc = null; - - public InlineResponse4043 status(String status) { - this.status = status; + public InlineResponse4043 reason(String reason) { + this.reason = reason; return this; } /** - * The status of the submitted request. Possible values: - NOT_FOUND - * @return status + * Get reason + * @return reason **/ - @ApiModelProperty(value = "The status of the submitted request. Possible values: - NOT_FOUND") - public String getStatus() { - return status; + @ApiModelProperty(value = "") + public String getReason() { + return reason; } - public void setStatus(String status) { - this.status = status; + public void setReason(String reason) { + this.reason = reason; } public InlineResponse4043 message(String message) { @@ -65,10 +65,10 @@ public InlineResponse4043 message(String message) { } /** - * The detail message related to the status and reason listed above. + * Get message * @return message **/ - @ApiModelProperty(value = "The detail message related to the status and reason listed above.") + @ApiModelProperty(value = "") public String getMessage() { return message; } @@ -77,40 +77,30 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4043 code(String code) { - this.code = code; + public InlineResponse4043 details(List details) { + this.details = details; return this; } - /** - * An optional short string which identifies the exact error. - * @return code - **/ - @ApiModelProperty(value = "An optional short string which identifies the exact error.") - public String getCode() { - return code; - } - - public void setCode(String code) { - this.code = code; - } - - public InlineResponse4043 submitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public InlineResponse4043 addDetailsItem(InlineResponse4043Details detailsItem) { + if (this.details == null) { + this.details = new ArrayList(); + } + this.details.add(detailsItem); return this; } /** - * 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. - * @return submitTimeUtc + * Get details + * @return details **/ - @ApiModelProperty(value = "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. ") - public String getSubmitTimeUtc() { - return submitTimeUtc; + @ApiModelProperty(value = "") + public List getDetails() { + return details; } - public void setSubmitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public void setDetails(List details) { + this.details = details; } @@ -123,15 +113,14 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse4043 inlineResponse4043 = (InlineResponse4043) o; - return Objects.equals(this.status, inlineResponse4043.status) && + return Objects.equals(this.reason, inlineResponse4043.reason) && Objects.equals(this.message, inlineResponse4043.message) && - Objects.equals(this.code, inlineResponse4043.code) && - Objects.equals(this.submitTimeUtc, inlineResponse4043.submitTimeUtc); + Objects.equals(this.details, inlineResponse4043.details); } @Override public int hashCode() { - return Objects.hash(status, message, code, submitTimeUtc); + return Objects.hash(reason, message, details); } @@ -140,10 +129,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4043 {\n"); - if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); - if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); - if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (details != null) sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4042Details.java b/src/main/java/Model/InlineResponse4043Details.java similarity index 83% rename from src/main/java/Model/InlineResponse4042Details.java rename to src/main/java/Model/InlineResponse4043Details.java index fe7a6d0fb..6a4e741fa 100644 --- a/src/main/java/Model/InlineResponse4042Details.java +++ b/src/main/java/Model/InlineResponse4043Details.java @@ -25,17 +25,17 @@ import java.io.IOException; /** - * InlineResponse4042Details + * InlineResponse4043Details */ -public class InlineResponse4042Details { +public class InlineResponse4043Details { @SerializedName("field") private String field = null; @SerializedName("reason") private String reason = null; - public InlineResponse4042Details field(String field) { + public InlineResponse4043Details field(String field) { this.field = field; return this; } @@ -53,7 +53,7 @@ public void setField(String field) { this.field = field; } - public InlineResponse4042Details reason(String reason) { + public InlineResponse4043Details reason(String reason) { this.reason = reason; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse4042Details inlineResponse4042Details = (InlineResponse4042Details) o; - return Objects.equals(this.field, inlineResponse4042Details.field) && - Objects.equals(this.reason, inlineResponse4042Details.reason); + InlineResponse4043Details inlineResponse4043Details = (InlineResponse4043Details) o; + return Objects.equals(this.field, inlineResponse4043Details.field) && + Objects.equals(this.reason, inlineResponse4043Details.reason); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse4042Details {\n"); + sb.append("class InlineResponse4043Details {\n"); if (field != null) sb.append(" field: ").append(toIndentedString(field)).append("\n"); if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); diff --git a/src/main/java/Model/InlineResponse4044.java b/src/main/java/Model/InlineResponse4044.java new file mode 100644 index 000000000..c0ab2db88 --- /dev/null +++ b/src/main/java/Model/InlineResponse4044.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse4044 + */ + +public class InlineResponse4044 { + @SerializedName("status") + private String status = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("code") + private String code = null; + + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + public InlineResponse4044 status(String status) { + this.status = status; + return this; + } + + /** + * The status of the submitted request. Possible values: - NOT_FOUND + * @return status + **/ + @ApiModelProperty(value = "The status of the submitted request. Possible values: - NOT_FOUND") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse4044 message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason listed above. + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason listed above.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public InlineResponse4044 code(String code) { + this.code = code; + return this; + } + + /** + * An optional short string which identifies the exact error. + * @return code + **/ + @ApiModelProperty(value = "An optional short string which identifies the exact error.") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public InlineResponse4044 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * 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. + * @return submitTimeUtc + **/ + @ApiModelProperty(value = "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. ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse4044 inlineResponse4044 = (InlineResponse4044) o; + return Objects.equals(this.status, inlineResponse4044.status) && + Objects.equals(this.message, inlineResponse4044.message) && + Objects.equals(this.code, inlineResponse4044.code) && + Objects.equals(this.submitTimeUtc, inlineResponse4044.submitTimeUtc); + } + + @Override + public int hashCode() { + return Objects.hash(status, message, code, submitTimeUtc); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse4044 {\n"); + + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (code != null) sb.append(" code: ").append(toIndentedString(code)).append("\n"); + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse4045.java b/src/main/java/Model/InlineResponse4045.java new file mode 100644 index 000000000..8c45ba4db --- /dev/null +++ b/src/main/java/Model/InlineResponse4045.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse4045 + */ + +public class InlineResponse4045 { + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("message") + private String message = null; + + public InlineResponse4045 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * 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. + * @return submitTimeUtc + **/ + @ApiModelProperty(value = "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. ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse4045 status(String status) { + this.status = status; + return this; + } + + /** + * The status of the submitted request. Possible values: - NOT_FOUND + * @return status + **/ + @ApiModelProperty(value = "The status of the submitted request. Possible values: - NOT_FOUND") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse4045 reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason of the status. Possible values: - NOT_FOUND + * @return reason + **/ + @ApiModelProperty(value = "The reason of the status. Possible values: - NOT_FOUND") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public InlineResponse4045 message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason listed above. + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason listed above.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse4045 inlineResponse4045 = (InlineResponse4045) o; + return Objects.equals(this.submitTimeUtc, inlineResponse4045.submitTimeUtc) && + Objects.equals(this.status, inlineResponse4045.status) && + Objects.equals(this.reason, inlineResponse4045.reason) && + Objects.equals(this.message, inlineResponse4045.message); + } + + @Override + public int hashCode() { + return Objects.hash(submitTimeUtc, status, reason, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse4045 {\n"); + + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse4222.java b/src/main/java/Model/InlineResponse4222.java new file mode 100644 index 000000000..cecaf8c48 --- /dev/null +++ b/src/main/java/Model/InlineResponse4222.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse4222 + */ + +public class InlineResponse4222 { + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("message") + private String message = null; + + public InlineResponse4222 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + * @return submitTimeUtc + **/ + @ApiModelProperty(value = "Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse4222 status(String status) { + this.status = status; + return this; + } + + /** + * Possible values: - `VALIDATION_ERROR` + * @return status + **/ + @ApiModelProperty(value = "Possible values: - `VALIDATION_ERROR` ") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse4222 reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason of the status. Possible values: - `PRODUCT_INACTIVE` - `INVALID_MERCHANT_CONFIGURATION` - `PRODUCT_NOT_CONFIGURED` + * @return reason + **/ + @ApiModelProperty(value = "The reason of the status. Possible values: - `PRODUCT_INACTIVE` - `INVALID_MERCHANT_CONFIGURATION` - `PRODUCT_NOT_CONFIGURED` ") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public InlineResponse4222 message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason. + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason. ") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse4222 inlineResponse4222 = (InlineResponse4222) o; + return Objects.equals(this.submitTimeUtc, inlineResponse4222.submitTimeUtc) && + Objects.equals(this.status, inlineResponse4222.status) && + Objects.equals(this.reason, inlineResponse4222.reason) && + Objects.equals(this.message, inlineResponse4222.message); + } + + @Override + public int hashCode() { + return Objects.hash(submitTimeUtc, status, reason, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse4222 {\n"); + + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse5021.java b/src/main/java/Model/InlineResponse5021.java new file mode 100644 index 000000000..4d5ef75c6 --- /dev/null +++ b/src/main/java/Model/InlineResponse5021.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InlineResponse5021 + */ + +public class InlineResponse5021 { + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + public InlineResponse5021 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + return this; + } + + /** + * Time verification was requested Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + * @return submitTimeUtc + **/ + @ApiModelProperty(value = "Time verification was requested Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) ") + public String getSubmitTimeUtc() { + return submitTimeUtc; + } + + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; + } + + public InlineResponse5021 status(String status) { + this.status = status; + return this; + } + + /** + * The status of the submitted transaction. Possible values: - `SERVER_ERROR` + * @return status + **/ + @ApiModelProperty(value = "The status of the submitted transaction. Possible values: - `SERVER_ERROR` ") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public InlineResponse5021 message(String message) { + this.message = message; + return this; + } + + /** + * The detail message related to the status and reason + * @return message + **/ + @ApiModelProperty(value = "The detail message related to the status and reason") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public InlineResponse5021 reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason of the status. Possible values: - `SYSTEM_ERROR` - `SERVER_TIMEOUT` - `SERVICE_TIMEOUT` + * @return reason + **/ + @ApiModelProperty(value = "The reason of the status. Possible values: - `SYSTEM_ERROR` - `SERVER_TIMEOUT` - `SERVICE_TIMEOUT` ") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InlineResponse5021 inlineResponse5021 = (InlineResponse5021) o; + return Objects.equals(this.submitTimeUtc, inlineResponse5021.submitTimeUtc) && + Objects.equals(this.status, inlineResponse5021.status) && + Objects.equals(this.message, inlineResponse5021.message) && + Objects.equals(this.reason, inlineResponse5021.reason); + } + + @Override + public int hashCode() { + return Objects.hash(submitTimeUtc, status, message, reason); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InlineResponse5021 {\n"); + + if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + if (message != null) sb.append(" message: ").append(toIndentedString(message)).append("\n"); + if (reason != null) sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java index 2d07a7938..8402d2a95 100644 --- a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java +++ b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200Response.java @@ -16,6 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation; +import Model.InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -36,6 +37,9 @@ public class InvoicingV2InvoiceSettingsGet200Response { @SerializedName("invoiceSettingsInformation") private InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation invoiceSettingsInformation = null; + @SerializedName("merchantInformation") + private InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation merchantInformation = null; + public InvoicingV2InvoiceSettingsGet200Response submitTimeUtc(String submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; return this; @@ -72,6 +76,24 @@ public void setInvoiceSettingsInformation(InvoicingV2InvoiceSettingsGet200Respon this.invoiceSettingsInformation = invoiceSettingsInformation; } + public InvoicingV2InvoiceSettingsGet200Response merchantInformation(InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation merchantInformation) { + this.merchantInformation = merchantInformation; + return this; + } + + /** + * Get merchantInformation + * @return merchantInformation + **/ + @ApiModelProperty(value = "") + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation getMerchantInformation() { + return merchantInformation; + } + + public void setMerchantInformation(InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation merchantInformation) { + this.merchantInformation = merchantInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -83,12 +105,13 @@ public boolean equals(java.lang.Object o) { } InvoicingV2InvoiceSettingsGet200Response invoicingV2InvoiceSettingsGet200Response = (InvoicingV2InvoiceSettingsGet200Response) o; return Objects.equals(this.submitTimeUtc, invoicingV2InvoiceSettingsGet200Response.submitTimeUtc) && - Objects.equals(this.invoiceSettingsInformation, invoicingV2InvoiceSettingsGet200Response.invoiceSettingsInformation); + Objects.equals(this.invoiceSettingsInformation, invoicingV2InvoiceSettingsGet200Response.invoiceSettingsInformation) && + Objects.equals(this.merchantInformation, invoicingV2InvoiceSettingsGet200Response.merchantInformation); } @Override public int hashCode() { - return Objects.hash(submitTimeUtc, invoiceSettingsInformation); + return Objects.hash(submitTimeUtc, invoiceSettingsInformation, merchantInformation); } @@ -99,6 +122,7 @@ public String toString() { if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); if (invoiceSettingsInformation != null) sb.append(" invoiceSettingsInformation: ").append(toIndentedString(invoiceSettingsInformation)).append("\n"); + if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation.java b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation.java new file mode 100644 index 000000000..b83d7fc5c --- /dev/null +++ b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation.java @@ -0,0 +1,141 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation + */ + +public class InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation { + @SerializedName("name") + private String name = null; + + @SerializedName("phone") + private String phone = null; + + @SerializedName("addressDetails") + private InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails addressDetails = null; + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @ApiModelProperty(value = "") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation phone(String phone) { + this.phone = phone; + return this; + } + + /** + * Get phone + * @return phone + **/ + @ApiModelProperty(value = "") + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation addressDetails(InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails addressDetails) { + this.addressDetails = addressDetails; + return this; + } + + /** + * Get addressDetails + * @return addressDetails + **/ + @ApiModelProperty(value = "") + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails getAddressDetails() { + return addressDetails; + } + + public void setAddressDetails(InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails addressDetails) { + this.addressDetails = addressDetails; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation invoicingV2InvoiceSettingsGet200ResponseMerchantInformation = (InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation) o; + return Objects.equals(this.name, invoicingV2InvoiceSettingsGet200ResponseMerchantInformation.name) && + Objects.equals(this.phone, invoicingV2InvoiceSettingsGet200ResponseMerchantInformation.phone) && + Objects.equals(this.addressDetails, invoicingV2InvoiceSettingsGet200ResponseMerchantInformation.addressDetails); + } + + @Override + public int hashCode() { + return Objects.hash(name, phone, addressDetails); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InvoicingV2InvoiceSettingsGet200ResponseMerchantInformation {\n"); + + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (phone != null) sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); + if (addressDetails != null) sb.append(" addressDetails: ").append(toIndentedString(addressDetails)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.java b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.java new file mode 100644 index 000000000..f3479d547 --- /dev/null +++ b/src/main/java/Model/InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.java @@ -0,0 +1,209 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails + */ + +public class InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails { + @SerializedName("address1") + private String address1 = null; + + @SerializedName("address2") + private String address2 = null; + + @SerializedName("city") + private String city = null; + + @SerializedName("state") + private String state = null; + + @SerializedName("country") + private String country = null; + + @SerializedName("postalCode") + private String postalCode = null; + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails address1(String address1) { + this.address1 = address1; + return this; + } + + /** + * Get address1 + * @return address1 + **/ + @ApiModelProperty(value = "") + public String getAddress1() { + return address1; + } + + public void setAddress1(String address1) { + this.address1 = address1; + } + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails address2(String address2) { + this.address2 = address2; + return this; + } + + /** + * Get address2 + * @return address2 + **/ + @ApiModelProperty(value = "") + public String getAddress2() { + return address2; + } + + public void setAddress2(String address2) { + this.address2 = address2; + } + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails city(String city) { + this.city = city; + return this; + } + + /** + * Get city + * @return city + **/ + @ApiModelProperty(value = "") + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails state(String state) { + this.state = state; + return this; + } + + /** + * Get state + * @return state + **/ + @ApiModelProperty(value = "") + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails country(String country) { + this.country = country; + return this; + } + + /** + * Get country + * @return country + **/ + @ApiModelProperty(value = "") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Get postalCode + * @return postalCode + **/ + @ApiModelProperty(value = "") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails invoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails = (InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails) o; + return Objects.equals(this.address1, invoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.address1) && + Objects.equals(this.address2, invoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.address2) && + Objects.equals(this.city, invoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.city) && + Objects.equals(this.state, invoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.state) && + Objects.equals(this.country, invoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.country) && + Objects.equals(this.postalCode, invoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails.postalCode); + } + + @Override + public int hashCode() { + return Objects.hash(address1, address2, city, state, country, postalCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InvoicingV2InvoiceSettingsGet200ResponseMerchantInformationAddressDetails {\n"); + + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (city != null) sb.append(" city: ").append(toIndentedString(city)).append("\n"); + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InvoicingV2InvoicesGet200Response.java b/src/main/java/Model/InvoicingV2InvoicesGet200Response.java index d0445324e..69cb11c15 100644 --- a/src/main/java/Model/InvoicingV2InvoicesGet200Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesGet200Response.java @@ -18,6 +18,7 @@ import Model.InvoicingV2InvoicesAllGet200ResponseLinks; import Model.InvoicingV2InvoicesGet200ResponseInvoiceHistory; import Model.InvoicingV2InvoicesPost201ResponseInvoiceInformation; +import Model.InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition; import Model.InvoicingV2InvoicesPost201ResponseOrderInformation; import Model.Invoicingv2invoicesCustomerInformation; import Model.Invoicingv2invoicesProcessingInformation; @@ -61,6 +62,9 @@ public class InvoicingV2InvoicesGet200Response { @SerializedName("orderInformation") private InvoicingV2InvoicesPost201ResponseOrderInformation orderInformation = null; + @SerializedName("merchantDefinedFieldValuesWithDefinition") + private List merchantDefinedFieldValuesWithDefinition = null; + @SerializedName("invoiceHistory") private List invoiceHistory = null; @@ -208,6 +212,32 @@ public void setOrderInformation(InvoicingV2InvoicesPost201ResponseOrderInformati this.orderInformation = orderInformation; } + public InvoicingV2InvoicesGet200Response merchantDefinedFieldValuesWithDefinition(List merchantDefinedFieldValuesWithDefinition) { + this.merchantDefinedFieldValuesWithDefinition = merchantDefinedFieldValuesWithDefinition; + return this; + } + + public InvoicingV2InvoicesGet200Response addMerchantDefinedFieldValuesWithDefinitionItem(InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition merchantDefinedFieldValuesWithDefinitionItem) { + if (this.merchantDefinedFieldValuesWithDefinition == null) { + this.merchantDefinedFieldValuesWithDefinition = new ArrayList(); + } + this.merchantDefinedFieldValuesWithDefinition.add(merchantDefinedFieldValuesWithDefinitionItem); + return this; + } + + /** + * Get merchantDefinedFieldValuesWithDefinition + * @return merchantDefinedFieldValuesWithDefinition + **/ + @ApiModelProperty(value = "") + public List getMerchantDefinedFieldValuesWithDefinition() { + return merchantDefinedFieldValuesWithDefinition; + } + + public void setMerchantDefinedFieldValuesWithDefinition(List merchantDefinedFieldValuesWithDefinition) { + this.merchantDefinedFieldValuesWithDefinition = merchantDefinedFieldValuesWithDefinition; + } + public InvoicingV2InvoicesGet200Response invoiceHistory(List invoiceHistory) { this.invoiceHistory = invoiceHistory; return this; @@ -252,12 +282,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.processingInformation, invoicingV2InvoicesGet200Response.processingInformation) && Objects.equals(this.invoiceInformation, invoicingV2InvoicesGet200Response.invoiceInformation) && Objects.equals(this.orderInformation, invoicingV2InvoicesGet200Response.orderInformation) && + Objects.equals(this.merchantDefinedFieldValuesWithDefinition, invoicingV2InvoicesGet200Response.merchantDefinedFieldValuesWithDefinition) && Objects.equals(this.invoiceHistory, invoicingV2InvoicesGet200Response.invoiceHistory); } @Override public int hashCode() { - return Objects.hash(links, id, submitTimeUtc, status, customerInformation, processingInformation, invoiceInformation, orderInformation, invoiceHistory); + return Objects.hash(links, id, submitTimeUtc, status, customerInformation, processingInformation, invoiceInformation, orderInformation, merchantDefinedFieldValuesWithDefinition, invoiceHistory); } @@ -274,6 +305,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantDefinedFieldValuesWithDefinition != null) sb.append(" merchantDefinedFieldValuesWithDefinition: ").append(toIndentedString(merchantDefinedFieldValuesWithDefinition)).append("\n"); if (invoiceHistory != null) sb.append(" invoiceHistory: ").append(toIndentedString(invoiceHistory)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/InvoicingV2InvoicesPost201Response.java b/src/main/java/Model/InvoicingV2InvoicesPost201Response.java index d02d14201..609b55fed 100644 --- a/src/main/java/Model/InvoicingV2InvoicesPost201Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesPost201Response.java @@ -17,6 +17,7 @@ import java.util.Arrays; import Model.InvoicingV2InvoicesAllGet200ResponseLinks; import Model.InvoicingV2InvoicesPost201ResponseInvoiceInformation; +import Model.InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition; import Model.InvoicingV2InvoicesPost201ResponseOrderInformation; import Model.Invoicingv2invoicesCustomerInformation; import Model.Invoicingv2invoicesProcessingInformation; @@ -28,6 +29,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * InvoicingV2InvoicesPost201Response @@ -58,6 +61,9 @@ public class InvoicingV2InvoicesPost201Response { @SerializedName("orderInformation") private InvoicingV2InvoicesPost201ResponseOrderInformation orderInformation = null; + @SerializedName("merchantDefinedFieldValuesWithDefinition") + private List merchantDefinedFieldValuesWithDefinition = null; + public InvoicingV2InvoicesPost201Response links(InvoicingV2InvoicesAllGet200ResponseLinks links) { this.links = links; return this; @@ -202,6 +208,32 @@ public void setOrderInformation(InvoicingV2InvoicesPost201ResponseOrderInformati this.orderInformation = orderInformation; } + public InvoicingV2InvoicesPost201Response merchantDefinedFieldValuesWithDefinition(List merchantDefinedFieldValuesWithDefinition) { + this.merchantDefinedFieldValuesWithDefinition = merchantDefinedFieldValuesWithDefinition; + return this; + } + + public InvoicingV2InvoicesPost201Response addMerchantDefinedFieldValuesWithDefinitionItem(InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition merchantDefinedFieldValuesWithDefinitionItem) { + if (this.merchantDefinedFieldValuesWithDefinition == null) { + this.merchantDefinedFieldValuesWithDefinition = new ArrayList(); + } + this.merchantDefinedFieldValuesWithDefinition.add(merchantDefinedFieldValuesWithDefinitionItem); + return this; + } + + /** + * Get merchantDefinedFieldValuesWithDefinition + * @return merchantDefinedFieldValuesWithDefinition + **/ + @ApiModelProperty(value = "") + public List getMerchantDefinedFieldValuesWithDefinition() { + return merchantDefinedFieldValuesWithDefinition; + } + + public void setMerchantDefinedFieldValuesWithDefinition(List merchantDefinedFieldValuesWithDefinition) { + this.merchantDefinedFieldValuesWithDefinition = merchantDefinedFieldValuesWithDefinition; + } + @Override public boolean equals(java.lang.Object o) { @@ -219,12 +251,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.customerInformation, invoicingV2InvoicesPost201Response.customerInformation) && Objects.equals(this.processingInformation, invoicingV2InvoicesPost201Response.processingInformation) && Objects.equals(this.invoiceInformation, invoicingV2InvoicesPost201Response.invoiceInformation) && - Objects.equals(this.orderInformation, invoicingV2InvoicesPost201Response.orderInformation); + Objects.equals(this.orderInformation, invoicingV2InvoicesPost201Response.orderInformation) && + Objects.equals(this.merchantDefinedFieldValuesWithDefinition, invoicingV2InvoicesPost201Response.merchantDefinedFieldValuesWithDefinition); } @Override public int hashCode() { - return Objects.hash(links, id, submitTimeUtc, status, customerInformation, processingInformation, invoiceInformation, orderInformation); + return Objects.hash(links, id, submitTimeUtc, status, customerInformation, processingInformation, invoiceInformation, orderInformation, merchantDefinedFieldValuesWithDefinition); } @@ -241,6 +274,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantDefinedFieldValuesWithDefinition != null) sb.append(" merchantDefinedFieldValuesWithDefinition: ").append(toIndentedString(merchantDefinedFieldValuesWithDefinition)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.java b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.java new file mode 100644 index 000000000..29907ca48 --- /dev/null +++ b/src/main/java/Model/InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.java @@ -0,0 +1,370 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition + */ + +public class InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition { + @SerializedName("referenceType") + private String referenceType = null; + + @SerializedName("label") + private String label = null; + + @SerializedName("fieldType") + private String fieldType = null; + + @SerializedName("customerVisible") + private Boolean customerVisible = null; + + @SerializedName("readOnly") + private Boolean readOnly = null; + + @SerializedName("textMinLength") + private Integer textMinLength = null; + + @SerializedName("textMaxLength") + private Integer textMaxLength = null; + + @SerializedName("textDefaultValue") + private String textDefaultValue = null; + + @SerializedName("possibleValues") + private String possibleValues = null; + + @SerializedName("value") + private String value = null; + + @SerializedName("position") + private Integer position = null; + + @SerializedName("definitionId") + private Integer definitionId = null; + + @SerializedName("merchantDefinedDataIndex") + private Integer merchantDefinedDataIndex = null; + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition referenceType(String referenceType) { + this.referenceType = referenceType; + return this; + } + + /** + * Get referenceType + * @return referenceType + **/ + @ApiModelProperty(value = "") + public String getReferenceType() { + return referenceType; + } + + public void setReferenceType(String referenceType) { + this.referenceType = referenceType; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition label(String label) { + this.label = label; + return this; + } + + /** + * Get label + * @return label + **/ + @ApiModelProperty(value = "") + public String getLabel() { + return label; + } + + public void setLabel(String label) { + this.label = label; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition fieldType(String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Get fieldType + * @return fieldType + **/ + @ApiModelProperty(value = "") + public String getFieldType() { + return fieldType; + } + + public void setFieldType(String fieldType) { + this.fieldType = fieldType; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition customerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; + return this; + } + + /** + * Get customerVisible + * @return customerVisible + **/ + @ApiModelProperty(value = "") + public Boolean CustomerVisible() { + return customerVisible; + } + + public void setCustomerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Get readOnly + * @return readOnly + **/ + @ApiModelProperty(value = "") + public Boolean ReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition textMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + return this; + } + + /** + * Get textMinLength + * @return textMinLength + **/ + @ApiModelProperty(value = "") + public Integer getTextMinLength() { + return textMinLength; + } + + public void setTextMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition textMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; + return this; + } + + /** + * Get textMaxLength + * @return textMaxLength + **/ + @ApiModelProperty(value = "") + public Integer getTextMaxLength() { + return textMaxLength; + } + + public void setTextMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition textDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + return this; + } + + /** + * Get textDefaultValue + * @return textDefaultValue + **/ + @ApiModelProperty(value = "") + public String getTextDefaultValue() { + return textDefaultValue; + } + + public void setTextDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition possibleValues(String possibleValues) { + this.possibleValues = possibleValues; + return this; + } + + /** + * Get possibleValues + * @return possibleValues + **/ + @ApiModelProperty(value = "") + public String getPossibleValues() { + return possibleValues; + } + + public void setPossibleValues(String possibleValues) { + this.possibleValues = possibleValues; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @ApiModelProperty(value = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition position(Integer position) { + this.position = position; + return this; + } + + /** + * Get position + * @return position + **/ + @ApiModelProperty(value = "") + public Integer getPosition() { + return position; + } + + public void setPosition(Integer position) { + this.position = position; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition definitionId(Integer definitionId) { + this.definitionId = definitionId; + return this; + } + + /** + * Get definitionId + * @return definitionId + **/ + @ApiModelProperty(value = "") + public Integer getDefinitionId() { + return definitionId; + } + + public void setDefinitionId(Integer definitionId) { + this.definitionId = definitionId; + } + + public InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition merchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; + return this; + } + + /** + * Get merchantDefinedDataIndex + * @return merchantDefinedDataIndex + **/ + @ApiModelProperty(value = "") + public Integer getMerchantDefinedDataIndex() { + return merchantDefinedDataIndex; + } + + public void setMerchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition = (InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition) o; + return Objects.equals(this.referenceType, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.referenceType) && + Objects.equals(this.label, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.label) && + Objects.equals(this.fieldType, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.fieldType) && + Objects.equals(this.customerVisible, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.customerVisible) && + Objects.equals(this.readOnly, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.readOnly) && + Objects.equals(this.textMinLength, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.textMinLength) && + Objects.equals(this.textMaxLength, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.textMaxLength) && + Objects.equals(this.textDefaultValue, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.textDefaultValue) && + Objects.equals(this.possibleValues, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.possibleValues) && + Objects.equals(this.value, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.value) && + Objects.equals(this.position, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.position) && + Objects.equals(this.definitionId, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.definitionId) && + Objects.equals(this.merchantDefinedDataIndex, invoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition.merchantDefinedDataIndex); + } + + @Override + public int hashCode() { + return Objects.hash(referenceType, label, fieldType, customerVisible, readOnly, textMinLength, textMaxLength, textDefaultValue, possibleValues, value, position, definitionId, merchantDefinedDataIndex); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition {\n"); + + if (referenceType != null) sb.append(" referenceType: ").append(toIndentedString(referenceType)).append("\n"); + if (label != null) sb.append(" label: ").append(toIndentedString(label)).append("\n"); + if (fieldType != null) sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + if (customerVisible != null) sb.append(" customerVisible: ").append(toIndentedString(customerVisible)).append("\n"); + if (readOnly != null) sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + if (textMinLength != null) sb.append(" textMinLength: ").append(toIndentedString(textMinLength)).append("\n"); + if (textMaxLength != null) sb.append(" textMaxLength: ").append(toIndentedString(textMaxLength)).append("\n"); + if (textDefaultValue != null) sb.append(" textDefaultValue: ").append(toIndentedString(textDefaultValue)).append("\n"); + if (possibleValues != null) sb.append(" possibleValues: ").append(toIndentedString(possibleValues)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); + if (position != null) sb.append(" position: ").append(toIndentedString(position)).append("\n"); + if (definitionId != null) sb.append(" definitionId: ").append(toIndentedString(definitionId)).append("\n"); + if (merchantDefinedDataIndex != null) sb.append(" merchantDefinedDataIndex: ").append(toIndentedString(merchantDefinedDataIndex)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InvoicingV2InvoicesPut200Response.java b/src/main/java/Model/InvoicingV2InvoicesPut200Response.java index 7f0ea4da3..88c759bc3 100644 --- a/src/main/java/Model/InvoicingV2InvoicesPut200Response.java +++ b/src/main/java/Model/InvoicingV2InvoicesPut200Response.java @@ -17,6 +17,7 @@ import java.util.Arrays; import Model.InvoicingV2InvoicesAllGet200ResponseLinks; import Model.InvoicingV2InvoicesPost201ResponseInvoiceInformation; +import Model.InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition; import Model.InvoicingV2InvoicesPost201ResponseOrderInformation; import Model.Invoicingv2invoicesCustomerInformation; import Model.Invoicingv2invoicesProcessingInformation; @@ -28,6 +29,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * InvoicingV2InvoicesPut200Response @@ -58,6 +61,9 @@ public class InvoicingV2InvoicesPut200Response { @SerializedName("orderInformation") private InvoicingV2InvoicesPost201ResponseOrderInformation orderInformation = null; + @SerializedName("merchantDefinedFieldValuesWithDefinition") + private List merchantDefinedFieldValuesWithDefinition = null; + public InvoicingV2InvoicesPut200Response links(InvoicingV2InvoicesAllGet200ResponseLinks links) { this.links = links; return this; @@ -202,6 +208,32 @@ public void setOrderInformation(InvoicingV2InvoicesPost201ResponseOrderInformati this.orderInformation = orderInformation; } + public InvoicingV2InvoicesPut200Response merchantDefinedFieldValuesWithDefinition(List merchantDefinedFieldValuesWithDefinition) { + this.merchantDefinedFieldValuesWithDefinition = merchantDefinedFieldValuesWithDefinition; + return this; + } + + public InvoicingV2InvoicesPut200Response addMerchantDefinedFieldValuesWithDefinitionItem(InvoicingV2InvoicesPost201ResponseMerchantDefinedFieldValuesWithDefinition merchantDefinedFieldValuesWithDefinitionItem) { + if (this.merchantDefinedFieldValuesWithDefinition == null) { + this.merchantDefinedFieldValuesWithDefinition = new ArrayList(); + } + this.merchantDefinedFieldValuesWithDefinition.add(merchantDefinedFieldValuesWithDefinitionItem); + return this; + } + + /** + * Get merchantDefinedFieldValuesWithDefinition + * @return merchantDefinedFieldValuesWithDefinition + **/ + @ApiModelProperty(value = "") + public List getMerchantDefinedFieldValuesWithDefinition() { + return merchantDefinedFieldValuesWithDefinition; + } + + public void setMerchantDefinedFieldValuesWithDefinition(List merchantDefinedFieldValuesWithDefinition) { + this.merchantDefinedFieldValuesWithDefinition = merchantDefinedFieldValuesWithDefinition; + } + @Override public boolean equals(java.lang.Object o) { @@ -219,12 +251,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.customerInformation, invoicingV2InvoicesPut200Response.customerInformation) && Objects.equals(this.processingInformation, invoicingV2InvoicesPut200Response.processingInformation) && Objects.equals(this.invoiceInformation, invoicingV2InvoicesPut200Response.invoiceInformation) && - Objects.equals(this.orderInformation, invoicingV2InvoicesPut200Response.orderInformation); + Objects.equals(this.orderInformation, invoicingV2InvoicesPut200Response.orderInformation) && + Objects.equals(this.merchantDefinedFieldValuesWithDefinition, invoicingV2InvoicesPut200Response.merchantDefinedFieldValuesWithDefinition); } @Override public int hashCode() { - return Objects.hash(links, id, submitTimeUtc, status, customerInformation, processingInformation, invoiceInformation, orderInformation); + return Objects.hash(links, id, submitTimeUtc, status, customerInformation, processingInformation, invoiceInformation, orderInformation, merchantDefinedFieldValuesWithDefinition); } @@ -241,6 +274,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantDefinedFieldValuesWithDefinition != null) sb.append(" merchantDefinedFieldValuesWithDefinition: ").append(toIndentedString(merchantDefinedFieldValuesWithDefinition)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Invoicingv2invoicesMerchantDefinedFieldValues.java b/src/main/java/Model/Invoicingv2invoicesMerchantDefinedFieldValues.java new file mode 100644 index 000000000..e977a965e --- /dev/null +++ b/src/main/java/Model/Invoicingv2invoicesMerchantDefinedFieldValues.java @@ -0,0 +1,117 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Invoicingv2invoicesMerchantDefinedFieldValues + */ + +public class Invoicingv2invoicesMerchantDefinedFieldValues { + @SerializedName("definitionId") + private Long definitionId = null; + + @SerializedName("value") + private String value = null; + + public Invoicingv2invoicesMerchantDefinedFieldValues definitionId(Long definitionId) { + this.definitionId = definitionId; + return this; + } + + /** + * Get definitionId + * @return definitionId + **/ + @ApiModelProperty(value = "") + public Long getDefinitionId() { + return definitionId; + } + + public void setDefinitionId(Long definitionId) { + this.definitionId = definitionId; + } + + public Invoicingv2invoicesMerchantDefinedFieldValues value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @ApiModelProperty(value = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Invoicingv2invoicesMerchantDefinedFieldValues invoicingv2invoicesMerchantDefinedFieldValues = (Invoicingv2invoicesMerchantDefinedFieldValues) o; + return Objects.equals(this.definitionId, invoicingv2invoicesMerchantDefinedFieldValues.definitionId) && + Objects.equals(this.value, invoicingv2invoicesMerchantDefinedFieldValues.value); + } + + @Override + public int hashCode() { + return Objects.hash(definitionId, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Invoicingv2invoicesMerchantDefinedFieldValues {\n"); + + if (definitionId != null) sb.append(" definitionId: ").append(toIndentedString(definitionId)).append("\n"); + if (value != null) sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/MerchantDefinedFieldCore.java b/src/main/java/Model/MerchantDefinedFieldCore.java new file mode 100644 index 000000000..f76e880d2 --- /dev/null +++ b/src/main/java/Model/MerchantDefinedFieldCore.java @@ -0,0 +1,278 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * MerchantDefinedFieldCore + */ + +public class MerchantDefinedFieldCore { + @SerializedName("fieldType") + private String fieldType = null; + + @SerializedName("label") + private String label = null; + + @SerializedName("customerVisible") + private Boolean customerVisible = false; + + @SerializedName("textMinLength") + private Integer textMinLength = null; + + @SerializedName("textMaxLength") + private Integer textMaxLength = null; + + @SerializedName("textDefaultValue") + private String textDefaultValue = null; + + @SerializedName("possibleValues") + private String possibleValues = null; + + @SerializedName("readOnly") + private Boolean readOnly = false; + + @SerializedName("merchantDefinedDataIndex") + private Integer merchantDefinedDataIndex = null; + + public MerchantDefinedFieldCore fieldType(String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Possible values: - text - select + * @return fieldType + **/ + @ApiModelProperty(required = true, value = "Possible values: - text - select") + public String getFieldType() { + return fieldType; + } + + public void setFieldType(String fieldType) { + this.fieldType = fieldType; + } + + public MerchantDefinedFieldCore label(String label) { + this.label = label; + return this; + } + + /** + * Get label + * @return label + **/ + @ApiModelProperty(required = true, value = "") + public String getLabel() { + return label; + } + + public void setLabel(String label) { + this.label = label; + } + + public MerchantDefinedFieldCore customerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; + return this; + } + + /** + * Get customerVisible + * @return customerVisible + **/ + @ApiModelProperty(value = "") + public Boolean CustomerVisible() { + return customerVisible; + } + + public void setCustomerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; + } + + public MerchantDefinedFieldCore textMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + return this; + } + + /** + * Should be used only if fieldType = \"text\" + * @return textMinLength + **/ + @ApiModelProperty(value = "Should be used only if fieldType = \"text\"") + public Integer getTextMinLength() { + return textMinLength; + } + + public void setTextMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + } + + public MerchantDefinedFieldCore textMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; + return this; + } + + /** + * Should be used only if fieldType = \"text\" + * @return textMaxLength + **/ + @ApiModelProperty(value = "Should be used only if fieldType = \"text\"") + public Integer getTextMaxLength() { + return textMaxLength; + } + + public void setTextMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; + } + + public MerchantDefinedFieldCore textDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + return this; + } + + /** + * Should be used only if fieldType = \"text\" + * @return textDefaultValue + **/ + @ApiModelProperty(value = "Should be used only if fieldType = \"text\"") + public String getTextDefaultValue() { + return textDefaultValue; + } + + public void setTextDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + } + + public MerchantDefinedFieldCore possibleValues(String possibleValues) { + this.possibleValues = possibleValues; + return this; + } + + /** + * Should be mandatory and used only if fieldType = \"select\" + * @return possibleValues + **/ + @ApiModelProperty(value = "Should be mandatory and used only if fieldType = \"select\"") + public String getPossibleValues() { + return possibleValues; + } + + public void setPossibleValues(String possibleValues) { + this.possibleValues = possibleValues; + } + + public MerchantDefinedFieldCore readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Get readOnly + * @return readOnly + **/ + @ApiModelProperty(value = "") + public Boolean ReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public MerchantDefinedFieldCore merchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; + return this; + } + + /** + * Get merchantDefinedDataIndex + * @return merchantDefinedDataIndex + **/ + @ApiModelProperty(required = true, value = "") + public Integer getMerchantDefinedDataIndex() { + return merchantDefinedDataIndex; + } + + public void setMerchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MerchantDefinedFieldCore merchantDefinedFieldCore = (MerchantDefinedFieldCore) o; + return Objects.equals(this.fieldType, merchantDefinedFieldCore.fieldType) && + Objects.equals(this.label, merchantDefinedFieldCore.label) && + Objects.equals(this.customerVisible, merchantDefinedFieldCore.customerVisible) && + Objects.equals(this.textMinLength, merchantDefinedFieldCore.textMinLength) && + Objects.equals(this.textMaxLength, merchantDefinedFieldCore.textMaxLength) && + Objects.equals(this.textDefaultValue, merchantDefinedFieldCore.textDefaultValue) && + Objects.equals(this.possibleValues, merchantDefinedFieldCore.possibleValues) && + Objects.equals(this.readOnly, merchantDefinedFieldCore.readOnly) && + Objects.equals(this.merchantDefinedDataIndex, merchantDefinedFieldCore.merchantDefinedDataIndex); + } + + @Override + public int hashCode() { + return Objects.hash(fieldType, label, customerVisible, textMinLength, textMaxLength, textDefaultValue, possibleValues, readOnly, merchantDefinedDataIndex); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MerchantDefinedFieldCore {\n"); + + if (fieldType != null) sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + if (label != null) sb.append(" label: ").append(toIndentedString(label)).append("\n"); + if (customerVisible != null) sb.append(" customerVisible: ").append(toIndentedString(customerVisible)).append("\n"); + if (textMinLength != null) sb.append(" textMinLength: ").append(toIndentedString(textMinLength)).append("\n"); + if (textMaxLength != null) sb.append(" textMaxLength: ").append(toIndentedString(textMaxLength)).append("\n"); + if (textDefaultValue != null) sb.append(" textDefaultValue: ").append(toIndentedString(textDefaultValue)).append("\n"); + if (possibleValues != null) sb.append(" possibleValues: ").append(toIndentedString(possibleValues)).append("\n"); + if (readOnly != null) sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + if (merchantDefinedDataIndex != null) sb.append(" merchantDefinedDataIndex: ").append(toIndentedString(merchantDefinedDataIndex)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/MerchantDefinedFieldDefinitionRequest.java b/src/main/java/Model/MerchantDefinedFieldDefinitionRequest.java new file mode 100644 index 000000000..361dc7860 --- /dev/null +++ b/src/main/java/Model/MerchantDefinedFieldDefinitionRequest.java @@ -0,0 +1,278 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * MerchantDefinedFieldDefinitionRequest + */ + +public class MerchantDefinedFieldDefinitionRequest { + @SerializedName("fieldType") + private String fieldType = null; + + @SerializedName("label") + private String label = null; + + @SerializedName("customerVisible") + private Boolean customerVisible = false; + + @SerializedName("textMinLength") + private Integer textMinLength = null; + + @SerializedName("textMaxLength") + private Integer textMaxLength = null; + + @SerializedName("textDefaultValue") + private String textDefaultValue = null; + + @SerializedName("possibleValues") + private String possibleValues = null; + + @SerializedName("readOnly") + private Boolean readOnly = false; + + @SerializedName("merchantDefinedDataIndex") + private Integer merchantDefinedDataIndex = null; + + public MerchantDefinedFieldDefinitionRequest fieldType(String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Possible values: - text - select + * @return fieldType + **/ + @ApiModelProperty(required = true, value = "Possible values: - text - select") + public String getFieldType() { + return fieldType; + } + + public void setFieldType(String fieldType) { + this.fieldType = fieldType; + } + + public MerchantDefinedFieldDefinitionRequest label(String label) { + this.label = label; + return this; + } + + /** + * Get label + * @return label + **/ + @ApiModelProperty(required = true, value = "") + public String getLabel() { + return label; + } + + public void setLabel(String label) { + this.label = label; + } + + public MerchantDefinedFieldDefinitionRequest customerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; + return this; + } + + /** + * Get customerVisible + * @return customerVisible + **/ + @ApiModelProperty(value = "") + public Boolean CustomerVisible() { + return customerVisible; + } + + public void setCustomerVisible(Boolean customerVisible) { + this.customerVisible = customerVisible; + } + + public MerchantDefinedFieldDefinitionRequest textMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + return this; + } + + /** + * Should be used only if fieldType = \"text\" + * @return textMinLength + **/ + @ApiModelProperty(value = "Should be used only if fieldType = \"text\"") + public Integer getTextMinLength() { + return textMinLength; + } + + public void setTextMinLength(Integer textMinLength) { + this.textMinLength = textMinLength; + } + + public MerchantDefinedFieldDefinitionRequest textMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; + return this; + } + + /** + * Should be used only if fieldType = \"text\" + * @return textMaxLength + **/ + @ApiModelProperty(value = "Should be used only if fieldType = \"text\"") + public Integer getTextMaxLength() { + return textMaxLength; + } + + public void setTextMaxLength(Integer textMaxLength) { + this.textMaxLength = textMaxLength; + } + + public MerchantDefinedFieldDefinitionRequest textDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + return this; + } + + /** + * Should be used only if fieldType = \"text\" + * @return textDefaultValue + **/ + @ApiModelProperty(value = "Should be used only if fieldType = \"text\"") + public String getTextDefaultValue() { + return textDefaultValue; + } + + public void setTextDefaultValue(String textDefaultValue) { + this.textDefaultValue = textDefaultValue; + } + + public MerchantDefinedFieldDefinitionRequest possibleValues(String possibleValues) { + this.possibleValues = possibleValues; + return this; + } + + /** + * Should be mandatory and used only if fieldType = \"select\" + * @return possibleValues + **/ + @ApiModelProperty(value = "Should be mandatory and used only if fieldType = \"select\"") + public String getPossibleValues() { + return possibleValues; + } + + public void setPossibleValues(String possibleValues) { + this.possibleValues = possibleValues; + } + + public MerchantDefinedFieldDefinitionRequest readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Get readOnly + * @return readOnly + **/ + @ApiModelProperty(value = "") + public Boolean ReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public MerchantDefinedFieldDefinitionRequest merchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; + return this; + } + + /** + * Get merchantDefinedDataIndex + * @return merchantDefinedDataIndex + **/ + @ApiModelProperty(required = true, value = "") + public Integer getMerchantDefinedDataIndex() { + return merchantDefinedDataIndex; + } + + public void setMerchantDefinedDataIndex(Integer merchantDefinedDataIndex) { + this.merchantDefinedDataIndex = merchantDefinedDataIndex; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest = (MerchantDefinedFieldDefinitionRequest) o; + return Objects.equals(this.fieldType, merchantDefinedFieldDefinitionRequest.fieldType) && + Objects.equals(this.label, merchantDefinedFieldDefinitionRequest.label) && + Objects.equals(this.customerVisible, merchantDefinedFieldDefinitionRequest.customerVisible) && + Objects.equals(this.textMinLength, merchantDefinedFieldDefinitionRequest.textMinLength) && + Objects.equals(this.textMaxLength, merchantDefinedFieldDefinitionRequest.textMaxLength) && + Objects.equals(this.textDefaultValue, merchantDefinedFieldDefinitionRequest.textDefaultValue) && + Objects.equals(this.possibleValues, merchantDefinedFieldDefinitionRequest.possibleValues) && + Objects.equals(this.readOnly, merchantDefinedFieldDefinitionRequest.readOnly) && + Objects.equals(this.merchantDefinedDataIndex, merchantDefinedFieldDefinitionRequest.merchantDefinedDataIndex); + } + + @Override + public int hashCode() { + return Objects.hash(fieldType, label, customerVisible, textMinLength, textMaxLength, textDefaultValue, possibleValues, readOnly, merchantDefinedDataIndex); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MerchantDefinedFieldDefinitionRequest {\n"); + + if (fieldType != null) sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + if (label != null) sb.append(" label: ").append(toIndentedString(label)).append("\n"); + if (customerVisible != null) sb.append(" customerVisible: ").append(toIndentedString(customerVisible)).append("\n"); + if (textMinLength != null) sb.append(" textMinLength: ").append(toIndentedString(textMinLength)).append("\n"); + if (textMaxLength != null) sb.append(" textMaxLength: ").append(toIndentedString(textMaxLength)).append("\n"); + if (textDefaultValue != null) sb.append(" textDefaultValue: ").append(toIndentedString(textDefaultValue)).append("\n"); + if (possibleValues != null) sb.append(" possibleValues: ").append(toIndentedString(possibleValues)).append("\n"); + if (readOnly != null) sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + if (merchantDefinedDataIndex != null) sb.append(" merchantDefinedDataIndex: ").append(toIndentedString(merchantDefinedDataIndex)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/MitReversalRequest.java b/src/main/java/Model/MitReversalRequest.java index e6a978d29..829736ec5 100644 --- a/src/main/java/Model/MitReversalRequest.java +++ b/src/main/java/Model/MitReversalRequest.java @@ -20,6 +20,7 @@ import Model.Ptsv2paymentsidreversalsPointOfSaleInformation; import Model.Ptsv2paymentsidreversalsProcessingInformation; import Model.Ptsv2paymentsidreversalsReversalInformation; +import Model.Ptsv2reversalsProcessorInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,9 @@ public class MitReversalRequest { @SerializedName("pointOfSaleInformation") private Ptsv2paymentsidreversalsPointOfSaleInformation pointOfSaleInformation = null; + @SerializedName("processorInformation") + private Ptsv2reversalsProcessorInformation processorInformation = null; + public MitReversalRequest clientReferenceInformation(Ptsv2paymentsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; @@ -139,6 +143,24 @@ public void setPointOfSaleInformation(Ptsv2paymentsidreversalsPointOfSaleInforma this.pointOfSaleInformation = pointOfSaleInformation; } + public MitReversalRequest processorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + return this; + } + + /** + * Get processorInformation + * @return processorInformation + **/ + @ApiModelProperty(value = "") + public Ptsv2reversalsProcessorInformation getProcessorInformation() { + return processorInformation; + } + + public void setProcessorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -153,12 +175,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.reversalInformation, mitReversalRequest.reversalInformation) && Objects.equals(this.processingInformation, mitReversalRequest.processingInformation) && Objects.equals(this.orderInformation, mitReversalRequest.orderInformation) && - Objects.equals(this.pointOfSaleInformation, mitReversalRequest.pointOfSaleInformation); + Objects.equals(this.pointOfSaleInformation, mitReversalRequest.pointOfSaleInformation) && + Objects.equals(this.processorInformation, mitReversalRequest.processorInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, reversalInformation, processingInformation, orderInformation, pointOfSaleInformation); + return Objects.hash(clientReferenceInformation, reversalInformation, processingInformation, orderInformation, pointOfSaleInformation, processorInformation); } @@ -172,6 +195,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.java b/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.java index 0387e8a7c..811972916 100644 --- a/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.java +++ b/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.java @@ -16,6 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsAdditionalConfigurations; +import Model.UnderwritingConfiguration; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -48,6 +49,9 @@ public class PaymentsProductsAlternativePaymentMethodsConfigurationInformationCo @SerializedName("redirectFailureUrl") private String redirectFailureUrl = null; + @SerializedName("underwriting") + private UnderwritingConfiguration underwriting = null; + @SerializedName("additionalConfigurations") private List additionalConfigurations = null; @@ -141,6 +145,24 @@ public void setRedirectFailureUrl(String redirectFailureUrl) { this.redirectFailureUrl = redirectFailureUrl; } + public PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods underwriting(UnderwritingConfiguration underwriting) { + this.underwriting = underwriting; + return this; + } + + /** + * Get underwriting + * @return underwriting + **/ + @ApiModelProperty(value = "") + public UnderwritingConfiguration getUnderwriting() { + return underwriting; + } + + public void setUnderwriting(UnderwritingConfiguration underwriting) { + this.underwriting = underwriting; + } + public PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods additionalConfigurations(List additionalConfigurations) { this.additionalConfigurations = additionalConfigurations; return this; @@ -182,12 +204,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.redirectSuccessUrl, paymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.redirectSuccessUrl) && Objects.equals(this.redirectCancelUrl, paymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.redirectCancelUrl) && Objects.equals(this.redirectFailureUrl, paymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.redirectFailureUrl) && + Objects.equals(this.underwriting, paymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.underwriting) && Objects.equals(this.additionalConfigurations, paymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsPaymentMethods.additionalConfigurations); } @Override public int hashCode() { - return Objects.hash(merchantId, logoUrl, redirectSuccessUrl, redirectCancelUrl, redirectFailureUrl, additionalConfigurations); + return Objects.hash(merchantId, logoUrl, redirectSuccessUrl, redirectCancelUrl, redirectFailureUrl, underwriting, additionalConfigurations); } @@ -201,6 +224,7 @@ public String toString() { if (redirectSuccessUrl != null) sb.append(" redirectSuccessUrl: ").append(toIndentedString(redirectSuccessUrl)).append("\n"); if (redirectCancelUrl != null) sb.append(" redirectCancelUrl: ").append(toIndentedString(redirectCancelUrl)).append("\n"); if (redirectFailureUrl != null) sb.append(" redirectFailureUrl: ").append(toIndentedString(redirectFailureUrl)).append("\n"); + if (underwriting != null) sb.append(" underwriting: ").append(toIndentedString(underwriting)).append("\n"); if (additionalConfigurations != null) sb.append(" additionalConfigurations: ").append(toIndentedString(additionalConfigurations)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.java index d4a656535..b5c1c2cb4 100644 --- a/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.java +++ b/src/main/java/Model/PaymentsProductsAlternativePaymentMethodsSubscriptionInformation.java @@ -32,9 +32,6 @@ public class PaymentsProductsAlternativePaymentMethodsSubscriptionInformation { @SerializedName("enabled") private Boolean enabled = null; - @SerializedName("selfServiceability") - private String selfServiceability = "NOT_SELF_SERVICEABLE"; - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation enabled(Boolean enabled) { this.enabled = enabled; return this; @@ -53,24 +50,6 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation selfServiceability(String selfServiceability) { - this.selfServiceability = selfServiceability; - return this; - } - - /** - * Indicates if the organization can enable this product using self service. Possible values: - SELF_SERVICEABLE - NOT_SELF_SERVICEABLE - SELF_SERVICE_ONLY - * @return selfServiceability - **/ - @ApiModelProperty(value = "Indicates if the organization can enable this product using self service. Possible values: - SELF_SERVICEABLE - NOT_SELF_SERVICEABLE - SELF_SERVICE_ONLY") - public String getSelfServiceability() { - return selfServiceability; - } - - public void setSelfServiceability(String selfServiceability) { - this.selfServiceability = selfServiceability; - } - @Override public boolean equals(java.lang.Object o) { @@ -81,13 +60,12 @@ public boolean equals(java.lang.Object o) { return false; } PaymentsProductsAlternativePaymentMethodsSubscriptionInformation paymentsProductsAlternativePaymentMethodsSubscriptionInformation = (PaymentsProductsAlternativePaymentMethodsSubscriptionInformation) o; - return Objects.equals(this.enabled, paymentsProductsAlternativePaymentMethodsSubscriptionInformation.enabled) && - Objects.equals(this.selfServiceability, paymentsProductsAlternativePaymentMethodsSubscriptionInformation.selfServiceability); + return Objects.equals(this.enabled, paymentsProductsAlternativePaymentMethodsSubscriptionInformation.enabled); } @Override public int hashCode() { - return Objects.hash(enabled, selfServiceability); + return Objects.hash(enabled); } @@ -97,7 +75,6 @@ public String toString() { sb.append("class PaymentsProductsAlternativePaymentMethodsSubscriptionInformation {\n"); if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PaymentsProductsCurrencyConversion.java b/src/main/java/Model/PaymentsProductsCurrencyConversion.java index 4289f2dd9..92ce00813 100644 --- a/src/main/java/Model/PaymentsProductsCurrencyConversion.java +++ b/src/main/java/Model/PaymentsProductsCurrencyConversion.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; import Model.PaymentsProductsCurrencyConversionConfigurationInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,12 +32,12 @@ public class PaymentsProductsCurrencyConversion { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private PaymentsProductsCurrencyConversionConfigurationInformation configurationInformation = null; - public PaymentsProductsCurrencyConversion subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public PaymentsProductsCurrencyConversion subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public PaymentsProductsCurrencyConversion subscriptionInformation(PaymentsProduc * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java index d4c8331b8..90f96f800 100644 --- a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java +++ b/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeatures.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge; +import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -31,9 +31,9 @@ public class PaymentsProductsDifferentialFeeSubscriptionInformationFeatures { @SerializedName("surcharge") - private PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge surcharge = null; + private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation surcharge = null; - public PaymentsProductsDifferentialFeeSubscriptionInformationFeatures surcharge(PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge surcharge) { + public PaymentsProductsDifferentialFeeSubscriptionInformationFeatures surcharge(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation surcharge) { this.surcharge = surcharge; return this; } @@ -43,11 +43,11 @@ public PaymentsProductsDifferentialFeeSubscriptionInformationFeatures surcharge( * @return surcharge **/ @ApiModelProperty(value = "") - public PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge getSurcharge() { + public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSurcharge() { return surcharge; } - public void setSurcharge(PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge surcharge) { + public void setSurcharge(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation surcharge) { this.surcharge = surcharge; } diff --git a/src/main/java/Model/PaymentsProductsPayerAuthentication.java b/src/main/java/Model/PaymentsProductsPayerAuthentication.java index 5f383a0e3..474424f52 100644 --- a/src/main/java/Model/PaymentsProductsPayerAuthentication.java +++ b/src/main/java/Model/PaymentsProductsPayerAuthentication.java @@ -15,8 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; import Model.PaymentsProductsPayerAuthenticationConfigurationInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,12 +32,12 @@ public class PaymentsProductsPayerAuthentication { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private PaymentsProductsPayerAuthenticationConfigurationInformation configurationInformation = null; - public PaymentsProductsPayerAuthentication subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public PaymentsProductsPayerAuthentication subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public PaymentsProductsPayerAuthentication subscriptionInformation(PaymentsProdu * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/PaymentsProductsPayerAuthenticationSubscriptionInformation.java b/src/main/java/Model/PaymentsProductsPayerAuthenticationSubscriptionInformation.java new file mode 100644 index 000000000..63c70f9fc --- /dev/null +++ b/src/main/java/Model/PaymentsProductsPayerAuthenticationSubscriptionInformation.java @@ -0,0 +1,117 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PaymentsProductsPayerAuthenticationSubscriptionInformation + */ + +public class PaymentsProductsPayerAuthenticationSubscriptionInformation { + @SerializedName("enabled") + private Boolean enabled = null; + + @SerializedName("selfServiceability") + private String selfServiceability = "NOT_SELF_SERVICEABLE"; + + public PaymentsProductsPayerAuthenticationSubscriptionInformation enabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get enabled + * @return enabled + **/ + @ApiModelProperty(value = "") + public Boolean Enabled() { + return enabled; + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public PaymentsProductsPayerAuthenticationSubscriptionInformation selfServiceability(String selfServiceability) { + this.selfServiceability = selfServiceability; + return this; + } + + /** + * Indicates if the organization can enable this product using self service. Possible values: - SELF_SERVICEABLE - NOT_SELF_SERVICEABLE - SELF_SERVICE_ONLY + * @return selfServiceability + **/ + @ApiModelProperty(value = "Indicates if the organization can enable this product using self service. Possible values: - SELF_SERVICEABLE - NOT_SELF_SERVICEABLE - SELF_SERVICE_ONLY") + public String getSelfServiceability() { + return selfServiceability; + } + + public void setSelfServiceability(String selfServiceability) { + this.selfServiceability = selfServiceability; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaymentsProductsPayerAuthenticationSubscriptionInformation paymentsProductsPayerAuthenticationSubscriptionInformation = (PaymentsProductsPayerAuthenticationSubscriptionInformation) o; + return Objects.equals(this.enabled, paymentsProductsPayerAuthenticationSubscriptionInformation.enabled) && + Objects.equals(this.selfServiceability, paymentsProductsPayerAuthenticationSubscriptionInformation.selfServiceability); + } + + @Override + public int hashCode() { + return Objects.hash(enabled, selfServiceability); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaymentsProductsPayerAuthenticationSubscriptionInformation {\n"); + + if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (selfServiceability != null) sb.append(" selfServiceability: ").append(toIndentedString(selfServiceability)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PaymentsProductsPayouts.java b/src/main/java/Model/PaymentsProductsPayouts.java index c2a08fdd2..6ea76c196 100644 --- a/src/main/java/Model/PaymentsProductsPayouts.java +++ b/src/main/java/Model/PaymentsProductsPayouts.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import Model.PaymentsProductsPayoutsConfigurationInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -32,12 +32,12 @@ public class PaymentsProductsPayouts { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private PaymentsProductsPayoutsConfigurationInformation configurationInformation = null; - public PaymentsProductsPayouts subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public PaymentsProductsPayouts subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public PaymentsProductsPayouts subscriptionInformation(PaymentsProductsAlternati * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java index 0e5760f4a..dc04216cd 100644 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurations.java @@ -15,8 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds; -import Model.PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds; +import Model.PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,62 +33,54 @@ */ public class PaymentsProductsPayoutsConfigurationInformationConfigurations { - @SerializedName("pullfunds") - private Map pullfunds = null; + @SerializedName("common") + private PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon common = null; - @SerializedName("pushfunds") - private Map pushfunds = null; + @SerializedName("processors") + private Map processors = null; - public PaymentsProductsPayoutsConfigurationInformationConfigurations pullfunds(Map pullfunds) { - this.pullfunds = pullfunds; - return this; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurations putPullfundsItem(String key, PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds pullfundsItem) { - if (this.pullfunds == null) { - this.pullfunds = new HashMap(); - } - this.pullfunds.put(key, pullfundsItem); + public PaymentsProductsPayoutsConfigurationInformationConfigurations common(PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon common) { + this.common = common; return this; } /** - * Get pullfunds - * @return pullfunds + * Get common + * @return common **/ @ApiModelProperty(value = "") - public Map getPullfunds() { - return pullfunds; + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon getCommon() { + return common; } - public void setPullfunds(Map pullfunds) { - this.pullfunds = pullfunds; + public void setCommon(PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon common) { + this.common = common; } - public PaymentsProductsPayoutsConfigurationInformationConfigurations pushfunds(Map pushfunds) { - this.pushfunds = pushfunds; + public PaymentsProductsPayoutsConfigurationInformationConfigurations processors(Map processors) { + this.processors = processors; return this; } - public PaymentsProductsPayoutsConfigurationInformationConfigurations putPushfundsItem(String key, PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds pushfundsItem) { - if (this.pushfunds == null) { - this.pushfunds = new HashMap(); + public PaymentsProductsPayoutsConfigurationInformationConfigurations putProcessorsItem(String key, Object processorsItem) { + if (this.processors == null) { + this.processors = new HashMap(); } - this.pushfunds.put(key, pushfundsItem); + this.processors.put(key, processorsItem); return this; } /** - * Get pushfunds - * @return pushfunds + * Get processors + * @return processors **/ @ApiModelProperty(value = "") - public Map getPushfunds() { - return pushfunds; + public Map getProcessors() { + return processors; } - public void setPushfunds(Map pushfunds) { - this.pushfunds = pushfunds; + public void setProcessors(Map processors) { + this.processors = processors; } @@ -102,13 +93,13 @@ public boolean equals(java.lang.Object o) { return false; } PaymentsProductsPayoutsConfigurationInformationConfigurations paymentsProductsPayoutsConfigurationInformationConfigurations = (PaymentsProductsPayoutsConfigurationInformationConfigurations) o; - return Objects.equals(this.pullfunds, paymentsProductsPayoutsConfigurationInformationConfigurations.pullfunds) && - Objects.equals(this.pushfunds, paymentsProductsPayoutsConfigurationInformationConfigurations.pushfunds); + return Objects.equals(this.common, paymentsProductsPayoutsConfigurationInformationConfigurations.common) && + Objects.equals(this.processors, paymentsProductsPayoutsConfigurationInformationConfigurations.processors); } @Override public int hashCode() { - return Objects.hash(pullfunds, pushfunds); + return Objects.hash(common, processors); } @@ -117,8 +108,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurations {\n"); - if (pullfunds != null) sb.append(" pullfunds: ").append(toIndentedString(pullfunds)).append("\n"); - if (pushfunds != null) sb.append(" pushfunds: ").append(toIndentedString(pushfunds)).append("\n"); + if (common != null) sb.append(" common: ").append(toIndentedString(common)).append("\n"); + if (processors != null) sb.append(" processors: ").append(toIndentedString(processors)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.java new file mode 100644 index 000000000..fc5ab6a20 --- /dev/null +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.java @@ -0,0 +1,159 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon + */ + +public class PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon { + @SerializedName("paymentTypes") + private List paymentTypes = null; + + @SerializedName("businessApplicationId") + private List businessApplicationId = null; + + @SerializedName("aggregator") + private PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator aggregator = null; + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon paymentTypes(List paymentTypes) { + this.paymentTypes = paymentTypes; + return this; + } + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon addPaymentTypesItem(String paymentTypesItem) { + if (this.paymentTypes == null) { + this.paymentTypes = new ArrayList(); + } + this.paymentTypes.add(paymentTypesItem); + return this; + } + + /** + * List of card types supported by this merchant. + * @return paymentTypes + **/ + @ApiModelProperty(value = "List of card types supported by this merchant. ") + public List getPaymentTypes() { + return paymentTypes; + } + + public void setPaymentTypes(List paymentTypes) { + this.paymentTypes = paymentTypes; + } + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon businessApplicationId(List businessApplicationId) { + this.businessApplicationId = businessApplicationId; + return this; + } + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon addBusinessApplicationIdItem(String businessApplicationIdItem) { + if (this.businessApplicationId == null) { + this.businessApplicationId = new ArrayList(); + } + this.businessApplicationId.add(businessApplicationIdItem); + return this; + } + + /** + * List of supported Business Application Indicators. + * @return businessApplicationId + **/ + @ApiModelProperty(value = "List of supported Business Application Indicators. ") + public List getBusinessApplicationId() { + return businessApplicationId; + } + + public void setBusinessApplicationId(List businessApplicationId) { + this.businessApplicationId = businessApplicationId; + } + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon aggregator(PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator aggregator) { + this.aggregator = aggregator; + return this; + } + + /** + * Get aggregator + * @return aggregator + **/ + @ApiModelProperty(value = "") + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator getAggregator() { + return aggregator; + } + + public void setAggregator(PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator aggregator) { + this.aggregator = aggregator; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon paymentsProductsPayoutsConfigurationInformationConfigurationsCommon = (PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon) o; + return Objects.equals(this.paymentTypes, paymentsProductsPayoutsConfigurationInformationConfigurationsCommon.paymentTypes) && + Objects.equals(this.businessApplicationId, paymentsProductsPayoutsConfigurationInformationConfigurationsCommon.businessApplicationId) && + Objects.equals(this.aggregator, paymentsProductsPayoutsConfigurationInformationConfigurationsCommon.aggregator); + } + + @Override + public int hashCode() { + return Objects.hash(paymentTypes, businessApplicationId, aggregator); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon {\n"); + + if (paymentTypes != null) sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); + if (businessApplicationId != null) sb.append(" businessApplicationId: ").append(toIndentedString(businessApplicationId)).append("\n"); + if (aggregator != null) sb.append(" aggregator: ").append(toIndentedString(aggregator)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.java new file mode 100644 index 000000000..d475ae473 --- /dev/null +++ b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.java @@ -0,0 +1,140 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator + */ + +public class PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator { + @SerializedName("id") + private String id = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("subMerchantId") + private String subMerchantId = null; + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator id(String id) { + this.id = id; + return this; + } + + /** + * Marketplace or payment facilitator ID. + * @return id + **/ + @ApiModelProperty(value = "Marketplace or payment facilitator ID.") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator name(String name) { + this.name = name; + return this; + } + + /** + * Acceptor's legal business name associated with the card acceptor identification code. + * @return name + **/ + @ApiModelProperty(value = "Acceptor's legal business name associated with the card acceptor identification code.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator subMerchantId(String subMerchantId) { + this.subMerchantId = subMerchantId; + return this; + } + + /** + * Sub-merchant ID + * @return subMerchantId + **/ + @ApiModelProperty(value = "Sub-merchant ID") + public String getSubMerchantId() { + return subMerchantId; + } + + public void setSubMerchantId(String subMerchantId) { + this.subMerchantId = subMerchantId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator paymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator = (PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator) o; + return Objects.equals(this.id, paymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.id) && + Objects.equals(this.name, paymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.name) && + Objects.equals(this.subMerchantId, paymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.subMerchantId); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, subMerchantId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator {\n"); + + if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n"); + if (name != null) sb.append(" name: ").append(toIndentedString(name)).append("\n"); + if (subMerchantId != null) sb.append(" subMerchantId: ").append(toIndentedString(subMerchantId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.java deleted file mode 100644 index 0d1029217..000000000 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.java +++ /dev/null @@ -1,155 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount - */ - -public class PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount { - @SerializedName("originatorMerchantId") - private String originatorMerchantId = null; - - @SerializedName("originatorTerminalId") - private List originatorTerminalId = new ArrayList(); - - @SerializedName("supportedCurrencies") - private List supportedCurrencies = null; - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount originatorMerchantId(String originatorMerchantId) { - this.originatorMerchantId = originatorMerchantId; - return this; - } - - /** - * TBD - * @return originatorMerchantId - **/ - @ApiModelProperty(required = true, value = "TBD") - public String getOriginatorMerchantId() { - return originatorMerchantId; - } - - public void setOriginatorMerchantId(String originatorMerchantId) { - this.originatorMerchantId = originatorMerchantId; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount originatorTerminalId(List originatorTerminalId) { - this.originatorTerminalId = originatorTerminalId; - return this; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount addOriginatorTerminalIdItem(String originatorTerminalIdItem) { - this.originatorTerminalId.add(originatorTerminalIdItem); - return this; - } - - /** - * TBD - * @return originatorTerminalId - **/ - @ApiModelProperty(required = true, value = "TBD") - public List getOriginatorTerminalId() { - return originatorTerminalId; - } - - public void setOriginatorTerminalId(List originatorTerminalId) { - this.originatorTerminalId = originatorTerminalId; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount supportedCurrencies(List supportedCurrencies) { - this.supportedCurrencies = supportedCurrencies; - return this; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount addSupportedCurrenciesItem(String supportedCurrenciesItem) { - if (this.supportedCurrencies == null) { - this.supportedCurrencies = new ArrayList(); - } - this.supportedCurrencies.add(supportedCurrenciesItem); - return this; - } - - /** - * Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) - * @return supportedCurrencies - **/ - @ApiModelProperty(value = "Three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)") - public List getSupportedCurrencies() { - return supportedCurrencies; - } - - public void setSupportedCurrencies(List supportedCurrencies) { - this.supportedCurrencies = supportedCurrencies; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount paymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount = (PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount) o; - return Objects.equals(this.originatorMerchantId, paymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.originatorMerchantId) && - Objects.equals(this.originatorTerminalId, paymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.originatorTerminalId) && - Objects.equals(this.supportedCurrencies, paymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount.supportedCurrencies); - } - - @Override - public int hashCode() { - return Objects.hash(originatorMerchantId, originatorTerminalId, supportedCurrencies); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount {\n"); - - if (originatorMerchantId != null) sb.append(" originatorMerchantId: ").append(toIndentedString(originatorMerchantId)).append("\n"); - if (originatorTerminalId != null) sb.append(" originatorTerminalId: ").append(toIndentedString(originatorTerminalId)).append("\n"); - if (supportedCurrencies != null) sb.append(" supportedCurrencies: ").append(toIndentedString(supportedCurrencies)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.java deleted file mode 100644 index 936cec9e1..000000000 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.java +++ /dev/null @@ -1,233 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * 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] - */ -@ApiModel(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]") - -public class PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds { - @SerializedName("acquirerOrganizationId") - private String acquirerOrganizationId = null; - - @SerializedName("acquiringBIN") - private Integer acquiringBIN = null; - - @SerializedName("allowCryptoCurrencyPurchase") - private Boolean allowCryptoCurrencyPurchase = null; - - @SerializedName("cardAcceptorId") - private String cardAcceptorId = null; - - @SerializedName("originatorMvv") - private String originatorMvv = null; - - @SerializedName("originatorNameAbbreviation") - private String originatorNameAbbreviation = null; - - @SerializedName("cardTerminalId") - private String cardTerminalId = null; - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds acquirerOrganizationId(String acquirerOrganizationId) { - this.acquirerOrganizationId = acquirerOrganizationId; - return this; - } - - /** - * Valid organization in OMS with an organizationInformation.type as \"acquirer\". - * @return acquirerOrganizationId - **/ - @ApiModelProperty(value = "Valid organization in OMS with an organizationInformation.type as \"acquirer\".") - public String getAcquirerOrganizationId() { - return acquirerOrganizationId; - } - - public void setAcquirerOrganizationId(String acquirerOrganizationId) { - this.acquirerOrganizationId = acquirerOrganizationId; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds acquiringBIN(Integer acquiringBIN) { - this.acquiringBIN = acquiringBIN; - return this; - } - - /** - * 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. - * @return acquiringBIN - **/ - @ApiModelProperty(required = true, value = "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.") - public Integer getAcquiringBIN() { - return acquiringBIN; - } - - public void setAcquiringBIN(Integer acquiringBIN) { - this.acquiringBIN = acquiringBIN; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds allowCryptoCurrencyPurchase(Boolean allowCryptoCurrencyPurchase) { - this.allowCryptoCurrencyPurchase = allowCryptoCurrencyPurchase; - return this; - } - - /** - * This configuration allows a transaction to be flagged for cryptocurrency funds transfer. - * @return allowCryptoCurrencyPurchase - **/ - @ApiModelProperty(value = "This configuration allows a transaction to be flagged for cryptocurrency funds transfer.") - public Boolean AllowCryptoCurrencyPurchase() { - return allowCryptoCurrencyPurchase; - } - - public void setAllowCryptoCurrencyPurchase(Boolean allowCryptoCurrencyPurchase) { - this.allowCryptoCurrencyPurchase = allowCryptoCurrencyPurchase; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds cardAcceptorId(String cardAcceptorId) { - this.cardAcceptorId = cardAcceptorId; - return this; - } - - /** - * A unique identifier number for the originator of transfers that is unique to the processor or acquirer. - * @return cardAcceptorId - **/ - @ApiModelProperty(required = true, value = "A unique identifier number for the originator of transfers that is unique to the processor or acquirer.") - public String getCardAcceptorId() { - return cardAcceptorId; - } - - public void setCardAcceptorId(String cardAcceptorId) { - this.cardAcceptorId = cardAcceptorId; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds originatorMvv(String originatorMvv) { - this.originatorMvv = originatorMvv; - return this; - } - - /** - * Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant. - * @return originatorMvv - **/ - @ApiModelProperty(value = "Merchant Verification Value (MVV) is used to identify originators that participate in a variety of programs. The MVV is unique to the merchant.") - public String getOriginatorMvv() { - return originatorMvv; - } - - public void setOriginatorMvv(String originatorMvv) { - this.originatorMvv = originatorMvv; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds originatorNameAbbreviation(String originatorNameAbbreviation) { - this.originatorNameAbbreviation = originatorNameAbbreviation; - return this; - } - - /** - * A 4 character max name abbreviation for the originator. - * @return originatorNameAbbreviation - **/ - @ApiModelProperty(value = "A 4 character max name abbreviation for the originator.") - public String getOriginatorNameAbbreviation() { - return originatorNameAbbreviation; - } - - public void setOriginatorNameAbbreviation(String originatorNameAbbreviation) { - this.originatorNameAbbreviation = originatorNameAbbreviation; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds cardTerminalId(String cardTerminalId) { - this.cardTerminalId = cardTerminalId; - return this; - } - - /** - * 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. - * @return cardTerminalId - **/ - @ApiModelProperty(required = true, value = "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.") - public String getCardTerminalId() { - return cardTerminalId; - } - - public void setCardTerminalId(String cardTerminalId) { - this.cardTerminalId = cardTerminalId; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds = (PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds) o; - return Objects.equals(this.acquirerOrganizationId, paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.acquirerOrganizationId) && - Objects.equals(this.acquiringBIN, paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.acquiringBIN) && - Objects.equals(this.allowCryptoCurrencyPurchase, paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.allowCryptoCurrencyPurchase) && - Objects.equals(this.cardAcceptorId, paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.cardAcceptorId) && - Objects.equals(this.originatorMvv, paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.originatorMvv) && - Objects.equals(this.originatorNameAbbreviation, paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.originatorNameAbbreviation) && - Objects.equals(this.cardTerminalId, paymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds.cardTerminalId); - } - - @Override - public int hashCode() { - return Objects.hash(acquirerOrganizationId, acquiringBIN, allowCryptoCurrencyPurchase, cardAcceptorId, originatorMvv, originatorNameAbbreviation, cardTerminalId); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsPullfunds {\n"); - - if (acquirerOrganizationId != null) sb.append(" acquirerOrganizationId: ").append(toIndentedString(acquirerOrganizationId)).append("\n"); - if (acquiringBIN != null) sb.append(" acquiringBIN: ").append(toIndentedString(acquiringBIN)).append("\n"); - if (allowCryptoCurrencyPurchase != null) sb.append(" allowCryptoCurrencyPurchase: ").append(toIndentedString(allowCryptoCurrencyPurchase)).append("\n"); - if (cardAcceptorId != null) sb.append(" cardAcceptorId: ").append(toIndentedString(cardAcceptorId)).append("\n"); - if (originatorMvv != null) sb.append(" originatorMvv: ").append(toIndentedString(originatorMvv)).append("\n"); - if (originatorNameAbbreviation != null) sb.append(" originatorNameAbbreviation: ").append(toIndentedString(originatorNameAbbreviation)).append("\n"); - if (cardTerminalId != null) sb.append(" cardTerminalId: ").append(toIndentedString(cardTerminalId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.java b/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.java deleted file mode 100644 index c4dcdd98d..000000000 --- a/src/main/java/Model/PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.java +++ /dev/null @@ -1,287 +0,0 @@ -/* - * CyberSource Merged Spec - * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - * - * OpenAPI spec version: 0.0.1 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -package Model; - -import java.util.Objects; -import java.util.Arrays; -import Model.PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * 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] - */ -@ApiModel(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]") - -public class PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds { - @SerializedName("acquirerCountryCode") - private Integer acquirerCountryCode = null; - - @SerializedName("acquiringBIN") - private Integer acquiringBIN = null; - - @SerializedName("allowCryptoCurrencyPurchase") - private Boolean allowCryptoCurrencyPurchase = null; - - @SerializedName("financialInstitutionId") - private String financialInstitutionId = null; - - @SerializedName("networkOrder") - private String networkOrder = null; - - @SerializedName("nationalReimbursementFee") - private String nationalReimbursementFee = null; - - @SerializedName("originatorBusinessApplicationId") - private String originatorBusinessApplicationId = null; - - @SerializedName("originatorPseudoAbaNumber") - private String originatorPseudoAbaNumber = null; - - @SerializedName("processorAccount") - private List processorAccount = new ArrayList(); - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds acquirerCountryCode(Integer acquirerCountryCode) { - this.acquirerCountryCode = acquirerCountryCode; - return this; - } - - /** - * TBD - * @return acquirerCountryCode - **/ - @ApiModelProperty(required = true, value = "TBD") - public Integer getAcquirerCountryCode() { - return acquirerCountryCode; - } - - public void setAcquirerCountryCode(Integer acquirerCountryCode) { - this.acquirerCountryCode = acquirerCountryCode; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds acquiringBIN(Integer acquiringBIN) { - this.acquiringBIN = acquiringBIN; - return this; - } - - /** - * TBD - * @return acquiringBIN - **/ - @ApiModelProperty(required = true, value = "TBD") - public Integer getAcquiringBIN() { - return acquiringBIN; - } - - public void setAcquiringBIN(Integer acquiringBIN) { - this.acquiringBIN = acquiringBIN; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds allowCryptoCurrencyPurchase(Boolean allowCryptoCurrencyPurchase) { - this.allowCryptoCurrencyPurchase = allowCryptoCurrencyPurchase; - return this; - } - - /** - * This configuration allows a transaction to be flagged for cryptocurrency funds transfer. - * @return allowCryptoCurrencyPurchase - **/ - @ApiModelProperty(value = "This configuration allows a transaction to be flagged for cryptocurrency funds transfer.") - public Boolean AllowCryptoCurrencyPurchase() { - return allowCryptoCurrencyPurchase; - } - - public void setAllowCryptoCurrencyPurchase(Boolean allowCryptoCurrencyPurchase) { - this.allowCryptoCurrencyPurchase = allowCryptoCurrencyPurchase; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds financialInstitutionId(String financialInstitutionId) { - this.financialInstitutionId = financialInstitutionId; - return this; - } - - /** - * TBD - * @return financialInstitutionId - **/ - @ApiModelProperty(value = "TBD") - public String getFinancialInstitutionId() { - return financialInstitutionId; - } - - public void setFinancialInstitutionId(String financialInstitutionId) { - this.financialInstitutionId = financialInstitutionId; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds networkOrder(String networkOrder) { - this.networkOrder = networkOrder; - return this; - } - - /** - * TBD - * @return networkOrder - **/ - @ApiModelProperty(value = "TBD") - public String getNetworkOrder() { - return networkOrder; - } - - public void setNetworkOrder(String networkOrder) { - this.networkOrder = networkOrder; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds nationalReimbursementFee(String nationalReimbursementFee) { - this.nationalReimbursementFee = nationalReimbursementFee; - return this; - } - - /** - * TBD - * @return nationalReimbursementFee - **/ - @ApiModelProperty(value = "TBD") - public String getNationalReimbursementFee() { - return nationalReimbursementFee; - } - - public void setNationalReimbursementFee(String nationalReimbursementFee) { - this.nationalReimbursementFee = nationalReimbursementFee; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds originatorBusinessApplicationId(String originatorBusinessApplicationId) { - this.originatorBusinessApplicationId = originatorBusinessApplicationId; - return this; - } - - /** - * TBD - * @return originatorBusinessApplicationId - **/ - @ApiModelProperty(required = true, value = "TBD") - public String getOriginatorBusinessApplicationId() { - return originatorBusinessApplicationId; - } - - public void setOriginatorBusinessApplicationId(String originatorBusinessApplicationId) { - this.originatorBusinessApplicationId = originatorBusinessApplicationId; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds originatorPseudoAbaNumber(String originatorPseudoAbaNumber) { - this.originatorPseudoAbaNumber = originatorPseudoAbaNumber; - return this; - } - - /** - * TBD - * @return originatorPseudoAbaNumber - **/ - @ApiModelProperty(value = "TBD") - public String getOriginatorPseudoAbaNumber() { - return originatorPseudoAbaNumber; - } - - public void setOriginatorPseudoAbaNumber(String originatorPseudoAbaNumber) { - this.originatorPseudoAbaNumber = originatorPseudoAbaNumber; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds processorAccount(List processorAccount) { - this.processorAccount = processorAccount; - return this; - } - - public PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds addProcessorAccountItem(PaymentsProductsPayoutsConfigurationInformationConfigurationsProcessorAccount processorAccountItem) { - this.processorAccount.add(processorAccountItem); - return this; - } - - /** - * TBD - * @return processorAccount - **/ - @ApiModelProperty(required = true, value = "TBD") - public List getProcessorAccount() { - return processorAccount; - } - - public void setProcessorAccount(List processorAccount) { - this.processorAccount = processorAccount; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds = (PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds) o; - return Objects.equals(this.acquirerCountryCode, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.acquirerCountryCode) && - Objects.equals(this.acquiringBIN, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.acquiringBIN) && - Objects.equals(this.allowCryptoCurrencyPurchase, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.allowCryptoCurrencyPurchase) && - Objects.equals(this.financialInstitutionId, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.financialInstitutionId) && - Objects.equals(this.networkOrder, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.networkOrder) && - Objects.equals(this.nationalReimbursementFee, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.nationalReimbursementFee) && - Objects.equals(this.originatorBusinessApplicationId, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.originatorBusinessApplicationId) && - Objects.equals(this.originatorPseudoAbaNumber, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.originatorPseudoAbaNumber) && - Objects.equals(this.processorAccount, paymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds.processorAccount); - } - - @Override - public int hashCode() { - return Objects.hash(acquirerCountryCode, acquiringBIN, allowCryptoCurrencyPurchase, financialInstitutionId, networkOrder, nationalReimbursementFee, originatorBusinessApplicationId, originatorPseudoAbaNumber, processorAccount); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PaymentsProductsPayoutsConfigurationInformationConfigurationsPushfunds {\n"); - - if (acquirerCountryCode != null) sb.append(" acquirerCountryCode: ").append(toIndentedString(acquirerCountryCode)).append("\n"); - if (acquiringBIN != null) sb.append(" acquiringBIN: ").append(toIndentedString(acquiringBIN)).append("\n"); - if (allowCryptoCurrencyPurchase != null) sb.append(" allowCryptoCurrencyPurchase: ").append(toIndentedString(allowCryptoCurrencyPurchase)).append("\n"); - if (financialInstitutionId != null) sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); - if (networkOrder != null) sb.append(" networkOrder: ").append(toIndentedString(networkOrder)).append("\n"); - if (nationalReimbursementFee != null) sb.append(" nationalReimbursementFee: ").append(toIndentedString(nationalReimbursementFee)).append("\n"); - if (originatorBusinessApplicationId != null) sb.append(" originatorBusinessApplicationId: ").append(toIndentedString(originatorBusinessApplicationId)).append("\n"); - if (originatorPseudoAbaNumber != null) sb.append(" originatorPseudoAbaNumber: ").append(toIndentedString(originatorPseudoAbaNumber)).append("\n"); - if (processorAccount != null) sb.append(" processorAccount: ").append(toIndentedString(processorAccount)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - // return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/Model/PaymentsProductsSecureAcceptance.java b/src/main/java/Model/PaymentsProductsSecureAcceptance.java index 1cf4f3261..b6301ad5d 100644 --- a/src/main/java/Model/PaymentsProductsSecureAcceptance.java +++ b/src/main/java/Model/PaymentsProductsSecureAcceptance.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import Model.PaymentsProductsSecureAcceptanceConfigurationInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -32,12 +32,12 @@ public class PaymentsProductsSecureAcceptance { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private PaymentsProductsSecureAcceptanceConfigurationInformation configurationInformation = null; - public PaymentsProductsSecureAcceptance subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public PaymentsProductsSecureAcceptance subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public PaymentsProductsSecureAcceptance subscriptionInformation(PaymentsProducts * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/PaymentsProductsServiceFee.java b/src/main/java/Model/PaymentsProductsServiceFee.java index 659360ff8..8bf575f34 100644 --- a/src/main/java/Model/PaymentsProductsServiceFee.java +++ b/src/main/java/Model/PaymentsProductsServiceFee.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import Model.PaymentsProductsServiceFeeConfigurationInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -32,12 +32,12 @@ public class PaymentsProductsServiceFee { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private PaymentsProductsServiceFeeConfigurationInformation configurationInformation = null; - public PaymentsProductsServiceFee subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public PaymentsProductsServiceFee subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public PaymentsProductsServiceFee subscriptionInformation(PaymentsProductsAltern * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/PaymentsProductsTax.java b/src/main/java/Model/PaymentsProductsTax.java index f8046ffda..838843c05 100644 --- a/src/main/java/Model/PaymentsProductsTax.java +++ b/src/main/java/Model/PaymentsProductsTax.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -31,9 +31,9 @@ public class PaymentsProductsTax { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; - public PaymentsProductsTax subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public PaymentsProductsTax subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -43,11 +43,11 @@ public PaymentsProductsTax subscriptionInformation(PaymentsProductsAlternativePa * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/PaymentsProductsVirtualTerminal.java b/src/main/java/Model/PaymentsProductsVirtualTerminal.java index a39b34500..94c788cda 100644 --- a/src/main/java/Model/PaymentsProductsVirtualTerminal.java +++ b/src/main/java/Model/PaymentsProductsVirtualTerminal.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import Model.PaymentsProductsVirtualTerminalConfigurationInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -32,12 +32,12 @@ public class PaymentsProductsVirtualTerminal { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private PaymentsProductsVirtualTerminalConfigurationInformation configurationInformation = null; - public PaymentsProductsVirtualTerminal subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public PaymentsProductsVirtualTerminal subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public PaymentsProductsVirtualTerminal subscriptionInformation(PaymentsProductsA * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/PostIssuerLifeCycleSimulationRequest.java b/src/main/java/Model/PostIssuerLifeCycleSimulationRequest.java new file mode 100644 index 000000000..3bebd063c --- /dev/null +++ b/src/main/java/Model/PostIssuerLifeCycleSimulationRequest.java @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Represents the Issuer LifeCycle Event Simulation for a Tokenized Card. + */ +@ApiModel(description = "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card. ") + +public class PostIssuerLifeCycleSimulationRequest { + @SerializedName("state") + private String state = null; + + @SerializedName("card") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard card = null; + + @SerializedName("metadata") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata metadata = null; + + public PostIssuerLifeCycleSimulationRequest state(String state) { + this.state = state; + return this; + } + + /** + * The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED + * @return state + **/ + @ApiModelProperty(value = "The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED ") + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public PostIssuerLifeCycleSimulationRequest card(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard card) { + this.card = card; + return this; + } + + /** + * Get card + * @return card + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard getCard() { + return card; + } + + public void setCard(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard card) { + this.card = card; + } + + public PostIssuerLifeCycleSimulationRequest metadata(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata getMetadata() { + return metadata; + } + + public void setMetadata(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = (PostIssuerLifeCycleSimulationRequest) o; + return Objects.equals(this.state, postIssuerLifeCycleSimulationRequest.state) && + Objects.equals(this.card, postIssuerLifeCycleSimulationRequest.card) && + Objects.equals(this.metadata, postIssuerLifeCycleSimulationRequest.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(state, card, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PostIssuerLifeCycleSimulationRequest {\n"); + + if (state != null) sb.append(" state: ").append(toIndentedString(state)).append("\n"); + if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java index 6cbd4dd1d..06592ab72 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java @@ -17,6 +17,7 @@ import java.util.Arrays; import Model.PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice; import Model.PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -58,6 +59,9 @@ public class PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation { @SerializedName("sellerProtection") private PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection sellerProtection = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation approvalCode(String approvalCode) { this.approvalCode = approvalCode; return this; @@ -154,10 +158,10 @@ public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation respons } /** - * This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. + * This field might contain information about a decline. * @return responseDetails **/ - @ApiModelProperty(value = "This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. ") + @ApiModelProperty(value = "This field might contain information about a decline. ") public String getResponseDetails() { return responseDetails; } @@ -220,6 +224,24 @@ public void setSellerProtection(PtsV2PaymentsPost201ResponseProcessorInformation this.sellerProtection = sellerProtection; } + public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -238,12 +260,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.responseDetails, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.responseDetails) && Objects.equals(this.merchantAdvice, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.merchantAdvice) && Objects.equals(this.merchantRiskPrediction, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.merchantRiskPrediction) && - Objects.equals(this.sellerProtection, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.sellerProtection); + Objects.equals(this.sellerProtection, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.sellerProtection) && + Objects.equals(this.network, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.network); } @Override public int hashCode() { - return Objects.hash(approvalCode, transactionId, networkTransactionId, responseCode, systemTraceAuditNumber, responseDetails, merchantAdvice, merchantRiskPrediction, sellerProtection); + return Objects.hash(approvalCode, transactionId, networkTransactionId, responseCode, systemTraceAuditNumber, responseDetails, merchantAdvice, merchantRiskPrediction, sellerProtection, network); } @@ -261,6 +284,7 @@ public String toString() { if (merchantAdvice != null) sb.append(" merchantAdvice: ").append(toIndentedString(merchantAdvice)).append("\n"); if (merchantRiskPrediction != null) sb.append(" merchantRiskPrediction: ").append(toIndentedString(merchantRiskPrediction)).append("\n"); if (sellerProtection != null) sb.append(" sellerProtection: ").append(toIndentedString(sellerProtection)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java index d9c5bf248..854f2912a 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.java @@ -30,23 +30,23 @@ public class PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails { @SerializedName("level3TransmissionStatus") - private Boolean level3TransmissionStatus = null; + private String level3TransmissionStatus = null; - public PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails level3TransmissionStatus(Boolean level3TransmissionStatus) { + public PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails level3TransmissionStatus(String level3TransmissionStatus) { this.level3TransmissionStatus = level3TransmissionStatus; return this; } /** - * Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** + * Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **Y** for true - **N** for false * @return level3TransmissionStatus **/ - @ApiModelProperty(value = "Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** ") - public Boolean Level3TransmissionStatus() { + @ApiModelProperty(value = "Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **Y** for true - **N** for false ") + public String getLevel3TransmissionStatus() { return level3TransmissionStatus; } - public void setLevel3TransmissionStatus(Boolean level3TransmissionStatus) { + public void setLevel3TransmissionStatus(String level3TransmissionStatus) { this.level3TransmissionStatus = level3TransmissionStatus; } diff --git a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java index e5676df93..c86705f38 100644 --- a/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsCapturesPost201ResponseProcessorInformation.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -47,6 +48,9 @@ public class PtsV2PaymentsCapturesPost201ResponseProcessorInformation { @SerializedName("updateTimeUtc") private String updateTimeUtc = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public PtsV2PaymentsCapturesPost201ResponseProcessorInformation transactionId(String transactionId) { this.transactionId = transactionId; return this; @@ -155,6 +159,24 @@ public void setUpdateTimeUtc(String updateTimeUtc) { this.updateTimeUtc = updateTimeUtc; } + public PtsV2PaymentsCapturesPost201ResponseProcessorInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -170,12 +192,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.responseDetails, ptsV2PaymentsCapturesPost201ResponseProcessorInformation.responseDetails) && Objects.equals(this.responseCode, ptsV2PaymentsCapturesPost201ResponseProcessorInformation.responseCode) && Objects.equals(this.providerResponse, ptsV2PaymentsCapturesPost201ResponseProcessorInformation.providerResponse) && - Objects.equals(this.updateTimeUtc, ptsV2PaymentsCapturesPost201ResponseProcessorInformation.updateTimeUtc); + Objects.equals(this.updateTimeUtc, ptsV2PaymentsCapturesPost201ResponseProcessorInformation.updateTimeUtc) && + Objects.equals(this.network, ptsV2PaymentsCapturesPost201ResponseProcessorInformation.network); } @Override public int hashCode() { - return Objects.hash(transactionId, networkTransactionId, responseDetails, responseCode, providerResponse, updateTimeUtc); + return Objects.hash(transactionId, networkTransactionId, responseDetails, responseCode, providerResponse, updateTimeUtc, network); } @@ -190,6 +213,7 @@ public String toString() { if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); if (providerResponse != null) sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n"); if (updateTimeUtc != null) sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java index 191637315..578b7631b 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet.java @@ -101,10 +101,10 @@ public PtsV2PaymentsOrderPost201ResponsePaymentInformationEWallet userName(Strin } /** - * The Venmo user name chosen by the user, also know as a Venmo handle. + * The Venmo user name chosen by the user, also known as a Venmo handle. * @return userName **/ - @ApiModelProperty(value = "The Venmo user name chosen by the user, also know as a Venmo handle. ") + @ApiModelProperty(value = "The Venmo user name chosen by the user, also known as a Venmo handle. ") public String getUserName() { return userName; } diff --git a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java index c9eb17ea3..e5d9fac85 100644 --- a/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsOrderPost201ResponseProcessorInformation.java @@ -103,10 +103,10 @@ public PtsV2PaymentsOrderPost201ResponseProcessorInformation responseDetails(Str } /** - * This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. + * This field might contain information about a decline. * @return responseDetails **/ - @ApiModelProperty(value = "This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. ") + @ApiModelProperty(value = "This field might contain information about a decline. ") public String getResponseDetails() { return responseDetails; } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1IssuerInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response1IssuerInformation.java index 455048864..1e88b54d1 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1IssuerInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1IssuerInformation.java @@ -59,10 +59,10 @@ public PtsV2PaymentsPost201Response1IssuerInformation code(String code) { } /** - * Unique code for card issuer provided by the processor. + * Unique code for card issuer provided by the processor. * @return code **/ - @ApiModelProperty(value = "Unique code for card issuer provided by the processor. ") + @ApiModelProperty(value = "Unique code for card issuer provided by the processor.") public String getCode() { return code; } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.java b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.java index d4954ba8d..2345de12c 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1OrderInformationAmountDetails.java @@ -38,10 +38,10 @@ public PtsV2PaymentsPost201Response1OrderInformationAmountDetails refundBalance( } /** - * This field will carry the remaning amount which can be refunded. + * The remaining amount which can be refunded. * @return refundBalance **/ - @ApiModelProperty(value = "This field will carry the remaning amount which can be refunded. ") + @ApiModelProperty(value = "The remaining amount which can be refunded.") public String getRefundBalance() { return refundBalance; } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java index 4c67aef30..6f5e60984 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response1ProcessorInformation.java @@ -97,10 +97,10 @@ public PtsV2PaymentsPost201Response1ProcessorInformation rawResponse(String rawR } /** - * This field is set to the value of failure reason returned by the processor. + * Failure reason returned by the processor. * @return rawResponse **/ - @ApiModelProperty(value = "This field is set to the value of failure reason returned by the processor. ") + @ApiModelProperty(value = "Failure reason returned by the processor.") public String getRawResponse() { return rawResponse; } @@ -115,10 +115,10 @@ public PtsV2PaymentsPost201Response1ProcessorInformation rawResponseLocal(String } /** - * This field is set to the value of failure reason returned by the processor in the local language of the processor. + * Failure reason returned by the processor in the local language of the processor. * @return rawResponseLocal **/ - @ApiModelProperty(value = "This field is set to the value of failure reason returned by the processor in the local language of the processor. ") + @ApiModelProperty(value = "Failure reason returned by the processor in the local language of the processor.") public String getRawResponseLocal() { return rawResponseLocal; } diff --git a/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java index dc0f95bf6..3ab8c8967 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201Response2ProcessorInformation.java @@ -86,10 +86,10 @@ public PtsV2PaymentsPost201Response2ProcessorInformation responseDetails(String } /** - * This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. + * This field might contain information about a decline. * @return responseDetails **/ - @ApiModelProperty(value = "This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. ") + @ApiModelProperty(value = "This field might contain information about a decline. ") public String getResponseDetails() { return responseDetails; } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java index 362b130f4..d6e2a7220 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.java @@ -30,26 +30,26 @@ public class PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails { @SerializedName("level3TransmissionStatus") - private Boolean level3TransmissionStatus = null; + private String level3TransmissionStatus = null; @SerializedName("salesSlipNumber") private Integer salesSlipNumber = null; - public PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails level3TransmissionStatus(Boolean level3TransmissionStatus) { + public PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails level3TransmissionStatus(String level3TransmissionStatus) { this.level3TransmissionStatus = level3TransmissionStatus; return this; } /** - * Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** + * Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **Y** for true - **N** for false * @return level3TransmissionStatus **/ - @ApiModelProperty(value = "Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **true** - **false** ") - public Boolean Level3TransmissionStatus() { + @ApiModelProperty(value = "Indicates whether CyberSource sent the Level III information to the processor. The possible values are: If your account is not enabled for Level III data or if you did not include the purchasing level field in your request, CyberSource does not include the Level III data in the request sent to the processor. Possible values: - **Y** for true - **N** for false ") + public String getLevel3TransmissionStatus() { return level3TransmissionStatus; } - public void setLevel3TransmissionStatus(Boolean level3TransmissionStatus) { + public void setLevel3TransmissionStatus(String level3TransmissionStatus) { this.level3TransmissionStatus = level3TransmissionStatus; } diff --git a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java index f8996347d..c9c8ce022 100644 --- a/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsPost201ResponseProcessorInformation.java @@ -24,6 +24,7 @@ import Model.PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice; import Model.PtsV2PaymentsPost201ResponseProcessorInformationRouting; import Model.PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -173,6 +174,9 @@ public class PtsV2PaymentsPost201ResponseProcessorInformation { @SerializedName("merchantRiskPrediction") private String merchantRiskPrediction = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public PtsV2PaymentsPost201ResponseProcessorInformation authIndicator(String authIndicator) { this.authIndicator = authIndicator; return this; @@ -305,10 +309,10 @@ public PtsV2PaymentsPost201ResponseProcessorInformation responseDetails(String r } /** - * This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. + * This field might contain information about a decline. * @return responseDetails **/ - @ApiModelProperty(value = "This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. ") + @ApiModelProperty(value = "This field might contain information about a decline. ") public String getResponseDetails() { return responseDetails; } @@ -983,6 +987,24 @@ public void setMerchantRiskPrediction(String merchantRiskPrediction) { this.merchantRiskPrediction = merchantRiskPrediction; } + public PtsV2PaymentsPost201ResponseProcessorInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -1037,12 +1059,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.expirationTimeUtc, ptsV2PaymentsPost201ResponseProcessorInformation.expirationTimeUtc) && Objects.equals(this.orderId, ptsV2PaymentsPost201ResponseProcessorInformation.orderId) && Objects.equals(this.orderStatus, ptsV2PaymentsPost201ResponseProcessorInformation.orderStatus) && - Objects.equals(this.merchantRiskPrediction, ptsV2PaymentsPost201ResponseProcessorInformation.merchantRiskPrediction); + Objects.equals(this.merchantRiskPrediction, ptsV2PaymentsPost201ResponseProcessorInformation.merchantRiskPrediction) && + Objects.equals(this.network, ptsV2PaymentsPost201ResponseProcessorInformation.network); } @Override public int hashCode() { - return Objects.hash(authIndicator, approvalCode, cardReferenceData, transactionId, networkTransactionId, responseCode, responseCodeSource, responseDetails, responseCategoryCode, forwardedAcquirerCode, settlementDate, sequenceNumber, avs, cardVerification, merchantAdvice, electronicVerificationResults, achVerification, customer, consumerAuthenticationResponse, systemTraceAuditNumber, paymentAccountReferenceNumber, transactionIntegrityCode, amexVerbalAuthReferenceNumber, masterCardServiceCode, masterCardServiceReplyCode, masterCardAuthenticationType, name, routing, merchantNumber, retrievalReferenceNumber, paymentUrl, completeUrl, signature, publicKey, sellerProtection, transactionExpiryDate, customUrl, schemeAssignedId, deviceUrl, disbursementMode, updateTimeUtc, expirationTimeUtc, orderId, orderStatus, merchantRiskPrediction); + return Objects.hash(authIndicator, approvalCode, cardReferenceData, transactionId, networkTransactionId, responseCode, responseCodeSource, responseDetails, responseCategoryCode, forwardedAcquirerCode, settlementDate, sequenceNumber, avs, cardVerification, merchantAdvice, electronicVerificationResults, achVerification, customer, consumerAuthenticationResponse, systemTraceAuditNumber, paymentAccountReferenceNumber, transactionIntegrityCode, amexVerbalAuthReferenceNumber, masterCardServiceCode, masterCardServiceReplyCode, masterCardAuthenticationType, name, routing, merchantNumber, retrievalReferenceNumber, paymentUrl, completeUrl, signature, publicKey, sellerProtection, transactionExpiryDate, customUrl, schemeAssignedId, deviceUrl, disbursementMode, updateTimeUtc, expirationTimeUtc, orderId, orderStatus, merchantRiskPrediction, network); } @@ -1096,6 +1119,7 @@ public String toString() { if (orderId != null) sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n"); if (orderStatus != null) sb.append(" orderStatus: ").append(toIndentedString(orderStatus)).append("\n"); if (merchantRiskPrediction != null) sb.append(" merchantRiskPrediction: ").append(toIndentedString(merchantRiskPrediction)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java index c69cade7f..331b48941 100644 --- a/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformation.java @@ -16,6 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.PtsV2PaymentsPost201ResponseProcessorInformationAchVerification; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -57,6 +58,9 @@ public class PtsV2PaymentsRefundPost201ResponseProcessorInformation { @SerializedName("updateTimeUtc") private String updateTimeUtc = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public PtsV2PaymentsRefundPost201ResponseProcessorInformation approvalCode(String approvalCode) { this.approvalCode = approvalCode; return this; @@ -219,6 +223,24 @@ public void setUpdateTimeUtc(String updateTimeUtc) { this.updateTimeUtc = updateTimeUtc; } + public PtsV2PaymentsRefundPost201ResponseProcessorInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -237,12 +259,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.achVerification, ptsV2PaymentsRefundPost201ResponseProcessorInformation.achVerification) && Objects.equals(this.networkTransactionId, ptsV2PaymentsRefundPost201ResponseProcessorInformation.networkTransactionId) && Objects.equals(this.settlementDate, ptsV2PaymentsRefundPost201ResponseProcessorInformation.settlementDate) && - Objects.equals(this.updateTimeUtc, ptsV2PaymentsRefundPost201ResponseProcessorInformation.updateTimeUtc); + Objects.equals(this.updateTimeUtc, ptsV2PaymentsRefundPost201ResponseProcessorInformation.updateTimeUtc) && + Objects.equals(this.network, ptsV2PaymentsRefundPost201ResponseProcessorInformation.network); } @Override public int hashCode() { - return Objects.hash(approvalCode, transactionId, forwardedAcquirerCode, merchantNumber, responseCode, achVerification, networkTransactionId, settlementDate, updateTimeUtc); + return Objects.hash(approvalCode, transactionId, forwardedAcquirerCode, merchantNumber, responseCode, achVerification, networkTransactionId, settlementDate, updateTimeUtc, network); } @@ -260,6 +283,7 @@ public String toString() { if (networkTransactionId != null) sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); if (settlementDate != null) sb.append(" settlementDate: ").append(toIndentedString(settlementDate)).append("\n"); if (updateTimeUtc != null) sb.append(" updateTimeUtc: ").append(toIndentedString(updateTimeUtc)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java index dee1ca83c..cdd559da5 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201ResponseProcessorInformation.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -56,6 +57,9 @@ public class PtsV2PaymentsReversalsPost201ResponseProcessorInformation { @SerializedName("providerResponse") private String providerResponse = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public PtsV2PaymentsReversalsPost201ResponseProcessorInformation transactionId(String transactionId) { this.transactionId = transactionId; return this; @@ -188,10 +192,10 @@ public PtsV2PaymentsReversalsPost201ResponseProcessorInformation responseDetails } /** - * This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. + * This field might contain information about a decline. * @return responseDetails **/ - @ApiModelProperty(value = "This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. ") + @ApiModelProperty(value = "This field might contain information about a decline. ") public String getResponseDetails() { return responseDetails; } @@ -218,6 +222,24 @@ public void setProviderResponse(String providerResponse) { this.providerResponse = providerResponse; } + public PtsV2PaymentsReversalsPost201ResponseProcessorInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -236,12 +258,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.masterCardServiceCode, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.masterCardServiceCode) && Objects.equals(this.masterCardServiceReplyCode, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.masterCardServiceReplyCode) && Objects.equals(this.responseDetails, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.responseDetails) && - Objects.equals(this.providerResponse, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.providerResponse); + Objects.equals(this.providerResponse, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.providerResponse) && + Objects.equals(this.network, ptsV2PaymentsReversalsPost201ResponseProcessorInformation.network); } @Override public int hashCode() { - return Objects.hash(transactionId, responseCode, networkTransactionId, responseCategoryCode, forwardedAcquirerCode, masterCardServiceCode, masterCardServiceReplyCode, responseDetails, providerResponse); + return Objects.hash(transactionId, responseCode, networkTransactionId, responseCategoryCode, forwardedAcquirerCode, masterCardServiceCode, masterCardServiceReplyCode, responseDetails, providerResponse, network); } @@ -259,6 +282,7 @@ public String toString() { if (masterCardServiceReplyCode != null) sb.append(" masterCardServiceReplyCode: ").append(toIndentedString(masterCardServiceReplyCode)).append("\n"); if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); if (providerResponse != null) sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.java b/src/main/java/Model/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.java index 59399d812..643db1f76 100644 --- a/src/main/java/Model/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.java +++ b/src/main/java/Model/Ptsv2intentsPaymentInformationTokenizedPaymentMethod.java @@ -39,7 +39,7 @@ public class Ptsv2intentsPaymentInformationTokenizedPaymentMethod { private String usageType = null; @SerializedName("allowMultipleTokens") - private Boolean allowMultipleTokens = null; + private String allowMultipleTokens = null; public Ptsv2intentsPaymentInformationTokenizedPaymentMethod description(String description) { this.description = description; @@ -95,7 +95,7 @@ public void setUsageType(String usageType) { this.usageType = usageType; } - public Ptsv2intentsPaymentInformationTokenizedPaymentMethod allowMultipleTokens(Boolean allowMultipleTokens) { + public Ptsv2intentsPaymentInformationTokenizedPaymentMethod allowMultipleTokens(String allowMultipleTokens) { this.allowMultipleTokens = allowMultipleTokens; return this; } @@ -105,11 +105,11 @@ public Ptsv2intentsPaymentInformationTokenizedPaymentMethod allowMultipleTokens( * @return allowMultipleTokens **/ @ApiModelProperty(value = "Create multiple payment tokens for the same payer, merchant/platform combination. This helps to identify customers distinctly even though they may share the same PayPal account. ") - public Boolean AllowMultipleTokens() { + public String getAllowMultipleTokens() { return allowMultipleTokens; } - public void setAllowMultipleTokens(Boolean allowMultipleTokens) { + public void setAllowMultipleTokens(String allowMultipleTokens) { this.allowMultipleTokens = allowMultipleTokens; } diff --git a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java index 941e21192..1b61fca8e 100644 --- a/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java +++ b/src/main/java/Model/Ptsv2paymentsOrderInformationAmountDetails.java @@ -37,6 +37,9 @@ */ public class Ptsv2paymentsOrderInformationAmountDetails { + @SerializedName("refundBalance") + private String refundBalance = null; + @SerializedName("giftWrapAmount") private String giftWrapAmount = null; @@ -130,6 +133,24 @@ public class Ptsv2paymentsOrderInformationAmountDetails { @SerializedName("anticipatedAmount") private String anticipatedAmount = null; + public Ptsv2paymentsOrderInformationAmountDetails refundBalance(String refundBalance) { + this.refundBalance = refundBalance; + return this; + } + + /** + * The remaining amount which can be refunded. + * @return refundBalance + **/ + @ApiModelProperty(value = "The remaining amount which can be refunded.") + public String getRefundBalance() { + return refundBalance; + } + + public void setRefundBalance(String refundBalance) { + this.refundBalance = refundBalance; + } + public Ptsv2paymentsOrderInformationAmountDetails giftWrapAmount(String giftWrapAmount) { this.giftWrapAmount = giftWrapAmount; return this; @@ -714,7 +735,8 @@ public boolean equals(java.lang.Object o) { return false; } Ptsv2paymentsOrderInformationAmountDetails ptsv2paymentsOrderInformationAmountDetails = (Ptsv2paymentsOrderInformationAmountDetails) o; - return Objects.equals(this.giftWrapAmount, ptsv2paymentsOrderInformationAmountDetails.giftWrapAmount) && + return Objects.equals(this.refundBalance, ptsv2paymentsOrderInformationAmountDetails.refundBalance) && + Objects.equals(this.giftWrapAmount, ptsv2paymentsOrderInformationAmountDetails.giftWrapAmount) && Objects.equals(this.invoiceAmount, ptsv2paymentsOrderInformationAmountDetails.invoiceAmount) && Objects.equals(this.totalAmount, ptsv2paymentsOrderInformationAmountDetails.totalAmount) && Objects.equals(this.subTotalAmount, ptsv2paymentsOrderInformationAmountDetails.subTotalAmount) && @@ -749,7 +771,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(giftWrapAmount, invoiceAmount, totalAmount, subTotalAmount, currency, discountAmount, dutyAmount, gratuityAmount, taxAmount, nationalTaxIncluded, taxAppliedAfterDiscount, taxAppliedLevel, taxTypeCode, freightAmount, foreignAmount, foreignCurrency, exchangeRate, exchangeRateTimeStamp, surcharge, settlementAmount, settlementCurrency, amexAdditionalAmounts, taxDetails, serviceFeeAmount, originalAmount, originalCurrency, cashbackAmount, currencyConversion, octSurcharge, order, anticipatedAmount); + return Objects.hash(refundBalance, giftWrapAmount, invoiceAmount, totalAmount, subTotalAmount, currency, discountAmount, dutyAmount, gratuityAmount, taxAmount, nationalTaxIncluded, taxAppliedAfterDiscount, taxAppliedLevel, taxTypeCode, freightAmount, foreignAmount, foreignCurrency, exchangeRate, exchangeRateTimeStamp, surcharge, settlementAmount, settlementCurrency, amexAdditionalAmounts, taxDetails, serviceFeeAmount, originalAmount, originalCurrency, cashbackAmount, currencyConversion, octSurcharge, order, anticipatedAmount); } @@ -758,6 +780,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Ptsv2paymentsOrderInformationAmountDetails {\n"); + if (refundBalance != null) sb.append(" refundBalance: ").append(toIndentedString(refundBalance)).append("\n"); if (giftWrapAmount != null) sb.append(" giftWrapAmount: ").append(toIndentedString(giftWrapAmount)).append("\n"); if (invoiceAmount != null) sb.append(" invoiceAmount: ").append(toIndentedString(invoiceAmount)).append("\n"); if (totalAmount != null) sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); diff --git a/src/main/java/Model/Ptsv2paymentsProcessorInformation.java b/src/main/java/Model/Ptsv2paymentsProcessorInformation.java index 9f9f6bc1c..ba2daa419 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessorInformation.java +++ b/src/main/java/Model/Ptsv2paymentsProcessorInformation.java @@ -17,6 +17,7 @@ import java.util.Arrays; import Model.Ptsv2paymentsProcessorInformationAuthorizationOptions; import Model.Ptsv2paymentsProcessorInformationReversal; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -41,6 +42,9 @@ public class Ptsv2paymentsProcessorInformation { @SerializedName("reversal") private Ptsv2paymentsProcessorInformationReversal reversal = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public Ptsv2paymentsProcessorInformation preApprovalToken(String preApprovalToken) { this.preApprovalToken = preApprovalToken; return this; @@ -95,6 +99,24 @@ public void setReversal(Ptsv2paymentsProcessorInformationReversal reversal) { this.reversal = reversal; } + public Ptsv2paymentsProcessorInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -107,12 +129,13 @@ public boolean equals(java.lang.Object o) { Ptsv2paymentsProcessorInformation ptsv2paymentsProcessorInformation = (Ptsv2paymentsProcessorInformation) o; return Objects.equals(this.preApprovalToken, ptsv2paymentsProcessorInformation.preApprovalToken) && Objects.equals(this.authorizationOptions, ptsv2paymentsProcessorInformation.authorizationOptions) && - Objects.equals(this.reversal, ptsv2paymentsProcessorInformation.reversal); + Objects.equals(this.reversal, ptsv2paymentsProcessorInformation.reversal) && + Objects.equals(this.network, ptsv2paymentsProcessorInformation.network); } @Override public int hashCode() { - return Objects.hash(preApprovalToken, authorizationOptions, reversal); + return Objects.hash(preApprovalToken, authorizationOptions, reversal, network); } @@ -124,6 +147,7 @@ public String toString() { if (preApprovalToken != null) sb.append(" preApprovalToken: ").append(toIndentedString(preApprovalToken)).append("\n"); if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); if (reversal != null) sb.append(" reversal: ").append(toIndentedString(reversal)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java b/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java index 00507ec93..540b1d855 100644 --- a/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java +++ b/src/main/java/Model/Ptsv2paymentsProcessorInformationReversal.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,6 +33,9 @@ public class Ptsv2paymentsProcessorInformationReversal { @SerializedName("preApprovalToken") private String preApprovalToken = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public Ptsv2paymentsProcessorInformationReversal preApprovalToken(String preApprovalToken) { this.preApprovalToken = preApprovalToken; return this; @@ -50,6 +54,24 @@ public void setPreApprovalToken(String preApprovalToken) { this.preApprovalToken = preApprovalToken; } + public Ptsv2paymentsProcessorInformationReversal network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -60,12 +82,13 @@ public boolean equals(java.lang.Object o) { return false; } Ptsv2paymentsProcessorInformationReversal ptsv2paymentsProcessorInformationReversal = (Ptsv2paymentsProcessorInformationReversal) o; - return Objects.equals(this.preApprovalToken, ptsv2paymentsProcessorInformationReversal.preApprovalToken); + return Objects.equals(this.preApprovalToken, ptsv2paymentsProcessorInformationReversal.preApprovalToken) && + Objects.equals(this.network, ptsv2paymentsProcessorInformationReversal.network); } @Override public int hashCode() { - return Objects.hash(preApprovalToken); + return Objects.hash(preApprovalToken, network); } @@ -75,6 +98,7 @@ public String toString() { sb.append("class Ptsv2paymentsProcessorInformationReversal {\n"); if (preApprovalToken != null) sb.append(" preApprovalToken: ").append(toIndentedString(preApprovalToken)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Ptsv2paymentsProcessorInformationReversalNetwork.java b/src/main/java/Model/Ptsv2paymentsProcessorInformationReversalNetwork.java new file mode 100644 index 000000000..84e82235c --- /dev/null +++ b/src/main/java/Model/Ptsv2paymentsProcessorInformationReversalNetwork.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Ptsv2paymentsProcessorInformationReversalNetwork + */ + +public class Ptsv2paymentsProcessorInformationReversalNetwork { + @SerializedName("economicallyRelatedTxnId") + private String economicallyRelatedTxnId = null; + + public Ptsv2paymentsProcessorInformationReversalNetwork economicallyRelatedTxnId(String economicallyRelatedTxnId) { + this.economicallyRelatedTxnId = economicallyRelatedTxnId; + return this; + } + + /** + * Indicates the economically related transaction id + * @return economicallyRelatedTxnId + **/ + @ApiModelProperty(value = "Indicates the economically related transaction id") + public String getEconomicallyRelatedTxnId() { + return economicallyRelatedTxnId; + } + + public void setEconomicallyRelatedTxnId(String economicallyRelatedTxnId) { + this.economicallyRelatedTxnId = economicallyRelatedTxnId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Ptsv2paymentsProcessorInformationReversalNetwork ptsv2paymentsProcessorInformationReversalNetwork = (Ptsv2paymentsProcessorInformationReversalNetwork) o; + return Objects.equals(this.economicallyRelatedTxnId, ptsv2paymentsProcessorInformationReversalNetwork.economicallyRelatedTxnId); + } + + @Override + public int hashCode() { + return Objects.hash(economicallyRelatedTxnId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Ptsv2paymentsProcessorInformationReversalNetwork {\n"); + + if (economicallyRelatedTxnId != null) sb.append(" economicallyRelatedTxnId: ").append(toIndentedString(economicallyRelatedTxnId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java b/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java index 97c60f048..cb716164b 100644 --- a/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidProcessingInformation.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import Model.Ptsv2paymentsidProcessingInformationAuthorizationOptions; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -33,6 +34,9 @@ public class Ptsv2paymentsidProcessingInformation { @SerializedName("authorizationOptions") private Ptsv2paymentsidProcessingInformationAuthorizationOptions authorizationOptions = null; + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; + public Ptsv2paymentsidProcessingInformation authorizationOptions(Ptsv2paymentsidProcessingInformationAuthorizationOptions authorizationOptions) { this.authorizationOptions = authorizationOptions; return this; @@ -51,6 +55,24 @@ public void setAuthorizationOptions(Ptsv2paymentsidProcessingInformationAuthoriz this.authorizationOptions = authorizationOptions; } + public Ptsv2paymentsidProcessingInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @ApiModelProperty(value = "") + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; + } + + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; + } + @Override public boolean equals(java.lang.Object o) { @@ -61,12 +83,13 @@ public boolean equals(java.lang.Object o) { return false; } Ptsv2paymentsidProcessingInformation ptsv2paymentsidProcessingInformation = (Ptsv2paymentsidProcessingInformation) o; - return Objects.equals(this.authorizationOptions, ptsv2paymentsidProcessingInformation.authorizationOptions); + return Objects.equals(this.authorizationOptions, ptsv2paymentsidProcessingInformation.authorizationOptions) && + Objects.equals(this.network, ptsv2paymentsidProcessingInformation.network); } @Override public int hashCode() { - return Objects.hash(authorizationOptions); + return Objects.hash(authorizationOptions, network); } @@ -76,6 +99,7 @@ public String toString() { sb.append("class Ptsv2paymentsidProcessingInformation {\n"); if (authorizationOptions != null) sb.append(" authorizationOptions: ").append(toIndentedString(authorizationOptions)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.java b/src/main/java/Model/Ptsv2reversalsProcessorInformation.java similarity index 58% rename from src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.java rename to src/main/java/Model/Ptsv2reversalsProcessorInformation.java index ccd840584..51a37763c 100644 --- a/src/main/java/Model/PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.java +++ b/src/main/java/Model/Ptsv2reversalsProcessorInformation.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Ptsv2paymentsProcessorInformationReversalNetwork; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -25,29 +26,29 @@ import java.io.IOException; /** - * PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge + * Ptsv2reversalsProcessorInformation */ -public class PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge { - @SerializedName("enabled") - private Boolean enabled = null; +public class Ptsv2reversalsProcessorInformation { + @SerializedName("network") + private Ptsv2paymentsProcessorInformationReversalNetwork network = null; - public PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge enabled(Boolean enabled) { - this.enabled = enabled; + public Ptsv2reversalsProcessorInformation network(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; return this; } /** - * Get enabled - * @return enabled + * Get network + * @return network **/ @ApiModelProperty(value = "") - public Boolean Enabled() { - return enabled; + public Ptsv2paymentsProcessorInformationReversalNetwork getNetwork() { + return network; } - public void setEnabled(Boolean enabled) { - this.enabled = enabled; + public void setNetwork(Ptsv2paymentsProcessorInformationReversalNetwork network) { + this.network = network; } @@ -59,22 +60,22 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge paymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge = (PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge) o; - return Objects.equals(this.enabled, paymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge.enabled); + Ptsv2reversalsProcessorInformation ptsv2reversalsProcessorInformation = (Ptsv2reversalsProcessorInformation) o; + return Objects.equals(this.network, ptsv2reversalsProcessorInformation.network); } @Override public int hashCode() { - return Objects.hash(enabled); + return Objects.hash(network); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class PaymentsProductsDifferentialFeeSubscriptionInformationFeaturesSurcharge {\n"); + sb.append("class Ptsv2reversalsProcessorInformation {\n"); - if (enabled != null) sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + if (network != null) sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/RefundCaptureRequest.java b/src/main/java/Model/RefundCaptureRequest.java index fe079bdbc..fa9e43764 100644 --- a/src/main/java/Model/RefundCaptureRequest.java +++ b/src/main/java/Model/RefundCaptureRequest.java @@ -27,6 +27,7 @@ import Model.Ptsv2paymentsidrefundsPaymentInformation; import Model.Ptsv2paymentsidrefundsPointOfSaleInformation; import Model.Ptsv2paymentsidrefundsProcessingInformation; +import Model.Ptsv2reversalsProcessorInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -79,6 +80,9 @@ public class RefundCaptureRequest { @SerializedName("promotionInformation") private Ptsv2paymentsPromotionInformation promotionInformation = null; + @SerializedName("processorInformation") + private Ptsv2reversalsProcessorInformation processorInformation = null; + public RefundCaptureRequest clientReferenceInformation(Ptsv2paymentsidrefundsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; @@ -303,6 +307,24 @@ public void setPromotionInformation(Ptsv2paymentsPromotionInformation promotionI this.promotionInformation = promotionInformation; } + public RefundCaptureRequest processorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + return this; + } + + /** + * Get processorInformation + * @return processorInformation + **/ + @ApiModelProperty(value = "") + public Ptsv2reversalsProcessorInformation getProcessorInformation() { + return processorInformation; + } + + public void setProcessorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -324,12 +346,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.pointOfSaleInformation, refundCaptureRequest.pointOfSaleInformation) && Objects.equals(this.merchantDefinedInformation, refundCaptureRequest.merchantDefinedInformation) && Objects.equals(this.travelInformation, refundCaptureRequest.travelInformation) && - Objects.equals(this.promotionInformation, refundCaptureRequest.promotionInformation); + Objects.equals(this.promotionInformation, refundCaptureRequest.promotionInformation) && + Objects.equals(this.processorInformation, refundCaptureRequest.processorInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, travelInformation, promotionInformation); + return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, travelInformation, promotionInformation, processorInformation); } @@ -350,6 +373,7 @@ public String toString() { if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/RefundPaymentRequest.java b/src/main/java/Model/RefundPaymentRequest.java index 09a267701..87dc963f1 100644 --- a/src/main/java/Model/RefundPaymentRequest.java +++ b/src/main/java/Model/RefundPaymentRequest.java @@ -27,6 +27,7 @@ import Model.Ptsv2paymentsidrefundsPaymentInformation; import Model.Ptsv2paymentsidrefundsPointOfSaleInformation; import Model.Ptsv2paymentsidrefundsProcessingInformation; +import Model.Ptsv2reversalsProcessorInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -79,6 +80,9 @@ public class RefundPaymentRequest { @SerializedName("promotionInformation") private Ptsv2paymentsPromotionInformation promotionInformation = null; + @SerializedName("processorInformation") + private Ptsv2reversalsProcessorInformation processorInformation = null; + public RefundPaymentRequest clientReferenceInformation(Ptsv2paymentsidrefundsClientReferenceInformation clientReferenceInformation) { this.clientReferenceInformation = clientReferenceInformation; return this; @@ -303,6 +307,24 @@ public void setPromotionInformation(Ptsv2paymentsPromotionInformation promotionI this.promotionInformation = promotionInformation; } + public RefundPaymentRequest processorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + return this; + } + + /** + * Get processorInformation + * @return processorInformation + **/ + @ApiModelProperty(value = "") + public Ptsv2reversalsProcessorInformation getProcessorInformation() { + return processorInformation; + } + + public void setProcessorInformation(Ptsv2reversalsProcessorInformation processorInformation) { + this.processorInformation = processorInformation; + } + @Override public boolean equals(java.lang.Object o) { @@ -324,12 +346,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.pointOfSaleInformation, refundPaymentRequest.pointOfSaleInformation) && Objects.equals(this.merchantDefinedInformation, refundPaymentRequest.merchantDefinedInformation) && Objects.equals(this.travelInformation, refundPaymentRequest.travelInformation) && - Objects.equals(this.promotionInformation, refundPaymentRequest.promotionInformation); + Objects.equals(this.promotionInformation, refundPaymentRequest.promotionInformation) && + Objects.equals(this.processorInformation, refundPaymentRequest.processorInformation); } @Override public int hashCode() { - return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, travelInformation, promotionInformation); + return Objects.hash(clientReferenceInformation, processingInformation, paymentInformation, orderInformation, buyerInformation, deviceInformation, merchantInformation, aggregatorInformation, pointOfSaleInformation, merchantDefinedInformation, travelInformation, promotionInformation, processorInformation); } @@ -350,6 +373,7 @@ public String toString() { if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n"); if (travelInformation != null) sb.append(" travelInformation: ").append(toIndentedString(travelInformation)).append("\n"); if (promotionInformation != null) sb.append(" promotionInformation: ").append(toIndentedString(promotionInformation)).append("\n"); + if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java b/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java index b369a4c6b..0857cc88d 100644 --- a/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java +++ b/src/main/java/Model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.java @@ -77,10 +77,10 @@ public ReportingV3ReportDefinitionsGet200ResponseReportDefinitions reportDefinit } /** - * | Id | Definition Class | | --- | --------------------------------- | | 210 | TransactionRequestClass | | 211 | PaymentBatchDetailClass | | 212 | ExceptionDetailClass | | 213 | ProcessorSettlementDetailClass | | 214 | ProcessorEventsDetailClass | | 215 | FundingDetailClass | | 216 | AgingDetailClass | | 217 | ChargebackAndRetrievalDetailClass | | 218 | DepositDetailClass | | 219 | FeeDetailClass | | 220 | InvoiceSummaryClass | | 221 | PayerAuthDetailClass | | 222 | ConversionDetailClass | | 225 | BillableTransactionsDetailClass | | 270 | JPTransactionDetailClass | | 271 | ServiceFeeDetailClass | | 310 | GatewayTransactionRequestClass | | 400 | DecisionManagerEventDetailClass | | 401 | DecisionManagerDetailClass | | 410 | FeeSummaryClass | | 420 | TaxCalculationClass | | 520 | POSTerminalExceptionClass | | 620 | SubscriptionDetailClass | + * | Id | Definition Class | | --- | --------------------------------- | | 210 | TransactionRequestClass | | 211 | PaymentBatchDetailClass | | 212 | ExceptionDetailClass | | 213 | ProcessorSettlementDetailClass | | 214 | ProcessorEventsDetailClass | | 215 | FundingDetailClass | | 216 | AgingDetailClass | | 217 | ChargebackAndRetrievalDetailClass | | 218 | DepositDetailClass | | 219 | FeeDetailClass | | 220 | InvoiceSummaryClass | | 221 | PayerAuthDetailClass | | 222 | ConversionDetailClass | | 225 | BillableTransactionsDetailClass | | 270 | JPTransactionDetailClass | | 271 | ServiceFeeDetailClass | | 310 | GatewayTransactionRequestClass | | 400 | DecisionManagerEventDetailClass | | 401 | DecisionManagerDetailClass | | 410 | FeeSummaryClass | | 420 | TaxCalculationClass | | 520 | POSTerminalExceptionClass | | 620 | SubscriptionDetailClass | | 630 | StandardBillingDataPackageClass | | 706 | StandardMonthlyFeeClass | * @return reportDefinitionId **/ - @ApiModelProperty(value = "| Id | Definition Class | | --- | --------------------------------- | | 210 | TransactionRequestClass | | 211 | PaymentBatchDetailClass | | 212 | ExceptionDetailClass | | 213 | ProcessorSettlementDetailClass | | 214 | ProcessorEventsDetailClass | | 215 | FundingDetailClass | | 216 | AgingDetailClass | | 217 | ChargebackAndRetrievalDetailClass | | 218 | DepositDetailClass | | 219 | FeeDetailClass | | 220 | InvoiceSummaryClass | | 221 | PayerAuthDetailClass | | 222 | ConversionDetailClass | | 225 | BillableTransactionsDetailClass | | 270 | JPTransactionDetailClass | | 271 | ServiceFeeDetailClass | | 310 | GatewayTransactionRequestClass | | 400 | DecisionManagerEventDetailClass | | 401 | DecisionManagerDetailClass | | 410 | FeeSummaryClass | | 420 | TaxCalculationClass | | 520 | POSTerminalExceptionClass | | 620 | SubscriptionDetailClass | ") + @ApiModelProperty(value = "| Id | Definition Class | | --- | --------------------------------- | | 210 | TransactionRequestClass | | 211 | PaymentBatchDetailClass | | 212 | ExceptionDetailClass | | 213 | ProcessorSettlementDetailClass | | 214 | ProcessorEventsDetailClass | | 215 | FundingDetailClass | | 216 | AgingDetailClass | | 217 | ChargebackAndRetrievalDetailClass | | 218 | DepositDetailClass | | 219 | FeeDetailClass | | 220 | InvoiceSummaryClass | | 221 | PayerAuthDetailClass | | 222 | ConversionDetailClass | | 225 | BillableTransactionsDetailClass | | 270 | JPTransactionDetailClass | | 271 | ServiceFeeDetailClass | | 310 | GatewayTransactionRequestClass | | 400 | DecisionManagerEventDetailClass | | 401 | DecisionManagerDetailClass | | 410 | FeeSummaryClass | | 420 | TaxCalculationClass | | 520 | POSTerminalExceptionClass | | 620 | SubscriptionDetailClass | | 630 | StandardBillingDataPackageClass | | 706 | StandardMonthlyFeeClass | ") public Integer getReportDefinitionId() { return reportDefinitionId; } diff --git a/src/main/java/Model/RiskProductsDecisionManager.java b/src/main/java/Model/RiskProductsDecisionManager.java index 5471de187..d02e735a4 100644 --- a/src/main/java/Model/RiskProductsDecisionManager.java +++ b/src/main/java/Model/RiskProductsDecisionManager.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import Model.RiskProductsDecisionManagerConfigurationInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -32,12 +32,12 @@ public class RiskProductsDecisionManager { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private RiskProductsDecisionManagerConfigurationInformation configurationInformation = null; - public RiskProductsDecisionManager subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public RiskProductsDecisionManager subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public RiskProductsDecisionManager subscriptionInformation(PaymentsProductsAlter * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/RiskProductsFraudManagementEssentials.java b/src/main/java/Model/RiskProductsFraudManagementEssentials.java index 7ec283456..71c463c0d 100644 --- a/src/main/java/Model/RiskProductsFraudManagementEssentials.java +++ b/src/main/java/Model/RiskProductsFraudManagementEssentials.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import Model.RiskProductsFraudManagementEssentialsConfigurationInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -32,12 +32,12 @@ public class RiskProductsFraudManagementEssentials { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private RiskProductsFraudManagementEssentialsConfigurationInformation configurationInformation = null; - public RiskProductsFraudManagementEssentials subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public RiskProductsFraudManagementEssentials subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public RiskProductsFraudManagementEssentials subscriptionInformation(PaymentsPro * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/RiskProductsPortfolioRiskControls.java b/src/main/java/Model/RiskProductsPortfolioRiskControls.java index d6f820bb2..dbb640875 100644 --- a/src/main/java/Model/RiskProductsPortfolioRiskControls.java +++ b/src/main/java/Model/RiskProductsPortfolioRiskControls.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PaymentsProductsAlternativePaymentMethodsSubscriptionInformation; +import Model.PaymentsProductsPayerAuthenticationSubscriptionInformation; import Model.RiskProductsPortfolioRiskControlsConfigurationInformation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -32,12 +32,12 @@ public class RiskProductsPortfolioRiskControls { @SerializedName("subscriptionInformation") - private PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation = null; + private PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = null; @SerializedName("configurationInformation") private RiskProductsPortfolioRiskControlsConfigurationInformation configurationInformation = null; - public RiskProductsPortfolioRiskControls subscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public RiskProductsPortfolioRiskControls subscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; return this; } @@ -47,11 +47,11 @@ public RiskProductsPortfolioRiskControls subscriptionInformation(PaymentsProduct * @return subscriptionInformation **/ @ApiModelProperty(value = "") - public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation getSubscriptionInformation() { + public PaymentsProductsPayerAuthenticationSubscriptionInformation getSubscriptionInformation() { return subscriptionInformation; } - public void setSubscriptionInformation(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation subscriptionInformation) { + public void setSubscriptionInformation(PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation) { this.subscriptionInformation = subscriptionInformation; } diff --git a/src/main/java/Model/TmsBinLookupPaymentAccountInformationFeatures.java b/src/main/java/Model/TmsBinLookupPaymentAccountInformationFeatures.java index fce5146cd..46f9921ec 100644 --- a/src/main/java/Model/TmsBinLookupPaymentAccountInformationFeatures.java +++ b/src/main/java/Model/TmsBinLookupPaymentAccountInformationFeatures.java @@ -86,6 +86,21 @@ public class TmsBinLookupPaymentAccountInformationFeatures { @SerializedName("flexCredential") private Boolean flexCredential = null; + @SerializedName("productId") + private String productId = null; + + @SerializedName("productIdSubtype") + private String productIdSubtype = null; + + @SerializedName("threeDSSupport") + private Boolean threeDSSupport = null; + + @SerializedName("siEligible") + private Boolean siEligible = null; + + @SerializedName("emiEligible") + private Boolean emiEligible = null; + public TmsBinLookupPaymentAccountInformationFeatures accountFundingSource(String accountFundingSource) { this.accountFundingSource = accountFundingSource; return this; @@ -428,6 +443,96 @@ public void setFlexCredential(Boolean flexCredential) { this.flexCredential = flexCredential; } + public TmsBinLookupPaymentAccountInformationFeatures productId(String productId) { + this.productId = productId; + return this; + } + + /** + * This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs. Example values: - Q4 - P - AX + * @return productId + **/ + @ApiModelProperty(value = "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs. Example values: - Q4 - P - AX ") + public String getProductId() { + return productId; + } + + public void setProductId(String productId) { + this.productId = productId; + } + + public TmsBinLookupPaymentAccountInformationFeatures productIdSubtype(String productIdSubtype) { + this.productIdSubtype = productIdSubtype; + return this; + } + + /** + * This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs. Example values: - BB - EX - L2 - C2 + * @return productIdSubtype + **/ + @ApiModelProperty(value = "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs. Example values: - BB - EX - L2 - C2 ") + public String getProductIdSubtype() { + return productIdSubtype; + } + + public void setProductIdSubtype(String productIdSubtype) { + this.productIdSubtype = productIdSubtype; + } + + public TmsBinLookupPaymentAccountInformationFeatures threeDSSupport(Boolean threeDSSupport) { + this.threeDSSupport = threeDSSupport; + return this; + } + + /** + * This field indicates if the payment instrument supports 3D Secure authentication. Possible values: - `true` - `false` + * @return threeDSSupport + **/ + @ApiModelProperty(value = "This field indicates if the payment instrument supports 3D Secure authentication. Possible values: - `true` - `false` ") + public Boolean ThreeDSSupport() { + return threeDSSupport; + } + + public void setThreeDSSupport(Boolean threeDSSupport) { + this.threeDSSupport = threeDSSupport; + } + + public TmsBinLookupPaymentAccountInformationFeatures siEligible(Boolean siEligible) { + this.siEligible = siEligible; + return this; + } + + /** + * This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments). Possible values: - `true` - `false` + * @return siEligible + **/ + @ApiModelProperty(value = "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments). Possible values: - `true` - `false` ") + public Boolean SiEligible() { + return siEligible; + } + + public void setSiEligible(Boolean siEligible) { + this.siEligible = siEligible; + } + + public TmsBinLookupPaymentAccountInformationFeatures emiEligible(Boolean emiEligible) { + this.emiEligible = emiEligible; + return this; + } + + /** + * This field indicates if the card is eligible for Equated Monthly Installments (EMI). Possible values: - `true` - `false` + * @return emiEligible + **/ + @ApiModelProperty(value = "This field indicates if the card is eligible for Equated Monthly Installments (EMI). Possible values: - `true` - `false` ") + public Boolean EmiEligible() { + return emiEligible; + } + + public void setEmiEligible(Boolean emiEligible) { + this.emiEligible = emiEligible; + } + @Override public boolean equals(java.lang.Object o) { @@ -456,12 +561,17 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.accountLevelManagement, tmsBinLookupPaymentAccountInformationFeatures.accountLevelManagement) && Objects.equals(this.onlineGamblingBlock, tmsBinLookupPaymentAccountInformationFeatures.onlineGamblingBlock) && Objects.equals(this.autoSubstantiation, tmsBinLookupPaymentAccountInformationFeatures.autoSubstantiation) && - Objects.equals(this.flexCredential, tmsBinLookupPaymentAccountInformationFeatures.flexCredential); + Objects.equals(this.flexCredential, tmsBinLookupPaymentAccountInformationFeatures.flexCredential) && + Objects.equals(this.productId, tmsBinLookupPaymentAccountInformationFeatures.productId) && + Objects.equals(this.productIdSubtype, tmsBinLookupPaymentAccountInformationFeatures.productIdSubtype) && + Objects.equals(this.threeDSSupport, tmsBinLookupPaymentAccountInformationFeatures.threeDSSupport) && + Objects.equals(this.siEligible, tmsBinLookupPaymentAccountInformationFeatures.siEligible) && + Objects.equals(this.emiEligible, tmsBinLookupPaymentAccountInformationFeatures.emiEligible); } @Override public int hashCode() { - return Objects.hash(accountFundingSource, accountFundingSourceSubType, cardProduct, messageType, acceptanceLevel, cardPlatform, comboCard, corporatePurchase, healthCard, sharedBIN, posDomesticOnly, gamblingAllowed, commercialCardLevel2, commercialCardLevel3, exemptBIN, accountLevelManagement, onlineGamblingBlock, autoSubstantiation, flexCredential); + return Objects.hash(accountFundingSource, accountFundingSourceSubType, cardProduct, messageType, acceptanceLevel, cardPlatform, comboCard, corporatePurchase, healthCard, sharedBIN, posDomesticOnly, gamblingAllowed, commercialCardLevel2, commercialCardLevel3, exemptBIN, accountLevelManagement, onlineGamblingBlock, autoSubstantiation, flexCredential, productId, productIdSubtype, threeDSSupport, siEligible, emiEligible); } @@ -489,6 +599,11 @@ public String toString() { if (onlineGamblingBlock != null) sb.append(" onlineGamblingBlock: ").append(toIndentedString(onlineGamblingBlock)).append("\n"); if (autoSubstantiation != null) sb.append(" autoSubstantiation: ").append(toIndentedString(autoSubstantiation)).append("\n"); if (flexCredential != null) sb.append(" flexCredential: ").append(toIndentedString(flexCredential)).append("\n"); + if (productId != null) sb.append(" productId: ").append(toIndentedString(productId)).append("\n"); + if (productIdSubtype != null) sb.append(" productIdSubtype: ").append(toIndentedString(productIdSubtype)).append("\n"); + if (threeDSSupport != null) sb.append(" threeDSSupport: ").append(toIndentedString(threeDSSupport)).append("\n"); + if (siEligible != null) sb.append(" siEligible: ").append(toIndentedString(siEligible)).append("\n"); + if (emiEligible != null) sb.append(" emiEligible: ").append(toIndentedString(emiEligible)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.java new file mode 100644 index 000000000..eaa5c6214 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.java @@ -0,0 +1,140 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard { + @SerializedName("last4") + private String last4 = null; + + @SerializedName("expirationMonth") + private String expirationMonth = null; + + @SerializedName("expirationYear") + private String expirationYear = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard last4(String last4) { + this.last4 = last4; + return this; + } + + /** + * The new last 4 digits of the card number associated to the Tokenized Card. + * @return last4 + **/ + @ApiModelProperty(value = "The new last 4 digits of the card number associated to the Tokenized Card. ") + public String getLast4() { + return last4; + } + + public void setLast4(String last4) { + this.last4 = last4; + } + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard expirationMonth(String expirationMonth) { + this.expirationMonth = expirationMonth; + return this; + } + + /** + * The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. + * @return expirationMonth + **/ + @ApiModelProperty(value = "The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. ") + public String getExpirationMonth() { + return expirationMonth; + } + + public void setExpirationMonth(String expirationMonth) { + this.expirationMonth = expirationMonth; + } + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard expirationYear(String expirationYear) { + this.expirationYear = expirationYear; + return this; + } + + /** + * The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. + * @return expirationYear + **/ + @ApiModelProperty(value = "The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. ") + public String getExpirationYear() { + return expirationYear; + } + + public void setExpirationYear(String expirationYear) { + this.expirationYear = expirationYear; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard) o; + return Objects.equals(this.last4, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.last4) && + Objects.equals(this.expirationMonth, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.expirationMonth) && + Objects.equals(this.expirationYear, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.expirationYear); + } + + @Override + public int hashCode() { + return Objects.hash(last4, expirationMonth, expirationYear); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard {\n"); + + if (last4 != null) sb.append(" last4: ").append(toIndentedString(last4)).append("\n"); + if (expirationMonth != null) sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + if (expirationYear != null) sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.java new file mode 100644 index 000000000..d3ec4b208 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata { + @SerializedName("cardArt") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt cardArt = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata cardArt(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt cardArt) { + this.cardArt = cardArt; + return this; + } + + /** + * Get cardArt + * @return cardArt + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt getCardArt() { + return cardArt; + } + + public void setCardArt(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt cardArt) { + this.cardArt = cardArt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata) o; + return Objects.equals(this.cardArt, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.cardArt); + } + + @Override + public int hashCode() { + return Objects.hash(cardArt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata {\n"); + + if (cardArt != null) sb.append(" cardArt: ").append(toIndentedString(cardArt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.java new file mode 100644 index 000000000..a927df8c9 --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt { + @SerializedName("combinedAsset") + private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset combinedAsset = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt combinedAsset(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + return this; + } + + /** + * Get combinedAsset + * @return combinedAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset getCombinedAsset() { + return combinedAsset; + } + + public void setCombinedAsset(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt) o; + return Objects.equals(this.combinedAsset, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.combinedAsset); + } + + @Override + public int hashCode() { + return Objects.hash(combinedAsset); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt {\n"); + + if (combinedAsset != null) sb.append(" combinedAsset: ").append(toIndentedString(combinedAsset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.java b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.java new file mode 100644 index 000000000..ace74811e --- /dev/null +++ b/src/main/java/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + */ + +public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset { + @SerializedName("update") + private String update = null; + + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset update(String update) { + this.update = update; + return this; + } + + /** + * Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. + * @return update + **/ + @ApiModelProperty(value = "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. ") + public String getUpdate() { + return update; + } + + public void setUpdate(String update) { + this.update = update; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset = (Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset) o; + return Objects.equals(this.update, tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.update); + } + + @Override + public int hashCode() { + return Objects.hash(update); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset {\n"); + + if (update != null) sb.append(" update: ").append(toIndentedString(update)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java index 58d94acc9..80b1d2f3d 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseOrderInformationAmountDetails.java @@ -48,6 +48,9 @@ public class TssV2TransactionsGet200ResponseOrderInformationAmountDetails { @SerializedName("settlementCurrency") private String settlementCurrency = null; + @SerializedName("refundBalance") + private String refundBalance = null; + @SerializedName("surcharge") private Ptsv2payoutsOrderInformationAmountDetailsSurcharge surcharge = null; @@ -159,6 +162,24 @@ public void setSettlementCurrency(String settlementCurrency) { this.settlementCurrency = settlementCurrency; } + public TssV2TransactionsGet200ResponseOrderInformationAmountDetails refundBalance(String refundBalance) { + this.refundBalance = refundBalance; + return this; + } + + /** + * The remaining amount which can be refunded. + * @return refundBalance + **/ + @ApiModelProperty(value = "The remaining amount which can be refunded.") + public String getRefundBalance() { + return refundBalance; + } + + public void setRefundBalance(String refundBalance) { + this.refundBalance = refundBalance; + } + public TssV2TransactionsGet200ResponseOrderInformationAmountDetails surcharge(Ptsv2payoutsOrderInformationAmountDetailsSurcharge surcharge) { this.surcharge = surcharge; return this; @@ -193,12 +214,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.authorizedAmount, tssV2TransactionsGet200ResponseOrderInformationAmountDetails.authorizedAmount) && Objects.equals(this.settlementAmount, tssV2TransactionsGet200ResponseOrderInformationAmountDetails.settlementAmount) && Objects.equals(this.settlementCurrency, tssV2TransactionsGet200ResponseOrderInformationAmountDetails.settlementCurrency) && + Objects.equals(this.refundBalance, tssV2TransactionsGet200ResponseOrderInformationAmountDetails.refundBalance) && Objects.equals(this.surcharge, tssV2TransactionsGet200ResponseOrderInformationAmountDetails.surcharge); } @Override public int hashCode() { - return Objects.hash(totalAmount, currency, taxAmount, authorizedAmount, settlementAmount, settlementCurrency, surcharge); + return Objects.hash(totalAmount, currency, taxAmount, authorizedAmount, settlementAmount, settlementCurrency, refundBalance, surcharge); } @@ -213,6 +235,7 @@ public String toString() { if (authorizedAmount != null) sb.append(" authorizedAmount: ").append(toIndentedString(authorizedAmount)).append("\n"); if (settlementAmount != null) sb.append(" settlementAmount: ").append(toIndentedString(settlementAmount)).append("\n"); if (settlementCurrency != null) sb.append(" settlementCurrency: ").append(toIndentedString(settlementCurrency)).append("\n"); + if (refundBalance != null) sb.append(" refundBalance: ").append(toIndentedString(refundBalance)).append("\n"); if (surcharge != null) sb.append(" surcharge: ").append(toIndentedString(surcharge)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java index 015337fe6..31a19dc70 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponsePaymentInformation.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.PtsV2PaymentsPost201Response1PaymentInformationEWallet; import Model.PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument; import Model.PtsV2PaymentsPost201ResponseTokenInformationShippingAddress; import Model.TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures; @@ -48,6 +49,9 @@ public class TssV2TransactionsGet200ResponsePaymentInformation { @SerializedName("paymentType") private TssV2TransactionsGet200ResponsePaymentInformationPaymentType paymentType = null; + @SerializedName("eWallet") + private PtsV2PaymentsPost201Response1PaymentInformationEWallet eWallet = null; + @SerializedName("customer") private TssV2TransactionsGet200ResponsePaymentInformationCustomer customer = null; @@ -105,6 +109,24 @@ public void setPaymentType(TssV2TransactionsGet200ResponsePaymentInformationPaym this.paymentType = paymentType; } + public TssV2TransactionsGet200ResponsePaymentInformation eWallet(PtsV2PaymentsPost201Response1PaymentInformationEWallet eWallet) { + this.eWallet = eWallet; + return this; + } + + /** + * Get eWallet + * @return eWallet + **/ + @ApiModelProperty(value = "") + public PtsV2PaymentsPost201Response1PaymentInformationEWallet getEWallet() { + return eWallet; + } + + public void setEWallet(PtsV2PaymentsPost201Response1PaymentInformationEWallet eWallet) { + this.eWallet = eWallet; + } + public TssV2TransactionsGet200ResponsePaymentInformation customer(TssV2TransactionsGet200ResponsePaymentInformationCustomer customer) { this.customer = customer; return this; @@ -358,6 +380,7 @@ public boolean equals(java.lang.Object o) { } TssV2TransactionsGet200ResponsePaymentInformation tssV2TransactionsGet200ResponsePaymentInformation = (TssV2TransactionsGet200ResponsePaymentInformation) o; return Objects.equals(this.paymentType, tssV2TransactionsGet200ResponsePaymentInformation.paymentType) && + Objects.equals(this.eWallet, tssV2TransactionsGet200ResponsePaymentInformation.eWallet) && Objects.equals(this.customer, tssV2TransactionsGet200ResponsePaymentInformation.customer) && Objects.equals(this.card, tssV2TransactionsGet200ResponsePaymentInformation.card) && Objects.equals(this.brands, tssV2TransactionsGet200ResponsePaymentInformation.brands) && @@ -375,7 +398,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(paymentType, customer, card, brands, features, invoice, network, issuerInformation, bank, accountFeatures, paymentInstrument, instrumentIdentifier, shippingAddress, fluidData); + return Objects.hash(paymentType, eWallet, customer, card, brands, features, invoice, network, issuerInformation, bank, accountFeatures, paymentInstrument, instrumentIdentifier, shippingAddress, fluidData); } @@ -385,6 +408,7 @@ public String toString() { sb.append("class TssV2TransactionsGet200ResponsePaymentInformation {\n"); if (paymentType != null) sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n"); + if (eWallet != null) sb.append(" eWallet: ").append(toIndentedString(eWallet)).append("\n"); if (customer != null) sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); if (card != null) sb.append(" card: ").append(toIndentedString(card)).append("\n"); if (brands != null) sb.append(" brands: ").append(toIndentedString(brands)).append("\n"); diff --git a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java index 6812fc30f..e50189406 100644 --- a/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java +++ b/src/main/java/Model/TssV2TransactionsGet200ResponseProcessorInformation.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.PtsV2PaymentsPost201Response1IssuerInformation; import Model.PtsV2PaymentsPost201ResponseProcessorInformationAchVerification; import Model.PtsV2PaymentsPost201ResponseProcessorInformationAvs; import Model.PtsV2PaymentsPost201ResponseProcessorInformationRouting; @@ -74,6 +75,9 @@ public class TssV2TransactionsGet200ResponseProcessorInformation { @SerializedName("electronicVerificationResults") private TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults electronicVerificationResults = null; + @SerializedName("issuerInformation") + private PtsV2PaymentsPost201Response1IssuerInformation issuerInformation = null; + @SerializedName("eventStatus") private String eventStatus = null; @@ -86,6 +90,15 @@ public class TssV2TransactionsGet200ResponseProcessorInformation { @SerializedName("paymentAccountReferenceNumber") private String paymentAccountReferenceNumber = null; + @SerializedName("responseDetails") + private String responseDetails = null; + + @SerializedName("rawResponseLocal") + private String rawResponseLocal = null; + + @SerializedName("rawResponse") + private String rawResponse = null; + @SerializedName("routing") private PtsV2PaymentsPost201ResponseProcessorInformationRouting routing = null; @@ -313,6 +326,24 @@ public void setElectronicVerificationResults(TssV2TransactionsGet200ResponseProc this.electronicVerificationResults = electronicVerificationResults; } + public TssV2TransactionsGet200ResponseProcessorInformation issuerInformation(PtsV2PaymentsPost201Response1IssuerInformation issuerInformation) { + this.issuerInformation = issuerInformation; + return this; + } + + /** + * Get issuerInformation + * @return issuerInformation + **/ + @ApiModelProperty(value = "") + public PtsV2PaymentsPost201Response1IssuerInformation getIssuerInformation() { + return issuerInformation; + } + + public void setIssuerInformation(PtsV2PaymentsPost201Response1IssuerInformation issuerInformation) { + this.issuerInformation = issuerInformation; + } + public TssV2TransactionsGet200ResponseProcessorInformation eventStatus(String eventStatus) { this.eventStatus = eventStatus; return this; @@ -385,6 +416,60 @@ public void setPaymentAccountReferenceNumber(String paymentAccountReferenceNumbe this.paymentAccountReferenceNumber = paymentAccountReferenceNumber; } + public TssV2TransactionsGet200ResponseProcessorInformation responseDetails(String responseDetails) { + this.responseDetails = responseDetails; + return this; + } + + /** + * This field might contain information about a decline. + * @return responseDetails + **/ + @ApiModelProperty(value = "This field might contain information about a decline. ") + public String getResponseDetails() { + return responseDetails; + } + + public void setResponseDetails(String responseDetails) { + this.responseDetails = responseDetails; + } + + public TssV2TransactionsGet200ResponseProcessorInformation rawResponseLocal(String rawResponseLocal) { + this.rawResponseLocal = rawResponseLocal; + return this; + } + + /** + * Failure reason returned by the processor in the local language of the processor. + * @return rawResponseLocal + **/ + @ApiModelProperty(value = "Failure reason returned by the processor in the local language of the processor.") + public String getRawResponseLocal() { + return rawResponseLocal; + } + + public void setRawResponseLocal(String rawResponseLocal) { + this.rawResponseLocal = rawResponseLocal; + } + + public TssV2TransactionsGet200ResponseProcessorInformation rawResponse(String rawResponse) { + this.rawResponse = rawResponse; + return this; + } + + /** + * Failure reason returned by the processor. + * @return rawResponse + **/ + @ApiModelProperty(value = "Failure reason returned by the processor.") + public String getRawResponse() { + return rawResponse; + } + + public void setRawResponse(String rawResponse) { + this.rawResponse = rawResponse; + } + public TssV2TransactionsGet200ResponseProcessorInformation routing(PtsV2PaymentsPost201ResponseProcessorInformationRouting routing) { this.routing = routing; return this; @@ -425,16 +510,20 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.cardVerification, tssV2TransactionsGet200ResponseProcessorInformation.cardVerification) && Objects.equals(this.achVerification, tssV2TransactionsGet200ResponseProcessorInformation.achVerification) && Objects.equals(this.electronicVerificationResults, tssV2TransactionsGet200ResponseProcessorInformation.electronicVerificationResults) && + Objects.equals(this.issuerInformation, tssV2TransactionsGet200ResponseProcessorInformation.issuerInformation) && Objects.equals(this.eventStatus, tssV2TransactionsGet200ResponseProcessorInformation.eventStatus) && Objects.equals(this.systemTraceAuditNumber, tssV2TransactionsGet200ResponseProcessorInformation.systemTraceAuditNumber) && Objects.equals(this.responseCodeSource, tssV2TransactionsGet200ResponseProcessorInformation.responseCodeSource) && Objects.equals(this.paymentAccountReferenceNumber, tssV2TransactionsGet200ResponseProcessorInformation.paymentAccountReferenceNumber) && + Objects.equals(this.responseDetails, tssV2TransactionsGet200ResponseProcessorInformation.responseDetails) && + Objects.equals(this.rawResponseLocal, tssV2TransactionsGet200ResponseProcessorInformation.rawResponseLocal) && + Objects.equals(this.rawResponse, tssV2TransactionsGet200ResponseProcessorInformation.rawResponse) && Objects.equals(this.routing, tssV2TransactionsGet200ResponseProcessorInformation.routing); } @Override public int hashCode() { - return Objects.hash(processor, multiProcessorRouting, transactionId, networkTransactionId, retrievalReferenceNumber, responseId, approvalCode, responseCode, avs, cardVerification, achVerification, electronicVerificationResults, eventStatus, systemTraceAuditNumber, responseCodeSource, paymentAccountReferenceNumber, routing); + return Objects.hash(processor, multiProcessorRouting, transactionId, networkTransactionId, retrievalReferenceNumber, responseId, approvalCode, responseCode, avs, cardVerification, achVerification, electronicVerificationResults, issuerInformation, eventStatus, systemTraceAuditNumber, responseCodeSource, paymentAccountReferenceNumber, responseDetails, rawResponseLocal, rawResponse, routing); } @@ -455,10 +544,14 @@ public String toString() { if (cardVerification != null) sb.append(" cardVerification: ").append(toIndentedString(cardVerification)).append("\n"); if (achVerification != null) sb.append(" achVerification: ").append(toIndentedString(achVerification)).append("\n"); if (electronicVerificationResults != null) sb.append(" electronicVerificationResults: ").append(toIndentedString(electronicVerificationResults)).append("\n"); + if (issuerInformation != null) sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n"); if (eventStatus != null) sb.append(" eventStatus: ").append(toIndentedString(eventStatus)).append("\n"); if (systemTraceAuditNumber != null) sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); if (responseCodeSource != null) sb.append(" responseCodeSource: ").append(toIndentedString(responseCodeSource)).append("\n"); if (paymentAccountReferenceNumber != null) sb.append(" paymentAccountReferenceNumber: ").append(toIndentedString(paymentAccountReferenceNumber)).append("\n"); + if (responseDetails != null) sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); + if (rawResponseLocal != null) sb.append(" rawResponseLocal: ").append(toIndentedString(rawResponseLocal)).append("\n"); + if (rawResponse != null) sb.append(" rawResponse: ").append(toIndentedString(rawResponse)).append("\n"); if (routing != null) sb.append(" routing: ").append(toIndentedString(routing)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/Model/UnderwritingConfiguration.java b/src/main/java/Model/UnderwritingConfiguration.java new file mode 100644 index 000000000..922c75c65 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfiguration.java @@ -0,0 +1,310 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationBillingInformation; +import Model.UnderwritingConfigurationClientReferenceInformation; +import Model.UnderwritingConfigurationDepositInformation; +import Model.UnderwritingConfigurationDeviceInformation; +import Model.UnderwritingConfigurationFileAttachmentInformation; +import Model.UnderwritingConfigurationMerchantApplication; +import Model.UnderwritingConfigurationOrganizationInformation; +import Model.UnderwritingConfigurationSaleRepresentativeInformation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Underwriting configuration containing the complete VMES (Visa Merchant Evaluation Service) payload for merchant risk evaluation. + */ +@ApiModel(description = "Underwriting configuration containing the complete VMES (Visa Merchant Evaluation Service) payload for merchant risk evaluation. ") + +public class UnderwritingConfiguration { + @SerializedName("clientReferenceInformation") + private UnderwritingConfigurationClientReferenceInformation clientReferenceInformation = null; + + @SerializedName("merchantApplication") + private UnderwritingConfigurationMerchantApplication merchantApplication = null; + + @SerializedName("metadata") + private Object metadata = null; + + @SerializedName("metadataExternal") + private Object metadataExternal = null; + + @SerializedName("organizationInformation") + private UnderwritingConfigurationOrganizationInformation organizationInformation = null; + + @SerializedName("deviceInformation") + private UnderwritingConfigurationDeviceInformation deviceInformation = null; + + @SerializedName("depositInformation") + private UnderwritingConfigurationDepositInformation depositInformation = null; + + @SerializedName("billingInformation") + private UnderwritingConfigurationBillingInformation billingInformation = null; + + @SerializedName("saleRepresentativeInformation") + private UnderwritingConfigurationSaleRepresentativeInformation saleRepresentativeInformation = null; + + @SerializedName("fileAttachmentInformation") + private UnderwritingConfigurationFileAttachmentInformation fileAttachmentInformation = null; + + public UnderwritingConfiguration clientReferenceInformation(UnderwritingConfigurationClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + return this; + } + + /** + * Get clientReferenceInformation + * @return clientReferenceInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationClientReferenceInformation getClientReferenceInformation() { + return clientReferenceInformation; + } + + public void setClientReferenceInformation(UnderwritingConfigurationClientReferenceInformation clientReferenceInformation) { + this.clientReferenceInformation = clientReferenceInformation; + } + + public UnderwritingConfiguration merchantApplication(UnderwritingConfigurationMerchantApplication merchantApplication) { + this.merchantApplication = merchantApplication; + return this; + } + + /** + * Get merchantApplication + * @return merchantApplication + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationMerchantApplication getMerchantApplication() { + return merchantApplication; + } + + public void setMerchantApplication(UnderwritingConfigurationMerchantApplication merchantApplication) { + this.merchantApplication = merchantApplication; + } + + public UnderwritingConfiguration metadata(Object metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public Object getMetadata() { + return metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + public UnderwritingConfiguration metadataExternal(Object metadataExternal) { + this.metadataExternal = metadataExternal; + return this; + } + + /** + * Get metadataExternal + * @return metadataExternal + **/ + @ApiModelProperty(value = "") + public Object getMetadataExternal() { + return metadataExternal; + } + + public void setMetadataExternal(Object metadataExternal) { + this.metadataExternal = metadataExternal; + } + + public UnderwritingConfiguration organizationInformation(UnderwritingConfigurationOrganizationInformation organizationInformation) { + this.organizationInformation = organizationInformation; + return this; + } + + /** + * Get organizationInformation + * @return organizationInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformation getOrganizationInformation() { + return organizationInformation; + } + + public void setOrganizationInformation(UnderwritingConfigurationOrganizationInformation organizationInformation) { + this.organizationInformation = organizationInformation; + } + + public UnderwritingConfiguration deviceInformation(UnderwritingConfigurationDeviceInformation deviceInformation) { + this.deviceInformation = deviceInformation; + return this; + } + + /** + * Get deviceInformation + * @return deviceInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationDeviceInformation getDeviceInformation() { + return deviceInformation; + } + + public void setDeviceInformation(UnderwritingConfigurationDeviceInformation deviceInformation) { + this.deviceInformation = deviceInformation; + } + + public UnderwritingConfiguration depositInformation(UnderwritingConfigurationDepositInformation depositInformation) { + this.depositInformation = depositInformation; + return this; + } + + /** + * Get depositInformation + * @return depositInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationDepositInformation getDepositInformation() { + return depositInformation; + } + + public void setDepositInformation(UnderwritingConfigurationDepositInformation depositInformation) { + this.depositInformation = depositInformation; + } + + public UnderwritingConfiguration billingInformation(UnderwritingConfigurationBillingInformation billingInformation) { + this.billingInformation = billingInformation; + return this; + } + + /** + * Get billingInformation + * @return billingInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationBillingInformation getBillingInformation() { + return billingInformation; + } + + public void setBillingInformation(UnderwritingConfigurationBillingInformation billingInformation) { + this.billingInformation = billingInformation; + } + + public UnderwritingConfiguration saleRepresentativeInformation(UnderwritingConfigurationSaleRepresentativeInformation saleRepresentativeInformation) { + this.saleRepresentativeInformation = saleRepresentativeInformation; + return this; + } + + /** + * Get saleRepresentativeInformation + * @return saleRepresentativeInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationSaleRepresentativeInformation getSaleRepresentativeInformation() { + return saleRepresentativeInformation; + } + + public void setSaleRepresentativeInformation(UnderwritingConfigurationSaleRepresentativeInformation saleRepresentativeInformation) { + this.saleRepresentativeInformation = saleRepresentativeInformation; + } + + public UnderwritingConfiguration fileAttachmentInformation(UnderwritingConfigurationFileAttachmentInformation fileAttachmentInformation) { + this.fileAttachmentInformation = fileAttachmentInformation; + return this; + } + + /** + * Get fileAttachmentInformation + * @return fileAttachmentInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationFileAttachmentInformation getFileAttachmentInformation() { + return fileAttachmentInformation; + } + + public void setFileAttachmentInformation(UnderwritingConfigurationFileAttachmentInformation fileAttachmentInformation) { + this.fileAttachmentInformation = fileAttachmentInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfiguration underwritingConfiguration = (UnderwritingConfiguration) o; + return Objects.equals(this.clientReferenceInformation, underwritingConfiguration.clientReferenceInformation) && + Objects.equals(this.merchantApplication, underwritingConfiguration.merchantApplication) && + Objects.equals(this.metadata, underwritingConfiguration.metadata) && + Objects.equals(this.metadataExternal, underwritingConfiguration.metadataExternal) && + Objects.equals(this.organizationInformation, underwritingConfiguration.organizationInformation) && + Objects.equals(this.deviceInformation, underwritingConfiguration.deviceInformation) && + Objects.equals(this.depositInformation, underwritingConfiguration.depositInformation) && + Objects.equals(this.billingInformation, underwritingConfiguration.billingInformation) && + Objects.equals(this.saleRepresentativeInformation, underwritingConfiguration.saleRepresentativeInformation) && + Objects.equals(this.fileAttachmentInformation, underwritingConfiguration.fileAttachmentInformation); + } + + @Override + public int hashCode() { + return Objects.hash(clientReferenceInformation, merchantApplication, metadata, metadataExternal, organizationInformation, deviceInformation, depositInformation, billingInformation, saleRepresentativeInformation, fileAttachmentInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfiguration {\n"); + + if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n"); + if (merchantApplication != null) sb.append(" merchantApplication: ").append(toIndentedString(merchantApplication)).append("\n"); + if (metadata != null) sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + if (metadataExternal != null) sb.append(" metadataExternal: ").append(toIndentedString(metadataExternal)).append("\n"); + if (organizationInformation != null) sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n"); + if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n"); + if (depositInformation != null) sb.append(" depositInformation: ").append(toIndentedString(depositInformation)).append("\n"); + if (billingInformation != null) sb.append(" billingInformation: ").append(toIndentedString(billingInformation)).append("\n"); + if (saleRepresentativeInformation != null) sb.append(" saleRepresentativeInformation: ").append(toIndentedString(saleRepresentativeInformation)).append("\n"); + if (fileAttachmentInformation != null) sb.append(" fileAttachmentInformation: ").append(toIndentedString(fileAttachmentInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationBillingInformation.java b/src/main/java/Model/UnderwritingConfigurationBillingInformation.java new file mode 100644 index 000000000..ed0da0649 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationBillingInformation.java @@ -0,0 +1,95 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationBillingInformationBankAccountInformation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationBillingInformation + */ + +public class UnderwritingConfigurationBillingInformation { + @SerializedName("bankAccountInformation") + private UnderwritingConfigurationBillingInformationBankAccountInformation bankAccountInformation = null; + + public UnderwritingConfigurationBillingInformation bankAccountInformation(UnderwritingConfigurationBillingInformationBankAccountInformation bankAccountInformation) { + this.bankAccountInformation = bankAccountInformation; + return this; + } + + /** + * Get bankAccountInformation + * @return bankAccountInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationBillingInformationBankAccountInformation getBankAccountInformation() { + return bankAccountInformation; + } + + public void setBankAccountInformation(UnderwritingConfigurationBillingInformationBankAccountInformation bankAccountInformation) { + this.bankAccountInformation = bankAccountInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationBillingInformation underwritingConfigurationBillingInformation = (UnderwritingConfigurationBillingInformation) o; + return Objects.equals(this.bankAccountInformation, underwritingConfigurationBillingInformation.bankAccountInformation); + } + + @Override + public int hashCode() { + return Objects.hash(bankAccountInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationBillingInformation {\n"); + + if (bankAccountInformation != null) sb.append(" bankAccountInformation: ").append(toIndentedString(bankAccountInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationBillingInformationBankAccountInformation.java b/src/main/java/Model/UnderwritingConfigurationBillingInformationBankAccountInformation.java new file mode 100644 index 000000000..6995f326a --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationBillingInformationBankAccountInformation.java @@ -0,0 +1,186 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationBillingInformationBankAccountInformation + */ + +public class UnderwritingConfigurationBillingInformationBankAccountInformation { + @SerializedName("bankAccountCountry") + private String bankAccountCountry = null; + + @SerializedName("accountHolderName") + private String accountHolderName = null; + + @SerializedName("accountType") + private String accountType = null; + + @SerializedName("accountRoutingNumber") + private String accountRoutingNumber = null; + + @SerializedName("accountNumber") + private String accountNumber = null; + + public UnderwritingConfigurationBillingInformationBankAccountInformation bankAccountCountry(String bankAccountCountry) { + this.bankAccountCountry = bankAccountCountry; + return this; + } + + /** + * Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2. + * @return bankAccountCountry + **/ + @ApiModelProperty(example = "US", value = "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.") + public String getBankAccountCountry() { + return bankAccountCountry; + } + + public void setBankAccountCountry(String bankAccountCountry) { + this.bankAccountCountry = bankAccountCountry; + } + + public UnderwritingConfigurationBillingInformationBankAccountInformation accountHolderName(String accountHolderName) { + this.accountHolderName = accountHolderName; + return this; + } + + /** + * Name on the checking account + * @return accountHolderName + **/ + @ApiModelProperty(example = "Sarah Jane Smith", value = "Name on the checking account") + public String getAccountHolderName() { + return accountHolderName; + } + + public void setAccountHolderName(String accountHolderName) { + this.accountHolderName = accountHolderName; + } + + public UnderwritingConfigurationBillingInformationBankAccountInformation accountType(String accountType) { + this.accountType = accountType; + return this; + } + + /** + * Type of Account Possible Values: - CHECKING - SAVINGS - CORPORATECHECKING - CORPORATESAVINGS + * @return accountType + **/ + @ApiModelProperty(example = "CORPORATECHECKING", value = "Type of Account Possible Values: - CHECKING - SAVINGS - CORPORATECHECKING - CORPORATESAVINGS ") + public String getAccountType() { + return accountType; + } + + public void setAccountType(String accountType) { + this.accountType = accountType; + } + + public UnderwritingConfigurationBillingInformationBankAccountInformation accountRoutingNumber(String accountRoutingNumber) { + this.accountRoutingNumber = accountRoutingNumber; + return this; + } + + /** + * Routing Number, IBAN, Swift/BIC, etc + * @return accountRoutingNumber + **/ + @ApiModelProperty(example = "111111111111111", value = "Routing Number, IBAN, Swift/BIC, etc") + public String getAccountRoutingNumber() { + return accountRoutingNumber; + } + + public void setAccountRoutingNumber(String accountRoutingNumber) { + this.accountRoutingNumber = accountRoutingNumber; + } + + public UnderwritingConfigurationBillingInformationBankAccountInformation accountNumber(String accountNumber) { + this.accountNumber = accountNumber; + return this; + } + + /** + * Account Number + * @return accountNumber + **/ + @ApiModelProperty(example = "111111111111110", value = "Account Number") + public String getAccountNumber() { + return accountNumber; + } + + public void setAccountNumber(String accountNumber) { + this.accountNumber = accountNumber; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationBillingInformationBankAccountInformation underwritingConfigurationBillingInformationBankAccountInformation = (UnderwritingConfigurationBillingInformationBankAccountInformation) o; + return Objects.equals(this.bankAccountCountry, underwritingConfigurationBillingInformationBankAccountInformation.bankAccountCountry) && + Objects.equals(this.accountHolderName, underwritingConfigurationBillingInformationBankAccountInformation.accountHolderName) && + Objects.equals(this.accountType, underwritingConfigurationBillingInformationBankAccountInformation.accountType) && + Objects.equals(this.accountRoutingNumber, underwritingConfigurationBillingInformationBankAccountInformation.accountRoutingNumber) && + Objects.equals(this.accountNumber, underwritingConfigurationBillingInformationBankAccountInformation.accountNumber); + } + + @Override + public int hashCode() { + return Objects.hash(bankAccountCountry, accountHolderName, accountType, accountRoutingNumber, accountNumber); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationBillingInformationBankAccountInformation {\n"); + + if (bankAccountCountry != null) sb.append(" bankAccountCountry: ").append(toIndentedString(bankAccountCountry)).append("\n"); + if (accountHolderName != null) sb.append(" accountHolderName: ").append(toIndentedString(accountHolderName)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (accountRoutingNumber != null) sb.append(" accountRoutingNumber: ").append(toIndentedString(accountRoutingNumber)).append("\n"); + if (accountNumber != null) sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationClientReferenceInformation.java b/src/main/java/Model/UnderwritingConfigurationClientReferenceInformation.java new file mode 100644 index 000000000..10abe5cf8 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationClientReferenceInformation.java @@ -0,0 +1,117 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationClientReferenceInformation + */ + +public class UnderwritingConfigurationClientReferenceInformation { + @SerializedName("clientRequestId") + private String clientRequestId = null; + + @SerializedName("applicationName") + private String applicationName = null; + + public UnderwritingConfigurationClientReferenceInformation clientRequestId(String clientRequestId) { + this.clientRequestId = clientRequestId; + return this; + } + + /** + * client-generated request reference or tracking number. It is recommended that you send a unique value for each request so that you can perform meaningful searches for the request. + * @return clientRequestId + **/ + @ApiModelProperty(example = "merch-test1", value = "client-generated request reference or tracking number. It is recommended that you send a unique value for each request so that you can perform meaningful searches for the request. ") + public String getClientRequestId() { + return clientRequestId; + } + + public void setClientRequestId(String clientRequestId) { + this.clientRequestId = clientRequestId; + } + + public UnderwritingConfigurationClientReferenceInformation applicationName(String applicationName) { + this.applicationName = applicationName; + return this; + } + + /** + * The name of the application (such as Boarding Workflow or Anet Boarding) that the client uses to send a request to merchant evaluation service. + * @return applicationName + **/ + @ApiModelProperty(example = "merch-test1", value = "The name of the application (such as Boarding Workflow or Anet Boarding) that the client uses to send a request to merchant evaluation service. ") + public String getApplicationName() { + return applicationName; + } + + public void setApplicationName(String applicationName) { + this.applicationName = applicationName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationClientReferenceInformation underwritingConfigurationClientReferenceInformation = (UnderwritingConfigurationClientReferenceInformation) o; + return Objects.equals(this.clientRequestId, underwritingConfigurationClientReferenceInformation.clientRequestId) && + Objects.equals(this.applicationName, underwritingConfigurationClientReferenceInformation.applicationName); + } + + @Override + public int hashCode() { + return Objects.hash(clientRequestId, applicationName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationClientReferenceInformation {\n"); + + if (clientRequestId != null) sb.append(" clientRequestId: ").append(toIndentedString(clientRequestId)).append("\n"); + if (applicationName != null) sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationDepositInformation.java b/src/main/java/Model/UnderwritingConfigurationDepositInformation.java new file mode 100644 index 000000000..f51154e1c --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationDepositInformation.java @@ -0,0 +1,186 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationDepositInformation + */ + +public class UnderwritingConfigurationDepositInformation { + @SerializedName("bankAccountCountry") + private String bankAccountCountry = null; + + @SerializedName("accountHolderName") + private String accountHolderName = null; + + @SerializedName("accountType") + private String accountType = null; + + @SerializedName("accountRoutingNumber") + private String accountRoutingNumber = null; + + @SerializedName("accountNumber") + private String accountNumber = null; + + public UnderwritingConfigurationDepositInformation bankAccountCountry(String bankAccountCountry) { + this.bankAccountCountry = bankAccountCountry; + return this; + } + + /** + * Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2. + * @return bankAccountCountry + **/ + @ApiModelProperty(example = "US", value = "Country of the Bank Account. Two character country code, ISO 3166-1 alpha-2.") + public String getBankAccountCountry() { + return bankAccountCountry; + } + + public void setBankAccountCountry(String bankAccountCountry) { + this.bankAccountCountry = bankAccountCountry; + } + + public UnderwritingConfigurationDepositInformation accountHolderName(String accountHolderName) { + this.accountHolderName = accountHolderName; + return this; + } + + /** + * Name on the Bank Account + * @return accountHolderName + **/ + @ApiModelProperty(example = "Sarah Jane Smith", value = "Name on the Bank Account") + public String getAccountHolderName() { + return accountHolderName; + } + + public void setAccountHolderName(String accountHolderName) { + this.accountHolderName = accountHolderName; + } + + public UnderwritingConfigurationDepositInformation accountType(String accountType) { + this.accountType = accountType; + return this; + } + + /** + * Type of Account Possible Values: - CHECKING - SAVINGS - CORPORATECHECKING - CORPORATESAVINGS + * @return accountType + **/ + @ApiModelProperty(example = "CORPORATECHECKING", value = "Type of Account Possible Values: - CHECKING - SAVINGS - CORPORATECHECKING - CORPORATESAVINGS ") + public String getAccountType() { + return accountType; + } + + public void setAccountType(String accountType) { + this.accountType = accountType; + } + + public UnderwritingConfigurationDepositInformation accountRoutingNumber(String accountRoutingNumber) { + this.accountRoutingNumber = accountRoutingNumber; + return this; + } + + /** + * Routing Number, IBAN, Swift/BIC, etc + * @return accountRoutingNumber + **/ + @ApiModelProperty(example = "111111111111111", value = "Routing Number, IBAN, Swift/BIC, etc") + public String getAccountRoutingNumber() { + return accountRoutingNumber; + } + + public void setAccountRoutingNumber(String accountRoutingNumber) { + this.accountRoutingNumber = accountRoutingNumber; + } + + public UnderwritingConfigurationDepositInformation accountNumber(String accountNumber) { + this.accountNumber = accountNumber; + return this; + } + + /** + * Account Number + * @return accountNumber + **/ + @ApiModelProperty(example = "111111111111110", value = "Account Number") + public String getAccountNumber() { + return accountNumber; + } + + public void setAccountNumber(String accountNumber) { + this.accountNumber = accountNumber; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationDepositInformation underwritingConfigurationDepositInformation = (UnderwritingConfigurationDepositInformation) o; + return Objects.equals(this.bankAccountCountry, underwritingConfigurationDepositInformation.bankAccountCountry) && + Objects.equals(this.accountHolderName, underwritingConfigurationDepositInformation.accountHolderName) && + Objects.equals(this.accountType, underwritingConfigurationDepositInformation.accountType) && + Objects.equals(this.accountRoutingNumber, underwritingConfigurationDepositInformation.accountRoutingNumber) && + Objects.equals(this.accountNumber, underwritingConfigurationDepositInformation.accountNumber); + } + + @Override + public int hashCode() { + return Objects.hash(bankAccountCountry, accountHolderName, accountType, accountRoutingNumber, accountNumber); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationDepositInformation {\n"); + + if (bankAccountCountry != null) sb.append(" bankAccountCountry: ").append(toIndentedString(bankAccountCountry)).append("\n"); + if (accountHolderName != null) sb.append(" accountHolderName: ").append(toIndentedString(accountHolderName)).append("\n"); + if (accountType != null) sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + if (accountRoutingNumber != null) sb.append(" accountRoutingNumber: ").append(toIndentedString(accountRoutingNumber)).append("\n"); + if (accountNumber != null) sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationDeviceInformation.java b/src/main/java/Model/UnderwritingConfigurationDeviceInformation.java new file mode 100644 index 000000000..19a040be0 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationDeviceInformation.java @@ -0,0 +1,140 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationDeviceInformation + */ + +public class UnderwritingConfigurationDeviceInformation { + @SerializedName("ipAddress") + private String ipAddress = null; + + @SerializedName("fingerprintSessionId") + private String fingerprintSessionId = null; + + @SerializedName("userAgent") + private String userAgent = null; + + public UnderwritingConfigurationDeviceInformation ipAddress(String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * IP Address of the user that filled in the Merchant Application + * @return ipAddress + **/ + @ApiModelProperty(value = "IP Address of the user that filled in the Merchant Application") + public String getIpAddress() { + return ipAddress; + } + + public void setIpAddress(String ipAddress) { + this.ipAddress = ipAddress; + } + + public UnderwritingConfigurationDeviceInformation fingerprintSessionId(String fingerprintSessionId) { + this.fingerprintSessionId = fingerprintSessionId; + return this; + } + + /** + * Info about the user that filled in the Merchant Application + * @return fingerprintSessionId + **/ + @ApiModelProperty(value = "Info about the user that filled in the Merchant Application") + public String getFingerprintSessionId() { + return fingerprintSessionId; + } + + public void setFingerprintSessionId(String fingerprintSessionId) { + this.fingerprintSessionId = fingerprintSessionId; + } + + public UnderwritingConfigurationDeviceInformation userAgent(String userAgent) { + this.userAgent = userAgent; + return this; + } + + /** + * Info about the user that filled in the Merchant Application + * @return userAgent + **/ + @ApiModelProperty(value = "Info about the user that filled in the Merchant Application") + public String getUserAgent() { + return userAgent; + } + + public void setUserAgent(String userAgent) { + this.userAgent = userAgent; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationDeviceInformation underwritingConfigurationDeviceInformation = (UnderwritingConfigurationDeviceInformation) o; + return Objects.equals(this.ipAddress, underwritingConfigurationDeviceInformation.ipAddress) && + Objects.equals(this.fingerprintSessionId, underwritingConfigurationDeviceInformation.fingerprintSessionId) && + Objects.equals(this.userAgent, underwritingConfigurationDeviceInformation.userAgent); + } + + @Override + public int hashCode() { + return Objects.hash(ipAddress, fingerprintSessionId, userAgent); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationDeviceInformation {\n"); + + if (ipAddress != null) sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + if (fingerprintSessionId != null) sb.append(" fingerprintSessionId: ").append(toIndentedString(fingerprintSessionId)).append("\n"); + if (userAgent != null) sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationFileAttachmentInformation.java b/src/main/java/Model/UnderwritingConfigurationFileAttachmentInformation.java new file mode 100644 index 000000000..4fe9909ac --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationFileAttachmentInformation.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationFileAttachmentInformation + */ + +public class UnderwritingConfigurationFileAttachmentInformation { + @SerializedName("fileGroupId") + private String fileGroupId = null; + + public UnderwritingConfigurationFileAttachmentInformation fileGroupId(String fileGroupId) { + this.fileGroupId = fileGroupId; + return this; + } + + /** + * The unique identifier for the file group + * @return fileGroupId + **/ + @ApiModelProperty(value = "The unique identifier for the file group") + public String getFileGroupId() { + return fileGroupId; + } + + public void setFileGroupId(String fileGroupId) { + this.fileGroupId = fileGroupId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationFileAttachmentInformation underwritingConfigurationFileAttachmentInformation = (UnderwritingConfigurationFileAttachmentInformation) o; + return Objects.equals(this.fileGroupId, underwritingConfigurationFileAttachmentInformation.fileGroupId); + } + + @Override + public int hashCode() { + return Objects.hash(fileGroupId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationFileAttachmentInformation {\n"); + + if (fileGroupId != null) sb.append(" fileGroupId: ").append(toIndentedString(fileGroupId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationMerchantApplication.java b/src/main/java/Model/UnderwritingConfigurationMerchantApplication.java new file mode 100644 index 000000000..b30693eda --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationMerchantApplication.java @@ -0,0 +1,199 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationMerchantApplicationProducts; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * UnderwritingConfigurationMerchantApplication + */ + +public class UnderwritingConfigurationMerchantApplication { + @SerializedName("applicationId") + private String applicationId = null; + + @SerializedName("applicationStatus") + private String applicationStatus = null; + + @SerializedName("products") + private List products = new ArrayList(); + + @SerializedName("campaignId") + private String campaignId = null; + + @SerializedName("ocId") + private String ocId = null; + + @SerializedName("resellerId") + private String resellerId = null; + + /** + * Get applicationId + * @return applicationId + **/ + @ApiModelProperty(value = "") + public String getApplicationId() { + return applicationId; + } + + /** + * Get applicationStatus + * @return applicationStatus + **/ + @ApiModelProperty(value = "") + public String getApplicationStatus() { + return applicationStatus; + } + + public UnderwritingConfigurationMerchantApplication products(List products) { + this.products = products; + return this; + } + + public UnderwritingConfigurationMerchantApplication addProductsItem(UnderwritingConfigurationMerchantApplicationProducts productsItem) { + this.products.add(productsItem); + return this; + } + + /** + * The product(s) that are being underwritten + * @return products + **/ + @ApiModelProperty(required = true, value = "The product(s) that are being underwritten") + public List getProducts() { + return products; + } + + public void setProducts(List products) { + this.products = products; + } + + public UnderwritingConfigurationMerchantApplication campaignId(String campaignId) { + this.campaignId = campaignId; + return this; + } + + /** + * Driver Campaign ID, identifies where the application came from + * @return campaignId + **/ + @ApiModelProperty(value = "Driver Campaign ID, identifies where the application came from") + public String getCampaignId() { + return campaignId; + } + + public void setCampaignId(String campaignId) { + this.campaignId = campaignId; + } + + public UnderwritingConfigurationMerchantApplication ocId(String ocId) { + this.ocId = ocId; + return this; + } + + /** + * Offer CampaignID, used by Sales + * @return ocId + **/ + @ApiModelProperty(value = "Offer CampaignID, used by Sales") + public String getOcId() { + return ocId; + } + + public void setOcId(String ocId) { + this.ocId = ocId; + } + + public UnderwritingConfigurationMerchantApplication resellerId(String resellerId) { + this.resellerId = resellerId; + return this; + } + + /** + * ResellerID, used by Sales + * @return resellerId + **/ + @ApiModelProperty(value = "ResellerID, used by Sales") + public String getResellerId() { + return resellerId; + } + + public void setResellerId(String resellerId) { + this.resellerId = resellerId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationMerchantApplication underwritingConfigurationMerchantApplication = (UnderwritingConfigurationMerchantApplication) o; + return Objects.equals(this.applicationId, underwritingConfigurationMerchantApplication.applicationId) && + Objects.equals(this.applicationStatus, underwritingConfigurationMerchantApplication.applicationStatus) && + Objects.equals(this.products, underwritingConfigurationMerchantApplication.products) && + Objects.equals(this.campaignId, underwritingConfigurationMerchantApplication.campaignId) && + Objects.equals(this.ocId, underwritingConfigurationMerchantApplication.ocId) && + Objects.equals(this.resellerId, underwritingConfigurationMerchantApplication.resellerId); + } + + @Override + public int hashCode() { + return Objects.hash(applicationId, applicationStatus, products, campaignId, ocId, resellerId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationMerchantApplication {\n"); + + if (applicationId != null) sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n"); + if (applicationStatus != null) sb.append(" applicationStatus: ").append(toIndentedString(applicationStatus)).append("\n"); + if (products != null) sb.append(" products: ").append(toIndentedString(products)).append("\n"); + if (campaignId != null) sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); + if (ocId != null) sb.append(" ocId: ").append(toIndentedString(ocId)).append("\n"); + if (resellerId != null) sb.append(" resellerId: ").append(toIndentedString(resellerId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationMerchantApplicationProducts.java b/src/main/java/Model/UnderwritingConfigurationMerchantApplicationProducts.java new file mode 100644 index 000000000..34e369136 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationMerchantApplicationProducts.java @@ -0,0 +1,131 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationMerchantApplicationProducts + */ + +public class UnderwritingConfigurationMerchantApplicationProducts { + @SerializedName("productShortName") + private String productShortName = null; + + @SerializedName("preferredAcquirer") + private String preferredAcquirer = null; + + @SerializedName("status") + private String status = null; + + public UnderwritingConfigurationMerchantApplicationProducts productShortName(String productShortName) { + this.productShortName = productShortName; + return this; + } + + /** + * Product Name [PRODUCT1, PRODUCT2, PRODUCT3] + * @return productShortName + **/ + @ApiModelProperty(required = true, value = "Product Name [PRODUCT1, PRODUCT2, PRODUCT3] ") + public String getProductShortName() { + return productShortName; + } + + public void setProductShortName(String productShortName) { + this.productShortName = productShortName; + } + + public UnderwritingConfigurationMerchantApplicationProducts preferredAcquirer(String preferredAcquirer) { + this.preferredAcquirer = preferredAcquirer; + return this; + } + + /** + * Override Acquirer Value + * @return preferredAcquirer + **/ + @ApiModelProperty(value = "Override Acquirer Value") + public String getPreferredAcquirer() { + return preferredAcquirer; + } + + public void setPreferredAcquirer(String preferredAcquirer) { + this.preferredAcquirer = preferredAcquirer; + } + + /** + * Product status [] + * @return status + **/ + @ApiModelProperty(value = "Product status [] ") + public String getStatus() { + return status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationMerchantApplicationProducts underwritingConfigurationMerchantApplicationProducts = (UnderwritingConfigurationMerchantApplicationProducts) o; + return Objects.equals(this.productShortName, underwritingConfigurationMerchantApplicationProducts.productShortName) && + Objects.equals(this.preferredAcquirer, underwritingConfigurationMerchantApplicationProducts.preferredAcquirer) && + Objects.equals(this.status, underwritingConfigurationMerchantApplicationProducts.status); + } + + @Override + public int hashCode() { + return Objects.hash(productShortName, preferredAcquirer, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationMerchantApplicationProducts {\n"); + + if (productShortName != null) sb.append(" productShortName: ").append(toIndentedString(productShortName)).append("\n"); + if (preferredAcquirer != null) sb.append(" preferredAcquirer: ").append(toIndentedString(preferredAcquirer)).append("\n"); + if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformation.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformation.java new file mode 100644 index 000000000..5f4025065 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformation.java @@ -0,0 +1,164 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationOrganizationInformation + */ + +public class UnderwritingConfigurationOrganizationInformation { + @SerializedName("parentOrganizationId") + private String parentOrganizationId = null; + + @SerializedName("organizationId") + private String organizationId = null; + + @SerializedName("boardingPackageId") + private String boardingPackageId = null; + + @SerializedName("businessInformation") + private UnderwritingConfigurationOrganizationInformationBusinessInformation businessInformation = null; + + public UnderwritingConfigurationOrganizationInformation parentOrganizationId(String parentOrganizationId) { + this.parentOrganizationId = parentOrganizationId; + return this; + } + + /** + * Parent Organization ID for the application + * @return parentOrganizationId + **/ + @ApiModelProperty(value = "Parent Organization ID for the application") + public String getParentOrganizationId() { + return parentOrganizationId; + } + + public void setParentOrganizationId(String parentOrganizationId) { + this.parentOrganizationId = parentOrganizationId; + } + + public UnderwritingConfigurationOrganizationInformation organizationId(String organizationId) { + this.organizationId = organizationId; + return this; + } + + /** + * Organization ID for the application + * @return organizationId + **/ + @ApiModelProperty(value = "Organization ID for the application") + public String getOrganizationId() { + return organizationId; + } + + public void setOrganizationId(String organizationId) { + this.organizationId = organizationId; + } + + public UnderwritingConfigurationOrganizationInformation boardingPackageId(String boardingPackageId) { + this.boardingPackageId = boardingPackageId; + return this; + } + + /** + * Boarding Package ID for the application + * @return boardingPackageId + **/ + @ApiModelProperty(value = "Boarding Package ID for the application") + public String getBoardingPackageId() { + return boardingPackageId; + } + + public void setBoardingPackageId(String boardingPackageId) { + this.boardingPackageId = boardingPackageId; + } + + public UnderwritingConfigurationOrganizationInformation businessInformation(UnderwritingConfigurationOrganizationInformationBusinessInformation businessInformation) { + this.businessInformation = businessInformation; + return this; + } + + /** + * Get businessInformation + * @return businessInformation + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformationBusinessInformation getBusinessInformation() { + return businessInformation; + } + + public void setBusinessInformation(UnderwritingConfigurationOrganizationInformationBusinessInformation businessInformation) { + this.businessInformation = businessInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformation underwritingConfigurationOrganizationInformation = (UnderwritingConfigurationOrganizationInformation) o; + return Objects.equals(this.parentOrganizationId, underwritingConfigurationOrganizationInformation.parentOrganizationId) && + Objects.equals(this.organizationId, underwritingConfigurationOrganizationInformation.organizationId) && + Objects.equals(this.boardingPackageId, underwritingConfigurationOrganizationInformation.boardingPackageId) && + Objects.equals(this.businessInformation, underwritingConfigurationOrganizationInformation.businessInformation); + } + + @Override + public int hashCode() { + return Objects.hash(parentOrganizationId, organizationId, boardingPackageId, businessInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformation {\n"); + + if (parentOrganizationId != null) sb.append(" parentOrganizationId: ").append(toIndentedString(parentOrganizationId)).append("\n"); + if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + if (boardingPackageId != null) sb.append(" boardingPackageId: ").append(toIndentedString(boardingPackageId)).append("\n"); + if (businessInformation != null) sb.append(" businessInformation: ").append(toIndentedString(businessInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformation.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformation.java new file mode 100644 index 000000000..f2ad209a0 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformation.java @@ -0,0 +1,656 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationAddress; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.joda.time.LocalDate; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformation + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformation { + @SerializedName("businessIdentifier") + private String businessIdentifier = null; + + @SerializedName("countryRegistration") + private String countryRegistration = null; + + @SerializedName("legalName") + private String legalName = null; + + @SerializedName("doingBusinessAs") + private String doingBusinessAs = null; + + @SerializedName("businessDescription") + private String businessDescription = null; + + @SerializedName("registrationNumber") + private String registrationNumber = null; + + @SerializedName("stockExchange") + private String stockExchange = null; + + @SerializedName("tickerSymbol") + private String tickerSymbol = null; + + @SerializedName("startDate") + private LocalDate startDate = null; + + @SerializedName("merchantCategoryCode") + private String merchantCategoryCode = null; + + @SerializedName("mccDescription") + private String mccDescription = null; + + @SerializedName("websiteURL") + private String websiteURL = null; + + @SerializedName("businessType") + private String businessType = null; + + @SerializedName("localMCC") + private List localMCC = null; + + @SerializedName("countryPhoneNumber") + private String countryPhoneNumber = null; + + @SerializedName("phoneNumber") + private String phoneNumber = null; + + @SerializedName("email") + private String email = null; + + @SerializedName("whatYourCompanyDoes") + private String whatYourCompanyDoes = null; + + @SerializedName("address") + private UnderwritingConfigurationOrganizationInformationBusinessInformationAddress address = null; + + @SerializedName("tradingAddress") + private UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress tradingAddress = null; + + @SerializedName("businessContact") + private UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact businessContact = null; + + @SerializedName("businessDetails") + private UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails businessDetails = null; + + @SerializedName("ownerInformation") + private List ownerInformation = null; + + @SerializedName("directorInformation") + private List directorInformation = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformation businessIdentifier(String businessIdentifier) { + this.businessIdentifier = businessIdentifier; + return this; + } + + /** + * Tax ID for the business + * @return businessIdentifier + **/ + @ApiModelProperty(required = true, value = "Tax ID for the business") + public String getBusinessIdentifier() { + return businessIdentifier; + } + + public void setBusinessIdentifier(String businessIdentifier) { + this.businessIdentifier = businessIdentifier; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation countryRegistration(String countryRegistration) { + this.countryRegistration = countryRegistration; + return this; + } + + /** + * Country where the business is registered. Two character country code, ISO 3166-1 alpha-2. + * @return countryRegistration + **/ + @ApiModelProperty(required = true, value = "Country where the business is registered. Two character country code, ISO 3166-1 alpha-2.") + public String getCountryRegistration() { + return countryRegistration; + } + + public void setCountryRegistration(String countryRegistration) { + this.countryRegistration = countryRegistration; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation legalName(String legalName) { + this.legalName = legalName; + return this; + } + + /** + * The legally registered name of the business + * @return legalName + **/ + @ApiModelProperty(required = true, value = "The legally registered name of the business") + public String getLegalName() { + return legalName; + } + + public void setLegalName(String legalName) { + this.legalName = legalName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation doingBusinessAs(String doingBusinessAs) { + this.doingBusinessAs = doingBusinessAs; + return this; + } + + /** + * The DBA of the business. + * @return doingBusinessAs + **/ + @ApiModelProperty(required = true, value = "The DBA of the business.") + public String getDoingBusinessAs() { + return doingBusinessAs; + } + + public void setDoingBusinessAs(String doingBusinessAs) { + this.doingBusinessAs = doingBusinessAs; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation businessDescription(String businessDescription) { + this.businessDescription = businessDescription; + return this; + } + + /** + * Short description of the Business + * @return businessDescription + **/ + @ApiModelProperty(required = true, value = "Short description of the Business") + public String getBusinessDescription() { + return businessDescription; + } + + public void setBusinessDescription(String businessDescription) { + this.businessDescription = businessDescription; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation registrationNumber(String registrationNumber) { + this.registrationNumber = registrationNumber; + return this; + } + + /** + * Registration ID for Enterprise Merchant + * @return registrationNumber + **/ + @ApiModelProperty(value = "Registration ID for Enterprise Merchant") + public String getRegistrationNumber() { + return registrationNumber; + } + + public void setRegistrationNumber(String registrationNumber) { + this.registrationNumber = registrationNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation stockExchange(String stockExchange) { + this.stockExchange = stockExchange; + return this; + } + + /** + * Which stock exchange is the company trading in? + * @return stockExchange + **/ + @ApiModelProperty(value = "Which stock exchange is the company trading in?") + public String getStockExchange() { + return stockExchange; + } + + public void setStockExchange(String stockExchange) { + this.stockExchange = stockExchange; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation tickerSymbol(String tickerSymbol) { + this.tickerSymbol = tickerSymbol; + return this; + } + + /** + * Stock Symbol on the exchange + * @return tickerSymbol + **/ + @ApiModelProperty(value = "Stock Symbol on the exchange") + public String getTickerSymbol() { + return tickerSymbol; + } + + public void setTickerSymbol(String tickerSymbol) { + this.tickerSymbol = tickerSymbol; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation startDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * When did Business start. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016 + * @return startDate + **/ + @ApiModelProperty(required = true, value = "When did Business start. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016") + public LocalDate getStartDate() { + return startDate; + } + + public void setStartDate(LocalDate startDate) { + this.startDate = startDate; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation merchantCategoryCode(String merchantCategoryCode) { + this.merchantCategoryCode = merchantCategoryCode; + return this; + } + + /** + * Industry standard Merchant Category Code (MCC) + * @return merchantCategoryCode + **/ + @ApiModelProperty(required = true, value = "Industry standard Merchant Category Code (MCC)") + public String getMerchantCategoryCode() { + return merchantCategoryCode; + } + + public void setMerchantCategoryCode(String merchantCategoryCode) { + this.merchantCategoryCode = merchantCategoryCode; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation mccDescription(String mccDescription) { + this.mccDescription = mccDescription; + return this; + } + + /** + * MCC Description + * @return mccDescription + **/ + @ApiModelProperty(value = "MCC Description") + public String getMccDescription() { + return mccDescription; + } + + public void setMccDescription(String mccDescription) { + this.mccDescription = mccDescription; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation websiteURL(String websiteURL) { + this.websiteURL = websiteURL; + return this; + } + + /** + * Website for the Business + * @return websiteURL + **/ + @ApiModelProperty(value = "Website for the Business") + public String getWebsiteURL() { + return websiteURL; + } + + public void setWebsiteURL(String websiteURL) { + this.websiteURL = websiteURL; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation businessType(String businessType) { + this.businessType = businessType; + return this; + } + + /** + * Business type Possible values: - PARTNERSHIP - SOLE_PROPRIETORSHIP - CORPORATION - LLC - NON_PROFIT - TRUST + * @return businessType + **/ + @ApiModelProperty(required = true, value = "Business type Possible values: - PARTNERSHIP - SOLE_PROPRIETORSHIP - CORPORATION - LLC - NON_PROFIT - TRUST") + public String getBusinessType() { + return businessType; + } + + public void setBusinessType(String businessType) { + this.businessType = businessType; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation localMCC(List localMCC) { + this.localMCC = localMCC; + return this; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation addLocalMCCItem(String localMCCItem) { + if (this.localMCC == null) { + this.localMCC = new ArrayList(); + } + this.localMCC.add(localMCCItem); + return this; + } + + /** + * Get localMCC + * @return localMCC + **/ + @ApiModelProperty(value = "") + public List getLocalMCC() { + return localMCC; + } + + public void setLocalMCC(List localMCC) { + this.localMCC = localMCC; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation countryPhoneNumber(String countryPhoneNumber) { + this.countryPhoneNumber = countryPhoneNumber; + return this; + } + + /** + * Country of the Business phone number. Two character country code, ISO 3166-1 alpha-2. + * @return countryPhoneNumber + **/ + @ApiModelProperty(required = true, value = "Country of the Business phone number. Two character country code, ISO 3166-1 alpha-2.") + public String getCountryPhoneNumber() { + return countryPhoneNumber; + } + + public void setCountryPhoneNumber(String countryPhoneNumber) { + this.countryPhoneNumber = countryPhoneNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Business Phone Number + * @return phoneNumber + **/ + @ApiModelProperty(required = true, value = "Business Phone Number") + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation email(String email) { + this.email = email; + return this; + } + + /** + * Business Email Address + * @return email + **/ + @ApiModelProperty(required = true, value = "Business Email Address") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation whatYourCompanyDoes(String whatYourCompanyDoes) { + this.whatYourCompanyDoes = whatYourCompanyDoes; + return this; + } + + /** + * What your company does and how you market your service + * @return whatYourCompanyDoes + **/ + @ApiModelProperty(value = "What your company does and how you market your service") + public String getWhatYourCompanyDoes() { + return whatYourCompanyDoes; + } + + public void setWhatYourCompanyDoes(String whatYourCompanyDoes) { + this.whatYourCompanyDoes = whatYourCompanyDoes; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation address(UnderwritingConfigurationOrganizationInformationBusinessInformationAddress address) { + this.address = address; + return this; + } + + /** + * Get address + * @return address + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress getAddress() { + return address; + } + + public void setAddress(UnderwritingConfigurationOrganizationInformationBusinessInformationAddress address) { + this.address = address; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation tradingAddress(UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress tradingAddress) { + this.tradingAddress = tradingAddress; + return this; + } + + /** + * Get tradingAddress + * @return tradingAddress + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress getTradingAddress() { + return tradingAddress; + } + + public void setTradingAddress(UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress tradingAddress) { + this.tradingAddress = tradingAddress; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation businessContact(UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact businessContact) { + this.businessContact = businessContact; + return this; + } + + /** + * Get businessContact + * @return businessContact + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact getBusinessContact() { + return businessContact; + } + + public void setBusinessContact(UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact businessContact) { + this.businessContact = businessContact; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation businessDetails(UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails businessDetails) { + this.businessDetails = businessDetails; + return this; + } + + /** + * Get businessDetails + * @return businessDetails + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails getBusinessDetails() { + return businessDetails; + } + + public void setBusinessDetails(UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails businessDetails) { + this.businessDetails = businessDetails; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation ownerInformation(List ownerInformation) { + this.ownerInformation = ownerInformation; + return this; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation addOwnerInformationItem(UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation ownerInformationItem) { + if (this.ownerInformation == null) { + this.ownerInformation = new ArrayList(); + } + this.ownerInformation.add(ownerInformationItem); + return this; + } + + /** + * Get ownerInformation + * @return ownerInformation + **/ + @ApiModelProperty(value = "") + public List getOwnerInformation() { + return ownerInformation; + } + + public void setOwnerInformation(List ownerInformation) { + this.ownerInformation = ownerInformation; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation directorInformation(List directorInformation) { + this.directorInformation = directorInformation; + return this; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformation addDirectorInformationItem(UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation directorInformationItem) { + if (this.directorInformation == null) { + this.directorInformation = new ArrayList(); + } + this.directorInformation.add(directorInformationItem); + return this; + } + + /** + * Get directorInformation + * @return directorInformation + **/ + @ApiModelProperty(value = "") + public List getDirectorInformation() { + return directorInformation; + } + + public void setDirectorInformation(List directorInformation) { + this.directorInformation = directorInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformation underwritingConfigurationOrganizationInformationBusinessInformation = (UnderwritingConfigurationOrganizationInformationBusinessInformation) o; + return Objects.equals(this.businessIdentifier, underwritingConfigurationOrganizationInformationBusinessInformation.businessIdentifier) && + Objects.equals(this.countryRegistration, underwritingConfigurationOrganizationInformationBusinessInformation.countryRegistration) && + Objects.equals(this.legalName, underwritingConfigurationOrganizationInformationBusinessInformation.legalName) && + Objects.equals(this.doingBusinessAs, underwritingConfigurationOrganizationInformationBusinessInformation.doingBusinessAs) && + Objects.equals(this.businessDescription, underwritingConfigurationOrganizationInformationBusinessInformation.businessDescription) && + Objects.equals(this.registrationNumber, underwritingConfigurationOrganizationInformationBusinessInformation.registrationNumber) && + Objects.equals(this.stockExchange, underwritingConfigurationOrganizationInformationBusinessInformation.stockExchange) && + Objects.equals(this.tickerSymbol, underwritingConfigurationOrganizationInformationBusinessInformation.tickerSymbol) && + Objects.equals(this.startDate, underwritingConfigurationOrganizationInformationBusinessInformation.startDate) && + Objects.equals(this.merchantCategoryCode, underwritingConfigurationOrganizationInformationBusinessInformation.merchantCategoryCode) && + Objects.equals(this.mccDescription, underwritingConfigurationOrganizationInformationBusinessInformation.mccDescription) && + Objects.equals(this.websiteURL, underwritingConfigurationOrganizationInformationBusinessInformation.websiteURL) && + Objects.equals(this.businessType, underwritingConfigurationOrganizationInformationBusinessInformation.businessType) && + Objects.equals(this.localMCC, underwritingConfigurationOrganizationInformationBusinessInformation.localMCC) && + Objects.equals(this.countryPhoneNumber, underwritingConfigurationOrganizationInformationBusinessInformation.countryPhoneNumber) && + Objects.equals(this.phoneNumber, underwritingConfigurationOrganizationInformationBusinessInformation.phoneNumber) && + Objects.equals(this.email, underwritingConfigurationOrganizationInformationBusinessInformation.email) && + Objects.equals(this.whatYourCompanyDoes, underwritingConfigurationOrganizationInformationBusinessInformation.whatYourCompanyDoes) && + Objects.equals(this.address, underwritingConfigurationOrganizationInformationBusinessInformation.address) && + Objects.equals(this.tradingAddress, underwritingConfigurationOrganizationInformationBusinessInformation.tradingAddress) && + Objects.equals(this.businessContact, underwritingConfigurationOrganizationInformationBusinessInformation.businessContact) && + Objects.equals(this.businessDetails, underwritingConfigurationOrganizationInformationBusinessInformation.businessDetails) && + Objects.equals(this.ownerInformation, underwritingConfigurationOrganizationInformationBusinessInformation.ownerInformation) && + Objects.equals(this.directorInformation, underwritingConfigurationOrganizationInformationBusinessInformation.directorInformation); + } + + @Override + public int hashCode() { + return Objects.hash(businessIdentifier, countryRegistration, legalName, doingBusinessAs, businessDescription, registrationNumber, stockExchange, tickerSymbol, startDate, merchantCategoryCode, mccDescription, websiteURL, businessType, localMCC, countryPhoneNumber, phoneNumber, email, whatYourCompanyDoes, address, tradingAddress, businessContact, businessDetails, ownerInformation, directorInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformation {\n"); + + if (businessIdentifier != null) sb.append(" businessIdentifier: ").append(toIndentedString(businessIdentifier)).append("\n"); + if (countryRegistration != null) sb.append(" countryRegistration: ").append(toIndentedString(countryRegistration)).append("\n"); + if (legalName != null) sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n"); + if (doingBusinessAs != null) sb.append(" doingBusinessAs: ").append(toIndentedString(doingBusinessAs)).append("\n"); + if (businessDescription != null) sb.append(" businessDescription: ").append(toIndentedString(businessDescription)).append("\n"); + if (registrationNumber != null) sb.append(" registrationNumber: ").append(toIndentedString(registrationNumber)).append("\n"); + if (stockExchange != null) sb.append(" stockExchange: ").append(toIndentedString(stockExchange)).append("\n"); + if (tickerSymbol != null) sb.append(" tickerSymbol: ").append(toIndentedString(tickerSymbol)).append("\n"); + if (startDate != null) sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); + if (merchantCategoryCode != null) sb.append(" merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n"); + if (mccDescription != null) sb.append(" mccDescription: ").append(toIndentedString(mccDescription)).append("\n"); + if (websiteURL != null) sb.append(" websiteURL: ").append(toIndentedString(websiteURL)).append("\n"); + if (businessType != null) sb.append(" businessType: ").append(toIndentedString(businessType)).append("\n"); + if (localMCC != null) sb.append(" localMCC: ").append(toIndentedString(localMCC)).append("\n"); + if (countryPhoneNumber != null) sb.append(" countryPhoneNumber: ").append(toIndentedString(countryPhoneNumber)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (whatYourCompanyDoes != null) sb.append(" whatYourCompanyDoes: ").append(toIndentedString(whatYourCompanyDoes)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + if (tradingAddress != null) sb.append(" tradingAddress: ").append(toIndentedString(tradingAddress)).append("\n"); + if (businessContact != null) sb.append(" businessContact: ").append(toIndentedString(businessContact)).append("\n"); + if (businessDetails != null) sb.append(" businessDetails: ").append(toIndentedString(businessDetails)).append("\n"); + if (ownerInformation != null) sb.append(" ownerInformation: ").append(toIndentedString(ownerInformation)).append("\n"); + if (directorInformation != null) sb.append(" directorInformation: ").append(toIndentedString(directorInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress.java new file mode 100644 index 000000000..a2557fadc --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress.java @@ -0,0 +1,232 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationAddress + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationAddress { + @SerializedName("country") + private String country = null; + + @SerializedName("address1") + private String address1 = null; + + @SerializedName("address2") + private String address2 = null; + + @SerializedName("buildingName") + private String buildingName = null; + + @SerializedName("locality") + private String locality = null; + + @SerializedName("administrativeArea") + private String administrativeArea = null; + + @SerializedName("postalCode") + private String postalCode = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress country(String country) { + this.country = country; + return this; + } + + /** + * Country where the business is located. Two character country code, ISO 3166-1 alpha-2. + * @return country + **/ + @ApiModelProperty(required = true, value = "Country where the business is located. Two character country code, ISO 3166-1 alpha-2.") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress address1(String address1) { + this.address1 = address1; + return this; + } + + /** + * Business street address + * @return address1 + **/ + @ApiModelProperty(required = true, value = "Business street address") + public String getAddress1() { + return address1; + } + + public void setAddress1(String address1) { + this.address1 = address1; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress address2(String address2) { + this.address2 = address2; + return this; + } + + /** + * Business street address continued + * @return address2 + **/ + @ApiModelProperty(value = "Business street address continued") + public String getAddress2() { + return address2; + } + + public void setAddress2(String address2) { + this.address2 = address2; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress buildingName(String buildingName) { + this.buildingName = buildingName; + return this; + } + + /** + * Building Name + * @return buildingName + **/ + @ApiModelProperty(value = "Building Name") + public String getBuildingName() { + return buildingName; + } + + public void setBuildingName(String buildingName) { + this.buildingName = buildingName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress locality(String locality) { + this.locality = locality; + return this; + } + + /** + * City of the billing address + * @return locality + **/ + @ApiModelProperty(required = true, value = "City of the billing address") + public String getLocality() { + return locality; + } + + public void setLocality(String locality) { + this.locality = locality; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress administrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * Business state (US) or province (Canada, others). Required for US and Canada. + * @return administrativeArea + **/ + @ApiModelProperty(required = true, value = "Business state (US) or province (Canada, others). Required for US and Canada.") + public String getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada. + * @return postalCode + **/ + @ApiModelProperty(required = true, value = "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada.") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationAddress underwritingConfigurationOrganizationInformationBusinessInformationAddress = (UnderwritingConfigurationOrganizationInformationBusinessInformationAddress) o; + return Objects.equals(this.country, underwritingConfigurationOrganizationInformationBusinessInformationAddress.country) && + Objects.equals(this.address1, underwritingConfigurationOrganizationInformationBusinessInformationAddress.address1) && + Objects.equals(this.address2, underwritingConfigurationOrganizationInformationBusinessInformationAddress.address2) && + Objects.equals(this.buildingName, underwritingConfigurationOrganizationInformationBusinessInformationAddress.buildingName) && + Objects.equals(this.locality, underwritingConfigurationOrganizationInformationBusinessInformationAddress.locality) && + Objects.equals(this.administrativeArea, underwritingConfigurationOrganizationInformationBusinessInformationAddress.administrativeArea) && + Objects.equals(this.postalCode, underwritingConfigurationOrganizationInformationBusinessInformationAddress.postalCode); + } + + @Override + public int hashCode() { + return Objects.hash(country, address1, address2, buildingName, locality, administrativeArea, postalCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationAddress {\n"); + + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (buildingName != null) sb.append(" buildingName: ").append(toIndentedString(buildingName)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1.java new file mode 100644 index 000000000..2f22a5016 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1.java @@ -0,0 +1,232 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 { + @SerializedName("country") + private String country = null; + + @SerializedName("address1") + private String address1 = null; + + @SerializedName("address2") + private String address2 = null; + + @SerializedName("buildingName") + private String buildingName = null; + + @SerializedName("locality") + private String locality = null; + + @SerializedName("administrativeArea") + private String administrativeArea = null; + + @SerializedName("postalCode") + private String postalCode = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 country(String country) { + this.country = country; + return this; + } + + /** + * Country where the owner resides. Two character country code. + * @return country + **/ + @ApiModelProperty(required = true, value = "Country where the owner resides. Two character country code.") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 address1(String address1) { + this.address1 = address1; + return this; + } + + /** + * Owner's street address. + * @return address1 + **/ + @ApiModelProperty(required = true, value = "Owner's street address.") + public String getAddress1() { + return address1; + } + + public void setAddress1(String address1) { + this.address1 = address1; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 address2(String address2) { + this.address2 = address2; + return this; + } + + /** + * Owner's street address Continued + * @return address2 + **/ + @ApiModelProperty(value = "Owner's street address Continued") + public String getAddress2() { + return address2; + } + + public void setAddress2(String address2) { + this.address2 = address2; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 buildingName(String buildingName) { + this.buildingName = buildingName; + return this; + } + + /** + * Building Name + * @return buildingName + **/ + @ApiModelProperty(value = "Building Name") + public String getBuildingName() { + return buildingName; + } + + public void setBuildingName(String buildingName) { + this.buildingName = buildingName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 locality(String locality) { + this.locality = locality; + return this; + } + + /** + * Owner's city + * @return locality + **/ + @ApiModelProperty(required = true, value = "Owner's city") + public String getLocality() { + return locality; + } + + public void setLocality(String locality) { + this.locality = locality; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 administrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * Owner's state (US) or province (Canada, others) + * @return administrativeArea + **/ + @ApiModelProperty(required = true, value = "Owner's state (US) or province (Canada, others)") + public String getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Owner's zip code (US) or postal code (Canada) + * @return postalCode + **/ + @ApiModelProperty(required = true, value = "Owner's zip code (US) or postal code (Canada)") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 underwritingConfigurationOrganizationInformationBusinessInformationAddress1 = (UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1) o; + return Objects.equals(this.country, underwritingConfigurationOrganizationInformationBusinessInformationAddress1.country) && + Objects.equals(this.address1, underwritingConfigurationOrganizationInformationBusinessInformationAddress1.address1) && + Objects.equals(this.address2, underwritingConfigurationOrganizationInformationBusinessInformationAddress1.address2) && + Objects.equals(this.buildingName, underwritingConfigurationOrganizationInformationBusinessInformationAddress1.buildingName) && + Objects.equals(this.locality, underwritingConfigurationOrganizationInformationBusinessInformationAddress1.locality) && + Objects.equals(this.administrativeArea, underwritingConfigurationOrganizationInformationBusinessInformationAddress1.administrativeArea) && + Objects.equals(this.postalCode, underwritingConfigurationOrganizationInformationBusinessInformationAddress1.postalCode); + } + + @Override + public int hashCode() { + return Objects.hash(country, address1, address2, buildingName, locality, administrativeArea, postalCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 {\n"); + + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (buildingName != null) sb.append(" buildingName: ").append(toIndentedString(buildingName)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2.java new file mode 100644 index 000000000..a31b74a9b --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2.java @@ -0,0 +1,232 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 { + @SerializedName("country") + private String country = null; + + @SerializedName("address1") + private String address1 = null; + + @SerializedName("address2") + private String address2 = null; + + @SerializedName("buildingName") + private String buildingName = null; + + @SerializedName("locality") + private String locality = null; + + @SerializedName("administrativeArea") + private String administrativeArea = null; + + @SerializedName("postalCode") + private String postalCode = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 country(String country) { + this.country = country; + return this; + } + + /** + * Country where the Director resides. Two character country code. + * @return country + **/ + @ApiModelProperty(value = "Country where the Director resides. Two character country code.") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 address1(String address1) { + this.address1 = address1; + return this; + } + + /** + * Director's street address. + * @return address1 + **/ + @ApiModelProperty(value = "Director's street address.") + public String getAddress1() { + return address1; + } + + public void setAddress1(String address1) { + this.address1 = address1; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 address2(String address2) { + this.address2 = address2; + return this; + } + + /** + * Director's street address Continued + * @return address2 + **/ + @ApiModelProperty(value = "Director's street address Continued") + public String getAddress2() { + return address2; + } + + public void setAddress2(String address2) { + this.address2 = address2; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 buildingName(String buildingName) { + this.buildingName = buildingName; + return this; + } + + /** + * Building Name + * @return buildingName + **/ + @ApiModelProperty(value = "Building Name") + public String getBuildingName() { + return buildingName; + } + + public void setBuildingName(String buildingName) { + this.buildingName = buildingName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 locality(String locality) { + this.locality = locality; + return this; + } + + /** + * Director's city + * @return locality + **/ + @ApiModelProperty(value = "Director's city") + public String getLocality() { + return locality; + } + + public void setLocality(String locality) { + this.locality = locality; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 administrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * Director's state (US) or province (Canada, others) + * @return administrativeArea + **/ + @ApiModelProperty(value = "Director's state (US) or province (Canada, others)") + public String getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Director's zip code (US) or postal code (Canada) + * @return postalCode + **/ + @ApiModelProperty(value = "Director's zip code (US) or postal code (Canada)") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 underwritingConfigurationOrganizationInformationBusinessInformationAddress2 = (UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2) o; + return Objects.equals(this.country, underwritingConfigurationOrganizationInformationBusinessInformationAddress2.country) && + Objects.equals(this.address1, underwritingConfigurationOrganizationInformationBusinessInformationAddress2.address1) && + Objects.equals(this.address2, underwritingConfigurationOrganizationInformationBusinessInformationAddress2.address2) && + Objects.equals(this.buildingName, underwritingConfigurationOrganizationInformationBusinessInformationAddress2.buildingName) && + Objects.equals(this.locality, underwritingConfigurationOrganizationInformationBusinessInformationAddress2.locality) && + Objects.equals(this.administrativeArea, underwritingConfigurationOrganizationInformationBusinessInformationAddress2.administrativeArea) && + Objects.equals(this.postalCode, underwritingConfigurationOrganizationInformationBusinessInformationAddress2.postalCode); + } + + @Override + public int hashCode() { + return Objects.hash(country, address1, address2, buildingName, locality, administrativeArea, postalCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 {\n"); + + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (buildingName != null) sb.append(" buildingName: ").append(toIndentedString(buildingName)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.java new file mode 100644 index 000000000..4590476f0 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.java @@ -0,0 +1,186 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact { + @SerializedName("firstName") + private String firstName = null; + + @SerializedName("middleName") + private String middleName = null; + + @SerializedName("lastName") + private String lastName = null; + + @SerializedName("phoneNumber") + private String phoneNumber = null; + + @SerializedName("email") + private String email = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact firstName(String firstName) { + this.firstName = firstName; + return this; + } + + /** + * Contact Person First Name + * @return firstName + **/ + @ApiModelProperty(required = true, value = "Contact Person First Name") + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact middleName(String middleName) { + this.middleName = middleName; + return this; + } + + /** + * Contact Person Middle Name + * @return middleName + **/ + @ApiModelProperty(value = "Contact Person Middle Name") + public String getMiddleName() { + return middleName; + } + + public void setMiddleName(String middleName) { + this.middleName = middleName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact lastName(String lastName) { + this.lastName = lastName; + return this; + } + + /** + * Contact Person Last Name + * @return lastName + **/ + @ApiModelProperty(required = true, value = "Contact Person Last Name") + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Contact Person Phone Number + * @return phoneNumber + **/ + @ApiModelProperty(required = true, value = "Contact Person Phone Number") + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact email(String email) { + this.email = email; + return this; + } + + /** + * Contact Persona Email + * @return email + **/ + @ApiModelProperty(required = true, value = "Contact Persona Email") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact underwritingConfigurationOrganizationInformationBusinessInformationBusinessContact = (UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact) o; + return Objects.equals(this.firstName, underwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.firstName) && + Objects.equals(this.middleName, underwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.middleName) && + Objects.equals(this.lastName, underwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.lastName) && + Objects.equals(this.phoneNumber, underwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.phoneNumber) && + Objects.equals(this.email, underwritingConfigurationOrganizationInformationBusinessInformationBusinessContact.email); + } + + @Override + public int hashCode() { + return Objects.hash(firstName, middleName, lastName, phoneNumber, email); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessContact {\n"); + + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.java new file mode 100644 index 000000000..9d6283ab4 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.java @@ -0,0 +1,721 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails { + @SerializedName("customerType") + private String customerType = null; + + @SerializedName("percentageSplitByB2B") + private BigDecimal percentageSplitByB2B = null; + + @SerializedName("percentageSplitByB2C") + private BigDecimal percentageSplitByB2C = null; + + @SerializedName("interactionTypes") + private String interactionTypes = null; + + @SerializedName("percentageSplitByF2F") + private BigDecimal percentageSplitByF2F = null; + + @SerializedName("percentageSplitByCNP") + private BigDecimal percentageSplitByCNP = null; + + @SerializedName("whenIsCustomerCharged") + private String whenIsCustomerCharged = null; + + @SerializedName("whenIsCustomerChargedDescription") + private String whenIsCustomerChargedDescription = null; + + @SerializedName("offerSubscriptions") + private Boolean offerSubscriptions = null; + + @SerializedName("monthlySubscriptionPercent") + private BigDecimal monthlySubscriptionPercent = null; + + @SerializedName("quarterlySubscriptionPercent") + private BigDecimal quarterlySubscriptionPercent = null; + + @SerializedName("semiannualSubscriptionPercent") + private BigDecimal semiannualSubscriptionPercent = null; + + @SerializedName("annualSubscriptionPercent") + private BigDecimal annualSubscriptionPercent = null; + + @SerializedName("currencyType") + private String currencyType = null; + + @SerializedName("estimatedMonthlySales") + private BigDecimal estimatedMonthlySales = null; + + @SerializedName("averageOrderAmount") + private BigDecimal averageOrderAmount = null; + + @SerializedName("largestExpectedOrderAmount") + private BigDecimal largestExpectedOrderAmount = null; + + @SerializedName("primaryAccountUsage") + private String primaryAccountUsage = null; + + @SerializedName("sourceOfFunds") + private String sourceOfFunds = null; + + @SerializedName("receiveMoney3rdParties") + private Boolean receiveMoney3rdParties = null; + + @SerializedName("receiveTransactionFrequency") + private String receiveTransactionFrequency = null; + + @SerializedName("estimatedMonthlySpend") + private String estimatedMonthlySpend = null; + + @SerializedName("countryTransactions") + private List countryTransactions = null; + + @SerializedName("currenciesIn") + private List currenciesIn = null; + + @SerializedName("currenciesOut") + private List currenciesOut = null; + + @SerializedName("productServicesSubscription") + private List productServicesSubscription = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails customerType(String customerType) { + this.customerType = customerType; + return this; + } + + /** + * Who is the business interacting with? Business to Business, Business to Consumer, Both Possible values: - B2B - B2C - Both + * @return customerType + **/ + @ApiModelProperty(value = "Who is the business interacting with? Business to Business, Business to Consumer, Both Possible values: - B2B - B2C - Both") + public String getCustomerType() { + return customerType; + } + + public void setCustomerType(String customerType) { + this.customerType = customerType; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails percentageSplitByB2B(BigDecimal percentageSplitByB2B) { + this.percentageSplitByB2B = percentageSplitByB2B; + return this; + } + + /** + * % Split + * minimum: 0 + * maximum: 100 + * @return percentageSplitByB2B + **/ + @ApiModelProperty(value = "% Split") + public BigDecimal getPercentageSplitByB2B() { + return percentageSplitByB2B; + } + + public void setPercentageSplitByB2B(BigDecimal percentageSplitByB2B) { + this.percentageSplitByB2B = percentageSplitByB2B; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails percentageSplitByB2C(BigDecimal percentageSplitByB2C) { + this.percentageSplitByB2C = percentageSplitByB2C; + return this; + } + + /** + * % Split + * minimum: 0 + * maximum: 100 + * @return percentageSplitByB2C + **/ + @ApiModelProperty(value = "% Split") + public BigDecimal getPercentageSplitByB2C() { + return percentageSplitByB2C; + } + + public void setPercentageSplitByB2C(BigDecimal percentageSplitByB2C) { + this.percentageSplitByB2C = percentageSplitByB2C; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails interactionTypes(String interactionTypes) { + this.interactionTypes = interactionTypes; + return this; + } + + /** + * Merchant Facing: Face to Face, Card Not Present, Both Possible values: - F2F - CNP - Both + * @return interactionTypes + **/ + @ApiModelProperty(required = true, value = "Merchant Facing: Face to Face, Card Not Present, Both Possible values: - F2F - CNP - Both") + public String getInteractionTypes() { + return interactionTypes; + } + + public void setInteractionTypes(String interactionTypes) { + this.interactionTypes = interactionTypes; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails percentageSplitByF2F(BigDecimal percentageSplitByF2F) { + this.percentageSplitByF2F = percentageSplitByF2F; + return this; + } + + /** + * % Split + * minimum: 0 + * maximum: 100 + * @return percentageSplitByF2F + **/ + @ApiModelProperty(required = true, value = "% Split") + public BigDecimal getPercentageSplitByF2F() { + return percentageSplitByF2F; + } + + public void setPercentageSplitByF2F(BigDecimal percentageSplitByF2F) { + this.percentageSplitByF2F = percentageSplitByF2F; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails percentageSplitByCNP(BigDecimal percentageSplitByCNP) { + this.percentageSplitByCNP = percentageSplitByCNP; + return this; + } + + /** + * % Split + * minimum: 0 + * maximum: 100 + * @return percentageSplitByCNP + **/ + @ApiModelProperty(required = true, value = "% Split") + public BigDecimal getPercentageSplitByCNP() { + return percentageSplitByCNP; + } + + public void setPercentageSplitByCNP(BigDecimal percentageSplitByCNP) { + this.percentageSplitByCNP = percentageSplitByCNP; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails whenIsCustomerCharged(String whenIsCustomerCharged) { + this.whenIsCustomerCharged = whenIsCustomerCharged; + return this; + } + + /** + * When is the customer charged? Possible values: - OneTimeBeforeServiceDelivery - OneTimeAfterServiceDelivery - Other + * @return whenIsCustomerCharged + **/ + @ApiModelProperty(required = true, value = "When is the customer charged? Possible values: - OneTimeBeforeServiceDelivery - OneTimeAfterServiceDelivery - Other") + public String getWhenIsCustomerCharged() { + return whenIsCustomerCharged; + } + + public void setWhenIsCustomerCharged(String whenIsCustomerCharged) { + this.whenIsCustomerCharged = whenIsCustomerCharged; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails whenIsCustomerChargedDescription(String whenIsCustomerChargedDescription) { + this.whenIsCustomerChargedDescription = whenIsCustomerChargedDescription; + return this; + } + + /** + * Get whenIsCustomerChargedDescription + * @return whenIsCustomerChargedDescription + **/ + @ApiModelProperty(value = "") + public String getWhenIsCustomerChargedDescription() { + return whenIsCustomerChargedDescription; + } + + public void setWhenIsCustomerChargedDescription(String whenIsCustomerChargedDescription) { + this.whenIsCustomerChargedDescription = whenIsCustomerChargedDescription; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails offerSubscriptions(Boolean offerSubscriptions) { + this.offerSubscriptions = offerSubscriptions; + return this; + } + + /** + * Does Merchant Offer Subscriptions? + * @return offerSubscriptions + **/ + @ApiModelProperty(required = true, value = "Does Merchant Offer Subscriptions?") + public Boolean OfferSubscriptions() { + return offerSubscriptions; + } + + public void setOfferSubscriptions(Boolean offerSubscriptions) { + this.offerSubscriptions = offerSubscriptions; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails monthlySubscriptionPercent(BigDecimal monthlySubscriptionPercent) { + this.monthlySubscriptionPercent = monthlySubscriptionPercent; + return this; + } + + /** + * % of business is monthly subscriptions + * minimum: 0 + * maximum: 100 + * @return monthlySubscriptionPercent + **/ + @ApiModelProperty(value = "% of business is monthly subscriptions") + public BigDecimal getMonthlySubscriptionPercent() { + return monthlySubscriptionPercent; + } + + public void setMonthlySubscriptionPercent(BigDecimal monthlySubscriptionPercent) { + this.monthlySubscriptionPercent = monthlySubscriptionPercent; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails quarterlySubscriptionPercent(BigDecimal quarterlySubscriptionPercent) { + this.quarterlySubscriptionPercent = quarterlySubscriptionPercent; + return this; + } + + /** + * % of business is quarterly subscriptions + * minimum: 0 + * maximum: 100 + * @return quarterlySubscriptionPercent + **/ + @ApiModelProperty(value = "% of business is quarterly subscriptions") + public BigDecimal getQuarterlySubscriptionPercent() { + return quarterlySubscriptionPercent; + } + + public void setQuarterlySubscriptionPercent(BigDecimal quarterlySubscriptionPercent) { + this.quarterlySubscriptionPercent = quarterlySubscriptionPercent; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails semiannualSubscriptionPercent(BigDecimal semiannualSubscriptionPercent) { + this.semiannualSubscriptionPercent = semiannualSubscriptionPercent; + return this; + } + + /** + * % of business is semi-annual subscriptions + * minimum: 0 + * maximum: 100 + * @return semiannualSubscriptionPercent + **/ + @ApiModelProperty(value = "% of business is semi-annual subscriptions") + public BigDecimal getSemiannualSubscriptionPercent() { + return semiannualSubscriptionPercent; + } + + public void setSemiannualSubscriptionPercent(BigDecimal semiannualSubscriptionPercent) { + this.semiannualSubscriptionPercent = semiannualSubscriptionPercent; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails annualSubscriptionPercent(BigDecimal annualSubscriptionPercent) { + this.annualSubscriptionPercent = annualSubscriptionPercent; + return this; + } + + /** + * % of business is annual subscriptions + * minimum: 0 + * maximum: 100 + * @return annualSubscriptionPercent + **/ + @ApiModelProperty(value = "% of business is annual subscriptions") + public BigDecimal getAnnualSubscriptionPercent() { + return annualSubscriptionPercent; + } + + public void setAnnualSubscriptionPercent(BigDecimal annualSubscriptionPercent) { + this.annualSubscriptionPercent = annualSubscriptionPercent; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails currencyType(String currencyType) { + this.currencyType = currencyType; + return this; + } + + /** + * Processing Currency. ISO 4217, 3 characters. Possible values: - USD - CAD - EUR - GBP - CHF + * @return currencyType + **/ + @ApiModelProperty(value = "Processing Currency. ISO 4217, 3 characters. Possible values: - USD - CAD - EUR - GBP - CHF") + public String getCurrencyType() { + return currencyType; + } + + public void setCurrencyType(String currencyType) { + this.currencyType = currencyType; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails estimatedMonthlySales(BigDecimal estimatedMonthlySales) { + this.estimatedMonthlySales = estimatedMonthlySales; + return this; + } + + /** + * Merchant's estimated monthly sales + * @return estimatedMonthlySales + **/ + @ApiModelProperty(value = "Merchant's estimated monthly sales") + public BigDecimal getEstimatedMonthlySales() { + return estimatedMonthlySales; + } + + public void setEstimatedMonthlySales(BigDecimal estimatedMonthlySales) { + this.estimatedMonthlySales = estimatedMonthlySales; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails averageOrderAmount(BigDecimal averageOrderAmount) { + this.averageOrderAmount = averageOrderAmount; + return this; + } + + /** + * Merchant's average order amount + * @return averageOrderAmount + **/ + @ApiModelProperty(value = "Merchant's average order amount") + public BigDecimal getAverageOrderAmount() { + return averageOrderAmount; + } + + public void setAverageOrderAmount(BigDecimal averageOrderAmount) { + this.averageOrderAmount = averageOrderAmount; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails largestExpectedOrderAmount(BigDecimal largestExpectedOrderAmount) { + this.largestExpectedOrderAmount = largestExpectedOrderAmount; + return this; + } + + /** + * Merchant's largest expected order amount + * @return largestExpectedOrderAmount + **/ + @ApiModelProperty(value = "Merchant's largest expected order amount") + public BigDecimal getLargestExpectedOrderAmount() { + return largestExpectedOrderAmount; + } + + public void setLargestExpectedOrderAmount(BigDecimal largestExpectedOrderAmount) { + this.largestExpectedOrderAmount = largestExpectedOrderAmount; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails primaryAccountUsage(String primaryAccountUsage) { + this.primaryAccountUsage = primaryAccountUsage; + return this; + } + + /** + * Primary purpose of account usage Possible values: - Paying for goods / services - Repatriating overseas earnings - Intercompany transfers - Collecting funds from clients - Liquidity / FX - Payment to an individual - Investment activity - Property purchase/sale - Other + * @return primaryAccountUsage + **/ + @ApiModelProperty(value = "Primary purpose of account usage Possible values: - Paying for goods / services - Repatriating overseas earnings - Intercompany transfers - Collecting funds from clients - Liquidity / FX - Payment to an individual - Investment activity - Property purchase/sale - Other") + public String getPrimaryAccountUsage() { + return primaryAccountUsage; + } + + public void setPrimaryAccountUsage(String primaryAccountUsage) { + this.primaryAccountUsage = primaryAccountUsage; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails sourceOfFunds(String sourceOfFunds) { + this.sourceOfFunds = sourceOfFunds; + return this; + } + + /** + * Source of Funds Possible values: - Business revenue - External or shareholder investment - Loan, advance or other borrowing - Donations or grants - Inter-company transfers - Proceeds of sales of assests - Other + * @return sourceOfFunds + **/ + @ApiModelProperty(value = "Source of Funds Possible values: - Business revenue - External or shareholder investment - Loan, advance or other borrowing - Donations or grants - Inter-company transfers - Proceeds of sales of assests - Other") + public String getSourceOfFunds() { + return sourceOfFunds; + } + + public void setSourceOfFunds(String sourceOfFunds) { + this.sourceOfFunds = sourceOfFunds; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails receiveMoney3rdParties(Boolean receiveMoney3rdParties) { + this.receiveMoney3rdParties = receiveMoney3rdParties; + return this; + } + + /** + * Will you recieve money from 3rd parties into your account? + * @return receiveMoney3rdParties + **/ + @ApiModelProperty(value = "Will you recieve money from 3rd parties into your account?") + public Boolean ReceiveMoney3rdParties() { + return receiveMoney3rdParties; + } + + public void setReceiveMoney3rdParties(Boolean receiveMoney3rdParties) { + this.receiveMoney3rdParties = receiveMoney3rdParties; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails receiveTransactionFrequency(String receiveTransactionFrequency) { + this.receiveTransactionFrequency = receiveTransactionFrequency; + return this; + } + + /** + * Roughly how often do you expect to send or receive transactions? Possible values: - One-off or infrequently - 1-20 per month - 20-50 per month - 50-100 per month - 100+ per month + * @return receiveTransactionFrequency + **/ + @ApiModelProperty(value = "Roughly how often do you expect to send or receive transactions? Possible values: - One-off or infrequently - 1-20 per month - 20-50 per month - 50-100 per month - 100+ per month") + public String getReceiveTransactionFrequency() { + return receiveTransactionFrequency; + } + + public void setReceiveTransactionFrequency(String receiveTransactionFrequency) { + this.receiveTransactionFrequency = receiveTransactionFrequency; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails estimatedMonthlySpend(String estimatedMonthlySpend) { + this.estimatedMonthlySpend = estimatedMonthlySpend; + return this; + } + + /** + * What is your estimated total monthly spend? Possible values: - <$10,000 - $10,000 - $50,000 - $50,000 - $100,000 - $100,000 - $500,000 - $500,000+ + * @return estimatedMonthlySpend + **/ + @ApiModelProperty(value = "What is your estimated total monthly spend? Possible values: - <$10,000 - $10,000 - $50,000 - $50,000 - $100,000 - $100,000 - $500,000 - $500,000+") + public String getEstimatedMonthlySpend() { + return estimatedMonthlySpend; + } + + public void setEstimatedMonthlySpend(String estimatedMonthlySpend) { + this.estimatedMonthlySpend = estimatedMonthlySpend; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails countryTransactions(List countryTransactions) { + this.countryTransactions = countryTransactions; + return this; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails addCountryTransactionsItem(String countryTransactionsItem) { + if (this.countryTransactions == null) { + this.countryTransactions = new ArrayList(); + } + this.countryTransactions.add(countryTransactionsItem); + return this; + } + + /** + * Get countryTransactions + * @return countryTransactions + **/ + @ApiModelProperty(value = "") + public List getCountryTransactions() { + return countryTransactions; + } + + public void setCountryTransactions(List countryTransactions) { + this.countryTransactions = countryTransactions; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails currenciesIn(List currenciesIn) { + this.currenciesIn = currenciesIn; + return this; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails addCurrenciesInItem(String currenciesInItem) { + if (this.currenciesIn == null) { + this.currenciesIn = new ArrayList(); + } + this.currenciesIn.add(currenciesInItem); + return this; + } + + /** + * Get currenciesIn + * @return currenciesIn + **/ + @ApiModelProperty(value = "") + public List getCurrenciesIn() { + return currenciesIn; + } + + public void setCurrenciesIn(List currenciesIn) { + this.currenciesIn = currenciesIn; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails currenciesOut(List currenciesOut) { + this.currenciesOut = currenciesOut; + return this; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails addCurrenciesOutItem(String currenciesOutItem) { + if (this.currenciesOut == null) { + this.currenciesOut = new ArrayList(); + } + this.currenciesOut.add(currenciesOutItem); + return this; + } + + /** + * Get currenciesOut + * @return currenciesOut + **/ + @ApiModelProperty(value = "") + public List getCurrenciesOut() { + return currenciesOut; + } + + public void setCurrenciesOut(List currenciesOut) { + this.currenciesOut = currenciesOut; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails productServicesSubscription(List productServicesSubscription) { + this.productServicesSubscription = productServicesSubscription; + return this; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails addProductServicesSubscriptionItem(UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription productServicesSubscriptionItem) { + if (this.productServicesSubscription == null) { + this.productServicesSubscription = new ArrayList(); + } + this.productServicesSubscription.add(productServicesSubscriptionItem); + return this; + } + + /** + * Get productServicesSubscription + * @return productServicesSubscription + **/ + @ApiModelProperty(value = "") + public List getProductServicesSubscription() { + return productServicesSubscription; + } + + public void setProductServicesSubscription(List productServicesSubscription) { + this.productServicesSubscription = productServicesSubscription; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails = (UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails) o; + return Objects.equals(this.customerType, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.customerType) && + Objects.equals(this.percentageSplitByB2B, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.percentageSplitByB2B) && + Objects.equals(this.percentageSplitByB2C, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.percentageSplitByB2C) && + Objects.equals(this.interactionTypes, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.interactionTypes) && + Objects.equals(this.percentageSplitByF2F, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.percentageSplitByF2F) && + Objects.equals(this.percentageSplitByCNP, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.percentageSplitByCNP) && + Objects.equals(this.whenIsCustomerCharged, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.whenIsCustomerCharged) && + Objects.equals(this.whenIsCustomerChargedDescription, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.whenIsCustomerChargedDescription) && + Objects.equals(this.offerSubscriptions, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.offerSubscriptions) && + Objects.equals(this.monthlySubscriptionPercent, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.monthlySubscriptionPercent) && + Objects.equals(this.quarterlySubscriptionPercent, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.quarterlySubscriptionPercent) && + Objects.equals(this.semiannualSubscriptionPercent, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.semiannualSubscriptionPercent) && + Objects.equals(this.annualSubscriptionPercent, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.annualSubscriptionPercent) && + Objects.equals(this.currencyType, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.currencyType) && + Objects.equals(this.estimatedMonthlySales, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.estimatedMonthlySales) && + Objects.equals(this.averageOrderAmount, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.averageOrderAmount) && + Objects.equals(this.largestExpectedOrderAmount, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.largestExpectedOrderAmount) && + Objects.equals(this.primaryAccountUsage, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.primaryAccountUsage) && + Objects.equals(this.sourceOfFunds, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.sourceOfFunds) && + Objects.equals(this.receiveMoney3rdParties, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.receiveMoney3rdParties) && + Objects.equals(this.receiveTransactionFrequency, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.receiveTransactionFrequency) && + Objects.equals(this.estimatedMonthlySpend, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.estimatedMonthlySpend) && + Objects.equals(this.countryTransactions, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.countryTransactions) && + Objects.equals(this.currenciesIn, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.currenciesIn) && + Objects.equals(this.currenciesOut, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.currenciesOut) && + Objects.equals(this.productServicesSubscription, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.productServicesSubscription); + } + + @Override + public int hashCode() { + return Objects.hash(customerType, percentageSplitByB2B, percentageSplitByB2C, interactionTypes, percentageSplitByF2F, percentageSplitByCNP, whenIsCustomerCharged, whenIsCustomerChargedDescription, offerSubscriptions, monthlySubscriptionPercent, quarterlySubscriptionPercent, semiannualSubscriptionPercent, annualSubscriptionPercent, currencyType, estimatedMonthlySales, averageOrderAmount, largestExpectedOrderAmount, primaryAccountUsage, sourceOfFunds, receiveMoney3rdParties, receiveTransactionFrequency, estimatedMonthlySpend, countryTransactions, currenciesIn, currenciesOut, productServicesSubscription); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails {\n"); + + if (customerType != null) sb.append(" customerType: ").append(toIndentedString(customerType)).append("\n"); + if (percentageSplitByB2B != null) sb.append(" percentageSplitByB2B: ").append(toIndentedString(percentageSplitByB2B)).append("\n"); + if (percentageSplitByB2C != null) sb.append(" percentageSplitByB2C: ").append(toIndentedString(percentageSplitByB2C)).append("\n"); + if (interactionTypes != null) sb.append(" interactionTypes: ").append(toIndentedString(interactionTypes)).append("\n"); + if (percentageSplitByF2F != null) sb.append(" percentageSplitByF2F: ").append(toIndentedString(percentageSplitByF2F)).append("\n"); + if (percentageSplitByCNP != null) sb.append(" percentageSplitByCNP: ").append(toIndentedString(percentageSplitByCNP)).append("\n"); + if (whenIsCustomerCharged != null) sb.append(" whenIsCustomerCharged: ").append(toIndentedString(whenIsCustomerCharged)).append("\n"); + if (whenIsCustomerChargedDescription != null) sb.append(" whenIsCustomerChargedDescription: ").append(toIndentedString(whenIsCustomerChargedDescription)).append("\n"); + if (offerSubscriptions != null) sb.append(" offerSubscriptions: ").append(toIndentedString(offerSubscriptions)).append("\n"); + if (monthlySubscriptionPercent != null) sb.append(" monthlySubscriptionPercent: ").append(toIndentedString(monthlySubscriptionPercent)).append("\n"); + if (quarterlySubscriptionPercent != null) sb.append(" quarterlySubscriptionPercent: ").append(toIndentedString(quarterlySubscriptionPercent)).append("\n"); + if (semiannualSubscriptionPercent != null) sb.append(" semiannualSubscriptionPercent: ").append(toIndentedString(semiannualSubscriptionPercent)).append("\n"); + if (annualSubscriptionPercent != null) sb.append(" annualSubscriptionPercent: ").append(toIndentedString(annualSubscriptionPercent)).append("\n"); + if (currencyType != null) sb.append(" currencyType: ").append(toIndentedString(currencyType)).append("\n"); + if (estimatedMonthlySales != null) sb.append(" estimatedMonthlySales: ").append(toIndentedString(estimatedMonthlySales)).append("\n"); + if (averageOrderAmount != null) sb.append(" averageOrderAmount: ").append(toIndentedString(averageOrderAmount)).append("\n"); + if (largestExpectedOrderAmount != null) sb.append(" largestExpectedOrderAmount: ").append(toIndentedString(largestExpectedOrderAmount)).append("\n"); + if (primaryAccountUsage != null) sb.append(" primaryAccountUsage: ").append(toIndentedString(primaryAccountUsage)).append("\n"); + if (sourceOfFunds != null) sb.append(" sourceOfFunds: ").append(toIndentedString(sourceOfFunds)).append("\n"); + if (receiveMoney3rdParties != null) sb.append(" receiveMoney3rdParties: ").append(toIndentedString(receiveMoney3rdParties)).append("\n"); + if (receiveTransactionFrequency != null) sb.append(" receiveTransactionFrequency: ").append(toIndentedString(receiveTransactionFrequency)).append("\n"); + if (estimatedMonthlySpend != null) sb.append(" estimatedMonthlySpend: ").append(toIndentedString(estimatedMonthlySpend)).append("\n"); + if (countryTransactions != null) sb.append(" countryTransactions: ").append(toIndentedString(countryTransactions)).append("\n"); + if (currenciesIn != null) sb.append(" currenciesIn: ").append(toIndentedString(currenciesIn)).append("\n"); + if (currenciesOut != null) sb.append(" currenciesOut: ").append(toIndentedString(currenciesOut)).append("\n"); + if (productServicesSubscription != null) sb.append(" productServicesSubscription: ").append(toIndentedString(productServicesSubscription)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.java new file mode 100644 index 000000000..254010835 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.java @@ -0,0 +1,120 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription { + @SerializedName("productServiceName") + private String productServiceName = null; + + @SerializedName("productServicePercentage") + private BigDecimal productServicePercentage = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription productServiceName(String productServiceName) { + this.productServiceName = productServiceName; + return this; + } + + /** + * Name of the product, service, or subscription. + * @return productServiceName + **/ + @ApiModelProperty(value = "Name of the product, service, or subscription.") + public String getProductServiceName() { + return productServiceName; + } + + public void setProductServiceName(String productServiceName) { + this.productServiceName = productServiceName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription productServicePercentage(BigDecimal productServicePercentage) { + this.productServicePercentage = productServicePercentage; + return this; + } + + /** + * Percentage of business revenue from this product or service. + * minimum: 0 + * maximum: 100 + * @return productServicePercentage + **/ + @ApiModelProperty(value = "Percentage of business revenue from this product or service.") + public BigDecimal getProductServicePercentage() { + return productServicePercentage; + } + + public void setProductServicePercentage(BigDecimal productServicePercentage) { + this.productServicePercentage = productServicePercentage; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription = (UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription) o; + return Objects.equals(this.productServiceName, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.productServiceName) && + Objects.equals(this.productServicePercentage, underwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.productServicePercentage); + } + + @Override + public int hashCode() { + return Objects.hash(productServiceName, productServicePercentage); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription {\n"); + + if (productServiceName != null) sb.append(" productServiceName: ").append(toIndentedString(productServiceName)).append("\n"); + if (productServicePercentage != null) sb.append(" productServicePercentage: ").append(toIndentedString(productServicePercentage)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.java new file mode 100644 index 000000000..045c9a009 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.java @@ -0,0 +1,326 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.joda.time.LocalDate; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation { + @SerializedName("firstName") + private String firstName = null; + + @SerializedName("middleName") + private String middleName = null; + + @SerializedName("lastName") + private String lastName = null; + + @SerializedName("birthDate") + private LocalDate birthDate = null; + + @SerializedName("email") + private String email = null; + + @SerializedName("phoneNumber") + private String phoneNumber = null; + + @SerializedName("nationality") + private String nationality = null; + + @SerializedName("nationalId") + private String nationalId = null; + + @SerializedName("idCountry") + private String idCountry = null; + + @SerializedName("passportNumber") + private String passportNumber = null; + + @SerializedName("address") + private UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 address = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation firstName(String firstName) { + this.firstName = firstName; + return this; + } + + /** + * Director's first name + * @return firstName + **/ + @ApiModelProperty(value = "Director's first name") + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation middleName(String middleName) { + this.middleName = middleName; + return this; + } + + /** + * Director's middle name + * @return middleName + **/ + @ApiModelProperty(value = "Director's middle name") + public String getMiddleName() { + return middleName; + } + + public void setMiddleName(String middleName) { + this.middleName = middleName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation lastName(String lastName) { + this.lastName = lastName; + return this; + } + + /** + * Director's last name + * @return lastName + **/ + @ApiModelProperty(value = "Director's last name") + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation birthDate(LocalDate birthDate) { + this.birthDate = birthDate; + return this; + } + + /** + * Director's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016 + * @return birthDate + **/ + @ApiModelProperty(value = "Director's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016") + public LocalDate getBirthDate() { + return birthDate; + } + + public void setBirthDate(LocalDate birthDate) { + this.birthDate = birthDate; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation email(String email) { + this.email = email; + return this; + } + + /** + * Email address for Director + * @return email + **/ + @ApiModelProperty(value = "Email address for Director") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Owner's phone number + * @return phoneNumber + **/ + @ApiModelProperty(value = "Owner's phone number") + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation nationality(String nationality) { + this.nationality = nationality; + return this; + } + + /** + * Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2. + * @return nationality + **/ + @ApiModelProperty(value = "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2.") + public String getNationality() { + return nationality; + } + + public void setNationality(String nationality) { + this.nationality = nationality; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation nationalId(String nationalId) { + this.nationalId = nationalId; + return this; + } + + /** + * Identification value from ID document + * @return nationalId + **/ + @ApiModelProperty(value = "Identification value from ID document") + public String getNationalId() { + return nationalId; + } + + public void setNationalId(String nationalId) { + this.nationalId = nationalId; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation idCountry(String idCountry) { + this.idCountry = idCountry; + return this; + } + + /** + * Country of the ID document. Two character country code, ISO 3166-1 alpha-2. + * @return idCountry + **/ + @ApiModelProperty(value = "Country of the ID document. Two character country code, ISO 3166-1 alpha-2.") + public String getIdCountry() { + return idCountry; + } + + public void setIdCountry(String idCountry) { + this.idCountry = idCountry; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation passportNumber(String passportNumber) { + this.passportNumber = passportNumber; + return this; + } + + /** + * Passport Number + * @return passportNumber + **/ + @ApiModelProperty(value = "Passport Number") + public String getPassportNumber() { + return passportNumber; + } + + public void setPassportNumber(String passportNumber) { + this.passportNumber = passportNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation address(UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 address) { + this.address = address; + return this; + } + + /** + * Get address + * @return address + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 getAddress() { + return address; + } + + public void setAddress(UnderwritingConfigurationOrganizationInformationBusinessInformationAddress2 address) { + this.address = address; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation = (UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation) o; + return Objects.equals(this.firstName, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.firstName) && + Objects.equals(this.middleName, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.middleName) && + Objects.equals(this.lastName, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.lastName) && + Objects.equals(this.birthDate, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.birthDate) && + Objects.equals(this.email, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.email) && + Objects.equals(this.phoneNumber, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.phoneNumber) && + Objects.equals(this.nationality, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.nationality) && + Objects.equals(this.nationalId, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.nationalId) && + Objects.equals(this.idCountry, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.idCountry) && + Objects.equals(this.passportNumber, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.passportNumber) && + Objects.equals(this.address, underwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation.address); + } + + @Override + public int hashCode() { + return Objects.hash(firstName, middleName, lastName, birthDate, email, phoneNumber, nationality, nationalId, idCountry, passportNumber, address); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationDirectorInformation {\n"); + + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (birthDate != null) sb.append(" birthDate: ").append(toIndentedString(birthDate)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (nationality != null) sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n"); + if (nationalId != null) sb.append(" nationalId: ").append(toIndentedString(nationalId)).append("\n"); + if (idCountry != null) sb.append(" idCountry: ").append(toIndentedString(idCountry)).append("\n"); + if (passportNumber != null) sb.append(" passportNumber: ").append(toIndentedString(passportNumber)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.java new file mode 100644 index 000000000..70df13b90 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.java @@ -0,0 +1,513 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.math.BigDecimal; +import org.joda.time.LocalDate; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation { + @SerializedName("firstName") + private String firstName = null; + + @SerializedName("middleName") + private String middleName = null; + + @SerializedName("lastName") + private String lastName = null; + + @SerializedName("birthDate") + private LocalDate birthDate = null; + + @SerializedName("isPrimary") + private Boolean isPrimary = null; + + @SerializedName("hasSignificantResponsibility") + private Boolean hasSignificantResponsibility = null; + + @SerializedName("ownerDirector") + private Boolean ownerDirector = null; + + @SerializedName("nationalId") + private String nationalId = null; + + @SerializedName("idCountry") + private String idCountry = null; + + @SerializedName("passportNumber") + private String passportNumber = null; + + @SerializedName("passportCountry") + private String passportCountry = null; + + @SerializedName("jobTitle") + private String jobTitle = null; + + @SerializedName("ownershipPercentage") + private BigDecimal ownershipPercentage = null; + + @SerializedName("nationality") + private String nationality = null; + + @SerializedName("dueDiligenceRequired") + private Boolean dueDiligenceRequired = null; + + @SerializedName("phoneNumberCountryCode") + private String phoneNumberCountryCode = null; + + @SerializedName("phoneNumber") + private String phoneNumber = null; + + @SerializedName("email") + private String email = null; + + @SerializedName("address") + private UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 address = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation firstName(String firstName) { + this.firstName = firstName; + return this; + } + + /** + * Owner's first name + * @return firstName + **/ + @ApiModelProperty(required = true, value = "Owner's first name") + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation middleName(String middleName) { + this.middleName = middleName; + return this; + } + + /** + * Owner's middle name + * @return middleName + **/ + @ApiModelProperty(value = "Owner's middle name") + public String getMiddleName() { + return middleName; + } + + public void setMiddleName(String middleName) { + this.middleName = middleName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation lastName(String lastName) { + this.lastName = lastName; + return this; + } + + /** + * Owner's last name + * @return lastName + **/ + @ApiModelProperty(required = true, value = "Owner's last name") + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation birthDate(LocalDate birthDate) { + this.birthDate = birthDate; + return this; + } + + /** + * Owner's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016 + * @return birthDate + **/ + @ApiModelProperty(required = true, value = "Owner's date of birth. Format: YYYY-MM-DD Example 2016-08-11 equals August 11, 2016") + public LocalDate getBirthDate() { + return birthDate; + } + + public void setBirthDate(LocalDate birthDate) { + this.birthDate = birthDate; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation isPrimary(Boolean isPrimary) { + this.isPrimary = isPrimary; + return this; + } + + /** + * Primary Owner or Non-Primary Owner + * @return isPrimary + **/ + @ApiModelProperty(required = true, value = "Primary Owner or Non-Primary Owner") + public Boolean IsPrimary() { + return isPrimary; + } + + public void setIsPrimary(Boolean isPrimary) { + this.isPrimary = isPrimary; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation hasSignificantResponsibility(Boolean hasSignificantResponsibility) { + this.hasSignificantResponsibility = hasSignificantResponsibility; + return this; + } + + /** + * If not an owner, is the user a Control Person + * @return hasSignificantResponsibility + **/ + @ApiModelProperty(required = true, value = "If not an owner, is the user a Control Person") + public Boolean HasSignificantResponsibility() { + return hasSignificantResponsibility; + } + + public void setHasSignificantResponsibility(Boolean hasSignificantResponsibility) { + this.hasSignificantResponsibility = hasSignificantResponsibility; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation ownerDirector(Boolean ownerDirector) { + this.ownerDirector = ownerDirector; + return this; + } + + /** + * Is the owner a Director as well? + * @return ownerDirector + **/ + @ApiModelProperty(value = "Is the owner a Director as well?") + public Boolean OwnerDirector() { + return ownerDirector; + } + + public void setOwnerDirector(Boolean ownerDirector) { + this.ownerDirector = ownerDirector; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation nationalId(String nationalId) { + this.nationalId = nationalId; + return this; + } + + /** + * Identification value from ID document + * @return nationalId + **/ + @ApiModelProperty(required = true, value = "Identification value from ID document") + public String getNationalId() { + return nationalId; + } + + public void setNationalId(String nationalId) { + this.nationalId = nationalId; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation idCountry(String idCountry) { + this.idCountry = idCountry; + return this; + } + + /** + * Country of the ID document. Two character country code, ISO 3166-1 alpha-2. + * @return idCountry + **/ + @ApiModelProperty(value = "Country of the ID document. Two character country code, ISO 3166-1 alpha-2.") + public String getIdCountry() { + return idCountry; + } + + public void setIdCountry(String idCountry) { + this.idCountry = idCountry; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation passportNumber(String passportNumber) { + this.passportNumber = passportNumber; + return this; + } + + /** + * Passport Number + * @return passportNumber + **/ + @ApiModelProperty(value = "Passport Number") + public String getPassportNumber() { + return passportNumber; + } + + public void setPassportNumber(String passportNumber) { + this.passportNumber = passportNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation passportCountry(String passportCountry) { + this.passportCountry = passportCountry; + return this; + } + + /** + * Passport Country. Two character country code, ISO 3166-1 alpha-2. + * @return passportCountry + **/ + @ApiModelProperty(value = "Passport Country. Two character country code, ISO 3166-1 alpha-2.") + public String getPassportCountry() { + return passportCountry; + } + + public void setPassportCountry(String passportCountry) { + this.passportCountry = passportCountry; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation jobTitle(String jobTitle) { + this.jobTitle = jobTitle; + return this; + } + + /** + * Owner's Job Title + * @return jobTitle + **/ + @ApiModelProperty(value = "Owner's Job Title") + public String getJobTitle() { + return jobTitle; + } + + public void setJobTitle(String jobTitle) { + this.jobTitle = jobTitle; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation ownershipPercentage(BigDecimal ownershipPercentage) { + this.ownershipPercentage = ownershipPercentage; + return this; + } + + /** + * Percentage of the company that owner owns + * minimum: 1 + * maximum: 100 + * @return ownershipPercentage + **/ + @ApiModelProperty(required = true, value = "Percentage of the company that owner owns") + public BigDecimal getOwnershipPercentage() { + return ownershipPercentage; + } + + public void setOwnershipPercentage(BigDecimal ownershipPercentage) { + this.ownershipPercentage = ownershipPercentage; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation nationality(String nationality) { + this.nationality = nationality; + return this; + } + + /** + * Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2. + * @return nationality + **/ + @ApiModelProperty(required = true, value = "Country of origin for the owner. Two character country code, ISO 3166-1 alpha-2.") + public String getNationality() { + return nationality; + } + + public void setNationality(String nationality) { + this.nationality = nationality; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation dueDiligenceRequired(Boolean dueDiligenceRequired) { + this.dueDiligenceRequired = dueDiligenceRequired; + return this; + } + + /** + * Indicates if due diligence checks should be run for this owner + * @return dueDiligenceRequired + **/ + @ApiModelProperty(required = true, value = "Indicates if due diligence checks should be run for this owner") + public Boolean DueDiligenceRequired() { + return dueDiligenceRequired; + } + + public void setDueDiligenceRequired(Boolean dueDiligenceRequired) { + this.dueDiligenceRequired = dueDiligenceRequired; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation phoneNumberCountryCode(String phoneNumberCountryCode) { + this.phoneNumberCountryCode = phoneNumberCountryCode; + return this; + } + + /** + * Phone number country. Two character country code, ISO 3166-1 alpha-2. + * @return phoneNumberCountryCode + **/ + @ApiModelProperty(required = true, value = "Phone number country. Two character country code, ISO 3166-1 alpha-2.") + public String getPhoneNumberCountryCode() { + return phoneNumberCountryCode; + } + + public void setPhoneNumberCountryCode(String phoneNumberCountryCode) { + this.phoneNumberCountryCode = phoneNumberCountryCode; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Owner's phone number + * @return phoneNumber + **/ + @ApiModelProperty(required = true, value = "Owner's phone number") + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation email(String email) { + this.email = email; + return this; + } + + /** + * Email address for Owner + * @return email + **/ + @ApiModelProperty(required = true, value = "Email address for Owner") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation address(UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 address) { + this.address = address; + return this; + } + + /** + * Get address + * @return address + **/ + @ApiModelProperty(value = "") + public UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 getAddress() { + return address; + } + + public void setAddress(UnderwritingConfigurationOrganizationInformationBusinessInformationAddress1 address) { + this.address = address; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation = (UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation) o; + return Objects.equals(this.firstName, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.firstName) && + Objects.equals(this.middleName, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.middleName) && + Objects.equals(this.lastName, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.lastName) && + Objects.equals(this.birthDate, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.birthDate) && + Objects.equals(this.isPrimary, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.isPrimary) && + Objects.equals(this.hasSignificantResponsibility, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.hasSignificantResponsibility) && + Objects.equals(this.ownerDirector, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.ownerDirector) && + Objects.equals(this.nationalId, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.nationalId) && + Objects.equals(this.idCountry, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.idCountry) && + Objects.equals(this.passportNumber, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.passportNumber) && + Objects.equals(this.passportCountry, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.passportCountry) && + Objects.equals(this.jobTitle, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.jobTitle) && + Objects.equals(this.ownershipPercentage, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.ownershipPercentage) && + Objects.equals(this.nationality, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.nationality) && + Objects.equals(this.dueDiligenceRequired, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.dueDiligenceRequired) && + Objects.equals(this.phoneNumberCountryCode, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.phoneNumberCountryCode) && + Objects.equals(this.phoneNumber, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.phoneNumber) && + Objects.equals(this.email, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.email) && + Objects.equals(this.address, underwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation.address); + } + + @Override + public int hashCode() { + return Objects.hash(firstName, middleName, lastName, birthDate, isPrimary, hasSignificantResponsibility, ownerDirector, nationalId, idCountry, passportNumber, passportCountry, jobTitle, ownershipPercentage, nationality, dueDiligenceRequired, phoneNumberCountryCode, phoneNumber, email, address); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationOwnerInformation {\n"); + + if (firstName != null) sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + if (middleName != null) sb.append(" middleName: ").append(toIndentedString(middleName)).append("\n"); + if (lastName != null) sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + if (birthDate != null) sb.append(" birthDate: ").append(toIndentedString(birthDate)).append("\n"); + if (isPrimary != null) sb.append(" isPrimary: ").append(toIndentedString(isPrimary)).append("\n"); + if (hasSignificantResponsibility != null) sb.append(" hasSignificantResponsibility: ").append(toIndentedString(hasSignificantResponsibility)).append("\n"); + if (ownerDirector != null) sb.append(" ownerDirector: ").append(toIndentedString(ownerDirector)).append("\n"); + if (nationalId != null) sb.append(" nationalId: ").append(toIndentedString(nationalId)).append("\n"); + if (idCountry != null) sb.append(" idCountry: ").append(toIndentedString(idCountry)).append("\n"); + if (passportNumber != null) sb.append(" passportNumber: ").append(toIndentedString(passportNumber)).append("\n"); + if (passportCountry != null) sb.append(" passportCountry: ").append(toIndentedString(passportCountry)).append("\n"); + if (jobTitle != null) sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); + if (ownershipPercentage != null) sb.append(" ownershipPercentage: ").append(toIndentedString(ownershipPercentage)).append("\n"); + if (nationality != null) sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n"); + if (dueDiligenceRequired != null) sb.append(" dueDiligenceRequired: ").append(toIndentedString(dueDiligenceRequired)).append("\n"); + if (phoneNumberCountryCode != null) sb.append(" phoneNumberCountryCode: ").append(toIndentedString(phoneNumberCountryCode)).append("\n"); + if (phoneNumber != null) sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + if (email != null) sb.append(" email: ").append(toIndentedString(email)).append("\n"); + if (address != null) sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.java b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.java new file mode 100644 index 000000000..58556ee8f --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.java @@ -0,0 +1,232 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress + */ + +public class UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress { + @SerializedName("country") + private String country = null; + + @SerializedName("address1") + private String address1 = null; + + @SerializedName("address2") + private String address2 = null; + + @SerializedName("buildingName") + private String buildingName = null; + + @SerializedName("locality") + private String locality = null; + + @SerializedName("administrativeArea") + private String administrativeArea = null; + + @SerializedName("postalCode") + private String postalCode = null; + + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress country(String country) { + this.country = country; + return this; + } + + /** + * Country where the business is located. Two character country code, ISO 3166-1 alpha-2. + * @return country + **/ + @ApiModelProperty(value = "Country where the business is located. Two character country code, ISO 3166-1 alpha-2.") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress address1(String address1) { + this.address1 = address1; + return this; + } + + /** + * Business street address + * @return address1 + **/ + @ApiModelProperty(value = "Business street address") + public String getAddress1() { + return address1; + } + + public void setAddress1(String address1) { + this.address1 = address1; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress address2(String address2) { + this.address2 = address2; + return this; + } + + /** + * Business street address continued + * @return address2 + **/ + @ApiModelProperty(value = "Business street address continued") + public String getAddress2() { + return address2; + } + + public void setAddress2(String address2) { + this.address2 = address2; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress buildingName(String buildingName) { + this.buildingName = buildingName; + return this; + } + + /** + * Building Name + * @return buildingName + **/ + @ApiModelProperty(value = "Building Name") + public String getBuildingName() { + return buildingName; + } + + public void setBuildingName(String buildingName) { + this.buildingName = buildingName; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress locality(String locality) { + this.locality = locality; + return this; + } + + /** + * City of the billing address + * @return locality + **/ + @ApiModelProperty(value = "City of the billing address") + public String getLocality() { + return locality; + } + + public void setLocality(String locality) { + this.locality = locality; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress administrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * Business state (US) or province (Canada, others). Required for US and Canada. + * @return administrativeArea + **/ + @ApiModelProperty(value = "Business state (US) or province (Canada, others). Required for US and Canada.") + public String getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(String administrativeArea) { + this.administrativeArea = administrativeArea; + } + + public UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress postalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada. + * @return postalCode + **/ + @ApiModelProperty(value = "Business zip code (US) or postal code (Canada). The postal code must consist of 5 to 9 digits. Required for United States and Canada.") + public String getPostalCode() { + return postalCode; + } + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress = (UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress) o; + return Objects.equals(this.country, underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.country) && + Objects.equals(this.address1, underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.address1) && + Objects.equals(this.address2, underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.address2) && + Objects.equals(this.buildingName, underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.buildingName) && + Objects.equals(this.locality, underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.locality) && + Objects.equals(this.administrativeArea, underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.administrativeArea) && + Objects.equals(this.postalCode, underwritingConfigurationOrganizationInformationBusinessInformationTradingAddress.postalCode); + } + + @Override + public int hashCode() { + return Objects.hash(country, address1, address2, buildingName, locality, administrativeArea, postalCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationOrganizationInformationBusinessInformationTradingAddress {\n"); + + if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n"); + if (address1 != null) sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + if (address2 != null) sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + if (buildingName != null) sb.append(" buildingName: ").append(toIndentedString(buildingName)).append("\n"); + if (locality != null) sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + if (administrativeArea != null) sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + if (postalCode != null) sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UnderwritingConfigurationSaleRepresentativeInformation.java b/src/main/java/Model/UnderwritingConfigurationSaleRepresentativeInformation.java new file mode 100644 index 000000000..d25b67b25 --- /dev/null +++ b/src/main/java/Model/UnderwritingConfigurationSaleRepresentativeInformation.java @@ -0,0 +1,209 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * UnderwritingConfigurationSaleRepresentativeInformation + */ + +public class UnderwritingConfigurationSaleRepresentativeInformation { + @SerializedName("salesRepId") + private String salesRepId = null; + + @SerializedName("salesRepFirstName") + private String salesRepFirstName = null; + + @SerializedName("salesRepLastName") + private String salesRepLastName = null; + + @SerializedName("salesRepEmail") + private String salesRepEmail = null; + + @SerializedName("salesRepNumericPhoneNumberCountryCode") + private String salesRepNumericPhoneNumberCountryCode = null; + + @SerializedName("salesRepPhoneNumber") + private String salesRepPhoneNumber = null; + + public UnderwritingConfigurationSaleRepresentativeInformation salesRepId(String salesRepId) { + this.salesRepId = salesRepId; + return this; + } + + /** + * Sales rep Identifier + * @return salesRepId + **/ + @ApiModelProperty(required = true, value = "Sales rep Identifier") + public String getSalesRepId() { + return salesRepId; + } + + public void setSalesRepId(String salesRepId) { + this.salesRepId = salesRepId; + } + + public UnderwritingConfigurationSaleRepresentativeInformation salesRepFirstName(String salesRepFirstName) { + this.salesRepFirstName = salesRepFirstName; + return this; + } + + /** + * Sales rep First Name + * @return salesRepFirstName + **/ + @ApiModelProperty(example = "John", required = true, value = "Sales rep First Name") + public String getSalesRepFirstName() { + return salesRepFirstName; + } + + public void setSalesRepFirstName(String salesRepFirstName) { + this.salesRepFirstName = salesRepFirstName; + } + + public UnderwritingConfigurationSaleRepresentativeInformation salesRepLastName(String salesRepLastName) { + this.salesRepLastName = salesRepLastName; + return this; + } + + /** + * Sales Rep Last Name + * @return salesRepLastName + **/ + @ApiModelProperty(example = "Johnson", required = true, value = "Sales Rep Last Name") + public String getSalesRepLastName() { + return salesRepLastName; + } + + public void setSalesRepLastName(String salesRepLastName) { + this.salesRepLastName = salesRepLastName; + } + + public UnderwritingConfigurationSaleRepresentativeInformation salesRepEmail(String salesRepEmail) { + this.salesRepEmail = salesRepEmail; + return this; + } + + /** + * Sales Rep eMail + * @return salesRepEmail + **/ + @ApiModelProperty(example = "test@test.com", required = true, value = "Sales Rep eMail") + public String getSalesRepEmail() { + return salesRepEmail; + } + + public void setSalesRepEmail(String salesRepEmail) { + this.salesRepEmail = salesRepEmail; + } + + public UnderwritingConfigurationSaleRepresentativeInformation salesRepNumericPhoneNumberCountryCode(String salesRepNumericPhoneNumberCountryCode) { + this.salesRepNumericPhoneNumberCountryCode = salesRepNumericPhoneNumberCountryCode; + return this; + } + + /** + * Sales Rep Phone Number Country. Two character country code, ISO 3166-1 alpha-2. + * @return salesRepNumericPhoneNumberCountryCode + **/ + @ApiModelProperty(example = "US", required = true, value = "Sales Rep Phone Number Country. Two character country code, ISO 3166-1 alpha-2.") + public String getSalesRepNumericPhoneNumberCountryCode() { + return salesRepNumericPhoneNumberCountryCode; + } + + public void setSalesRepNumericPhoneNumberCountryCode(String salesRepNumericPhoneNumberCountryCode) { + this.salesRepNumericPhoneNumberCountryCode = salesRepNumericPhoneNumberCountryCode; + } + + public UnderwritingConfigurationSaleRepresentativeInformation salesRepPhoneNumber(String salesRepPhoneNumber) { + this.salesRepPhoneNumber = salesRepPhoneNumber; + return this; + } + + /** + * Sales Rep Phone + * @return salesRepPhoneNumber + **/ + @ApiModelProperty(example = "4567890398", required = true, value = "Sales Rep Phone") + public String getSalesRepPhoneNumber() { + return salesRepPhoneNumber; + } + + public void setSalesRepPhoneNumber(String salesRepPhoneNumber) { + this.salesRepPhoneNumber = salesRepPhoneNumber; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnderwritingConfigurationSaleRepresentativeInformation underwritingConfigurationSaleRepresentativeInformation = (UnderwritingConfigurationSaleRepresentativeInformation) o; + return Objects.equals(this.salesRepId, underwritingConfigurationSaleRepresentativeInformation.salesRepId) && + Objects.equals(this.salesRepFirstName, underwritingConfigurationSaleRepresentativeInformation.salesRepFirstName) && + Objects.equals(this.salesRepLastName, underwritingConfigurationSaleRepresentativeInformation.salesRepLastName) && + Objects.equals(this.salesRepEmail, underwritingConfigurationSaleRepresentativeInformation.salesRepEmail) && + Objects.equals(this.salesRepNumericPhoneNumberCountryCode, underwritingConfigurationSaleRepresentativeInformation.salesRepNumericPhoneNumberCountryCode) && + Objects.equals(this.salesRepPhoneNumber, underwritingConfigurationSaleRepresentativeInformation.salesRepPhoneNumber); + } + + @Override + public int hashCode() { + return Objects.hash(salesRepId, salesRepFirstName, salesRepLastName, salesRepEmail, salesRepNumericPhoneNumberCountryCode, salesRepPhoneNumber); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnderwritingConfigurationSaleRepresentativeInformation {\n"); + + if (salesRepId != null) sb.append(" salesRepId: ").append(toIndentedString(salesRepId)).append("\n"); + if (salesRepFirstName != null) sb.append(" salesRepFirstName: ").append(toIndentedString(salesRepFirstName)).append("\n"); + if (salesRepLastName != null) sb.append(" salesRepLastName: ").append(toIndentedString(salesRepLastName)).append("\n"); + if (salesRepEmail != null) sb.append(" salesRepEmail: ").append(toIndentedString(salesRepEmail)).append("\n"); + if (salesRepNumericPhoneNumberCountryCode != null) sb.append(" salesRepNumericPhoneNumberCountryCode: ").append(toIndentedString(salesRepNumericPhoneNumberCountryCode)).append("\n"); + if (salesRepPhoneNumber != null) sb.append(" salesRepPhoneNumber: ").append(toIndentedString(salesRepPhoneNumber)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/UpdateInvoiceRequest.java b/src/main/java/Model/UpdateInvoiceRequest.java index 66c2571ed..219dcbc69 100644 --- a/src/main/java/Model/UpdateInvoiceRequest.java +++ b/src/main/java/Model/UpdateInvoiceRequest.java @@ -16,6 +16,7 @@ import java.util.Objects; import java.util.Arrays; import Model.Invoicingv2invoicesCustomerInformation; +import Model.Invoicingv2invoicesMerchantDefinedFieldValues; import Model.Invoicingv2invoicesOrderInformation; import Model.Invoicingv2invoicesProcessingInformation; import Model.Invoicingv2invoicesidInvoiceInformation; @@ -27,6 +28,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * UpdateInvoiceRequest @@ -45,6 +48,9 @@ public class UpdateInvoiceRequest { @SerializedName("orderInformation") private Invoicingv2invoicesOrderInformation orderInformation = null; + @SerializedName("merchantDefinedFieldValues") + private List merchantDefinedFieldValues = null; + public UpdateInvoiceRequest customerInformation(Invoicingv2invoicesCustomerInformation customerInformation) { this.customerInformation = customerInformation; return this; @@ -117,6 +123,32 @@ public void setOrderInformation(Invoicingv2invoicesOrderInformation orderInforma this.orderInformation = orderInformation; } + public UpdateInvoiceRequest merchantDefinedFieldValues(List merchantDefinedFieldValues) { + this.merchantDefinedFieldValues = merchantDefinedFieldValues; + return this; + } + + public UpdateInvoiceRequest addMerchantDefinedFieldValuesItem(Invoicingv2invoicesMerchantDefinedFieldValues merchantDefinedFieldValuesItem) { + if (this.merchantDefinedFieldValues == null) { + this.merchantDefinedFieldValues = new ArrayList(); + } + this.merchantDefinedFieldValues.add(merchantDefinedFieldValuesItem); + return this; + } + + /** + * Get merchantDefinedFieldValues + * @return merchantDefinedFieldValues + **/ + @ApiModelProperty(value = "") + public List getMerchantDefinedFieldValues() { + return merchantDefinedFieldValues; + } + + public void setMerchantDefinedFieldValues(List merchantDefinedFieldValues) { + this.merchantDefinedFieldValues = merchantDefinedFieldValues; + } + @Override public boolean equals(java.lang.Object o) { @@ -130,12 +162,13 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.customerInformation, updateInvoiceRequest.customerInformation) && Objects.equals(this.processingInformation, updateInvoiceRequest.processingInformation) && Objects.equals(this.invoiceInformation, updateInvoiceRequest.invoiceInformation) && - Objects.equals(this.orderInformation, updateInvoiceRequest.orderInformation); + Objects.equals(this.orderInformation, updateInvoiceRequest.orderInformation) && + Objects.equals(this.merchantDefinedFieldValues, updateInvoiceRequest.merchantDefinedFieldValues); } @Override public int hashCode() { - return Objects.hash(customerInformation, processingInformation, invoiceInformation, orderInformation); + return Objects.hash(customerInformation, processingInformation, invoiceInformation, orderInformation, merchantDefinedFieldValues); } @@ -148,6 +181,7 @@ public String toString() { if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n"); if (invoiceInformation != null) sb.append(" invoiceInformation: ").append(toIndentedString(invoiceInformation)).append("\n"); if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + if (merchantDefinedFieldValues != null) sb.append(" merchantDefinedFieldValues: ").append(toIndentedString(merchantDefinedFieldValues)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Upv1capturecontextsCaptureMandate.java b/src/main/java/Model/Upv1capturecontextsCaptureMandate.java index fc067c8f2..b79bfbce6 100644 --- a/src/main/java/Model/Upv1capturecontextsCaptureMandate.java +++ b/src/main/java/Model/Upv1capturecontextsCaptureMandate.java @@ -15,6 +15,7 @@ import java.util.Objects; import java.util.Arrays; +import Model.Upv1capturecontextsCaptureMandateCPF; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -59,7 +60,7 @@ public class Upv1capturecontextsCaptureMandate { private Boolean comboCard = null; @SerializedName("CPF") - private Boolean CPF = null; + private Upv1capturecontextsCaptureMandateCPF CPF = null; public Upv1capturecontextsCaptureMandate billingType(String billingType) { this.billingType = billingType; @@ -231,21 +232,21 @@ public void setComboCard(Boolean comboCard) { this.comboCard = comboCard; } - public Upv1capturecontextsCaptureMandate CPF(Boolean CPF) { + public Upv1capturecontextsCaptureMandate CPF(Upv1capturecontextsCaptureMandateCPF CPF) { this.CPF = CPF; return this; } /** - * Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas Físicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes. Possible values: - True - False<br><br> This field is optional. If set to true the field is required. If set to false the field is optional. If the field is not included in the capture context then it is not captured.<br><br> **Important:** - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered. - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered. + * Get CPF * @return CPF **/ - @ApiModelProperty(value = "Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas Físicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes. Possible values: - True - False

This field is optional. If set to true the field is required. If set to false the field is optional. If the field is not included in the capture context then it is not captured.

**Important:** - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered. - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered. ") - public Boolean CPF() { + @ApiModelProperty(value = "") + public Upv1capturecontextsCaptureMandateCPF getCPF() { return CPF; } - public void setCPF(Boolean CPF) { + public void setCPF(Upv1capturecontextsCaptureMandateCPF CPF) { this.CPF = CPF; } diff --git a/src/main/java/Model/Upv1capturecontextsCaptureMandateCPF.java b/src/main/java/Model/Upv1capturecontextsCaptureMandateCPF.java new file mode 100644 index 000000000..f1864b605 --- /dev/null +++ b/src/main/java/Model/Upv1capturecontextsCaptureMandateCPF.java @@ -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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Upv1capturecontextsCaptureMandateCPF + */ + +public class Upv1capturecontextsCaptureMandateCPF { + @SerializedName("required") + private Boolean required = null; + + public Upv1capturecontextsCaptureMandateCPF required(Boolean required) { + this.required = required; + return this; + } + + /** + * Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas Físicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes. Possible values: - True - False<br><br> This field is optional. If set to true the field is required. If set to false the field is optional. If the field is not included in the capture context then it is not captured.<br><br> **Important:** - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered. - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered. + * @return required + **/ + @ApiModelProperty(value = "Configure Unified Checkout to display and capture the CPF number (Cadastro de Pessoas Físicas). The CPF number is a unique 11-digit identifier issued to Brazilian citizens and residents for tax purposes. Possible values: - True - False

This field is optional. If set to true the field is required. If set to false the field is optional. If the field is not included in the capture context then it is not captured.

**Important:** - If PANENTRY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout regardless of what card number is entered. - If CLICKTOPAY is specified in the allowedPaymentTypes field, the CPF number will be displayed in Unified Checkout only when a Visa Click To Pay card is entered. ") + public Boolean Required() { + return required; + } + + public void setRequired(Boolean required) { + this.required = required; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Upv1capturecontextsCaptureMandateCPF upv1capturecontextsCaptureMandateCPF = (Upv1capturecontextsCaptureMandateCPF) o; + return Objects.equals(this.required, upv1capturecontextsCaptureMandateCPF.required); + } + + @Override + public int hashCode() { + return Objects.hash(required); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Upv1capturecontextsCaptureMandateCPF {\n"); + + if (required != null) sb.append(" required: ").append(toIndentedString(required)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + // return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/test/java/Api/BankAccountValidationApiTest.java b/src/test/java/Api/BankAccountValidationApiTest.java new file mode 100644 index 000000000..d70244756 --- /dev/null +++ b/src/test/java/Api/BankAccountValidationApiTest.java @@ -0,0 +1,57 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Model.AccountValidationsRequest; +import Model.InlineResponse20013; +import Model.InlineResponse4009; +import Model.InlineResponse4033; +import Model.InlineResponse4045; +import Model.InlineResponse4222; +import Model.InlineResponse5021; +import org.junit.Test; +import org.junit.Ignore; + + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for BankAccountValidationApi + */ +@Ignore +public class BankAccountValidationApiTest { + + private final BankAccountValidationApi api = new BankAccountValidationApi(); + + + /** + * Visa Bank Account Validation Service + * + * The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions. + * + * @throws Exception + * if the Api call fails + */ + @Test + public void bankAccountValidationRequestTest() throws Exception { + AccountValidationsRequest accountValidationsRequest = null; + InlineResponse20013 response = api.bankAccountValidationRequest(accountValidationsRequest); + + // TODO: test validations + } + +} diff --git a/src/test/java/Api/BatchesApiTest.java b/src/test/java/Api/BatchesApiTest.java index bb86cc1cf..47fc29355 100644 --- a/src/test/java/Api/BatchesApiTest.java +++ b/src/test/java/Api/BatchesApiTest.java @@ -16,7 +16,7 @@ import Model.Body; import Model.InlineResponse20010; import Model.InlineResponse20011; -import Model.InlineResponse2009; +import Model.InlineResponse20012; import Model.InlineResponse202; import Model.InlineResponse4011; import org.junit.Test; @@ -48,7 +48,7 @@ public class BatchesApiTest { @Test public void getBatchReportTest() throws Exception { String batchId = null; - InlineResponse20011 response = api.getBatchReport(batchId); + InlineResponse20012 response = api.getBatchReport(batchId); // TODO: test validations } @@ -64,7 +64,7 @@ public void getBatchReportTest() throws Exception { @Test public void getBatchStatusTest() throws Exception { String batchId = null; - InlineResponse20010 response = api.getBatchStatus(batchId); + InlineResponse20011 response = api.getBatchStatus(batchId); // TODO: test validations } @@ -83,7 +83,7 @@ public void getBatchesListTest() throws Exception { Long limit = null; String fromDate = null; String toDate = null; - InlineResponse2009 response = api.getBatchesList(offset, limit, fromDate, toDate); + InlineResponse20010 response = api.getBatchesList(offset, limit, fromDate, toDate); // TODO: test validations } diff --git a/src/test/java/Api/CreateNewWebhooksApiTest.java b/src/test/java/Api/CreateNewWebhooksApiTest.java index 0b843536c..3d847e3e3 100644 --- a/src/test/java/Api/CreateNewWebhooksApiTest.java +++ b/src/test/java/Api/CreateNewWebhooksApiTest.java @@ -14,7 +14,7 @@ package Api; import Model.CreateWebhook; -import Model.InlineResponse2003; +import Model.InlineResponse2004; import Model.InlineResponse2014; import Model.InlineResponse2015; import Model.SaveSymEgressKey; @@ -47,7 +47,7 @@ public class CreateNewWebhooksApiTest { @Test public void findProductsToSubscribeTest() throws Exception { String organizationId = null; - List response = api.findProductsToSubscribe(organizationId); + List response = api.findProductsToSubscribe(organizationId); // TODO: test validations } diff --git a/src/test/java/Api/DeviceDeAssociationApiTest.java b/src/test/java/Api/DeviceDeAssociationApiTest.java index 05c4601a8..b7a199f81 100644 --- a/src/test/java/Api/DeviceDeAssociationApiTest.java +++ b/src/test/java/Api/DeviceDeAssociationApiTest.java @@ -15,12 +15,12 @@ import Model.DeAssociationRequestBody; import Model.DeviceDeAssociateV3Request; -import Model.InlineResponse2007; +import Model.InlineResponse2008; import Model.InlineResponse206; import Model.InlineResponse4008; import Model.InlineResponse401; import Model.InlineResponse4032; -import Model.InlineResponse4043; +import Model.InlineResponse4044; import Model.InlineResponse5003; import org.junit.Test; import org.junit.Ignore; @@ -67,7 +67,7 @@ public void deleteTerminalAssociationTest() throws Exception { @Test public void postDeAssociateV3TerminalTest() throws Exception { List deviceDeAssociateV3Request = null; - List response = api.postDeAssociateV3Terminal(deviceDeAssociateV3Request); + List response = api.postDeAssociateV3Terminal(deviceDeAssociateV3Request); // TODO: test validations } diff --git a/src/test/java/Api/DeviceSearchApiTest.java b/src/test/java/Api/DeviceSearchApiTest.java index 847911ad6..392392b61 100644 --- a/src/test/java/Api/DeviceSearchApiTest.java +++ b/src/test/java/Api/DeviceSearchApiTest.java @@ -13,12 +13,12 @@ package Api; -import Model.InlineResponse2006; -import Model.InlineResponse2008; +import Model.InlineResponse2007; +import Model.InlineResponse2009; import Model.InlineResponse4008; import Model.InlineResponse401; import Model.InlineResponse4032; -import Model.InlineResponse4043; +import Model.InlineResponse4044; import Model.InlineResponse5003; import Model.PostDeviceSearchRequest; import Model.PostDeviceSearchRequestV3; @@ -51,7 +51,7 @@ public class DeviceSearchApiTest { @Test public void postSearchQueryTest() throws Exception { PostDeviceSearchRequest postDeviceSearchRequest = null; - InlineResponse2006 response = api.postSearchQuery(postDeviceSearchRequest); + InlineResponse2007 response = api.postSearchQuery(postDeviceSearchRequest); // TODO: test validations } @@ -67,7 +67,7 @@ public void postSearchQueryTest() throws Exception { @Test public void postSearchQueryV3Test() throws Exception { PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = null; - InlineResponse2008 response = api.postSearchQueryV3(postDeviceSearchRequestV3); + InlineResponse2009 response = api.postSearchQueryV3(postDeviceSearchRequestV3); // TODO: test validations } diff --git a/src/test/java/Api/ManageWebhooksApiTest.java b/src/test/java/Api/ManageWebhooksApiTest.java index 91904e70d..6f388c016 100644 --- a/src/test/java/Api/ManageWebhooksApiTest.java +++ b/src/test/java/Api/ManageWebhooksApiTest.java @@ -13,12 +13,12 @@ package Api; -import Model.InlineResponse2004; import Model.InlineResponse2005; +import Model.InlineResponse2006; import Model.InlineResponse2015; import Model.InlineResponse2016; import Model.InlineResponse2017; -import Model.InlineResponse4042; +import Model.InlineResponse4043; import Model.SaveAsymEgressKey; import Model.UpdateStatus; import Model.UpdateWebhook; @@ -85,7 +85,7 @@ public void getWebhookSubscriptionsByOrgTest() throws Exception { String organizationId = null; String productId = null; String eventType = null; - List response = api.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); + List response = api.getWebhookSubscriptionsByOrg(organizationId, productId, eventType); // TODO: test validations } @@ -118,7 +118,7 @@ public void notificationSubscriptionsV1WebhooksWebhookIdPostTest() throws Except public void notificationSubscriptionsV2WebhooksWebhookIdPatchTest() throws Exception { String webhookId = null; UpdateWebhook updateWebhook = null; - InlineResponse2005 response = api.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); + InlineResponse2006 response = api.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); // TODO: test validations } diff --git a/src/test/java/Api/MerchantBoardingApiTest.java b/src/test/java/Api/MerchantBoardingApiTest.java index 8f23d557c..9384e9245 100644 --- a/src/test/java/Api/MerchantBoardingApiTest.java +++ b/src/test/java/Api/MerchantBoardingApiTest.java @@ -13,10 +13,10 @@ package Api; -import Model.InlineResponse2002; +import Model.InlineResponse2003; import Model.InlineResponse2013; import Model.InlineResponse4007; -import Model.InlineResponse4041; +import Model.InlineResponse4042; import Model.InlineResponse4221; import Model.InlineResponse5002; import Model.PostRegistrationBody; @@ -49,7 +49,7 @@ public class MerchantBoardingApiTest { @Test public void getRegistrationTest() throws Exception { String registrationId = null; - InlineResponse2002 response = api.getRegistration(registrationId); + InlineResponse2003 response = api.getRegistration(registrationId); // TODO: test validations } diff --git a/src/test/java/Api/MerchantDefinedFieldsApiTest.java b/src/test/java/Api/MerchantDefinedFieldsApiTest.java new file mode 100644 index 000000000..1cf70b3f9 --- /dev/null +++ b/src/test/java/Api/MerchantDefinedFieldsApiTest.java @@ -0,0 +1,106 @@ +/* + * CyberSource Merged Spec + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Model.InlineResponse2002; +import Model.InlineResponse4041; +import Model.MerchantDefinedFieldCore; +import Model.MerchantDefinedFieldDefinitionRequest; +import org.junit.Test; +import org.junit.Ignore; + + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for MerchantDefinedFieldsApi + */ +@Ignore +public class MerchantDefinedFieldsApiTest { + + private final MerchantDefinedFieldsApi api = new MerchantDefinedFieldsApi(); + + + /** + * Create merchant defined field for a given reference type + * + * + * + * @throws Exception + * if the Api call fails + */ + @Test + public void createMerchantDefinedFieldDefinitionTest() throws Exception { + String referenceType = null; + MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest = null; + List response = api.createMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); + + // TODO: test validations + } + + /** + * Get all merchant defined fields for a given reference type + * + * + * + * @throws Exception + * if the Api call fails + */ + @Test + public void getMerchantDefinedFieldsDefinitionsTest() throws Exception { + String referenceType = null; + List response = api.getMerchantDefinedFieldsDefinitions(referenceType); + + // TODO: test validations + } + + /** + * Delete a MerchantDefinedField by ID + * + * + * + * @throws Exception + * if the Api call fails + */ + @Test + public void invoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteTest() throws Exception { + String referenceType = null; + Long id = null; + api.invoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(referenceType, id); + + // TODO: test validations + } + + /** + * Update a MerchantDefinedField by ID + * + * + * + * @throws Exception + * if the Api call fails + */ + @Test + public void invoicingV2ReferenceTypeMerchantDefinedFieldsIdPutTest() throws Exception { + String referenceType = null; + Long id = null; + MerchantDefinedFieldCore merchantDefinedFieldCore = null; + List response = api.invoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(referenceType, id, merchantDefinedFieldCore); + + // TODO: test validations + } + +} diff --git a/src/test/java/Api/TokenizedCardApiTest.java b/src/test/java/Api/TokenizedCardApiTest.java index b7b27525f..0258c6b25 100644 --- a/src/test/java/Api/TokenizedCardApiTest.java +++ b/src/test/java/Api/TokenizedCardApiTest.java @@ -19,6 +19,7 @@ import Model.InlineResponse410; import Model.InlineResponse424; import Model.InlineResponse500; +import Model.PostIssuerLifeCycleSimulationRequest; import Model.TokenizedcardRequest; import org.junit.Test; import org.junit.Ignore; @@ -72,6 +73,24 @@ public void getTokenizedCardTest() throws Exception { // TODO: test validations } + /** + * Simulate Issuer Life Cycle Management Events + * + * **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + * + * @throws Exception + * if the Api call fails + */ + @Test + public void postIssuerLifeCycleSimulationTest() throws Exception { + String profileId = null; + String tokenizedCardId = null; + PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = null; + api.postIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + + // TODO: test validations + } + /** * Create a Tokenized Card *