From 28ed07354b60638090dfb6c1883aa4ffc0ff7dc9 Mon Sep 17 00:00:00 2001 From: Jonathan Wenger Date: Fri, 3 Jan 2025 11:43:10 -0800 Subject: [PATCH] Update java SDK with avalaraVersioning scheme --- pom.xml | 12 ++--- .../api/EInvoicing/V1/DataInputFieldsApi.java | 16 +++---- .../SDK/api/EInvoicing/V1/DocumentsApi.java | 44 ++++++------------- .../SDK/api/EInvoicing/V1/InteropApi.java | 16 +++---- .../SDK/api/EInvoicing/V1/MandatesApi.java | 23 ++++------ .../api/EInvoicing/V1/TradingPartnersApi.java | 44 ++++++------------- .../EInvoicing/V1/AbstractOpenApiSchema.java | 7 ++- .../EInvoicing/V1/BadDownloadRequest.java | 7 ++- .../SDK/model/EInvoicing/V1/BadRequest.java | 7 ++- .../SDK/model/EInvoicing/V1/BatchSearch.java | 7 ++- .../V1/BatchSearchListResponse.java | 7 ++- .../EInvoicing/V1/ConditionalForField.java | 7 ++- .../model/EInvoicing/V1/DataInputField.java | 7 ++- .../V1/DataInputFieldNotUsedFor.java | 7 ++- .../V1/DataInputFieldOptionalFor.java | 7 ++- .../V1/DataInputFieldRequiredFor.java | 7 ++- .../V1/DataInputFieldsResponse.java | 7 ++- .../V1/DirectorySearchResponse.java | 7 ++- .../V1/DirectorySearchResponseValueInner.java | 7 ++- ...earchResponseValueInnerAddressesInner.java | 7 ++- ...rchResponseValueInnerIdentifiersInner.java | 7 ++- ...ValueInnerSupportedDocumentTypesInner.java | 7 ++- .../model/EInvoicing/V1/DocumentFetch.java | 7 ++- .../EInvoicing/V1/DocumentFetchRequest.java | 7 ++- .../V1/DocumentFetchRequestDataInner.java | 7 ++- .../V1/DocumentFetchRequestMetadata.java | 7 ++- .../EInvoicing/V1/DocumentListResponse.java | 7 ++- .../EInvoicing/V1/DocumentStatusResponse.java | 7 ++- .../V1/DocumentSubmissionError.java | 7 ++- .../EInvoicing/V1/DocumentSubmitResponse.java | 7 ++- .../model/EInvoicing/V1/DocumentSummary.java | 7 ++- .../model/EInvoicing/V1/ErrorResponse.java | 7 ++- .../model/EInvoicing/V1/ForbiddenError.java | 7 ++- .../model/EInvoicing/V1/InputDataFormats.java | 7 ++- .../EInvoicing/V1/InternalServerError.java | 7 ++- .../SDK/model/EInvoicing/V1/Mandate.java | 7 ++- .../EInvoicing/V1/MandateDataInputField.java | 7 ++- .../V1/MandateDataInputFieldNamespace.java | 7 ++- .../model/EInvoicing/V1/MandatesResponse.java | 7 ++- .../model/EInvoicing/V1/NotFoundError.java | 7 ++- .../model/EInvoicing/V1/NotUsedForField.java | 7 ++- .../EInvoicing/V1/RequiredWhenField.java | 7 ++- .../SDK/model/EInvoicing/V1/StatusEvent.java | 7 ++- .../EInvoicing/V1/SubmitDocumentMetadata.java | 7 ++- .../V1/SubmitInteropDocument202Response.java | 7 ++- .../SDK/model/EInvoicing/V1/WorkflowIds.java | 7 ++- .../SDK/api/EInvoicing/V1/EInvoicingTest.java | 11 ++++- 47 files changed, 184 insertions(+), 262 deletions(-) diff --git a/pom.xml b/pom.xml index 804bce4..e5e97b8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ Avalara.SDK jar Avalara.SDK - 24.12.10 + 24.12.1 https://github.com/avasachinbaijal/AvaTax-REST-V3-JRE-SDK OpenAPI Java @@ -259,11 +259,6 @@ swagger-annotations ${swagger-core-version} - - io.github.cdimascio - dotenv-java - 3.0.0 - com.google.code.findbugs @@ -285,6 +280,11 @@ gson ${gson-version} + + io.github.cdimascio + dotenv-java + 3.0.0 + io.gsonfire gson-fire diff --git a/src/main/java/Avalara/SDK/api/EInvoicing/V1/DataInputFieldsApi.java b/src/main/java/Avalara/SDK/api/EInvoicing/V1/DataInputFieldsApi.java index f708ee3..2a5cead 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/DataInputFieldsApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/DataInputFieldsApi.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.api.EInvoicing.V1; @@ -114,7 +113,7 @@ public okhttp3.Call getDataInputFieldsCall(GetDataInputFieldsRequest requestPara Object localVarPostBody = null; // create path and map variables - String localVarPath = "/data-input-fields"; + String localVarPath = "/einvoicing/data-input-fields"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -122,9 +121,6 @@ public okhttp3.Call getDataInputFieldsCall(GetDataInputFieldsRequest requestPara Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.get$filter() != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("$filter", requestParameters.get$filter())); } @@ -273,7 +269,7 @@ public class GetDataInputFieldsRequest { public GetDataInputFieldsRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getXAvalaraClient() { return xAvalaraClient; } public void setXAvalaraClient(String xAvalaraClient) { this.xAvalaraClient = xAvalaraClient; } @@ -299,7 +295,7 @@ public GetDataInputFieldsRequest getGetDataInputFieldsRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion(""); + this.localVarApiClient.setSdkVersion("24.12.1"); } } diff --git a/src/main/java/Avalara/SDK/api/EInvoicing/V1/DocumentsApi.java b/src/main/java/Avalara/SDK/api/EInvoicing/V1/DocumentsApi.java index d90c30c..a536b89 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/DocumentsApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/DocumentsApi.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.api.EInvoicing.V1; @@ -126,7 +125,7 @@ public okhttp3.Call downloadDocumentCall(DownloadDocumentRequest requestParamete Object localVarPostBody = null; // create path and map variables - String localVarPath = "/documents/{documentId}/$download" + String localVarPath = "/einvoicing/documents/{documentId}/$download" .replaceAll("\\{" + "documentId" + "\\}", localVarApiClient.escapeString(requestParameters.documentId.toString())); List localVarQueryParams = new ArrayList(); @@ -135,9 +134,6 @@ public okhttp3.Call downloadDocumentCall(DownloadDocumentRequest requestParamete Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getAvalaraVersion() != null) { localVarHeaderParams.put("avalara-version", localVarApiClient.parameterToString(requestParameters.getAvalaraVersion())); } @@ -277,7 +273,7 @@ public class DownloadDocumentRequest { public DownloadDocumentRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getAccept() { return accept; } public void setAccept(String accept) { this.accept = accept; } @@ -331,7 +327,7 @@ public okhttp3.Call fetchDocumentsCall(FetchDocumentsRequest requestParameters, Object localVarPostBody = requestParameters.getDocumentFetchRequest(); // create path and map variables - String localVarPath = "/documents/$fetch"; + String localVarPath = "/einvoicing/documents/$fetch"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -339,9 +335,6 @@ public okhttp3.Call fetchDocumentsCall(FetchDocumentsRequest requestParameters, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getAvalaraVersion() != null) { localVarHeaderParams.put("avalara-version", localVarApiClient.parameterToString(requestParameters.getAvalaraVersion())); } @@ -467,7 +460,7 @@ public class FetchDocumentsRequest { public FetchDocumentsRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public DocumentFetchRequest getDocumentFetchRequest() { return documentFetchRequest; } public void setDocumentFetchRequest(DocumentFetchRequest documentFetchRequest) { this.documentFetchRequest = documentFetchRequest; } @@ -519,7 +512,7 @@ public okhttp3.Call getDocumentListCall(GetDocumentListRequest requestParameters Object localVarPostBody = null; // create path and map variables - String localVarPath = "/documents"; + String localVarPath = "/einvoicing/documents"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -527,9 +520,6 @@ public okhttp3.Call getDocumentListCall(GetDocumentListRequest requestParameters Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getStartDate() != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("startDate", requestParameters.getStartDate())); } @@ -696,7 +686,7 @@ public class GetDocumentListRequest { public GetDocumentListRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getXAvalaraClient() { return xAvalaraClient; } public void setXAvalaraClient(String xAvalaraClient) { this.xAvalaraClient = xAvalaraClient; } @@ -762,7 +752,7 @@ public okhttp3.Call getDocumentStatusCall(GetDocumentStatusRequest requestParame Object localVarPostBody = null; // create path and map variables - String localVarPath = "/documents/{documentId}/status" + String localVarPath = "/einvoicing/documents/{documentId}/status" .replaceAll("\\{" + "documentId" + "\\}", localVarApiClient.escapeString(requestParameters.documentId.toString())); List localVarQueryParams = new ArrayList(); @@ -771,9 +761,6 @@ public okhttp3.Call getDocumentStatusCall(GetDocumentStatusRequest requestParame Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getAvalaraVersion() != null) { localVarHeaderParams.put("avalara-version", localVarApiClient.parameterToString(requestParameters.getAvalaraVersion())); } @@ -899,7 +886,7 @@ public class GetDocumentStatusRequest { public GetDocumentStatusRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getDocumentId() { return documentId; } public void setDocumentId(String documentId) { this.documentId = documentId; } @@ -951,7 +938,7 @@ public okhttp3.Call submitDocumentCall(SubmitDocumentRequest requestParameters, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/documents"; + String localVarPath = "/einvoicing/documents"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -959,9 +946,6 @@ public okhttp3.Call submitDocumentCall(SubmitDocumentRequest requestParameters, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getMetadata() != null) { localVarFormParams.put("metadata", requestParameters.getMetadata()); } @@ -1102,7 +1086,7 @@ public class SubmitDocumentRequest { public SubmitDocumentRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public SubmitDocumentMetadata getMetadata() { return metadata; } public void setMetadata(SubmitDocumentMetadata metadata) { this.metadata = metadata; } @@ -1122,7 +1106,7 @@ public SubmitDocumentRequest getSubmitDocumentRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion(""); + this.localVarApiClient.setSdkVersion("24.12.1"); } } diff --git a/src/main/java/Avalara/SDK/api/EInvoicing/V1/InteropApi.java b/src/main/java/Avalara/SDK/api/EInvoicing/V1/InteropApi.java index aab9459..e042588 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/InteropApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/InteropApi.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.api.EInvoicing.V1; @@ -114,7 +113,7 @@ public okhttp3.Call submitInteropDocumentCall(SubmitInteropDocumentRequest reque Object localVarPostBody = null; // create path and map variables - String localVarPath = "/interop/documents"; + String localVarPath = "/einvoicing/interop/documents"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -122,9 +121,6 @@ public okhttp3.Call submitInteropDocumentCall(SubmitInteropDocumentRequest reque Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getFileName() != null) { localVarFormParams.put("fileName", requestParameters.getFileName()); } @@ -284,7 +280,7 @@ public SubmitInteropDocumentRequest () { public void setDocumentType(String documentType) { this.documentType = documentType; } public String getInterchangeType() { return interchangeType; } public void setInterchangeType(String interchangeType) { this.interchangeType = interchangeType; } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getXAvalaraClient() { return xAvalaraClient; } public void setXAvalaraClient(String xAvalaraClient) { this.xAvalaraClient = xAvalaraClient; } @@ -304,7 +300,7 @@ public SubmitInteropDocumentRequest getSubmitInteropDocumentRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion(""); + this.localVarApiClient.setSdkVersion("24.12.1"); } } diff --git a/src/main/java/Avalara/SDK/api/EInvoicing/V1/MandatesApi.java b/src/main/java/Avalara/SDK/api/EInvoicing/V1/MandatesApi.java index 69899b4..d9217eb 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/MandatesApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/MandatesApi.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.api.EInvoicing.V1; @@ -119,7 +118,7 @@ public okhttp3.Call getMandateDataInputFieldsCall(GetMandateDataInputFieldsReque Object localVarPostBody = null; // create path and map variables - String localVarPath = "/mandates/{mandateId}/data-input-fields" + String localVarPath = "/einvoicing/mandates/{mandateId}/data-input-fields" .replaceAll("\\{" + "mandateId" + "\\}", localVarApiClient.escapeString(requestParameters.mandateId.toString())); List localVarQueryParams = new ArrayList(); @@ -128,9 +127,6 @@ public okhttp3.Call getMandateDataInputFieldsCall(GetMandateDataInputFieldsReque Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getDocumentType() != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("documentType", requestParameters.getDocumentType())); } @@ -284,7 +280,7 @@ public class GetMandateDataInputFieldsRequest { public GetMandateDataInputFieldsRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getMandateId() { return mandateId; } public void setMandateId(String mandateId) { this.mandateId = mandateId; } @@ -341,7 +337,7 @@ public okhttp3.Call getMandatesCall(GetMandatesRequest requestParameters, final Object localVarPostBody = null; // create path and map variables - String localVarPath = "/mandates"; + String localVarPath = "/einvoicing/mandates"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -349,9 +345,6 @@ public okhttp3.Call getMandatesCall(GetMandatesRequest requestParameters, final Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.get$filter() != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("$filter", requestParameters.get$filter())); } @@ -503,7 +496,7 @@ public class GetMandatesRequest { public GetMandatesRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getXAvalaraClient() { return xAvalaraClient; } public void setXAvalaraClient(String xAvalaraClient) { this.xAvalaraClient = xAvalaraClient; } @@ -529,7 +522,7 @@ public GetMandatesRequest getGetMandatesRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion(""); + this.localVarApiClient.setSdkVersion("24.12.1"); } } diff --git a/src/main/java/Avalara/SDK/api/EInvoicing/V1/TradingPartnersApi.java b/src/main/java/Avalara/SDK/api/EInvoicing/V1/TradingPartnersApi.java index 6f15287..dfe437f 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/TradingPartnersApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/TradingPartnersApi.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.api.EInvoicing.V1; @@ -116,7 +115,7 @@ public okhttp3.Call batchSearchParticipantsCall(BatchSearchParticipantsRequest r Object localVarPostBody = null; // create path and map variables - String localVarPath = "/trading-partners/batch-searches"; + String localVarPath = "/einvoicing/trading-partners/batch-searches"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -124,9 +123,6 @@ public okhttp3.Call batchSearchParticipantsCall(BatchSearchParticipantsRequest r Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.get_file() != null) { localVarFormParams.put("file", requestParameters.get_file()); } @@ -283,7 +279,7 @@ public class BatchSearchParticipantsRequest { public BatchSearchParticipantsRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getName() { return name; } public void setName(String name) { this.name = name; } @@ -342,7 +338,7 @@ public okhttp3.Call downloadBatchSearchReportCall(DownloadBatchSearchReportReque Object localVarPostBody = null; // create path and map variables - String localVarPath = "/trading-partners/batch-searches/{id}/$download-results" + String localVarPath = "/einvoicing/trading-partners/batch-searches/{id}/$download-results" .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(requestParameters.id.toString())); List localVarQueryParams = new ArrayList(); @@ -351,9 +347,6 @@ public okhttp3.Call downloadBatchSearchReportCall(DownloadBatchSearchReportReque Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getAvalaraVersion() != null) { localVarHeaderParams.put("avalara-version", localVarApiClient.parameterToString(requestParameters.getAvalaraVersion())); } @@ -488,7 +481,7 @@ public class DownloadBatchSearchReportRequest { public DownloadBatchSearchReportRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getId() { return id; } public void setId(String id) { this.id = id; } @@ -542,7 +535,7 @@ public okhttp3.Call getBatchSearchDetailCall(GetBatchSearchDetailRequest request Object localVarPostBody = null; // create path and map variables - String localVarPath = "/trading-partners/batch-searches/{id}" + String localVarPath = "/einvoicing/trading-partners/batch-searches/{id}" .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(requestParameters.id.toString())); List localVarQueryParams = new ArrayList(); @@ -551,9 +544,6 @@ public okhttp3.Call getBatchSearchDetailCall(GetBatchSearchDetailRequest request Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getAvalaraVersion() != null) { localVarHeaderParams.put("avalara-version", localVarApiClient.parameterToString(requestParameters.getAvalaraVersion())); } @@ -685,7 +675,7 @@ public class GetBatchSearchDetailRequest { public GetBatchSearchDetailRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getId() { return id; } public void setId(String id) { this.id = id; } @@ -739,7 +729,7 @@ public okhttp3.Call listBatchSearchesCall(ListBatchSearchesRequest requestParame Object localVarPostBody = null; // create path and map variables - String localVarPath = "/trading-partners/batch-searches"; + String localVarPath = "/einvoicing/trading-partners/batch-searches"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -747,9 +737,6 @@ public okhttp3.Call listBatchSearchesCall(ListBatchSearchesRequest requestParame Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.get$filter() != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("$filter", requestParameters.get$filter())); } @@ -904,7 +891,7 @@ public class ListBatchSearchesRequest { public ListBatchSearchesRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String getXAvalaraClient() { return xAvalaraClient; } public void setXAvalaraClient(String xAvalaraClient) { this.xAvalaraClient = xAvalaraClient; } @@ -967,7 +954,7 @@ public okhttp3.Call searchParticipantsCall(SearchParticipantsRequest requestPara Object localVarPostBody = null; // create path and map variables - String localVarPath = "/trading-partners"; + String localVarPath = "/einvoicing/trading-partners"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -975,9 +962,6 @@ public okhttp3.Call searchParticipantsCall(SearchParticipantsRequest requestPara Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - // Set avalara-version header from swagger.json version number - localVarHeaderParams.put("avalara-version", "1.2"); - if (requestParameters.getCount() != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("count", requestParameters.getCount())); } @@ -1146,7 +1130,7 @@ public class SearchParticipantsRequest { public SearchParticipantsRequest () { } - public String getAvalaraVersion() { return avalaraVersion; } + public String getAvalaraVersion() { return (avalaraVersion != null) ? avalaraVersion : "1.2"; } public void setAvalaraVersion(String avalaraVersion) { this.avalaraVersion = avalaraVersion; } public String get$search() { return $search; } public void set$search(String $search) { this.$search = $search; } @@ -1176,7 +1160,7 @@ public SearchParticipantsRequest getSearchParticipantsRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion(""); + this.localVarApiClient.setSdkVersion("24.12.1"); } } diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/AbstractOpenApiSchema.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/AbstractOpenApiSchema.java index 40f5f79..0eb2d9e 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/AbstractOpenApiSchema.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/AbstractOpenApiSchema.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadDownloadRequest.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadDownloadRequest.java index f83e263..a655ccf 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadDownloadRequest.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadDownloadRequest.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadRequest.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadRequest.java index 33b6b78..42ba7b5 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadRequest.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BadRequest.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearch.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearch.java index bec651a..80944a8 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearch.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearch.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearchListResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearchListResponse.java index 2c19d4e..9813299 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearchListResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/BatchSearchListResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/ConditionalForField.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/ConditionalForField.java index aa054ae..91b8bcf 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/ConditionalForField.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/ConditionalForField.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputField.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputField.java index 7ab0948..2d2b6b5 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputField.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputField.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldNotUsedFor.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldNotUsedFor.java index b52d23a..1db4e62 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldNotUsedFor.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldNotUsedFor.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldOptionalFor.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldOptionalFor.java index eb4c40e..ded333b 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldOptionalFor.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldOptionalFor.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldRequiredFor.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldRequiredFor.java index c672f67..683dddc 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldRequiredFor.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldRequiredFor.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldsResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldsResponse.java index f426b79..9714aa4 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldsResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DataInputFieldsResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponse.java index 199f22b..8f3f55f 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInner.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInner.java index 9c846d5..c1852b0 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInner.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInner.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerAddressesInner.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerAddressesInner.java index 381f382..397433c 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerAddressesInner.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerAddressesInner.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerIdentifiersInner.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerIdentifiersInner.java index cac4b3f..a28141a 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerIdentifiersInner.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerIdentifiersInner.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerSupportedDocumentTypesInner.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerSupportedDocumentTypesInner.java index 7222c23..d724aa7 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerSupportedDocumentTypesInner.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DirectorySearchResponseValueInnerSupportedDocumentTypesInner.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetch.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetch.java index 8411bed..0369cfa 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetch.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetch.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequest.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequest.java index b7755ca..74a875b 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequest.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequest.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestDataInner.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestDataInner.java index 9f4694e..2812b19 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestDataInner.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestDataInner.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestMetadata.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestMetadata.java index df9eaed..50d9a06 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestMetadata.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentFetchRequestMetadata.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentListResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentListResponse.java index 29755bb..551d8b6 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentListResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentListResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentStatusResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentStatusResponse.java index 4695bb6..4b36e6f 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentStatusResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentStatusResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmissionError.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmissionError.java index f492b95..7e6bc51 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmissionError.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmissionError.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmitResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmitResponse.java index ce199e6..e05dba9 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmitResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSubmitResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSummary.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSummary.java index 2e71b43..8beaa3f 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSummary.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/DocumentSummary.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/ErrorResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/ErrorResponse.java index 19b8b4d..62e6258 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/ErrorResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/ErrorResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/ForbiddenError.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/ForbiddenError.java index 79962fc..904facc 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/ForbiddenError.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/ForbiddenError.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/InputDataFormats.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/InputDataFormats.java index 3653b0c..d89596f 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/InputDataFormats.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/InputDataFormats.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/InternalServerError.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/InternalServerError.java index 3e10868..8e56fcc 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/InternalServerError.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/InternalServerError.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/Mandate.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/Mandate.java index 2624764..d5ff42b 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/Mandate.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/Mandate.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputField.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputField.java index 6ab89bf..db49bb4 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputField.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputField.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputFieldNamespace.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputFieldNamespace.java index 51aac25..4ebe1dc 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputFieldNamespace.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandateDataInputFieldNamespace.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandatesResponse.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandatesResponse.java index cda660a..c7e4d5e 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandatesResponse.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/MandatesResponse.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotFoundError.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotFoundError.java index 47fdf06..16e6ade 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotFoundError.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotFoundError.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotUsedForField.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotUsedForField.java index e2d4fc0..f177b1c 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotUsedForField.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/NotUsedForField.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/RequiredWhenField.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/RequiredWhenField.java index 42da4e0..f9d645d 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/RequiredWhenField.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/RequiredWhenField.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/StatusEvent.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/StatusEvent.java index d66cf02..88c8306 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/StatusEvent.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/StatusEvent.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitDocumentMetadata.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitDocumentMetadata.java index 5880065..ad041c0 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitDocumentMetadata.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitDocumentMetadata.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitInteropDocument202Response.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitInteropDocument202Response.java index 0094c49..1c903e6 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitInteropDocument202Response.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/SubmitInteropDocument202Response.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/main/java/Avalara/SDK/model/EInvoicing/V1/WorkflowIds.java b/src/main/java/Avalara/SDK/model/EInvoicing/V1/WorkflowIds.java index f722a92..311ed6c 100644 --- a/src/main/java/Avalara/SDK/model/EInvoicing/V1/WorkflowIds.java +++ b/src/main/java/Avalara/SDK/model/EInvoicing/V1/WorkflowIds.java @@ -1,7 +1,7 @@ /* * AvaTax Software Development Kit for Java (JRE) * - * (c) 2004-2022 Avalara, Inc. + * (c) 2004-2025 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,10 +12,9 @@ * * @author Sachin Baijal * @author Jonathan Wenger - * @copyright 2004-2022 Avalara, Inc. + * @copyright 2004-2025 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version - * @link https://github.com/avadev/AvaTax-REST-V3-JRE-SDK + * @link https://github.com/avadev/Avalara-SDK-Java */ package Avalara.SDK.model.EInvoicing.V1; diff --git a/src/test/java/Avalara/SDK/api/EInvoicing/V1/EInvoicingTest.java b/src/test/java/Avalara/SDK/api/EInvoicing/V1/EInvoicingTest.java index 86e1ffd..8f41839 100644 --- a/src/test/java/Avalara/SDK/api/EInvoicing/V1/EInvoicingTest.java +++ b/src/test/java/Avalara/SDK/api/EInvoicing/V1/EInvoicingTest.java @@ -22,6 +22,7 @@ import Avalara.SDK.*; import Avalara.SDK.model.EInvoicing.V1.DocumentListResponse; +import Avalara.SDK.model.EInvoicing.V1.MandatesResponse; import io.github.cdimascio.dotenv.Dotenv; import org.jetbrains.annotations.NotNull; import org.junit.Assert; @@ -55,8 +56,16 @@ public void testGetDocuments() throws Exception { ApiClient apiClient = new ApiClient(configuration); Avalara.SDK.api.EInvoicing.V1.DocumentsApi apiInstance = new DocumentsApi(apiClient); DocumentsApi.GetDocumentListRequest request = apiInstance.getGetDocumentListRequest(); - request.setAvalaraVersion("1.0"); DocumentListResponse result = apiInstance.getDocumentList(request); Assert.assertNotNull(result); } + + @Test + public void testGetMandates() throws Exception { + ApiClient apiClient = new ApiClient(configuration); + Avalara.SDK.api.EInvoicing.V1.MandatesApi apiInstance = new MandatesApi(apiClient); + MandatesApi.GetMandatesRequest request = apiInstance.getGetMandatesRequest(); + MandatesResponse result = apiInstance.getMandates(request); + Assert.assertNotNull(result.getValue()); + } } \ No newline at end of file