diff --git a/docs/A1099/V2/CompaniesW9Api.md b/docs/A1099/V2/CompaniesW9Api.md index fc5ca31..af8a0c8 100644 --- a/docs/A1099/V2/CompaniesW9Api.md +++ b/docs/A1099/V2/CompaniesW9Api.md @@ -49,7 +49,7 @@ public class Example { CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient); String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "e059925d-91f6-4c34-9bcd-2a0e997dd8fa"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "bedc4273-bb12-48c6-88a8-c0aee6e7b954"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The company to create try { @@ -136,7 +136,7 @@ public class Example { CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient); String id = "id_example"; // String | The company to delete String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "b01f9bff-5e8c-49d6-8c9b-44892e578dc5"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "9ed3d9c2-5c65-47f5-accf-cc911576c7cb"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { apiInstance.deleteCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -228,7 +228,7 @@ public class Example { String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. Boolean count = true; // Boolean | If true, return the global count of elements in the collection. Boolean countOnly = true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true. - String xCorrelationId = "9654708e-0675-4a73-a0fa-5b8016bb2175"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "50aba33f-6235-4915-aa65-80129e69c929"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { PaginatedQueryResultModelCompanyResponse result = apiInstance.getCompanies(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient); @@ -321,7 +321,7 @@ public class Example { CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient); String id = "id_example"; // String | Id of the company String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "c9747d06-85d9-42ed-a7d2-1438a48a4d33"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "5cb4aaf8-d220-4a6d-bc06-4c664b4b5d51"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { CompanyResponse result = apiInstance.getCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -409,7 +409,7 @@ public class Example { CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient); String id = "id_example"; // String | The ID of the company to update String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "0227fcc3-16c4-439b-a4ea-28c316d311ef"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "53bb7b71-2c2d-4faf-a86b-5bcb3642ce67"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The updated company data try { diff --git a/docs/A1099/V2/Form1099Misc.md b/docs/A1099/V2/Form1099Misc.md index f8cc105..c224976 100644 --- a/docs/A1099/V2/Form1099Misc.md +++ b/docs/A1099/V2/Form1099Misc.md @@ -20,7 +20,7 @@ Form 1099-MISC: Miscellaneous Income *At least one of the following amounts m |**grossProceedsPaidToAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] | |**fishPurchasedForResale** | **Double** | Fish purchased for resale | [optional] | |**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] | -|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] | +|**excessGoldenParachutePayments** | **Double** | Excess golden parachute payments - Available only for tax year 2024 and earlier | [optional] | |**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] | |**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement. | [optional] | |**type** | [**TypeEnum**](#TypeEnum) | Form type. | | diff --git a/docs/A1099/V2/Form1099Nec.md b/docs/A1099/V2/Form1099Nec.md index 60bd074..ba81c07 100644 --- a/docs/A1099/V2/Form1099Nec.md +++ b/docs/A1099/V2/Form1099Nec.md @@ -10,6 +10,7 @@ Form 1099-NEC: Nonemployee Compensation |------------ | ------------- | ------------- | -------------| |**nonemployeeCompensation** | **Double** | Nonemployee compensation. Required if DirectSalesIndicator is false. | | |**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale. Should be true if Nonemployee compensation is not provided. | [optional] | +|**excessGoldenParachutePayments** | **Double** | Excess golden parachute payments - Available only for tax year 2025 and later | [optional] | |**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld. | [optional] | |**type** | [**TypeEnum**](#TypeEnum) | Form type. | | |**id** | **String** | Form ID. Unique identifier set when the record is created. | [optional] [readonly] | diff --git a/docs/A1099/V2/Forms1099Api.md b/docs/A1099/V2/Forms1099Api.md index 12be7d8..ee3259a 100644 --- a/docs/A1099/V2/Forms1099Api.md +++ b/docs/A1099/V2/Forms1099Api.md @@ -52,7 +52,7 @@ public class Example { Forms1099Api apiInstance = new Forms1099Api(apiClient); String avalaraVersion = "2.0.0"; // String | API version Boolean dryRun = false; // Boolean | defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB - String xCorrelationId = "2d9b6e7b-79bb-4d14-9699-4638bb6151d9"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "65ba673f-da74-46f5-a26a-2b7da2eae19c"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Form1099ListRequest form1099ListRequest = new Form1099ListRequest(); // Form1099ListRequest | try { @@ -141,7 +141,7 @@ public class Example { Forms1099Api apiInstance = new Forms1099Api(apiClient); String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "5274903f-4f84-4aba-9dcf-408ca56e00ea"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "4e987f77-91dd-473a-9583-a7552f724f89"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Get1099Form200Response get1099Form200Response = new Get1099Form200Response(); // Get1099Form200Response | try { @@ -229,7 +229,7 @@ public class Example { Forms1099Api apiInstance = new Forms1099Api(apiClient); String id = "id_example"; // String | The unique identifier of the desired form to delete. String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "f59c9692-f2fb-4dbe-8cba-98633c4bfb3b"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "2e4a61ed-57e4-4eed-9668-ba57bf364a8a"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { apiInstance.delete1099Form(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -317,7 +317,7 @@ public class Example { Forms1099Api apiInstance = new Forms1099Api(apiClient); String id = "id_example"; // String | String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "73429041-37dd-428a-8fd5-94f9bfdc849d"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "f1d240d0-9019-4e85-87c4-bfa1c90d59e1"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { Get1099Form200Response result = apiInstance.get1099Form(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -406,7 +406,7 @@ public class Example { String id = "id_example"; // String | The ID of the form String avalaraVersion = "2.0.0"; // String | API version Boolean markEdelivered = true; // Boolean | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered - String xCorrelationId = "880a787b-1d92-485f-a3db-b5277d3d0ba1"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "bc095972-c93b-457e-bc4b-407a3a94891c"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { File result = apiInstance.get1099FormPdf(id, avalaraVersion, markEdelivered, xCorrelationId, xAvalaraClient); @@ -500,7 +500,7 @@ public class Example { String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. Boolean count = true; // Boolean | If true, return the global count of elements in the collection. Boolean countOnly = true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true. - String xCorrelationId = "612ac19d-6b12-4fe1-b92b-61e73b3b5d54"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "4e7e1488-0963-48c2-abd5-296f37dae5c5"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { PaginatedQueryResultModelForm1099Base result = apiInstance.list1099Forms(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient); @@ -593,7 +593,7 @@ public class Example { Forms1099Api apiInstance = new Forms1099Api(apiClient); String id = "id_example"; // String | String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "5717cd04-c60c-4603-9ede-aba2bec55e19"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "7abc5695-4063-414a-aa57-7cb2b9fee1dc"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . Get1099Form200Response get1099Form200Response = new Get1099Form200Response(); // Get1099Form200Response | try { diff --git a/docs/A1099/V2/FormsW9Api.md b/docs/A1099/V2/FormsW9Api.md index 951d26c..abafd63 100644 --- a/docs/A1099/V2/FormsW9Api.md +++ b/docs/A1099/V2/FormsW9Api.md @@ -53,7 +53,7 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "fa427ec8-fbb3-4e25-8c7e-2f81d68241ec"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "a31bfcd3-48f4-4459-86e7-2ce87c8eab6b"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . CreateAndSendW9FormEmailRequest createAndSendW9FormEmailRequest = new CreateAndSendW9FormEmailRequest(); // CreateAndSendW9FormEmailRequest | Form to be created try { @@ -139,7 +139,7 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "6bde16cf-bc27-448b-8abd-a3461599deff"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "4d4842c6-baeb-4f47-970e-dc9a9da6e8f4"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . CreateW9FormRequest createW9FormRequest = new CreateW9FormRequest(); // CreateW9FormRequest | Form to be created try { @@ -226,7 +226,7 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String id = "id_example"; // String | ID of the form to delete String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "4bc1a0f7-f202-4e27-ba6d-37645f4a839e"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "fc19f8c0-4c87-4387-8ab1-aa9d962df4eb"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { apiInstance.deleteW9Form(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -311,7 +311,7 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String id = "id_example"; // String | ID of the form String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "7dd6cb2c-d9ed-4fb7-8f97-67d35d09e59e"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "d24ad701-0869-495f-ad6e-234ea6b363b5"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { CreateW9Form201Response result = apiInstance.getW9Form(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -361,7 +361,7 @@ Name | Type | Description | Notes ## getW9FormPdf -> getW9FormPdf(id, avalaraVersion, xCorrelationId, xAvalaraClient) +> File getW9FormPdf(id, avalaraVersion, xCorrelationId, xAvalaraClient) Download the PDF for a W9/W4/W8 form. @@ -397,10 +397,11 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String id = "id_example"; // String | Id of the form String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "783194b6-5fc6-41c5-a5b4-1b02018e09dd"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "51c49fe8-a8d5-4e6c-93b2-271795eaa196"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { - apiInstance.getW9FormPdf(id, avalaraVersion, xCorrelationId, xAvalaraClient); + File result = apiInstance.getW9FormPdf(id, avalaraVersion, xCorrelationId, xAvalaraClient); + System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling FormsW9Api#getW9FormPdf"); System.err.println("Status code: " + e.getCode()); @@ -424,7 +425,7 @@ Name | Type | Description | Notes ### Return type -null (empty response body) +[**File**](File.md) ### Authorization @@ -439,10 +440,10 @@ null (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | PDF stream | - | -| **400** | Bad request (e.g., invalid id) | - | -| **401** | Authentication failed | - | -| **404** | W9/W4/W8 form not found | - | +| **200** | Success | - | +| **400** | Bad Request | - | +| **401** | Unauthorized | - | +| **404** | Not Found | - | ## listW9Forms @@ -488,7 +489,7 @@ public class Example { String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. Boolean count = true; // Boolean | If true, return the global count of elements in the collection. Boolean countOnly = true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true. - String xCorrelationId = "c1b56927-f8e5-4243-8fd5-b5d13f7c0c29"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "9bfb0cee-b6e0-4c22-a8a2-4be68535c83e"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { PaginatedQueryResultModelW9FormBaseResponse result = apiInstance.listW9Forms(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient); @@ -579,7 +580,7 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String id = "id_example"; // String | The ID of the W9/W4/W8 form. String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "ef646026-89fe-420b-bea9-e29ec45d9557"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "a615b830-d8f7-4687-afe7-c9987a509eac"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { CreateW9Form201Response result = apiInstance.sendW9FormEmail(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -667,7 +668,7 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String id = "id_example"; // String | ID of the form to update String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "ac8f162c-fbee-4c4d-b9fa-986df02c90e3"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "eb20e211-254b-4e5f-a1a5-7e6f596e378b"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . CreateW9FormRequest createW9FormRequest = new CreateW9FormRequest(); // CreateW9FormRequest | Form to be updated try { @@ -756,7 +757,7 @@ public class Example { FormsW9Api apiInstance = new FormsW9Api(apiClient); String id = "id_example"; // String | Id of the form String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "c332bc05-2179-4a35-bd1a-1d01a3d03e36"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "a757e3ef-d759-49bd-b130-28ef831f2126"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . File _file = new File("/path/to/file"); // File | try { diff --git a/docs/A1099/V2/Get1099Form200Response.md b/docs/A1099/V2/Get1099Form200Response.md index 51f0ef7..9569be5 100644 --- a/docs/A1099/V2/Get1099Form200Response.md +++ b/docs/A1099/V2/Get1099Form200Response.md @@ -139,7 +139,7 @@ |**grossProceedsPaidToAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] | |**fishPurchasedForResale** | **Double** | Fish purchased for resale | [optional] | |**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] | -|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] | +|**excessGoldenParachutePayments** | **Double** | Excess golden parachute payments - Available only for tax year 2025 and later | [optional] | |**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] | |**nonemployeeCompensation** | **Double** | Nonemployee compensation. Required if DirectSalesIndicator is false. | | |**grossDistribution** | **Double** | Gross distribution | [optional] | diff --git a/docs/A1099/V2/Issuers1099Api.md b/docs/A1099/V2/Issuers1099Api.md index 55a73b8..994286b 100644 --- a/docs/A1099/V2/Issuers1099Api.md +++ b/docs/A1099/V2/Issuers1099Api.md @@ -49,7 +49,7 @@ public class Example { Issuers1099Api apiInstance = new Issuers1099Api(apiClient); String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "0183bbfe-d8da-48ad-a320-b999accf40bd"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "8783a532-9268-4e0b-a0ff-44de4f71b537"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . IssuerRequest issuerRequest = new IssuerRequest(); // IssuerRequest | The issuer to create try { @@ -136,7 +136,7 @@ public class Example { Issuers1099Api apiInstance = new Issuers1099Api(apiClient); String id = "id_example"; // String | Id of the issuer to delete String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "c0d08fe4-5eaf-4902-aa48-db347d045ba2"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "5d63e7f2-9ded-4877-b46c-d4a9deaf226d"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { apiInstance.deleteIssuer(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -221,7 +221,7 @@ public class Example { Issuers1099Api apiInstance = new Issuers1099Api(apiClient); String id = "id_example"; // String | Id of the issuer to retrieve String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "126ca6ac-f595-4b34-ada2-22cdd14960f5"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "d4b90233-dbcb-43a4-bbf7-d4c5d4e8ea6f"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { IssuerResponse result = apiInstance.getIssuer(id, avalaraVersion, xCorrelationId, xAvalaraClient); @@ -306,13 +306,13 @@ public class Example { Issuers1099Api apiInstance = new Issuers1099Api(apiClient); String avalaraVersion = "2.0.0"; // String | API version - String $filter = "taxYear eq 2024"; // String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST. + String $filter = "taxYear eq 2025"; // String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST. Integer $top = 56; // Integer | If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets. Integer $skip = 56; // Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. Boolean count = true; // Boolean | If true, return the global count of elements in the collection. Boolean countOnly = true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true. - String xCorrelationId = "51f8e5b5-bb09-4b2c-954f-f0f7b119003b"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "67f66334-e4f2-4d38-aca7-47de8ea93dc0"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { PaginatedQueryResultModelIssuerResponse result = apiInstance.getIssuers(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient); @@ -405,7 +405,7 @@ public class Example { Issuers1099Api apiInstance = new Issuers1099Api(apiClient); String id = "id_example"; // String | Id of the issuer to update String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "508db50e-5f2e-404d-9974-509003a9dfa8"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "88269912-43b9-460b-b285-28c036924f06"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . IssuerRequest issuerRequest = new IssuerRequest(); // IssuerRequest | The issuer to update try { diff --git a/docs/A1099/V2/JobsApi.md b/docs/A1099/V2/JobsApi.md index d5aed5c..cf0db18 100644 --- a/docs/A1099/V2/JobsApi.md +++ b/docs/A1099/V2/JobsApi.md @@ -46,7 +46,7 @@ public class Example { JobsApi apiInstance = new JobsApi(apiClient); String id = "id_example"; // String | Job id obtained from other API responses, like `/1099/bulk-upsert`. String avalaraVersion = "2.0.0"; // String | API version - String xCorrelationId = "44d0405b-1dec-4c17-8933-d5f2e21f598d"; // String | Unique correlation Id in a GUID format + String xCorrelationId = "8a4b3b32-d90c-4ab4-915b-e3e2d4f3e213"; // String | Unique correlation Id in a GUID format String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . try { JobResponse result = apiInstance.getJob(id, avalaraVersion, xCorrelationId, xAvalaraClient); diff --git a/docs/A1099/V2/StateEfileStatusDetail.md b/docs/A1099/V2/StateEfileStatusDetail.md index 6f4f74f..634c113 100644 --- a/docs/A1099/V2/StateEfileStatusDetail.md +++ b/docs/A1099/V2/StateEfileStatusDetail.md @@ -10,6 +10,7 @@ |**status** | **String** | | [optional] | |**time** | **String** | | [optional] | |**jurisdiction** | **String** | | [optional] | +|**rejectedReason** | **String** | | [optional] | diff --git a/pom.xml b/pom.xml index bdcf85e..93790d0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ avalara-sdk jar avalara-sdk - 25.10.1 + 25.11.0 https://github.com/avadev/Avalara-SDK-Java OpenAPI Java diff --git a/src/main/java/Avalara/SDK/api/A1099/V2/CompaniesW9Api.java b/src/main/java/Avalara/SDK/api/A1099/V2/CompaniesW9Api.java index 5e41321..8345f8b 100644 --- a/src/main/java/Avalara/SDK/api/A1099/V2/CompaniesW9Api.java +++ b/src/main/java/Avalara/SDK/api/A1099/V2/CompaniesW9Api.java @@ -1089,7 +1089,7 @@ public UpdateCompanyRequest getUpdateCompanyRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } diff --git a/src/main/java/Avalara/SDK/api/A1099/V2/Forms1099Api.java b/src/main/java/Avalara/SDK/api/A1099/V2/Forms1099Api.java index 0d25a68..420ec39 100644 --- a/src/main/java/Avalara/SDK/api/A1099/V2/Forms1099Api.java +++ b/src/main/java/Avalara/SDK/api/A1099/V2/Forms1099Api.java @@ -1509,7 +1509,7 @@ public Update1099FormRequest getUpdate1099FormRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } diff --git a/src/main/java/Avalara/SDK/api/A1099/V2/FormsW9Api.java b/src/main/java/Avalara/SDK/api/A1099/V2/FormsW9Api.java index d5c8ea1..94e8794 100644 --- a/src/main/java/Avalara/SDK/api/A1099/V2/FormsW9Api.java +++ b/src/main/java/Avalara/SDK/api/A1099/V2/FormsW9Api.java @@ -832,10 +832,10 @@ public GetW9FormRequest getGetW9FormRequest() { * @http.response.details - - - - + + + +
Status Code Description Response Headers
200 PDF stream -
400 Bad request (e.g., invalid id) -
401 Authentication failed -
404 W9/W4/W8 form not found -
200 Success -
400 Bad Request -
401 Unauthorized -
404 Not Found -
*/ public okhttp3.Call getW9FormPdfCall(GetW9FormPdfRequest requestParameters, final ApiCallback _callback) throws ApiException { @@ -922,38 +922,41 @@ private okhttp3.Call getW9FormPdfValidateBeforeCall(GetW9FormPdfRequest requestP * Download the PDF for a W9/W4/W8 form. * Returns the PDF file for a W9/W4/W8 form. * @param requestOptions Object which represents the options available for a given API/request + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - - - - + + + +
Status Code Description Response Headers
200 PDF stream -
400 Bad request (e.g., invalid id) -
401 Authentication failed -
404 W9/W4/W8 form not found -
200 Success -
400 Bad Request -
401 Unauthorized -
404 Not Found -
*/ - public void getW9FormPdf(GetW9FormPdfRequest requestParameters) throws ApiException { - getW9FormPdfWithHttpInfo(requestParameters); + public File getW9FormPdf(GetW9FormPdfRequest requestParameters) throws ApiException { + ApiResponse localVarResp = getW9FormPdfWithHttpInfo(requestParameters); + return localVarResp.getData(); } /** * Download the PDF for a W9/W4/W8 form. * Returns the PDF file for a W9/W4/W8 form. * @param requestOptions Object which represents the options available for a given API/request - * @return ApiResponse<Void> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - - - - + + + +
Status Code Description Response Headers
200 PDF stream -
400 Bad request (e.g., invalid id) -
401 Authentication failed -
404 W9/W4/W8 form not found -
200 Success -
400 Bad Request -
401 Unauthorized -
404 Not Found -
*/ - public ApiResponse getW9FormPdfWithHttpInfo(GetW9FormPdfRequest requestParameters) throws ApiException { + public ApiResponse getW9FormPdfWithHttpInfo(GetW9FormPdfRequest requestParameters) throws ApiException { okhttp3.Call localVarCall = getW9FormPdfValidateBeforeCall(requestParameters, null); - return localVarApiClient.execute(localVarCall); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); } /** @@ -966,16 +969,17 @@ public ApiResponse getW9FormPdfWithHttpInfo(GetW9FormPdfRequest requestPar * @http.response.details - - - - + + + +
Status Code Description Response Headers
200 PDF stream -
400 Bad request (e.g., invalid id) -
401 Authentication failed -
404 W9/W4/W8 form not found -
200 Success -
400 Bad Request -
401 Unauthorized -
404 Not Found -
*/ - public okhttp3.Call getW9FormPdfAsync(GetW9FormPdfRequest requestParameters, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getW9FormPdfAsync(GetW9FormPdfRequest requestParameters, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getW9FormPdfValidateBeforeCall(requestParameters, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** @@ -1837,7 +1841,7 @@ public UploadW9FilesRequest getUploadW9FilesRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } diff --git a/src/main/java/Avalara/SDK/api/A1099/V2/Issuers1099Api.java b/src/main/java/Avalara/SDK/api/A1099/V2/Issuers1099Api.java index 2731db1..7985965 100644 --- a/src/main/java/Avalara/SDK/api/A1099/V2/Issuers1099Api.java +++ b/src/main/java/Avalara/SDK/api/A1099/V2/Issuers1099Api.java @@ -1069,7 +1069,7 @@ public UpdateIssuerRequest getUpdateIssuerRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } diff --git a/src/main/java/Avalara/SDK/api/A1099/V2/JobsApi.java b/src/main/java/Avalara/SDK/api/A1099/V2/JobsApi.java index 8b82a87..945756f 100644 --- a/src/main/java/Avalara/SDK/api/A1099/V2/JobsApi.java +++ b/src/main/java/Avalara/SDK/api/A1099/V2/JobsApi.java @@ -275,7 +275,7 @@ public GetJobRequest getGetJobRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } 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 3d69e15..e8a84d7 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/DataInputFieldsApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/DataInputFieldsApi.java @@ -294,7 +294,7 @@ public GetDataInputFieldsRequest getGetDataInputFieldsRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } 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 78f4e31..82a85ba 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/DocumentsApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/DocumentsApi.java @@ -1105,7 +1105,7 @@ public SubmitDocumentRequest getSubmitDocumentRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } 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 db3e597..c38506c 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/InteropApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/InteropApi.java @@ -300,7 +300,7 @@ public SubmitInteropDocumentRequest getSubmitInteropDocumentRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } 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 63d3fa5..7ae86a2 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/MandatesApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/MandatesApi.java @@ -521,7 +521,7 @@ public GetMandatesRequest getGetMandatesRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } diff --git a/src/main/java/Avalara/SDK/api/EInvoicing/V1/SubscriptionsApi.java b/src/main/java/Avalara/SDK/api/EInvoicing/V1/SubscriptionsApi.java index 78a02cd..795550b 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/SubscriptionsApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/SubscriptionsApi.java @@ -873,7 +873,7 @@ public ListWebhookSubscriptionsRequest getListWebhookSubscriptionsRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } diff --git a/src/main/java/Avalara/SDK/api/EInvoicing/V1/TaxIdentifiersApi.java b/src/main/java/Avalara/SDK/api/EInvoicing/V1/TaxIdentifiersApi.java index 2f3debf..e564a9c 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/TaxIdentifiersApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/TaxIdentifiersApi.java @@ -489,7 +489,7 @@ public ValidateTaxIdentifierRequest getValidateTaxIdentifierRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } 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 2a28b3a..6cf5a15 100644 --- a/src/main/java/Avalara/SDK/api/EInvoicing/V1/TradingPartnersApi.java +++ b/src/main/java/Avalara/SDK/api/EInvoicing/V1/TradingPartnersApi.java @@ -1993,7 +1993,7 @@ public UpdateTradingPartnerRequest getUpdateTradingPartnerRequest() { private void SetConfiguration(ApiClient client) { if (client == null) throw new MissingFormatArgumentException("client"); - this.localVarApiClient.setSdkVersion("25.10.1"); + this.localVarApiClient.setSdkVersion("25.11.0"); } } diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Misc.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Misc.java index fc54ee9..d6c8744 100644 --- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Misc.java +++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Misc.java @@ -666,7 +666,7 @@ public Form1099Misc excessGoldenParachutePayments(Double excessGoldenParachutePa } /** - * (Legacy field) Excess golden parachute payments + * Excess golden parachute payments - Available only for tax year 2024 and earlier * @return excessGoldenParachutePayments */ @javax.annotation.Nullable diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Nec.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Nec.java index 76112a4..250a8c8 100644 --- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Nec.java +++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099Nec.java @@ -74,6 +74,10 @@ public class Form1099Nec { @SerializedName(SERIALIZED_NAME_DIRECT_SALES_INDICATOR) private Boolean directSalesIndicator; + public static final String SERIALIZED_NAME_EXCESS_GOLDEN_PARACHUTE_PAYMENTS = "excessGoldenParachutePayments"; + @SerializedName(SERIALIZED_NAME_EXCESS_GOLDEN_PARACHUTE_PAYMENTS) + private Double excessGoldenParachutePayments; + public static final String SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD = "federalIncomeTaxWithheld"; @SerializedName(SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD) private Double federalIncomeTaxWithheld; @@ -422,6 +426,25 @@ public void setDirectSalesIndicator(Boolean directSalesIndicator) { } + public Form1099Nec excessGoldenParachutePayments(Double excessGoldenParachutePayments) { + this.excessGoldenParachutePayments = excessGoldenParachutePayments; + return this; + } + + /** + * Excess golden parachute payments - Available only for tax year 2025 and later + * @return excessGoldenParachutePayments + */ + @javax.annotation.Nullable + public Double getExcessGoldenParachutePayments() { + return excessGoldenParachutePayments; + } + + public void setExcessGoldenParachutePayments(Double excessGoldenParachutePayments) { + this.excessGoldenParachutePayments = excessGoldenParachutePayments; + } + + public Form1099Nec federalIncomeTaxWithheld(Double federalIncomeTaxWithheld) { this.federalIncomeTaxWithheld = federalIncomeTaxWithheld; return this; @@ -1114,6 +1137,7 @@ public boolean equals(Object o) { Form1099Nec form1099Nec = (Form1099Nec) o; return Objects.equals(this.nonemployeeCompensation, form1099Nec.nonemployeeCompensation) && Objects.equals(this.directSalesIndicator, form1099Nec.directSalesIndicator) && + Objects.equals(this.excessGoldenParachutePayments, form1099Nec.excessGoldenParachutePayments) && Objects.equals(this.federalIncomeTaxWithheld, form1099Nec.federalIncomeTaxWithheld) && Objects.equals(this.type, form1099Nec.type) && Objects.equals(this.id, form1099Nec.id) && @@ -1162,7 +1186,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(nonemployeeCompensation, directSalesIndicator, federalIncomeTaxWithheld, type, id, issuerId, issuerReferenceId, issuerTin, taxYear, referenceId, tin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEfileDate, postalMail, stateEfileDate, recipientEdeliveryDate, tinMatch, noTin, addressVerification, stateAndLocalWithholding, secondTinNotice, federalEfileStatus, stateEfileStatus, postalMailStatus, tinMatchStatus, addressVerificationStatus, eDeliveryStatus, validationErrors, createdAt, updatedAt); + return Objects.hash(nonemployeeCompensation, directSalesIndicator, excessGoldenParachutePayments, federalIncomeTaxWithheld, type, id, issuerId, issuerReferenceId, issuerTin, taxYear, referenceId, tin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEfileDate, postalMail, stateEfileDate, recipientEdeliveryDate, tinMatch, noTin, addressVerification, stateAndLocalWithholding, secondTinNotice, federalEfileStatus, stateEfileStatus, postalMailStatus, tinMatchStatus, addressVerificationStatus, eDeliveryStatus, validationErrors, createdAt, updatedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -1178,6 +1202,7 @@ public String toString() { sb.append("class Form1099Nec {\n"); sb.append(" nonemployeeCompensation: ").append(toIndentedString(nonemployeeCompensation)).append("\n"); sb.append(" directSalesIndicator: ").append(toIndentedString(directSalesIndicator)).append("\n"); + sb.append(" excessGoldenParachutePayments: ").append(toIndentedString(excessGoldenParachutePayments)).append("\n"); sb.append(" federalIncomeTaxWithheld: ").append(toIndentedString(federalIncomeTaxWithheld)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/StateEfileStatusDetail.java b/src/main/java/Avalara/SDK/model/A1099/V2/StateEfileStatusDetail.java index 041be85..410cef8 100644 --- a/src/main/java/Avalara/SDK/model/A1099/V2/StateEfileStatusDetail.java +++ b/src/main/java/Avalara/SDK/model/A1099/V2/StateEfileStatusDetail.java @@ -70,6 +70,10 @@ public class StateEfileStatusDetail { @SerializedName(SERIALIZED_NAME_JURISDICTION) private String jurisdiction; + public static final String SERIALIZED_NAME_REJECTED_REASON = "rejectedReason"; + @SerializedName(SERIALIZED_NAME_REJECTED_REASON) + private String rejectedReason; + public StateEfileStatusDetail() { } @@ -130,6 +134,25 @@ public void setJurisdiction(String jurisdiction) { } + public StateEfileStatusDetail rejectedReason(String rejectedReason) { + this.rejectedReason = rejectedReason; + return this; + } + + /** + * Get rejectedReason + * @return rejectedReason + */ + @javax.annotation.Nullable + public String getRejectedReason() { + return rejectedReason; + } + + public void setRejectedReason(String rejectedReason) { + this.rejectedReason = rejectedReason; + } + + @Override public boolean equals(Object o) { @@ -142,7 +165,8 @@ public boolean equals(Object o) { StateEfileStatusDetail stateEfileStatusDetail = (StateEfileStatusDetail) o; return Objects.equals(this.status, stateEfileStatusDetail.status) && Objects.equals(this.time, stateEfileStatusDetail.time) && - Objects.equals(this.jurisdiction, stateEfileStatusDetail.jurisdiction); + Objects.equals(this.jurisdiction, stateEfileStatusDetail.jurisdiction) && + Objects.equals(this.rejectedReason, stateEfileStatusDetail.rejectedReason); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -151,7 +175,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(status, time, jurisdiction); + return Objects.hash(status, time, jurisdiction, rejectedReason); } private static int hashCodeNullable(JsonNullable a) { @@ -168,6 +192,7 @@ public String toString() { sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" time: ").append(toIndentedString(time)).append("\n"); sb.append(" jurisdiction: ").append(toIndentedString(jurisdiction)).append("\n"); + sb.append(" rejectedReason: ").append(toIndentedString(rejectedReason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -193,6 +218,7 @@ private String toIndentedString(Object o) { openapiFields.add("status"); openapiFields.add("time"); openapiFields.add("jurisdiction"); + openapiFields.add("rejectedReason"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -228,6 +254,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("jurisdiction") != null && !jsonObj.get("jurisdiction").isJsonNull()) && !jsonObj.get("jurisdiction").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `jurisdiction` to be a primitive type in the JSON string but got `%s`", jsonObj.get("jurisdiction").toString())); } + if ((jsonObj.get("rejectedReason") != null && !jsonObj.get("rejectedReason").isJsonNull()) && !jsonObj.get("rejectedReason").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `rejectedReason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rejectedReason").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory {