diff --git a/README.md b/README.md
index 47c5442..9e374dc 100644
--- a/README.md
+++ b/README.md
@@ -278,15 +278,19 @@ Class | Method | HTTP request | Description
- [Avalara.SDK.model.A1099.V2.Form1095BListItem](docs/A1099/V2/Form1095BListItem.md)
- [Avalara.SDK.model.A1099.V2.Form1095BListItemResponse](docs/A1099/V2/Form1095BListItemResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1095BRequest](docs/A1099/V2/Form1095BRequest.md)
+ - [Avalara.SDK.model.A1099.V2.Form1095CList](docs/A1099/V2/Form1095CList.md)
+ - [Avalara.SDK.model.A1099.V2.Form1095CListItem](docs/A1099/V2/Form1095CListItem.md)
- [Avalara.SDK.model.A1099.V2.Form1099BaseResponse](docs/A1099/V2/Form1099BaseResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1099DivList](docs/A1099/V2/Form1099DivList.md)
- [Avalara.SDK.model.A1099.V2.Form1099DivListItem](docs/A1099/V2/Form1099DivListItem.md)
+ - [Avalara.SDK.model.A1099.V2.Form1099DivListItemResponse](docs/A1099/V2/Form1099DivListItemResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1099DivRequest](docs/A1099/V2/Form1099DivRequest.md)
- [Avalara.SDK.model.A1099.V2.Form1099DivResponse](docs/A1099/V2/Form1099DivResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1099KList](docs/A1099/V2/Form1099KList.md)
- [Avalara.SDK.model.A1099.V2.Form1099KListItem](docs/A1099/V2/Form1099KListItem.md)
- [Avalara.SDK.model.A1099.V2.Form1099KListItemResponse](docs/A1099/V2/Form1099KListItemResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1099KRequest](docs/A1099/V2/Form1099KRequest.md)
+ - [Avalara.SDK.model.A1099.V2.Form1099KResponse](docs/A1099/V2/Form1099KResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1099ListResponse](docs/A1099/V2/Form1099ListResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1099ListResponseValueInner](docs/A1099/V2/Form1099ListResponseValueInner.md)
- [Avalara.SDK.model.A1099.V2.Form1099MiscList](docs/A1099/V2/Form1099MiscList.md)
@@ -304,7 +308,6 @@ Class | Method | HTTP request | Description
- [Avalara.SDK.model.A1099.V2.Form1099RListItem](docs/A1099/V2/Form1099RListItem.md)
- [Avalara.SDK.model.A1099.V2.Form1099RListItemResponse](docs/A1099/V2/Form1099RListItemResponse.md)
- [Avalara.SDK.model.A1099.V2.Form1099RRequest](docs/A1099/V2/Form1099RRequest.md)
- - [Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse](docs/A1099/V2/Form1099StatusDetailResponse.md)
- [Avalara.SDK.model.A1099.V2.FormRequestBase](docs/A1099/V2/FormRequestBase.md)
- [Avalara.SDK.model.A1099.V2.FormRequestListItemBase](docs/A1099/V2/FormRequestListItemBase.md)
- [Avalara.SDK.model.A1099.V2.FormResponseBase](docs/A1099/V2/FormResponseBase.md)
@@ -317,10 +320,12 @@ Class | Method | HTTP request | Description
- [Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThrough](docs/A1099/V2/IntermediaryOrFlowThrough.md)
- [Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThroughRequest](docs/A1099/V2/IntermediaryOrFlowThroughRequest.md)
- [Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThroughResponse](docs/A1099/V2/IntermediaryOrFlowThroughResponse.md)
+ - [Avalara.SDK.model.A1099.V2.IrsResponse](docs/A1099/V2/IrsResponse.md)
- [Avalara.SDK.model.A1099.V2.IssuerCommand](docs/A1099/V2/IssuerCommand.md)
- [Avalara.SDK.model.A1099.V2.IssuerResponse](docs/A1099/V2/IssuerResponse.md)
- [Avalara.SDK.model.A1099.V2.JobResult](docs/A1099/V2/JobResult.md)
- [Avalara.SDK.model.A1099.V2.Link](docs/A1099/V2/Link.md)
+ - [Avalara.SDK.model.A1099.V2.OfferAndCoverageRequest](docs/A1099/V2/OfferAndCoverageRequest.md)
- [Avalara.SDK.model.A1099.V2.PaginatedQueryResultModel](docs/A1099/V2/PaginatedQueryResultModel.md)
- [Avalara.SDK.model.A1099.V2.PaginatedQueryResultModelCompanyResponse](docs/A1099/V2/PaginatedQueryResultModelCompanyResponse.md)
- [Avalara.SDK.model.A1099.V2.PaginatedQueryResultModelIssuerResponse](docs/A1099/V2/PaginatedQueryResultModelIssuerResponse.md)
@@ -335,6 +340,7 @@ Class | Method | HTTP request | Description
- [Avalara.SDK.model.A1099.V2.StatusDetail](docs/A1099/V2/StatusDetail.md)
- [Avalara.SDK.model.A1099.V2.SubstantialUsOwnerRequest](docs/A1099/V2/SubstantialUsOwnerRequest.md)
- [Avalara.SDK.model.A1099.V2.SubstantialUsOwnerResponse](docs/A1099/V2/SubstantialUsOwnerResponse.md)
+ - [Avalara.SDK.model.A1099.V2.TinMatchStatusResponse](docs/A1099/V2/TinMatchStatusResponse.md)
- [Avalara.SDK.model.A1099.V2.Update1099Form200Response](docs/A1099/V2/Update1099Form200Response.md)
- [Avalara.SDK.model.A1099.V2.ValidationErrorResponse](docs/A1099/V2/ValidationErrorResponse.md)
- [Avalara.SDK.model.A1099.V2.W4FormDataModel](docs/A1099/V2/W4FormDataModel.md)
diff --git a/docs/A1099/V2/CompaniesW9Api.md b/docs/A1099/V2/CompaniesW9Api.md
index f405df9..12f1f42 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 = "144f810d-5777-472b-b372-c1028d9a13ae"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "097506be-b40b-4107-8d62-206070d11548"; // 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/) .
CompanyCreateUpdateRequestModel companyCreateUpdateRequestModel = new CompanyCreateUpdateRequestModel(); // CompanyCreateUpdateRequestModel | 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 = "db071c51-528f-4929-a031-523aa34002d1"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "3af2abb1-7024-4cc7-9c52-53e793e1c863"; // 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);
@@ -222,13 +222,13 @@ public class Example {
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
- String $filter = "$filter_example"; // String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST.
+ String $filter = "name eq 'company name'"; // 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 = "7ad30f3a-b27d-440e-98da-516663741d89"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "bbe9eb96-736f-4c5c-99d7-9df8f66819b3"; // 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 = "77521b27-805c-40b1-a6c8-3d6339acba99"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "e6013371-7d72-4c3d-8a5f-c4e08177c3ae"; // 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 = "9b982dee-5208-416e-8acf-84070e235acc"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "d8a0cb91-eb8b-4bd6-8812-2b690995afcc"; // 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/) .
CompanyCreateUpdateRequestModel companyCreateUpdateRequestModel = new CompanyCreateUpdateRequestModel(); // CompanyCreateUpdateRequestModel | The updated company data
try {
diff --git a/docs/A1099/V2/CoveredIndividualRequest.md b/docs/A1099/V2/CoveredIndividualRequest.md
index 02730fd..a3a2654 100644
--- a/docs/A1099/V2/CoveredIndividualRequest.md
+++ b/docs/A1099/V2/CoveredIndividualRequest.md
@@ -13,19 +13,19 @@
|**nameSuffix** | **String** | Covered individual's name suffix | [optional] |
|**tin** | **String** | Covered individual's TIN (SSN or ITIN) | [optional] |
|**birthDate** | **OffsetDateTime** | Covered individual's date of birth | [optional] |
-|**coveredMonthIndicator0** | **Boolean** | Coverage indicator for all 12 months | [optional] |
-|**coveredMonthIndicator1** | **Boolean** | Coverage indicator for January | [optional] |
-|**coveredMonthIndicator2** | **Boolean** | Coverage indicator for February | [optional] |
-|**coveredMonthIndicator3** | **Boolean** | Coverage indicator for March | [optional] |
-|**coveredMonthIndicator4** | **Boolean** | Coverage indicator for April | [optional] |
-|**coveredMonthIndicator5** | **Boolean** | Coverage indicator for May | [optional] |
-|**coveredMonthIndicator6** | **Boolean** | Coverage indicator for June | [optional] |
-|**coveredMonthIndicator7** | **Boolean** | Coverage indicator for July | [optional] |
-|**coveredMonthIndicator8** | **Boolean** | Coverage indicator for August | [optional] |
-|**coveredMonthIndicator9** | **Boolean** | Coverage indicator for September | [optional] |
-|**coveredMonthIndicator10** | **Boolean** | Coverage indicator for October | [optional] |
-|**coveredMonthIndicator11** | **Boolean** | Coverage indicator for November | [optional] |
-|**coveredMonthIndicator12** | **Boolean** | Coverage indicator for December | [optional] |
+|**coveredAllMonths** | **Boolean** | Coverage indicator for all 12 months | [optional] |
+|**coveredJanuary** | **Boolean** | Coverage indicator for January | [optional] |
+|**coveredFebruary** | **Boolean** | Coverage indicator for February | [optional] |
+|**coveredMarch** | **Boolean** | Coverage indicator for March | [optional] |
+|**coveredApril** | **Boolean** | Coverage indicator for April | [optional] |
+|**coveredMay** | **Boolean** | Coverage indicator for May | [optional] |
+|**coveredJune** | **Boolean** | Coverage indicator for June | [optional] |
+|**coveredJuly** | **Boolean** | Coverage indicator for July | [optional] |
+|**coveredAugust** | **Boolean** | Coverage indicator for August | [optional] |
+|**coveredSeptember** | **Boolean** | Coverage indicator for September | [optional] |
+|**coveredOctober** | **Boolean** | Coverage indicator for October | [optional] |
+|**coveredNovember** | **Boolean** | Coverage indicator for November | [optional] |
+|**coveredDecember** | **Boolean** | Coverage indicator for December | [optional] |
diff --git a/docs/A1099/V2/Create1099Form201Response.md b/docs/A1099/V2/Create1099Form201Response.md
index 5a1f70c..1f59c00 100644
--- a/docs/A1099/V2/Create1099Form201Response.md
+++ b/docs/A1099/V2/Create1099Form201Response.md
@@ -14,19 +14,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -34,14 +37,16 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**uniqueFormId** | **String** | Unique form identifier | [optional] |
-|**noTin** | **Boolean** | No TIN indicator | [optional] |
|**recipientDateOfBirth** | **OffsetDateTime** | Recipient's date of birth | [optional] |
|**recipientGiin** | **String** | Recipient's GIIN (Global Intermediary Identification Number) | [optional] |
|**recipientForeignTin** | **String** | Recipient's foreign TIN | [optional] |
@@ -66,6 +71,24 @@
|**intermediaryOrFlowThrough** | [**IntermediaryOrFlowThroughResponse**](IntermediaryOrFlowThroughResponse.md) | Intermediary or flow-through entity information | [optional] |
|**originOfHealthCoverageCode** | **String** | Origin of health coverage code | [optional] |
|**coveredIndividuals** | [**List<CoveredIndividualReferenceResponse>**](CoveredIndividualReferenceResponse.md) | Covered individuals information | [optional] |
+|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
+|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**section1202Gain** | **String** | Section 1202 gain | [optional] |
+|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
+|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
+|**section897CapitalGain** | **String** | Section 897 capital gain | [optional] |
+|**nondividendDistributions** | **String** | Nondividend distributions | [optional] |
+|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
+|**section199ADividends** | **String** | Section 199A dividends | [optional] |
+|**investmentExpenses** | **String** | Investment expenses | [optional] |
+|**foreignTaxPaid** | **String** | Foreign tax paid | [optional] |
+|**foreignCountryOrUSPossession** | **String** | Foreign country or U.S. possession | [optional] |
+|**cashLiquidationDistributions** | **String** | Cash liquidation distributions | [optional] |
+|**noncashLiquidationDistributions** | **String** | Noncash liquidation distributions | [optional] |
+|**exemptInterestDividends** | **String** | Exempt-interest dividends | [optional] |
+|**specifiedPrivateActivityBondInterestDividends** | **String** | Specified private activity bond interest dividends | [optional] |
|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | Filer type (PSE or EPF) | [optional] |
|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | Payment type (payment card or third party network) | [optional] |
|**paymentSettlementEntityNamePhoneNumber** | **String** | Payment settlement entity name and phone number | [optional] |
@@ -73,7 +96,6 @@
|**cardNotPresentTransactions** | **Double** | Card not present transactions | [optional] |
|**merchantCategoryCode** | **String** | Merchant category code | [optional] |
|**paymentTransactionNumber** | **Double** | Number of payment transactions | [optional] |
-|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**january** | **Double** | January gross payments | [optional] |
|**february** | **Double** | February gross payments | [optional] |
|**march** | **Double** | March gross payments | [optional] |
@@ -91,14 +113,15 @@
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalAndHealthCare** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
-|**excessGoldenParachute** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
-|**grossAmountPaidAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
+|**grossProceedsPaidToAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**fishPurchasedForResale** | **Double** | Fish purchased for resale | [optional] |
|**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] |
-|**section409AIncome** | **Double** | Nonqualified deferred compensation | [optional] |
+|**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] |
|**nonemployeeCompensation** | **Double** | Nonemployee compensation | [optional] |
|**grossDistributions** | **Double** | Gross distribution | [optional] |
|**taxableAmount** | **Double** | Taxable amount | [optional] |
diff --git a/docs/A1099/V2/CreateW9Form201Response.md b/docs/A1099/V2/CreateW9Form201Response.md
index f7bd613..0c7503f 100644
--- a/docs/A1099/V2/CreateW9Form201Response.md
+++ b/docs/A1099/V2/CreateW9Form201Response.md
@@ -186,6 +186,7 @@
|**accountNumber** | **String** | The account number associated with the form. | [optional] |
|**backupWithholding** | **Boolean** | Indicates whether backup withholding applies. | [optional] |
|**is1099able** | **Boolean** | Indicates whether the individual or entity should be issued a 1099 form. | [optional] |
+|**tinMatchStatus** | [**TinMatchStatusResponse**](TinMatchStatusResponse.md) | The TIN Match status from IRS. | [optional] |
diff --git a/docs/A1099/V2/Form1042SListItem.md b/docs/A1099/V2/Form1042SListItem.md
index 54ce0ba..811ad8f 100644
--- a/docs/A1099/V2/Form1042SListItem.md
+++ b/docs/A1099/V2/Form1042SListItem.md
@@ -34,7 +34,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -42,15 +42,16 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/Form1042SListItemResponse.md b/docs/A1099/V2/Form1042SListItemResponse.md
index 037ae4d..5e320eb 100644
--- a/docs/A1099/V2/Form1042SListItemResponse.md
+++ b/docs/A1099/V2/Form1042SListItemResponse.md
@@ -38,19 +38,21 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -58,8 +60,11 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
diff --git a/docs/A1099/V2/Form1042SRequest.md b/docs/A1099/V2/Form1042SRequest.md
index 9415dbd..c3eeb8a 100644
--- a/docs/A1099/V2/Form1042SRequest.md
+++ b/docs/A1099/V2/Form1042SRequest.md
@@ -8,7 +8,6 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**uniqueFormId** | **String** | Unique form identifier | [optional] |
-|**noTin** | **Boolean** | No TIN indicator | [optional] |
|**recipientDateOfBirth** | **OffsetDateTime** | Recipient's date of birth | [optional] |
|**recipientGiin** | **String** | Recipient's GIIN (Global Intermediary Identification Number) | [optional] |
|**recipientForeignTin** | **String** | Recipient's foreign TIN | [optional] |
@@ -36,7 +35,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -44,15 +43,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
@@ -68,6 +69,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1042SResponse.md b/docs/A1099/V2/Form1042SResponse.md
index 6cde9cf..ffaceb3 100644
--- a/docs/A1099/V2/Form1042SResponse.md
+++ b/docs/A1099/V2/Form1042SResponse.md
@@ -10,7 +10,6 @@
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
-|**userId** | **String** | | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | | [optional] |
|**id** | **String** | | [optional] |
@@ -27,17 +26,20 @@
|**city** | **String** | | [optional] |
|**state** | **String** | | [optional] |
|**zip** | **String** | | [optional] |
-|**recipientEmail** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
|**accountNumber** | **String** | | [optional] |
|**officeCode** | **String** | | [optional] |
-|**recipientNonUsProvince** | **String** | | [optional] |
+|**nonUsProvince** | **String** | | [optional] |
|**countryCode** | **String** | | [optional] |
|**federalEFile** | **Boolean** | | [optional] |
|**postalMail** | **Boolean** | | [optional] |
|**stateEFile** | **Boolean** | | [optional] |
|**tinMatch** | **Boolean** | | [optional] |
+|**noTin** | **Boolean** | | [optional] |
+|**secondTinNotice** | **Boolean** | | [optional] |
|**addressVerification** | **Boolean** | | [optional] |
|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | | [optional] |
|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
@@ -57,6 +59,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1095BListItem.md b/docs/A1099/V2/Form1095BListItem.md
index 1601acb..de4c047 100644
--- a/docs/A1099/V2/Form1095BListItem.md
+++ b/docs/A1099/V2/Form1095BListItem.md
@@ -17,7 +17,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -25,15 +25,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/Form1095BListItemResponse.md b/docs/A1099/V2/Form1095BListItemResponse.md
index 96cbaa1..99984e8 100644
--- a/docs/A1099/V2/Form1095BListItemResponse.md
+++ b/docs/A1099/V2/Form1095BListItemResponse.md
@@ -16,19 +16,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -36,8 +39,11 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
diff --git a/docs/A1099/V2/Form1095BRequest.md b/docs/A1099/V2/Form1095BRequest.md
index 56797d9..3005238 100644
--- a/docs/A1099/V2/Form1095BRequest.md
+++ b/docs/A1099/V2/Form1095BRequest.md
@@ -18,7 +18,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -26,15 +26,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
@@ -65,6 +67,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1095CList.md b/docs/A1099/V2/Form1095CList.md
new file mode 100644
index 0000000..6934c32
--- /dev/null
+++ b/docs/A1099/V2/Form1095CList.md
@@ -0,0 +1,14 @@
+
+
+# Form1095CList
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**forms** | [**List<Form1095CListItem>**](Form1095CListItem.md) | | [optional] |
+|**formType** | **String** | | [optional] |
+
+
+
diff --git a/docs/A1099/V2/Form1095CListItem.md b/docs/A1099/V2/Form1095CListItem.md
new file mode 100644
index 0000000..a67ea29
--- /dev/null
+++ b/docs/A1099/V2/Form1095CListItem.md
@@ -0,0 +1,59 @@
+
+
+# Form1095CListItem
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**employeeFirstName** | **String** | Employee's first name | [optional] |
+|**employeeMiddleName** | **String** | Employee's middle name | [optional] |
+|**employeeLastName** | **String** | Employee's last name | [optional] |
+|**employeeNameSuffix** | **String** | Employee's name suffix | [optional] |
+|**recipientDateOfBirth** | **OffsetDateTime** | Recipient's date of birth | [optional] |
+|**planStartMonth** | **String** | Plan start month | [optional] |
+|**offerAndCoverages** | [**List<OfferAndCoverageRequest>**](OfferAndCoverageRequest.md) | Offer and coverage information | [optional] |
+|**employerProvidedSiCoverage** | **Boolean** | Employer provided self-insured coverage | [optional] |
+|**coveredIndividuals** | [**List<CoveredIndividualRequest>**](CoveredIndividualRequest.md) | Covered individuals information | [optional] |
+|**issuerReferenceId** | **String** | Issuer Reference ID. One of `issuerReferenceId` or `issuerTin` is required. | [optional] |
+|**issuerTin** | **String** | Issuer TIN. One of `issuerReferenceId` or `issuerTin` is required. | [optional] |
+|**taxYear** | **Integer** | Tax year | |
+|**issuerId** | **String** | Issuer ID | [optional] |
+|**referenceId** | **String** | Reference ID | [optional] |
+|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
+|**recipientName** | **String** | Recipient name | [optional] |
+|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
+|**recipientSecondName** | **String** | Recipient second name | [optional] |
+|**address** | **String** | Address | |
+|**address2** | **String** | Address line 2 | [optional] |
+|**city** | **String** | City | |
+|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
+|**zip** | **String** | Zip/postal code | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
+|**accountNumber** | **String** | Account number | [optional] |
+|**officeCode** | **String** | Office code | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
+|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
+|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
+|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
+|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
+|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
+|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
+|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
+
+
+
+## Enum: TinTypeEnum
+
+| Name | Value |
+|---- | -----|
+| EIN | "EIN" |
+| SSN | "SSN" |
+| ITIN | "ITIN" |
+| ATIN | "ATIN" |
+
+
+
diff --git a/docs/A1099/V2/Form1099BaseResponse.md b/docs/A1099/V2/Form1099BaseResponse.md
index 5f14fa1..c9641fd 100644
--- a/docs/A1099/V2/Form1099BaseResponse.md
+++ b/docs/A1099/V2/Form1099BaseResponse.md
@@ -14,19 +14,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -34,8 +37,11 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
diff --git a/docs/A1099/V2/Form1099DivListItem.md b/docs/A1099/V2/Form1099DivListItem.md
index 0251508..c9f41ad 100644
--- a/docs/A1099/V2/Form1099DivListItem.md
+++ b/docs/A1099/V2/Form1099DivListItem.md
@@ -9,8 +9,8 @@
|------------ | ------------- | ------------- | -------------|
|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
-|**totalCapitalGainDistr** | **String** | Total capital gain distributions | [optional] |
-|**unrecapSec1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
|**section1202Gain** | **String** | Section 1202 gain | [optional] |
|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
@@ -25,14 +25,14 @@
|**noncashLiquidationDistributions** | **String** | Noncash liquidation distributions | [optional] |
|**exemptInterestDividends** | **String** | Exempt-interest dividends | [optional] |
|**specifiedPrivateActivityBondInterestDividends** | **String** | Specified private activity bond interest dividends | [optional] |
-|**fatcaFilingRequirement** | **String** | FATCA filing requirement | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**issuerReferenceId** | **String** | Issuer Reference ID. One of `issuerReferenceId` or `issuerTin` is required. | [optional] |
|**issuerTin** | **String** | Issuer TIN. One of `issuerReferenceId` or `issuerTin` is required. | [optional] |
|**taxYear** | **Integer** | Tax year | |
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -40,15 +40,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/Form1099DivListItemResponse.md b/docs/A1099/V2/Form1099DivListItemResponse.md
new file mode 100644
index 0000000..4c9c744
--- /dev/null
+++ b/docs/A1099/V2/Form1099DivListItemResponse.md
@@ -0,0 +1,69 @@
+
+
+# Form1099DivListItemResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
+|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**section1202Gain** | **String** | Section 1202 gain | [optional] |
+|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
+|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
+|**section897CapitalGain** | **String** | Section 897 capital gain | [optional] |
+|**nondividendDistributions** | **String** | Nondividend distributions | [optional] |
+|**federalIncomeTaxWithheld** | **String** | Federal income tax withheld | [optional] |
+|**section199ADividends** | **String** | Section 199A dividends | [optional] |
+|**investmentExpenses** | **String** | Investment expenses | [optional] |
+|**foreignTaxPaid** | **String** | Foreign tax paid | [optional] |
+|**foreignCountryOrUSPossession** | **String** | Foreign country or U.S. possession | [optional] |
+|**cashLiquidationDistributions** | **String** | Cash liquidation distributions | [optional] |
+|**noncashLiquidationDistributions** | **String** | Noncash liquidation distributions | [optional] |
+|**exemptInterestDividends** | **String** | Exempt-interest dividends | [optional] |
+|**specifiedPrivateActivityBondInterestDividends** | **String** | Specified private activity bond interest dividends | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
+|**id** | **String** | ID of the form | [readonly] |
+|**type** | **String** | Type of the form. Will be one of: * 940 * 941 * 943 * 944 * 945 * 1042 * 1042-S * 1095-B * 1095-C * 1097-BTC * 1098 * 1098-C * 1098-E * 1098-Q * 1098-T * 3921 * 3922 * 5498 * 5498-ESA * 5498-SA * 1099-MISC * 1099-A * 1099-B * 1099-C * 1099-CAP * 1099-DIV * 1099-G * 1099-INT * 1099-K * 1099-LS * 1099-LTC * 1099-NEC * 1099-OID * 1099-PATR * 1099-Q * 1099-R * 1099-S * 1099-SA * T4A * W-2 * W-2G * 1099-HC | |
+|**issuerId** | **Integer** | Issuer ID | |
+|**issuerReferenceId** | **String** | Issuer Reference ID | [optional] |
+|**issuerTin** | **String** | Issuer TIN | [optional] |
+|**taxYear** | **Integer** | Tax year | [optional] |
+|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
+|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
+|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
+|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
+|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
+|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
+|**referenceId** | **String** | Reference ID | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
+|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
+|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
+|**recipientName** | **String** | Recipient name | [optional] |
+|**recipientSecondName** | **String** | Recipient second name | [optional] |
+|**address** | **String** | Address | [optional] |
+|**address2** | **String** | Address line 2 | [optional] |
+|**city** | **String** | City | [optional] |
+|**state** | **String** | US state | [optional] |
+|**zip** | **String** | Zip/postal code | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
+|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
+|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
+|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
+|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
+
+
+
diff --git a/docs/A1099/V2/Form1099DivRequest.md b/docs/A1099/V2/Form1099DivRequest.md
index fdab242..52bc5d7 100644
--- a/docs/A1099/V2/Form1099DivRequest.md
+++ b/docs/A1099/V2/Form1099DivRequest.md
@@ -9,8 +9,8 @@
|------------ | ------------- | ------------- | -------------|
|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
-|**totalCapitalGainDistr** | **String** | Total capital gain distributions | [optional] |
-|**unrecapSec1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
|**section1202Gain** | **String** | Section 1202 gain | [optional] |
|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
@@ -25,12 +25,12 @@
|**noncashLiquidationDistributions** | **String** | Noncash liquidation distributions | [optional] |
|**exemptInterestDividends** | **String** | Exempt-interest dividends | [optional] |
|**specifiedPrivateActivityBondInterestDividends** | **String** | Specified private activity bond interest dividends | [optional] |
-|**fatcaFilingRequirement** | **String** | FATCA filing requirement | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] |
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -38,15 +38,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
@@ -63,6 +65,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1099DivResponse.md b/docs/A1099/V2/Form1099DivResponse.md
index cd556b1..6f2bc08 100644
--- a/docs/A1099/V2/Form1099DivResponse.md
+++ b/docs/A1099/V2/Form1099DivResponse.md
@@ -10,7 +10,6 @@
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
-|**userId** | **String** | | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | | [optional] |
|**id** | **String** | | [optional] |
@@ -27,17 +26,20 @@
|**city** | **String** | | [optional] |
|**state** | **String** | | [optional] |
|**zip** | **String** | | [optional] |
-|**recipientEmail** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
|**accountNumber** | **String** | | [optional] |
|**officeCode** | **String** | | [optional] |
-|**recipientNonUsProvince** | **String** | | [optional] |
+|**nonUsProvince** | **String** | | [optional] |
|**countryCode** | **String** | | [optional] |
|**federalEFile** | **Boolean** | | [optional] |
|**postalMail** | **Boolean** | | [optional] |
|**stateEFile** | **Boolean** | | [optional] |
|**tinMatch** | **Boolean** | | [optional] |
+|**noTin** | **Boolean** | | [optional] |
+|**secondTinNotice** | **Boolean** | | [optional] |
|**addressVerification** | **Boolean** | | [optional] |
|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | | [optional] |
|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
@@ -57,6 +59,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1099KListItem.md b/docs/A1099/V2/Form1099KListItem.md
index bb97020..fb5c1dc 100644
--- a/docs/A1099/V2/Form1099KListItem.md
+++ b/docs/A1099/V2/Form1099KListItem.md
@@ -33,7 +33,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -41,15 +41,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/Form1099KListItemResponse.md b/docs/A1099/V2/Form1099KListItemResponse.md
index c5a2db4..c34e421 100644
--- a/docs/A1099/V2/Form1099KListItemResponse.md
+++ b/docs/A1099/V2/Form1099KListItemResponse.md
@@ -34,19 +34,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -54,8 +57,11 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
diff --git a/docs/A1099/V2/Form1099KRequest.md b/docs/A1099/V2/Form1099KRequest.md
index d1f523a..724b32e 100644
--- a/docs/A1099/V2/Form1099KRequest.md
+++ b/docs/A1099/V2/Form1099KRequest.md
@@ -7,8 +7,8 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**filerType** | **Integer** | Filer type (PSE or EPF) | [optional] |
-|**paymentType** | **Integer** | Payment type (payment card or third party network) | [optional] |
+|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | Filer type (PSE or EPF) | [optional] |
+|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | Payment type (payment card or third party network) | [optional] |
|**paymentSettlementEntityNamePhoneNumber** | **String** | Payment settlement entity name and phone number | [optional] |
|**grossAmountPaymentCard** | **Double** | Gross amount of payment card/third party network transactions | [optional] |
|**cardNotPresentTransactions** | **Double** | Card not present transactions | [optional] |
@@ -31,7 +31,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -39,20 +39,41 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
+## Enum: FilerTypeEnum
+
+| Name | Value |
+|---- | -----|
+| PSE | "PSE" |
+| EPF | "EPF" |
+| OTHER | "Other" |
+
+
+
+## Enum: PaymentTypeEnum
+
+| Name | Value |
+|---- | -----|
+| MERCHANT_PAYMENT_CARD | "MerchantPaymentCard" |
+| THIRD_PARTY_NETWORK | "ThirdPartyNetwork" |
+
+
+
## Enum: TypeEnum
| Name | Value |
@@ -64,6 +85,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1099KResponse.md b/docs/A1099/V2/Form1099KResponse.md
new file mode 100644
index 0000000..09f6448
--- /dev/null
+++ b/docs/A1099/V2/Form1099KResponse.md
@@ -0,0 +1,115 @@
+
+
+# Form1099KResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | | [optional] |
+|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | | [optional] |
+|**paymentSettlementEntityNamePhoneNumber** | **String** | | [optional] |
+|**grossAmountPaymentCard** | **Double** | | [optional] |
+|**cardNotPresentTransactions** | **Double** | | [optional] |
+|**merchantCategoryCode** | **String** | | [optional] |
+|**paymentTransactionNumber** | **Double** | | [optional] |
+|**federalIncomeTaxWithheld** | **Double** | | [optional] |
+|**january** | **Double** | | [optional] |
+|**february** | **Double** | | [optional] |
+|**march** | **Double** | | [optional] |
+|**april** | **Double** | | [optional] |
+|**may** | **Double** | | [optional] |
+|**june** | **Double** | | [optional] |
+|**july** | **Double** | | [optional] |
+|**august** | **Double** | | [optional] |
+|**sept** | **Double** | | [optional] |
+|**october** | **Double** | | [optional] |
+|**november** | **Double** | | [optional] |
+|**december** | **Double** | | [optional] |
+|**type** | [**TypeEnum**](#TypeEnum) | | [optional] [readonly] |
+|**createdAt** | **OffsetDateTime** | | [optional] |
+|**updatedAt** | **OffsetDateTime** | | [optional] |
+|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
+|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | | [optional] |
+|**id** | **String** | | [optional] |
+|**issuerId** | **String** | | [optional] |
+|**issuerReferenceId** | **String** | | [optional] |
+|**issuerTin** | **String** | | [optional] |
+|**taxYear** | **Integer** | | [optional] |
+|**referenceId** | **String** | | [optional] |
+|**recipientName** | **String** | | [optional] |
+|**recipientTin** | **String** | | [optional] |
+|**recipientSecondName** | **String** | | [optional] |
+|**address** | **String** | | [optional] |
+|**address2** | **String** | | [optional] |
+|**city** | **String** | | [optional] |
+|**state** | **String** | | [optional] |
+|**zip** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
+|**accountNumber** | **String** | | [optional] |
+|**officeCode** | **String** | | [optional] |
+|**nonUsProvince** | **String** | | [optional] |
+|**countryCode** | **String** | | [optional] |
+|**federalEFile** | **Boolean** | | [optional] |
+|**postalMail** | **Boolean** | | [optional] |
+|**stateEFile** | **Boolean** | | [optional] |
+|**tinMatch** | **Boolean** | | [optional] |
+|**noTin** | **Boolean** | | [optional] |
+|**secondTinNotice** | **Boolean** | | [optional] |
+|**addressVerification** | **Boolean** | | [optional] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | | [optional] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | | [optional] |
+
+
+
+## Enum: FilerTypeEnum
+
+| Name | Value |
+|---- | -----|
+| PSE | "PSE" |
+| EPF | "EPF" |
+| OTHER | "Other" |
+
+
+
+## Enum: PaymentTypeEnum
+
+| Name | Value |
+|---- | -----|
+| MERCHANT_PAYMENT_CARD | "MerchantPaymentCard" |
+| THIRD_PARTY_NETWORK | "ThirdPartyNetwork" |
+
+
+
+## Enum: TypeEnum
+
+| Name | Value |
+|---- | -----|
+| _1099_NEC | "1099-NEC" |
+| _1099_MISC | "1099-MISC" |
+| _1099_DIV | "1099-DIV" |
+| _1099_R | "1099-R" |
+| _1099_K | "1099-K" |
+| _1095_B | "1095-B" |
+| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
+
+
+
+## Enum: TinTypeEnum
+
+| Name | Value |
+|---- | -----|
+| EIN | "EIN" |
+| SSN | "SSN" |
+| ITIN | "ITIN" |
+| ATIN | "ATIN" |
+
+
+
diff --git a/docs/A1099/V2/Form1099ListResponseValueInner.md b/docs/A1099/V2/Form1099ListResponseValueInner.md
index b2569b7..b9c2183 100644
--- a/docs/A1099/V2/Form1099ListResponseValueInner.md
+++ b/docs/A1099/V2/Form1099ListResponseValueInner.md
@@ -14,19 +14,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -34,14 +37,16 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**uniqueFormId** | **String** | Unique form identifier | [optional] |
-|**noTin** | **Boolean** | No TIN indicator | [optional] |
|**recipientDateOfBirth** | **OffsetDateTime** | Recipient's date of birth | [optional] |
|**recipientGiin** | **String** | Recipient's GIIN (Global Intermediary Identification Number) | [optional] |
|**recipientForeignTin** | **String** | Recipient's foreign TIN | [optional] |
@@ -66,6 +71,24 @@
|**intermediaryOrFlowThrough** | [**IntermediaryOrFlowThroughResponse**](IntermediaryOrFlowThroughResponse.md) | Intermediary or flow-through entity information | [optional] |
|**originOfHealthCoverageCode** | **String** | Origin of health coverage code | [optional] |
|**coveredIndividuals** | [**List<CoveredIndividualReferenceResponse>**](CoveredIndividualReferenceResponse.md) | Covered individuals information | [optional] |
+|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
+|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**section1202Gain** | **String** | Section 1202 gain | [optional] |
+|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
+|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
+|**section897CapitalGain** | **String** | Section 897 capital gain | [optional] |
+|**nondividendDistributions** | **String** | Nondividend distributions | [optional] |
+|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
+|**section199ADividends** | **String** | Section 199A dividends | [optional] |
+|**investmentExpenses** | **String** | Investment expenses | [optional] |
+|**foreignTaxPaid** | **String** | Foreign tax paid | [optional] |
+|**foreignCountryOrUSPossession** | **String** | Foreign country or U.S. possession | [optional] |
+|**cashLiquidationDistributions** | **String** | Cash liquidation distributions | [optional] |
+|**noncashLiquidationDistributions** | **String** | Noncash liquidation distributions | [optional] |
+|**exemptInterestDividends** | **String** | Exempt-interest dividends | [optional] |
+|**specifiedPrivateActivityBondInterestDividends** | **String** | Specified private activity bond interest dividends | [optional] |
|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | Filer type (PSE or EPF) | [optional] |
|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | Payment type (payment card or third party network) | [optional] |
|**paymentSettlementEntityNamePhoneNumber** | **String** | Payment settlement entity name and phone number | [optional] |
@@ -73,7 +96,6 @@
|**cardNotPresentTransactions** | **Double** | Card not present transactions | [optional] |
|**merchantCategoryCode** | **String** | Merchant category code | [optional] |
|**paymentTransactionNumber** | **Double** | Number of payment transactions | [optional] |
-|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**january** | **Double** | January gross payments | [optional] |
|**february** | **Double** | February gross payments | [optional] |
|**march** | **Double** | March gross payments | [optional] |
@@ -91,14 +113,15 @@
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalAndHealthCare** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
-|**excessGoldenParachute** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
-|**grossAmountPaidAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
+|**grossProceedsPaidToAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**fishPurchasedForResale** | **Double** | Fish purchased for resale | [optional] |
|**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] |
-|**section409AIncome** | **Double** | Nonqualified deferred compensation | [optional] |
+|**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] |
|**nonemployeeCompensation** | **Double** | Nonemployee compensation | [optional] |
|**grossDistributions** | **Double** | Gross distribution | [optional] |
|**taxableAmount** | **Double** | Taxable amount | [optional] |
diff --git a/docs/A1099/V2/Form1099MiscListItem.md b/docs/A1099/V2/Form1099MiscListItem.md
index fa79f28..00f734d 100644
--- a/docs/A1099/V2/Form1099MiscListItem.md
+++ b/docs/A1099/V2/Form1099MiscListItem.md
@@ -7,13 +7,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**secondTinNotice** | **Boolean** | Second TIN notice | [optional] |
|**rents** | **Double** | Rents | [optional] |
|**royalties** | **Double** | Royalties | [optional] |
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
@@ -29,7 +28,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -37,15 +36,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/Form1099MiscListItemResponse.md b/docs/A1099/V2/Form1099MiscListItemResponse.md
index ced8e32..3e12a4b 100644
--- a/docs/A1099/V2/Form1099MiscListItemResponse.md
+++ b/docs/A1099/V2/Form1099MiscListItemResponse.md
@@ -12,14 +12,15 @@
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalAndHealthCare** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
-|**excessGoldenParachute** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
-|**grossAmountPaidAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
+|**grossProceedsPaidToAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**fishPurchasedForResale** | **Double** | Fish purchased for resale | [optional] |
|**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] |
-|**section409AIncome** | **Double** | Nonqualified deferred compensation | [optional] |
+|**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] |
|**id** | **String** | ID of the form | [readonly] |
|**type** | **String** | Type of the form. Will be one of: * 940 * 941 * 943 * 944 * 945 * 1042 * 1042-S * 1095-B * 1095-C * 1097-BTC * 1098 * 1098-C * 1098-E * 1098-Q * 1098-T * 3921 * 3922 * 5498 * 5498-ESA * 5498-SA * 1099-MISC * 1099-A * 1099-B * 1099-C * 1099-CAP * 1099-DIV * 1099-G * 1099-INT * 1099-K * 1099-LS * 1099-LTC * 1099-NEC * 1099-OID * 1099-PATR * 1099-Q * 1099-R * 1099-S * 1099-SA * T4A * W-2 * W-2G * 1099-HC | |
|**issuerId** | **Integer** | Issuer ID | |
@@ -27,19 +28,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -47,8 +51,11 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
diff --git a/docs/A1099/V2/Form1099MiscRequest.md b/docs/A1099/V2/Form1099MiscRequest.md
index d7a8f0d..68aa97a 100644
--- a/docs/A1099/V2/Form1099MiscRequest.md
+++ b/docs/A1099/V2/Form1099MiscRequest.md
@@ -7,13 +7,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**secondTinNotice** | **Boolean** | Second TIN notice | [optional] |
|**rents** | **Double** | Rents | [optional] |
|**royalties** | **Double** | Royalties | [optional] |
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
@@ -27,7 +26,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -35,15 +34,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
@@ -60,6 +61,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1099MiscResponse.md b/docs/A1099/V2/Form1099MiscResponse.md
index 8777f22..cac42d6 100644
--- a/docs/A1099/V2/Form1099MiscResponse.md
+++ b/docs/A1099/V2/Form1099MiscResponse.md
@@ -7,13 +7,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**secondTinNotice** | **Boolean** | | [optional] |
|**rents** | **Double** | | [optional] |
|**royalties** | **Double** | | [optional] |
|**otherIncome** | **Double** | | [optional] |
|**fedIncomeTaxWithheld** | **Double** | | [optional] |
|**fishingBoatProceeds** | **Double** | | [optional] |
-|**medicalHealthCarePayments** | **Double** | | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | | [optional] |
|**directSalesIndicator** | **Boolean** | | [optional] |
|**substitutePayments** | **Double** | | [optional] |
|**cropInsuranceProceeds** | **Double** | | [optional] |
@@ -26,7 +25,6 @@
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
-|**userId** | **String** | | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | | [optional] |
|**id** | **String** | | [optional] |
@@ -43,17 +41,20 @@
|**city** | **String** | | [optional] |
|**state** | **String** | | [optional] |
|**zip** | **String** | | [optional] |
-|**recipientEmail** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
|**accountNumber** | **String** | | [optional] |
|**officeCode** | **String** | | [optional] |
-|**recipientNonUsProvince** | **String** | | [optional] |
+|**nonUsProvince** | **String** | | [optional] |
|**countryCode** | **String** | | [optional] |
|**federalEFile** | **Boolean** | | [optional] |
|**postalMail** | **Boolean** | | [optional] |
|**stateEFile** | **Boolean** | | [optional] |
|**tinMatch** | **Boolean** | | [optional] |
+|**noTin** | **Boolean** | | [optional] |
+|**secondTinNotice** | **Boolean** | | [optional] |
|**addressVerification** | **Boolean** | | [optional] |
|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | | [optional] |
|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
@@ -73,6 +74,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1099NecListItem.md b/docs/A1099/V2/Form1099NecListItem.md
index 0e8961b..f24b368 100644
--- a/docs/A1099/V2/Form1099NecListItem.md
+++ b/docs/A1099/V2/Form1099NecListItem.md
@@ -8,7 +8,6 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**secondTinNotice** | **Boolean** | Second TIN notice | [optional] |
|**nonemployeeCompensation** | **Double** | Nonemployee compensation | |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
@@ -18,7 +17,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -26,15 +25,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/Form1099NecListItemResponse.md b/docs/A1099/V2/Form1099NecListItemResponse.md
index a8c312a..3af13bb 100644
--- a/docs/A1099/V2/Form1099NecListItemResponse.md
+++ b/docs/A1099/V2/Form1099NecListItemResponse.md
@@ -17,19 +17,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -37,8 +40,11 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
diff --git a/docs/A1099/V2/Form1099NecRequest.md b/docs/A1099/V2/Form1099NecRequest.md
index a325367..109e65c 100644
--- a/docs/A1099/V2/Form1099NecRequest.md
+++ b/docs/A1099/V2/Form1099NecRequest.md
@@ -7,7 +7,6 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**secondTinNotice** | **Boolean** | Second TIN notice | [optional] |
|**nonemployeeCompensation** | **Double** | Nonemployee compensation | |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
@@ -15,7 +14,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -23,15 +22,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
@@ -48,6 +49,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1099NecResponse.md b/docs/A1099/V2/Form1099NecResponse.md
index 4201869..f9ccc3c 100644
--- a/docs/A1099/V2/Form1099NecResponse.md
+++ b/docs/A1099/V2/Form1099NecResponse.md
@@ -7,14 +7,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**secondTinNotice** | **Boolean** | | [optional] |
|**nonemployeeCompensation** | **Double** | | [optional] |
|**directSalesIndicator** | **Boolean** | | [optional] |
|**federalIncomeTaxWithheld** | **Double** | | [optional] |
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
-|**userId** | **String** | | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | | [optional] |
|**id** | **String** | | [optional] |
@@ -31,17 +29,20 @@
|**city** | **String** | | [optional] |
|**state** | **String** | | [optional] |
|**zip** | **String** | | [optional] |
-|**recipientEmail** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
|**accountNumber** | **String** | | [optional] |
|**officeCode** | **String** | | [optional] |
-|**recipientNonUsProvince** | **String** | | [optional] |
+|**nonUsProvince** | **String** | | [optional] |
|**countryCode** | **String** | | [optional] |
|**federalEFile** | **Boolean** | | [optional] |
|**postalMail** | **Boolean** | | [optional] |
|**stateEFile** | **Boolean** | | [optional] |
|**tinMatch** | **Boolean** | | [optional] |
+|**noTin** | **Boolean** | | [optional] |
+|**secondTinNotice** | **Boolean** | | [optional] |
|**addressVerification** | **Boolean** | | [optional] |
|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | | [optional] |
|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
@@ -61,6 +62,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Form1099RListItem.md b/docs/A1099/V2/Form1099RListItem.md
index cbea69d..4810f62 100644
--- a/docs/A1099/V2/Form1099RListItem.md
+++ b/docs/A1099/V2/Form1099RListItem.md
@@ -33,7 +33,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -41,15 +41,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/Form1099RListItemResponse.md b/docs/A1099/V2/Form1099RListItemResponse.md
index aefb718..4ad80af 100644
--- a/docs/A1099/V2/Form1099RListItemResponse.md
+++ b/docs/A1099/V2/Form1099RListItemResponse.md
@@ -34,19 +34,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -54,8 +57,11 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
diff --git a/docs/A1099/V2/Form1099RRequest.md b/docs/A1099/V2/Form1099RRequest.md
index 54f82ba..e46182c 100644
--- a/docs/A1099/V2/Form1099RRequest.md
+++ b/docs/A1099/V2/Form1099RRequest.md
@@ -31,7 +31,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -39,15 +39,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
@@ -64,6 +66,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/FormRequestBase.md b/docs/A1099/V2/FormRequestBase.md
index 0645d47..78f4e47 100644
--- a/docs/A1099/V2/FormRequestBase.md
+++ b/docs/A1099/V2/FormRequestBase.md
@@ -10,7 +10,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -18,15 +18,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/FormRequestListItemBase.md b/docs/A1099/V2/FormRequestListItemBase.md
index b1d5a49..1e753ea 100644
--- a/docs/A1099/V2/FormRequestListItemBase.md
+++ b/docs/A1099/V2/FormRequestListItemBase.md
@@ -13,7 +13,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -21,15 +21,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
diff --git a/docs/A1099/V2/FormResponseBase.md b/docs/A1099/V2/FormResponseBase.md
index 754f5dc..630f812 100644
--- a/docs/A1099/V2/FormResponseBase.md
+++ b/docs/A1099/V2/FormResponseBase.md
@@ -10,7 +10,6 @@
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
-|**userId** | **String** | | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | | [optional] |
|**id** | **String** | | [optional] |
@@ -27,17 +26,20 @@
|**city** | **String** | | [optional] |
|**state** | **String** | | [optional] |
|**zip** | **String** | | [optional] |
-|**recipientEmail** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
|**accountNumber** | **String** | | [optional] |
|**officeCode** | **String** | | [optional] |
-|**recipientNonUsProvince** | **String** | | [optional] |
+|**nonUsProvince** | **String** | | [optional] |
|**countryCode** | **String** | | [optional] |
|**federalEFile** | **Boolean** | | [optional] |
|**postalMail** | **Boolean** | | [optional] |
|**stateEFile** | **Boolean** | | [optional] |
|**tinMatch** | **Boolean** | | [optional] |
+|**noTin** | **Boolean** | | [optional] |
+|**secondTinNotice** | **Boolean** | | [optional] |
|**addressVerification** | **Boolean** | | [optional] |
|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | | [optional] |
|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
@@ -57,6 +59,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/FormSingleRequestBase.md b/docs/A1099/V2/FormSingleRequestBase.md
index 35b4b3d..e19464a 100644
--- a/docs/A1099/V2/FormSingleRequestBase.md
+++ b/docs/A1099/V2/FormSingleRequestBase.md
@@ -11,7 +11,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -19,15 +19,17 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
@@ -44,6 +46,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
diff --git a/docs/A1099/V2/Forms1099Api.md b/docs/A1099/V2/Forms1099Api.md
index 8ddbf42..06d6a1d 100644
--- a/docs/A1099/V2/Forms1099Api.md
+++ b/docs/A1099/V2/Forms1099Api.md
@@ -20,7 +20,7 @@ Method | HTTP request | Description
Create or update multiple 1099/1095/W2/1042S forms
-This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
+This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"nonUsProvince\": \"\", \"email\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
### Example
@@ -52,7 +52,7 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
Boolean dryRun = false; // Boolean |
- String xCorrelationId = "032e11a9-1930-48bc-9cd5-865dfeb5f8bb"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "85d89e46-adbc-4a36-a615-347bd0ad3549"; // 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/) .
BulkUpsert1099FormsRequest bulkUpsert1099FormsRequest = new BulkUpsert1099FormsRequest(); // BulkUpsert1099FormsRequest |
try {
@@ -141,7 +141,7 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
- String xCorrelationId = "2a525a1d-2ac8-4894-87a5-1bd347d76b1c"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "ac2b2725-9848-49c3-9255-1d638490cc87"; // 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/) .
ICreateForm1099Request icreateForm1099Request = new ICreateForm1099Request(); // ICreateForm1099Request |
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 = "ba633be6-e650-424e-a01c-28c6693b9e3a"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "0839267c-9208-438e-9fcd-3c193fd0216a"; // 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 = "f311cf9a-de50-4d53-9663-bdf93020dd26"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "4c3931c8-2cd4-42f3-9042-7c23336b9f32"; // 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 = "a1c63b5e-c575-4315-90ad-0ac98e71a981"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "9133bfa6-8661-46dc-bbf2-4d45d0439e76"; // 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);
@@ -494,11 +494,11 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
- String $filter = "$filter_example"; // String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held recipientName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false
+ String $filter = "issuerId eq 884781823"; // String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held recipientName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false
Integer $top = 10; // Integer | If nonzero, return no more than this number of results. Used with skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
Integer $skip = 0; // 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 issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt
- String xCorrelationId = "443e5440-659c-4f7d-865e-fd185b0ed923"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "1d1f9e87-4684-46a4-9439-85058f82f858"; // 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 {
Form1099ListResponse result = apiInstance.list1099Forms(avalaraVersion, $filter, $top, $skip, $orderBy, xCorrelationId, xAvalaraClient);
@@ -589,7 +589,7 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String id = "id_example"; // String |
String avalaraVersion = "2.0.0"; // String | API version
- String xCorrelationId = "d65ebcaf-e252-421c-a543-3d1ba4e4175b"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "e59dff29-007e-4aa7-8b11-5ba83766a56a"; // 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/) .
IUpdateForm1099Request iupdateForm1099Request = new IUpdateForm1099Request(); // IUpdateForm1099Request |
try {
diff --git a/docs/A1099/V2/FormsW9Api.md b/docs/A1099/V2/FormsW9Api.md
index 6b5946f..43022da 100644
--- a/docs/A1099/V2/FormsW9Api.md
+++ b/docs/A1099/V2/FormsW9Api.md
@@ -51,7 +51,7 @@ public class Example {
FormsW9Api apiInstance = new FormsW9Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
- String xCorrelationId = "968b9850-b859-4a5a-8165-bd1e444fbf47"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "479b3bdd-2b5c-48b3-b24c-b0ecbe0d07c5"; // 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 {
@@ -138,7 +138,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 = "69926298-ed5b-4d78-8099-b5488589912d"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "7d79301a-ebfd-40a1-a1af-a9a1e44f8936"; // 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);
@@ -223,7 +223,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 = "e138390c-5561-49df-a969-49427e2c5ffa"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "b4cc81aa-1d2e-4cef-aa68-705ea2aaf594"; // 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);
@@ -313,7 +313,7 @@ public class Example {
Integer $skip = 0; // 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 | When true, returns a @recordSetCount in the result set
- String xCorrelationId = "f80bd20b-84ec-47de-913f-304dd9951b58"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "8afdb9ff-bb10-414e-bd81-5cb5175aad0c"; // 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 {
PaginatedW9FormsModel result = apiInstance.listW9Forms(avalaraVersion, $filter, $top, $skip, $orderBy, count, xCorrelationId, xAvalaraClient);
@@ -403,7 +403,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 = "75735dc9-2909-4f11-bc6c-6e1ec0d77264"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "37d1fca1-1efa-454b-a3ff-94ec972b74b4"; // 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 {
IW9FormDataModelsOneOf result = apiInstance.sendW9FormEmail(id, avalaraVersion, xCorrelationId, xAvalaraClient);
@@ -489,7 +489,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 = "d24784a4-9522-46c7-b6e0-8f44cb176f17"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "8c37ab84-020e-452c-ad69-df89a9ac9cfa"; // 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/) .
IW9FormDataModelsOneOf iw9FormDataModelsOneOf = new IW9FormDataModelsOneOf(); // IW9FormDataModelsOneOf | Form to be updated
try {
@@ -577,7 +577,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 = "ee2e9278-6cdb-47ad-82a0-9d5a726f7412"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "2ce587b6-7523-41b2-8033-347329740bcb"; // 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 42a9315..8b831c5 100644
--- a/docs/A1099/V2/Get1099Form200Response.md
+++ b/docs/A1099/V2/Get1099Form200Response.md
@@ -14,19 +14,22 @@
|**issuerTin** | **String** | Issuer TIN | [optional] |
|**taxYear** | **Integer** | Tax year | [optional] |
|**federalEfile** | **Boolean** | Boolean indicating that federal e-filing has been scheduled for this form | |
-|**federalEfileStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Federal e-file status | [optional] [readonly] |
+|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | Federal e-file status | [optional] [readonly] |
|**stateEfile** | **Boolean** | Boolean indicating that state e-filing has been scheduled for this form | |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | State e-file status | [optional] [readonly] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient has been scheduled for this form | |
-|**postalMailStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Postal mail to recipient status | [optional] [readonly] |
+|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | Postal mail to recipient status | [optional] [readonly] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching has been scheduled for this form | |
-|**tinMatchStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | TIN Match status | [optional] [readonly] |
+|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | TIN Match status | [optional] [readonly] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification has been scheduled for this form | |
-|**addressVerificationStatus** | [**Form1099StatusDetailResponse**](Form1099StatusDetailResponse.md) | Address verification status | [optional] [readonly] |
+|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | Address verification status | [optional] [readonly] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | EDelivery status | [optional] [readonly] |
|**referenceId** | **String** | Reference ID | [optional] |
|**email** | **String** | Recipient email address | [optional] |
|**tinType** | **String** | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**tin** | **String** | Recipient Tax ID Number | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second Tin Notice | [optional] |
|**recipientName** | **String** | Recipient name | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | [optional] |
@@ -34,14 +37,16 @@
|**city** | **String** | City | [optional] |
|**state** | **String** | US state | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**foreignProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | [optional] |
+|**accountNumber** | **String** | Account Number | [optional] |
+|**officeCode** | **String** | Office Code | [optional] |
+|**fatcaFilingRequirement** | **Boolean** | FATCA filing requirement | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | Validation errors | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | Creation time | [optional] [readonly] |
|**updatedAt** | **OffsetDateTime** | Update time | [optional] [readonly] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**uniqueFormId** | **String** | Unique form identifier | [optional] |
-|**noTin** | **Boolean** | No TIN indicator | [optional] |
|**recipientDateOfBirth** | **OffsetDateTime** | Recipient's date of birth | [optional] |
|**recipientGiin** | **String** | Recipient's GIIN (Global Intermediary Identification Number) | [optional] |
|**recipientForeignTin** | **String** | Recipient's foreign TIN | [optional] |
@@ -66,6 +71,24 @@
|**intermediaryOrFlowThrough** | [**IntermediaryOrFlowThroughResponse**](IntermediaryOrFlowThroughResponse.md) | Intermediary or flow-through entity information | [optional] |
|**originOfHealthCoverageCode** | **String** | Origin of health coverage code | [optional] |
|**coveredIndividuals** | [**List<CoveredIndividualReferenceResponse>**](CoveredIndividualReferenceResponse.md) | Covered individuals information | [optional] |
+|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
+|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**section1202Gain** | **String** | Section 1202 gain | [optional] |
+|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
+|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
+|**section897CapitalGain** | **String** | Section 897 capital gain | [optional] |
+|**nondividendDistributions** | **String** | Nondividend distributions | [optional] |
+|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
+|**section199ADividends** | **String** | Section 199A dividends | [optional] |
+|**investmentExpenses** | **String** | Investment expenses | [optional] |
+|**foreignTaxPaid** | **String** | Foreign tax paid | [optional] |
+|**foreignCountryOrUSPossession** | **String** | Foreign country or U.S. possession | [optional] |
+|**cashLiquidationDistributions** | **String** | Cash liquidation distributions | [optional] |
+|**noncashLiquidationDistributions** | **String** | Noncash liquidation distributions | [optional] |
+|**exemptInterestDividends** | **String** | Exempt-interest dividends | [optional] |
+|**specifiedPrivateActivityBondInterestDividends** | **String** | Specified private activity bond interest dividends | [optional] |
|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | Filer type (PSE or EPF) | [optional] |
|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | Payment type (payment card or third party network) | [optional] |
|**paymentSettlementEntityNamePhoneNumber** | **String** | Payment settlement entity name and phone number | [optional] |
@@ -73,7 +96,6 @@
|**cardNotPresentTransactions** | **Double** | Card not present transactions | [optional] |
|**merchantCategoryCode** | **String** | Merchant category code | [optional] |
|**paymentTransactionNumber** | **Double** | Number of payment transactions | [optional] |
-|**federalIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**january** | **Double** | January gross payments | [optional] |
|**february** | **Double** | February gross payments | [optional] |
|**march** | **Double** | March gross payments | [optional] |
@@ -91,14 +113,15 @@
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalAndHealthCare** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
-|**excessGoldenParachute** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
-|**grossAmountPaidAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
+|**grossProceedsPaidToAttorney** | **Double** | Gross proceeds paid to an attorney | [optional] |
+|**fishPurchasedForResale** | **Double** | Fish purchased for resale | [optional] |
|**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] |
-|**section409AIncome** | **Double** | Nonqualified deferred compensation | [optional] |
+|**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] |
|**nonemployeeCompensation** | **Double** | Nonemployee compensation | [optional] |
|**grossDistributions** | **Double** | Gross distribution | [optional] |
|**taxableAmount** | **Double** | Taxable amount | [optional] |
diff --git a/docs/A1099/V2/ICreateForm1099Request.md b/docs/A1099/V2/ICreateForm1099Request.md
index c5d0673..ddde994 100644
--- a/docs/A1099/V2/ICreateForm1099Request.md
+++ b/docs/A1099/V2/ICreateForm1099Request.md
@@ -9,8 +9,8 @@
|------------ | ------------- | ------------- | -------------|
|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
-|**totalCapitalGainDistr** | **String** | Total capital gain distributions | [optional] |
-|**unrecapSec1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
|**section1202Gain** | **String** | Section 1202 gain | [optional] |
|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
@@ -30,7 +30,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -38,24 +38,25 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
-|**secondTinNotice** | **Boolean** | Second TIN notice | [optional] |
|**rents** | **Double** | Rents | [optional] |
|**royalties** | **Double** | Royalties | [optional] |
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
@@ -64,6 +65,25 @@
|**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] |
|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
|**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] |
+|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | Filer type (PSE or EPF) | [optional] |
+|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | Payment type (payment card or third party network) | [optional] |
+|**paymentSettlementEntityNamePhoneNumber** | **String** | Payment settlement entity name and phone number | [optional] |
+|**grossAmountPaymentCard** | **Double** | Gross amount of payment card/third party network transactions | [optional] |
+|**cardNotPresentTransactions** | **Double** | Card not present transactions | [optional] |
+|**merchantCategoryCode** | **String** | Merchant category code | [optional] |
+|**paymentTransactionNumber** | **Double** | Number of payment transactions | [optional] |
+|**january** | **Double** | January gross payments | [optional] |
+|**february** | **Double** | February gross payments | [optional] |
+|**march** | **Double** | March gross payments | [optional] |
+|**april** | **Double** | April gross payments | [optional] |
+|**may** | **Double** | May gross payments | [optional] |
+|**june** | **Double** | June gross payments | [optional] |
+|**july** | **Double** | July gross payments | [optional] |
+|**august** | **Double** | August gross payments | [optional] |
+|**sept** | **Double** | September gross payments | [optional] |
+|**october** | **Double** | October gross payments | [optional] |
+|**november** | **Double** | November gross payments | [optional] |
+|**december** | **Double** | December gross payments | [optional] |
|**nonemployeeCompensation** | **Double** | Nonemployee compensation | |
@@ -79,6 +99,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
@@ -93,3 +114,22 @@
+## Enum: FilerTypeEnum
+
+| Name | Value |
+|---- | -----|
+| PSE | "PSE" |
+| EPF | "EPF" |
+| OTHER | "Other" |
+
+
+
+## Enum: PaymentTypeEnum
+
+| Name | Value |
+|---- | -----|
+| MERCHANT_PAYMENT_CARD | "MerchantPaymentCard" |
+| THIRD_PARTY_NETWORK | "ThirdPartyNetwork" |
+
+
+
diff --git a/docs/A1099/V2/IUpdateForm1099Request.md b/docs/A1099/V2/IUpdateForm1099Request.md
index 6ae5360..8f52116 100644
--- a/docs/A1099/V2/IUpdateForm1099Request.md
+++ b/docs/A1099/V2/IUpdateForm1099Request.md
@@ -9,8 +9,8 @@
|------------ | ------------- | ------------- | -------------|
|**totalOrdinaryDividends** | **String** | Total ordinary dividends | [optional] |
|**qualifiedDividends** | **String** | Qualified dividends | [optional] |
-|**totalCapitalGainDistr** | **String** | Total capital gain distributions | [optional] |
-|**unrecapSec1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
+|**totalCapitalGainDistributions** | **String** | Total capital gain distributions | [optional] |
+|**unrecapturedSection1250Gain** | **String** | Unrecaptured Section 1250 gain | [optional] |
|**section1202Gain** | **String** | Section 1202 gain | [optional] |
|**collectiblesGain** | **String** | Collectibles (28%) gain | [optional] |
|**section897OrdinaryDividends** | **String** | Section 897 ordinary dividends | [optional] |
@@ -30,7 +30,7 @@
|**issuerId** | **String** | Issuer ID | [optional] |
|**referenceId** | **String** | Reference ID | [optional] |
|**recipientTin** | **String** | Recipient Tax ID Number | [optional] |
-|**recipientName** | **String** | Recipient name | |
+|**recipientName** | **String** | Recipient name | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN | [optional] |
|**recipientSecondName** | **String** | Recipient second name | [optional] |
|**address** | **String** | Address | |
@@ -38,24 +38,25 @@
|**city** | **String** | City | |
|**state** | **String** | US state. Required if CountryCode is \"US\". | [optional] |
|**zip** | **String** | Zip/postal code | [optional] |
-|**recipientEmail** | **String** | Recipient email address | [optional] |
+|**email** | **String** | Recipient email address | [optional] |
|**accountNumber** | **String** | Account number | [optional] |
|**officeCode** | **String** | Office code | [optional] |
-|**recipientNonUsProvince** | **String** | Foreign province | [optional] |
+|**nonUsProvince** | **String** | Foreign province | [optional] |
|**countryCode** | **String** | Country code, as defined at https://www.irs.gov/e-file-providers/country-codes | |
|**federalEFile** | **Boolean** | Boolean indicating that federal e-filing should be scheduled for this form | [optional] |
|**postalMail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|**stateEFile** | **Boolean** | Boolean indicating that state e-filing should be scheduled for this form | [optional] |
|**tinMatch** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
+|**noTin** | **Boolean** | Indicates whether the recipient has no TIN | [optional] |
+|**secondTinNotice** | **Boolean** | Second TIN notice in three years | [optional] |
|**addressVerification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingRequest**](StateAndLocalWithholdingRequest.md) | State and local withholding information | [optional] |
-|**secondTinNotice** | **Boolean** | Second TIN notice | [optional] |
|**rents** | **Double** | Rents | [optional] |
|**royalties** | **Double** | Royalties | [optional] |
|**otherIncome** | **Double** | Other income | [optional] |
|**fedIncomeTaxWithheld** | **Double** | Federal income tax withheld | [optional] |
|**fishingBoatProceeds** | **Double** | Fishing boat proceeds | [optional] |
-|**medicalHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | Medical and health care payments | [optional] |
|**directSalesIndicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale | [optional] |
|**substitutePayments** | **Double** | Substitute payments in lieu of dividends or interest | [optional] |
|**cropInsuranceProceeds** | **Double** | Crop insurance proceeds | [optional] |
@@ -64,6 +65,25 @@
|**section409ADeferrals** | **Double** | Section 409A deferrals | [optional] |
|**excessGoldenParachutePayments** | **Double** | (Legacy field) Excess golden parachute payments | [optional] |
|**nonqualifiedDeferredCompensation** | **Double** | Nonqualified deferred compensation | [optional] |
+|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | Filer type (PSE or EPF) | [optional] |
+|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | Payment type (payment card or third party network) | [optional] |
+|**paymentSettlementEntityNamePhoneNumber** | **String** | Payment settlement entity name and phone number | [optional] |
+|**grossAmountPaymentCard** | **Double** | Gross amount of payment card/third party network transactions | [optional] |
+|**cardNotPresentTransactions** | **Double** | Card not present transactions | [optional] |
+|**merchantCategoryCode** | **String** | Merchant category code | [optional] |
+|**paymentTransactionNumber** | **Double** | Number of payment transactions | [optional] |
+|**january** | **Double** | January gross payments | [optional] |
+|**february** | **Double** | February gross payments | [optional] |
+|**march** | **Double** | March gross payments | [optional] |
+|**april** | **Double** | April gross payments | [optional] |
+|**may** | **Double** | May gross payments | [optional] |
+|**june** | **Double** | June gross payments | [optional] |
+|**july** | **Double** | July gross payments | [optional] |
+|**august** | **Double** | August gross payments | [optional] |
+|**sept** | **Double** | September gross payments | [optional] |
+|**october** | **Double** | October gross payments | [optional] |
+|**november** | **Double** | November gross payments | [optional] |
+|**december** | **Double** | December gross payments | [optional] |
|**nonemployeeCompensation** | **Double** | Nonemployee compensation | |
@@ -79,6 +99,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
@@ -93,3 +114,22 @@
+## Enum: FilerTypeEnum
+
+| Name | Value |
+|---- | -----|
+| PSE | "PSE" |
+| EPF | "EPF" |
+| OTHER | "Other" |
+
+
+
+## Enum: PaymentTypeEnum
+
+| Name | Value |
+|---- | -----|
+| MERCHANT_PAYMENT_CARD | "MerchantPaymentCard" |
+| THIRD_PARTY_NETWORK | "ThirdPartyNetwork" |
+
+
+
diff --git a/docs/A1099/V2/IrsResponse.md b/docs/A1099/V2/IrsResponse.md
new file mode 100644
index 0000000..9dd56c7
--- /dev/null
+++ b/docs/A1099/V2/IrsResponse.md
@@ -0,0 +1,14 @@
+
+
+# IrsResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**code** | **String** | The IRS response code. | [optional] |
+|**description** | **String** | The description for the IRS response. | [optional] |
+
+
+
diff --git a/docs/A1099/V2/Issuers1099Api.md b/docs/A1099/V2/Issuers1099Api.md
index e100273..56d314d 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 = "ce42bd72-2b6a-438a-8e8b-983910339267"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "cd08f20c-e93f-4ed9-9fcc-1c43161a5ab1"; // 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/) .
IssuerCommand issuerCommand = new IssuerCommand(); // IssuerCommand | 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 = "706821c8-d3fe-4fb8-82c2-5d6cf92c475e"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "b31ed293-452b-4f1a-9781-92bf4cc732b2"; // 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 = "14762757-396e-4e07-851b-2b7dd2542250"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "6f7412dc-b5d2-4657-9ae0-9eb72e1cbaac"; // 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 = "$filter_example"; // String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST.
+ String $filter = "taxYear eq 2024"; // 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 = "99c911ff-f4eb-42a8-841d-342a6cd1c7d5"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "6ab59fe8-83fc-4fa3-9617-abb9b8d1bdb7"; // 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 = "092e5597-f724-49e7-bffa-4f1f21cb6236"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "2f427cf4-fa55-4abb-85da-d79a4a846191"; // 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/) .
IssuerCommand issuerCommand = new IssuerCommand(); // IssuerCommand | The issuer to update
try {
diff --git a/docs/A1099/V2/Jobs1099Api.md b/docs/A1099/V2/Jobs1099Api.md
index f7f130a..69e3a18 100644
--- a/docs/A1099/V2/Jobs1099Api.md
+++ b/docs/A1099/V2/Jobs1099Api.md
@@ -46,7 +46,7 @@ public class Example {
Jobs1099Api apiInstance = new Jobs1099Api(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 = "0d84e31f-0d44-4920-9f1b-5daa360e7925"; // String | Unique correlation Id in a GUID format
+ String xCorrelationId = "85be69fe-08d7-40f4-8ce2-dd043ea36143"; // 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 {
JobResult result = apiInstance.getJob(id, avalaraVersion, xCorrelationId, xAvalaraClient);
diff --git a/docs/A1099/V2/OfferAndCoverageRequest.md b/docs/A1099/V2/OfferAndCoverageRequest.md
new file mode 100644
index 0000000..c97a3ea
--- /dev/null
+++ b/docs/A1099/V2/OfferAndCoverageRequest.md
@@ -0,0 +1,17 @@
+
+
+# OfferAndCoverageRequest
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**month** | **String** | Month of coverage | [optional] |
+|**offerCode** | **String** | Offer of coverage code | [optional] |
+|**share** | **Double** | Employee required contribution share | [optional] |
+|**safeHarborCode** | **String** | Safe harbor code | [optional] |
+|**zipCode** | **String** | ZIP code for coverage area | [optional] |
+
+
+
diff --git a/docs/A1099/V2/TinMatchStatusResponse.md b/docs/A1099/V2/TinMatchStatusResponse.md
new file mode 100644
index 0000000..7a77e1a
--- /dev/null
+++ b/docs/A1099/V2/TinMatchStatusResponse.md
@@ -0,0 +1,26 @@
+
+
+# TinMatchStatusResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**time** | **OffsetDateTime** | The current timestamp for the TIN match request. | [optional] |
+|**status** | [**StatusEnum**](#StatusEnum) | The current status for the TIN match request. | [optional] |
+|**irsResponse** | [**IrsResponse**](IrsResponse.md) | The IRS response. | [optional] |
+
+
+
+## Enum: StatusEnum
+
+| Name | Value |
+|---- | -----|
+| NONE | "None" |
+| PENDING | "Pending" |
+| MATCHED | "Matched" |
+| FAILED | "Failed" |
+
+
+
diff --git a/docs/A1099/V2/Update1099Form200Response.md b/docs/A1099/V2/Update1099Form200Response.md
index dae8fd3..7464017 100644
--- a/docs/A1099/V2/Update1099Form200Response.md
+++ b/docs/A1099/V2/Update1099Form200Response.md
@@ -10,7 +10,6 @@
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] [readonly] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
-|**userId** | **String** | | [optional] |
|**stateAndLocalWithholding** | [**StateAndLocalWithholdingResponse**](StateAndLocalWithholdingResponse.md) | | [optional] |
|**tinType** | [**TinTypeEnum**](#TinTypeEnum) | | [optional] |
|**id** | **String** | | [optional] |
@@ -27,29 +26,51 @@
|**city** | **String** | | [optional] |
|**state** | **String** | | [optional] |
|**zip** | **String** | | [optional] |
-|**recipientEmail** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
|**accountNumber** | **String** | | [optional] |
|**officeCode** | **String** | | [optional] |
-|**recipientNonUsProvince** | **String** | | [optional] |
+|**nonUsProvince** | **String** | | [optional] |
|**countryCode** | **String** | | [optional] |
|**federalEFile** | **Boolean** | | [optional] |
|**postalMail** | **Boolean** | | [optional] |
|**stateEFile** | **Boolean** | | [optional] |
|**tinMatch** | **Boolean** | | [optional] |
+|**noTin** | **Boolean** | | [optional] |
+|**secondTinNotice** | **Boolean** | | [optional] |
|**addressVerification** | **Boolean** | | [optional] |
|**federalEfileStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
+|**eDeliveryStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**stateEfileStatus** | [**List<StateEfileStatusDetailResponse>**](StateEfileStatusDetailResponse.md) | | [optional] |
|**postalMailStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**tinMatchStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**addressVerificationStatus** | [**StatusDetail**](StatusDetail.md) | | [optional] |
|**validationErrors** | [**List<ValidationErrorResponse>**](ValidationErrorResponse.md) | | [optional] |
-|**secondTinNotice** | **Boolean** | | [optional] |
+|**filerType** | [**FilerTypeEnum**](#FilerTypeEnum) | | [optional] |
+|**paymentType** | [**PaymentTypeEnum**](#PaymentTypeEnum) | | [optional] |
+|**paymentSettlementEntityNamePhoneNumber** | **String** | | [optional] |
+|**grossAmountPaymentCard** | **Double** | | [optional] |
+|**cardNotPresentTransactions** | **Double** | | [optional] |
+|**merchantCategoryCode** | **String** | | [optional] |
+|**paymentTransactionNumber** | **Double** | | [optional] |
+|**federalIncomeTaxWithheld** | **Double** | | [optional] |
+|**january** | **Double** | | [optional] |
+|**february** | **Double** | | [optional] |
+|**march** | **Double** | | [optional] |
+|**april** | **Double** | | [optional] |
+|**may** | **Double** | | [optional] |
+|**june** | **Double** | | [optional] |
+|**july** | **Double** | | [optional] |
+|**august** | **Double** | | [optional] |
+|**sept** | **Double** | | [optional] |
+|**october** | **Double** | | [optional] |
+|**november** | **Double** | | [optional] |
+|**december** | **Double** | | [optional] |
|**rents** | **Double** | | [optional] |
|**royalties** | **Double** | | [optional] |
|**otherIncome** | **Double** | | [optional] |
|**fedIncomeTaxWithheld** | **Double** | | [optional] |
|**fishingBoatProceeds** | **Double** | | [optional] |
-|**medicalHealthCarePayments** | **Double** | | [optional] |
+|**medicalAndHealthCarePayments** | **Double** | | [optional] |
|**directSalesIndicator** | **Boolean** | | [optional] |
|**substitutePayments** | **Double** | | [optional] |
|**cropInsuranceProceeds** | **Double** | | [optional] |
@@ -60,7 +81,6 @@
|**excessGoldenParachutePayments** | **Double** | | [optional] |
|**nonqualifiedDeferredCompensation** | **Double** | | [optional] |
|**nonemployeeCompensation** | **Double** | | [optional] |
-|**federalIncomeTaxWithheld** | **Double** | | [optional] |
@@ -75,6 +95,7 @@
| _1099_K | "1099-K" |
| _1095_B | "1095-B" |
| _1042_S | "1042-S" |
+| _1095_C | "1095-C" |
@@ -89,3 +110,22 @@
+## Enum: FilerTypeEnum
+
+| Name | Value |
+|---- | -----|
+| PSE | "PSE" |
+| EPF | "EPF" |
+| OTHER | "Other" |
+
+
+
+## Enum: PaymentTypeEnum
+
+| Name | Value |
+|---- | -----|
+| MERCHANT_PAYMENT_CARD | "MerchantPaymentCard" |
+| THIRD_PARTY_NETWORK | "ThirdPartyNetwork" |
+
+
+
diff --git a/docs/A1099/V2/W9FormResponse.md b/docs/A1099/V2/W9FormResponse.md
index e6befbd..2b8cb53 100644
--- a/docs/A1099/V2/W9FormResponse.md
+++ b/docs/A1099/V2/W9FormResponse.md
@@ -25,6 +25,7 @@
|**tin** | **String** | The taxpayer identification number (TIN). | [optional] |
|**backupWithholding** | **Boolean** | Indicates whether backup withholding applies. | [optional] |
|**is1099able** | **Boolean** | Indicates whether the individual or entity should be issued a 1099 form. | [optional] |
+|**tinMatchStatus** | [**TinMatchStatusResponse**](TinMatchStatusResponse.md) | The TIN Match status from IRS. | [optional] |
|**id** | **String** | The unique identifier for the form. | [optional] |
|**type** | **String** | The form type. | [optional] |
|**entryStatus** | **String** | The form status. | [optional] |
diff --git a/pom.xml b/pom.xml
index bd25367..697017d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
avalara-sdk
jar
avalara-sdk
- 25.8.0
+ 25.8.1
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 aa8555f..c46ae7f 100644
--- a/src/main/java/Avalara/SDK/api/A1099/V2/CompaniesW9Api.java
+++ b/src/main/java/Avalara/SDK/api/A1099/V2/CompaniesW9Api.java
@@ -1091,7 +1091,7 @@ public UpdateCompanyRequest getUpdateCompanyRequest() {
private void SetConfiguration(ApiClient client) {
if (client == null) throw new MissingFormatArgumentException("client");
- this.localVarApiClient.setSdkVersion("25.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
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 f1cf55e..6cd49fc 100644
--- a/src/main/java/Avalara/SDK/api/A1099/V2/Forms1099Api.java
+++ b/src/main/java/Avalara/SDK/api/A1099/V2/Forms1099Api.java
@@ -179,7 +179,7 @@ private okhttp3.Call bulkUpsert1099FormsValidateBeforeCall(BulkUpsert1099FormsRe
/**
* Create or update multiple 1099/1095/W2/1042S forms
- * This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
+ * This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"nonUsProvince\": \"\", \"email\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
* @param requestOptions Object which represents the options available for a given API/request
* @return Form1099ProccessResult
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -200,7 +200,7 @@ public Form1099ProccessResult bulkUpsert1099Forms(BulkUpsert1099FormsRequest req
/**
* Create or update multiple 1099/1095/W2/1042S forms
- * This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
+ * This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"nonUsProvince\": \"\", \"email\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
* @param requestOptions Object which represents the options available for a given API/request
* @return ApiResponse<Form1099ProccessResult>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -222,7 +222,7 @@ public ApiResponse bulkUpsert1099FormsWithHttpInfo(BulkU
/**
* Create or update multiple 1099/1095/W2/1042S forms (asynchronously)
- * This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
+ * This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"nonUsProvince\": \"\", \"email\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
* @param requestOptions Object which represents the options available for a given API/request
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -1497,7 +1497,7 @@ public Update1099FormRequest getUpdate1099FormRequest() {
private void SetConfiguration(ApiClient client) {
if (client == null) throw new MissingFormatArgumentException("client");
- this.localVarApiClient.setSdkVersion("25.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
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 1fd871f..718bb89 100644
--- a/src/main/java/Avalara/SDK/api/A1099/V2/FormsW9Api.java
+++ b/src/main/java/Avalara/SDK/api/A1099/V2/FormsW9Api.java
@@ -1444,7 +1444,7 @@ public UploadW9FilesRequest getUploadW9FilesRequest() {
private void SetConfiguration(ApiClient client) {
if (client == null) throw new MissingFormatArgumentException("client");
- this.localVarApiClient.setSdkVersion("25.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
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 e39345c..12db78c 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
diff --git a/src/main/java/Avalara/SDK/api/A1099/V2/Jobs1099Api.java b/src/main/java/Avalara/SDK/api/A1099/V2/Jobs1099Api.java
index a1b381e..0f6d81e 100644
--- a/src/main/java/Avalara/SDK/api/A1099/V2/Jobs1099Api.java
+++ b/src/main/java/Avalara/SDK/api/A1099/V2/Jobs1099Api.java
@@ -275,7 +275,7 @@ public GetJobRequest getGetJobRequest() {
private void SetConfiguration(ApiClient client) {
if (client == null) throw new MissingFormatArgumentException("client");
- this.localVarApiClient.setSdkVersion("25.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
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 3cf9f10..006ca20 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.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 c8bd31b..b2baa56 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.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 0396783..a8f89b5 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.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 76f4f00..db84058 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
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 0372876..1063b04 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
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 a234848..3b5ec51 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.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 3b516c1..e8c631e 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.8.0");
+ this.localVarApiClient.setSdkVersion("25.8.1");
}
}
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/BulkUpsert1099FormsRequest.java b/src/main/java/Avalara/SDK/model/A1099/V2/BulkUpsert1099FormsRequest.java
index b661075..cd874e4 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/BulkUpsert1099FormsRequest.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/BulkUpsert1099FormsRequest.java
@@ -22,6 +22,7 @@
import java.util.Objects;
import Avalara.SDK.model.A1099.V2.Form1042SList;
import Avalara.SDK.model.A1099.V2.Form1095BList;
+import Avalara.SDK.model.A1099.V2.Form1095CList;
import Avalara.SDK.model.A1099.V2.Form1099DivList;
import Avalara.SDK.model.A1099.V2.Form1099KList;
import Avalara.SDK.model.A1099.V2.Form1099MiscList;
@@ -87,6 +88,7 @@ public TypeAdapter create(Gson gson, TypeToken type) {
final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
final TypeAdapter adapterForm1042SList = gson.getDelegateAdapter(this, TypeToken.get(Form1042SList.class));
final TypeAdapter adapterForm1095BList = gson.getDelegateAdapter(this, TypeToken.get(Form1095BList.class));
+ final TypeAdapter adapterForm1095CList = gson.getDelegateAdapter(this, TypeToken.get(Form1095CList.class));
final TypeAdapter adapterForm1099DivList = gson.getDelegateAdapter(this, TypeToken.get(Form1099DivList.class));
final TypeAdapter adapterForm1099KList = gson.getDelegateAdapter(this, TypeToken.get(Form1099KList.class));
final TypeAdapter adapterForm1099MiscList = gson.getDelegateAdapter(this, TypeToken.get(Form1099MiscList.class));
@@ -113,6 +115,12 @@ public void write(JsonWriter out, BulkUpsert1099FormsRequest value) throws IOExc
elementAdapter.write(out, element);
return;
}
+ // check if the actual instance is of the type `Form1095CList`
+ if (value.getActualInstance() instanceof Form1095CList) {
+ JsonElement element = adapterForm1095CList.toJsonTree((Form1095CList)value.getActualInstance());
+ elementAdapter.write(out, element);
+ return;
+ }
// check if the actual instance is of the type `Form1099DivList`
if (value.getActualInstance() instanceof Form1099DivList) {
JsonElement element = adapterForm1099DivList.toJsonTree((Form1099DivList)value.getActualInstance());
@@ -143,7 +151,7 @@ public void write(JsonWriter out, BulkUpsert1099FormsRequest value) throws IOExc
elementAdapter.write(out, element);
return;
}
- throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: Form1042SList, Form1095BList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList");
+ throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList");
}
@Override
@@ -179,6 +187,18 @@ public BulkUpsert1099FormsRequest read(JsonReader in) throws IOException {
errorMessages.add(String.format("Deserialization for Form1095BList failed with `%s`.", e.getMessage()));
log.log(Level.FINER, "Input data does not match schema 'Form1095BList'", e);
}
+ // deserialize Form1095CList
+ try {
+ // validate the JSON object to see if any exception is thrown
+ Form1095CList.validateJsonElement(jsonElement);
+ actualAdapter = adapterForm1095CList;
+ match++;
+ log.log(Level.FINER, "Input data matches schema 'Form1095CList'");
+ } catch (Exception e) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for Form1095CList failed with `%s`.", e.getMessage()));
+ log.log(Level.FINER, "Input data does not match schema 'Form1095CList'", e);
+ }
// deserialize Form1099DivList
try {
// validate the JSON object to see if any exception is thrown
@@ -267,6 +287,7 @@ public BulkUpsert1099FormsRequest(Object o) {
static {
schemas.put("Form1042SList", Form1042SList.class);
schemas.put("Form1095BList", Form1095BList.class);
+ schemas.put("Form1095CList", Form1095CList.class);
schemas.put("Form1099DivList", Form1099DivList.class);
schemas.put("Form1099KList", Form1099KList.class);
schemas.put("Form1099MiscList", Form1099MiscList.class);
@@ -282,7 +303,7 @@ public Map> getSchemas() {
/**
* Set the instance that matches the oneOf child schema, check
* the instance parameter is valid against the oneOf child schemas:
- * Form1042SList, Form1095BList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList
+ * Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList
*
* It could be an instance of the 'oneOf' schemas.
*/
@@ -298,6 +319,11 @@ public void setActualInstance(Object instance) {
return;
}
+ if (instance instanceof Form1095CList) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (instance instanceof Form1099DivList) {
super.setActualInstance(instance);
return;
@@ -323,14 +349,14 @@ public void setActualInstance(Object instance) {
return;
}
- throw new RuntimeException("Invalid instance type. Must be Form1042SList, Form1095BList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList");
+ throw new RuntimeException("Invalid instance type. Must be Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList");
}
/**
* Get the actual instance, which can be the following:
- * Form1042SList, Form1095BList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList
+ * Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList
*
- * @return The actual instance (Form1042SList, Form1095BList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList)
+ * @return The actual instance (Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList)
*/
@SuppressWarnings("unchecked")
@Override
@@ -358,6 +384,16 @@ public Form1042SList getForm1042SList() throws ClassCastException {
public Form1095BList getForm1095BList() throws ClassCastException {
return (Form1095BList)super.getActualInstance();
}
+ /**
+ * Get the actual instance of `Form1095CList`. If the actual instance is not `Form1095CList`,
+ * the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `Form1095CList`
+ * @throws ClassCastException if the instance is not `Form1095CList`
+ */
+ public Form1095CList getForm1095CList() throws ClassCastException {
+ return (Form1095CList)super.getActualInstance();
+ }
/**
* Get the actual instance of `Form1099DivList`. If the actual instance is not `Form1099DivList`,
* the ClassCastException will be thrown.
@@ -435,6 +471,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
errorMessages.add(String.format("Deserialization for Form1095BList failed with `%s`.", e.getMessage()));
// continue to the next one
}
+ // validate the json string with Form1095CList
+ try {
+ Form1095CList.validateJsonElement(jsonElement);
+ validCount++;
+ } catch (Exception e) {
+ errorMessages.add(String.format("Deserialization for Form1095CList failed with `%s`.", e.getMessage()));
+ // continue to the next one
+ }
// validate the json string with Form1099DivList
try {
Form1099DivList.validateJsonElement(jsonElement);
@@ -476,7 +520,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// continue to the next one
}
if (validCount != 1) {
- throw new IOException(String.format("The JSON string is invalid for BulkUpsert1099FormsRequest with oneOf schemas: Form1042SList, Form1095BList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString()));
+ throw new IOException(String.format("The JSON string is invalid for BulkUpsert1099FormsRequest with oneOf schemas: Form1042SList, Form1095BList, Form1095CList, Form1099DivList, Form1099KList, Form1099MiscList, Form1099NecList, Form1099RList. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString()));
}
}
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/CoveredIndividualRequest.java b/src/main/java/Avalara/SDK/model/A1099/V2/CoveredIndividualRequest.java
index 0c1a57b..adc8c8e 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/CoveredIndividualRequest.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/CoveredIndividualRequest.java
@@ -83,57 +83,57 @@ public class CoveredIndividualRequest {
@SerializedName(SERIALIZED_NAME_BIRTH_DATE)
private OffsetDateTime birthDate;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR0 = "coveredMonthIndicator0";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR0)
- private Boolean coveredMonthIndicator0;
+ public static final String SERIALIZED_NAME_COVERED_ALL_MONTHS = "coveredAllMonths";
+ @SerializedName(SERIALIZED_NAME_COVERED_ALL_MONTHS)
+ private Boolean coveredAllMonths;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR1 = "coveredMonthIndicator1";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR1)
- private Boolean coveredMonthIndicator1;
+ public static final String SERIALIZED_NAME_COVERED_JANUARY = "coveredJanuary";
+ @SerializedName(SERIALIZED_NAME_COVERED_JANUARY)
+ private Boolean coveredJanuary;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR2 = "coveredMonthIndicator2";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR2)
- private Boolean coveredMonthIndicator2;
+ public static final String SERIALIZED_NAME_COVERED_FEBRUARY = "coveredFebruary";
+ @SerializedName(SERIALIZED_NAME_COVERED_FEBRUARY)
+ private Boolean coveredFebruary;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR3 = "coveredMonthIndicator3";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR3)
- private Boolean coveredMonthIndicator3;
+ public static final String SERIALIZED_NAME_COVERED_MARCH = "coveredMarch";
+ @SerializedName(SERIALIZED_NAME_COVERED_MARCH)
+ private Boolean coveredMarch;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR4 = "coveredMonthIndicator4";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR4)
- private Boolean coveredMonthIndicator4;
+ public static final String SERIALIZED_NAME_COVERED_APRIL = "coveredApril";
+ @SerializedName(SERIALIZED_NAME_COVERED_APRIL)
+ private Boolean coveredApril;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR5 = "coveredMonthIndicator5";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR5)
- private Boolean coveredMonthIndicator5;
+ public static final String SERIALIZED_NAME_COVERED_MAY = "coveredMay";
+ @SerializedName(SERIALIZED_NAME_COVERED_MAY)
+ private Boolean coveredMay;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR6 = "coveredMonthIndicator6";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR6)
- private Boolean coveredMonthIndicator6;
+ public static final String SERIALIZED_NAME_COVERED_JUNE = "coveredJune";
+ @SerializedName(SERIALIZED_NAME_COVERED_JUNE)
+ private Boolean coveredJune;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR7 = "coveredMonthIndicator7";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR7)
- private Boolean coveredMonthIndicator7;
+ public static final String SERIALIZED_NAME_COVERED_JULY = "coveredJuly";
+ @SerializedName(SERIALIZED_NAME_COVERED_JULY)
+ private Boolean coveredJuly;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR8 = "coveredMonthIndicator8";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR8)
- private Boolean coveredMonthIndicator8;
+ public static final String SERIALIZED_NAME_COVERED_AUGUST = "coveredAugust";
+ @SerializedName(SERIALIZED_NAME_COVERED_AUGUST)
+ private Boolean coveredAugust;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR9 = "coveredMonthIndicator9";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR9)
- private Boolean coveredMonthIndicator9;
+ public static final String SERIALIZED_NAME_COVERED_SEPTEMBER = "coveredSeptember";
+ @SerializedName(SERIALIZED_NAME_COVERED_SEPTEMBER)
+ private Boolean coveredSeptember;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR10 = "coveredMonthIndicator10";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR10)
- private Boolean coveredMonthIndicator10;
+ public static final String SERIALIZED_NAME_COVERED_OCTOBER = "coveredOctober";
+ @SerializedName(SERIALIZED_NAME_COVERED_OCTOBER)
+ private Boolean coveredOctober;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR11 = "coveredMonthIndicator11";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR11)
- private Boolean coveredMonthIndicator11;
+ public static final String SERIALIZED_NAME_COVERED_NOVEMBER = "coveredNovember";
+ @SerializedName(SERIALIZED_NAME_COVERED_NOVEMBER)
+ private Boolean coveredNovember;
- public static final String SERIALIZED_NAME_COVERED_MONTH_INDICATOR12 = "coveredMonthIndicator12";
- @SerializedName(SERIALIZED_NAME_COVERED_MONTH_INDICATOR12)
- private Boolean coveredMonthIndicator12;
+ public static final String SERIALIZED_NAME_COVERED_DECEMBER = "coveredDecember";
+ @SerializedName(SERIALIZED_NAME_COVERED_DECEMBER)
+ private Boolean coveredDecember;
public CoveredIndividualRequest() {
}
@@ -252,250 +252,250 @@ public void setBirthDate(OffsetDateTime birthDate) {
}
- public CoveredIndividualRequest coveredMonthIndicator0(Boolean coveredMonthIndicator0) {
- this.coveredMonthIndicator0 = coveredMonthIndicator0;
+ public CoveredIndividualRequest coveredAllMonths(Boolean coveredAllMonths) {
+ this.coveredAllMonths = coveredAllMonths;
return this;
}
/**
* Coverage indicator for all 12 months
- * @return coveredMonthIndicator0
+ * @return coveredAllMonths
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator0() {
- return coveredMonthIndicator0;
+ public Boolean getCoveredAllMonths() {
+ return coveredAllMonths;
}
- public void setCoveredMonthIndicator0(Boolean coveredMonthIndicator0) {
- this.coveredMonthIndicator0 = coveredMonthIndicator0;
+ public void setCoveredAllMonths(Boolean coveredAllMonths) {
+ this.coveredAllMonths = coveredAllMonths;
}
- public CoveredIndividualRequest coveredMonthIndicator1(Boolean coveredMonthIndicator1) {
- this.coveredMonthIndicator1 = coveredMonthIndicator1;
+ public CoveredIndividualRequest coveredJanuary(Boolean coveredJanuary) {
+ this.coveredJanuary = coveredJanuary;
return this;
}
/**
* Coverage indicator for January
- * @return coveredMonthIndicator1
+ * @return coveredJanuary
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator1() {
- return coveredMonthIndicator1;
+ public Boolean getCoveredJanuary() {
+ return coveredJanuary;
}
- public void setCoveredMonthIndicator1(Boolean coveredMonthIndicator1) {
- this.coveredMonthIndicator1 = coveredMonthIndicator1;
+ public void setCoveredJanuary(Boolean coveredJanuary) {
+ this.coveredJanuary = coveredJanuary;
}
- public CoveredIndividualRequest coveredMonthIndicator2(Boolean coveredMonthIndicator2) {
- this.coveredMonthIndicator2 = coveredMonthIndicator2;
+ public CoveredIndividualRequest coveredFebruary(Boolean coveredFebruary) {
+ this.coveredFebruary = coveredFebruary;
return this;
}
/**
* Coverage indicator for February
- * @return coveredMonthIndicator2
+ * @return coveredFebruary
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator2() {
- return coveredMonthIndicator2;
+ public Boolean getCoveredFebruary() {
+ return coveredFebruary;
}
- public void setCoveredMonthIndicator2(Boolean coveredMonthIndicator2) {
- this.coveredMonthIndicator2 = coveredMonthIndicator2;
+ public void setCoveredFebruary(Boolean coveredFebruary) {
+ this.coveredFebruary = coveredFebruary;
}
- public CoveredIndividualRequest coveredMonthIndicator3(Boolean coveredMonthIndicator3) {
- this.coveredMonthIndicator3 = coveredMonthIndicator3;
+ public CoveredIndividualRequest coveredMarch(Boolean coveredMarch) {
+ this.coveredMarch = coveredMarch;
return this;
}
/**
* Coverage indicator for March
- * @return coveredMonthIndicator3
+ * @return coveredMarch
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator3() {
- return coveredMonthIndicator3;
+ public Boolean getCoveredMarch() {
+ return coveredMarch;
}
- public void setCoveredMonthIndicator3(Boolean coveredMonthIndicator3) {
- this.coveredMonthIndicator3 = coveredMonthIndicator3;
+ public void setCoveredMarch(Boolean coveredMarch) {
+ this.coveredMarch = coveredMarch;
}
- public CoveredIndividualRequest coveredMonthIndicator4(Boolean coveredMonthIndicator4) {
- this.coveredMonthIndicator4 = coveredMonthIndicator4;
+ public CoveredIndividualRequest coveredApril(Boolean coveredApril) {
+ this.coveredApril = coveredApril;
return this;
}
/**
* Coverage indicator for April
- * @return coveredMonthIndicator4
+ * @return coveredApril
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator4() {
- return coveredMonthIndicator4;
+ public Boolean getCoveredApril() {
+ return coveredApril;
}
- public void setCoveredMonthIndicator4(Boolean coveredMonthIndicator4) {
- this.coveredMonthIndicator4 = coveredMonthIndicator4;
+ public void setCoveredApril(Boolean coveredApril) {
+ this.coveredApril = coveredApril;
}
- public CoveredIndividualRequest coveredMonthIndicator5(Boolean coveredMonthIndicator5) {
- this.coveredMonthIndicator5 = coveredMonthIndicator5;
+ public CoveredIndividualRequest coveredMay(Boolean coveredMay) {
+ this.coveredMay = coveredMay;
return this;
}
/**
* Coverage indicator for May
- * @return coveredMonthIndicator5
+ * @return coveredMay
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator5() {
- return coveredMonthIndicator5;
+ public Boolean getCoveredMay() {
+ return coveredMay;
}
- public void setCoveredMonthIndicator5(Boolean coveredMonthIndicator5) {
- this.coveredMonthIndicator5 = coveredMonthIndicator5;
+ public void setCoveredMay(Boolean coveredMay) {
+ this.coveredMay = coveredMay;
}
- public CoveredIndividualRequest coveredMonthIndicator6(Boolean coveredMonthIndicator6) {
- this.coveredMonthIndicator6 = coveredMonthIndicator6;
+ public CoveredIndividualRequest coveredJune(Boolean coveredJune) {
+ this.coveredJune = coveredJune;
return this;
}
/**
* Coverage indicator for June
- * @return coveredMonthIndicator6
+ * @return coveredJune
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator6() {
- return coveredMonthIndicator6;
+ public Boolean getCoveredJune() {
+ return coveredJune;
}
- public void setCoveredMonthIndicator6(Boolean coveredMonthIndicator6) {
- this.coveredMonthIndicator6 = coveredMonthIndicator6;
+ public void setCoveredJune(Boolean coveredJune) {
+ this.coveredJune = coveredJune;
}
- public CoveredIndividualRequest coveredMonthIndicator7(Boolean coveredMonthIndicator7) {
- this.coveredMonthIndicator7 = coveredMonthIndicator7;
+ public CoveredIndividualRequest coveredJuly(Boolean coveredJuly) {
+ this.coveredJuly = coveredJuly;
return this;
}
/**
* Coverage indicator for July
- * @return coveredMonthIndicator7
+ * @return coveredJuly
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator7() {
- return coveredMonthIndicator7;
+ public Boolean getCoveredJuly() {
+ return coveredJuly;
}
- public void setCoveredMonthIndicator7(Boolean coveredMonthIndicator7) {
- this.coveredMonthIndicator7 = coveredMonthIndicator7;
+ public void setCoveredJuly(Boolean coveredJuly) {
+ this.coveredJuly = coveredJuly;
}
- public CoveredIndividualRequest coveredMonthIndicator8(Boolean coveredMonthIndicator8) {
- this.coveredMonthIndicator8 = coveredMonthIndicator8;
+ public CoveredIndividualRequest coveredAugust(Boolean coveredAugust) {
+ this.coveredAugust = coveredAugust;
return this;
}
/**
* Coverage indicator for August
- * @return coveredMonthIndicator8
+ * @return coveredAugust
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator8() {
- return coveredMonthIndicator8;
+ public Boolean getCoveredAugust() {
+ return coveredAugust;
}
- public void setCoveredMonthIndicator8(Boolean coveredMonthIndicator8) {
- this.coveredMonthIndicator8 = coveredMonthIndicator8;
+ public void setCoveredAugust(Boolean coveredAugust) {
+ this.coveredAugust = coveredAugust;
}
- public CoveredIndividualRequest coveredMonthIndicator9(Boolean coveredMonthIndicator9) {
- this.coveredMonthIndicator9 = coveredMonthIndicator9;
+ public CoveredIndividualRequest coveredSeptember(Boolean coveredSeptember) {
+ this.coveredSeptember = coveredSeptember;
return this;
}
/**
* Coverage indicator for September
- * @return coveredMonthIndicator9
+ * @return coveredSeptember
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator9() {
- return coveredMonthIndicator9;
+ public Boolean getCoveredSeptember() {
+ return coveredSeptember;
}
- public void setCoveredMonthIndicator9(Boolean coveredMonthIndicator9) {
- this.coveredMonthIndicator9 = coveredMonthIndicator9;
+ public void setCoveredSeptember(Boolean coveredSeptember) {
+ this.coveredSeptember = coveredSeptember;
}
- public CoveredIndividualRequest coveredMonthIndicator10(Boolean coveredMonthIndicator10) {
- this.coveredMonthIndicator10 = coveredMonthIndicator10;
+ public CoveredIndividualRequest coveredOctober(Boolean coveredOctober) {
+ this.coveredOctober = coveredOctober;
return this;
}
/**
* Coverage indicator for October
- * @return coveredMonthIndicator10
+ * @return coveredOctober
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator10() {
- return coveredMonthIndicator10;
+ public Boolean getCoveredOctober() {
+ return coveredOctober;
}
- public void setCoveredMonthIndicator10(Boolean coveredMonthIndicator10) {
- this.coveredMonthIndicator10 = coveredMonthIndicator10;
+ public void setCoveredOctober(Boolean coveredOctober) {
+ this.coveredOctober = coveredOctober;
}
- public CoveredIndividualRequest coveredMonthIndicator11(Boolean coveredMonthIndicator11) {
- this.coveredMonthIndicator11 = coveredMonthIndicator11;
+ public CoveredIndividualRequest coveredNovember(Boolean coveredNovember) {
+ this.coveredNovember = coveredNovember;
return this;
}
/**
* Coverage indicator for November
- * @return coveredMonthIndicator11
+ * @return coveredNovember
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator11() {
- return coveredMonthIndicator11;
+ public Boolean getCoveredNovember() {
+ return coveredNovember;
}
- public void setCoveredMonthIndicator11(Boolean coveredMonthIndicator11) {
- this.coveredMonthIndicator11 = coveredMonthIndicator11;
+ public void setCoveredNovember(Boolean coveredNovember) {
+ this.coveredNovember = coveredNovember;
}
- public CoveredIndividualRequest coveredMonthIndicator12(Boolean coveredMonthIndicator12) {
- this.coveredMonthIndicator12 = coveredMonthIndicator12;
+ public CoveredIndividualRequest coveredDecember(Boolean coveredDecember) {
+ this.coveredDecember = coveredDecember;
return this;
}
/**
* Coverage indicator for December
- * @return coveredMonthIndicator12
+ * @return coveredDecember
*/
@javax.annotation.Nullable
- public Boolean getCoveredMonthIndicator12() {
- return coveredMonthIndicator12;
+ public Boolean getCoveredDecember() {
+ return coveredDecember;
}
- public void setCoveredMonthIndicator12(Boolean coveredMonthIndicator12) {
- this.coveredMonthIndicator12 = coveredMonthIndicator12;
+ public void setCoveredDecember(Boolean coveredDecember) {
+ this.coveredDecember = coveredDecember;
}
@@ -515,19 +515,19 @@ public boolean equals(Object o) {
Objects.equals(this.nameSuffix, coveredIndividualRequest.nameSuffix) &&
Objects.equals(this.tin, coveredIndividualRequest.tin) &&
Objects.equals(this.birthDate, coveredIndividualRequest.birthDate) &&
- Objects.equals(this.coveredMonthIndicator0, coveredIndividualRequest.coveredMonthIndicator0) &&
- Objects.equals(this.coveredMonthIndicator1, coveredIndividualRequest.coveredMonthIndicator1) &&
- Objects.equals(this.coveredMonthIndicator2, coveredIndividualRequest.coveredMonthIndicator2) &&
- Objects.equals(this.coveredMonthIndicator3, coveredIndividualRequest.coveredMonthIndicator3) &&
- Objects.equals(this.coveredMonthIndicator4, coveredIndividualRequest.coveredMonthIndicator4) &&
- Objects.equals(this.coveredMonthIndicator5, coveredIndividualRequest.coveredMonthIndicator5) &&
- Objects.equals(this.coveredMonthIndicator6, coveredIndividualRequest.coveredMonthIndicator6) &&
- Objects.equals(this.coveredMonthIndicator7, coveredIndividualRequest.coveredMonthIndicator7) &&
- Objects.equals(this.coveredMonthIndicator8, coveredIndividualRequest.coveredMonthIndicator8) &&
- Objects.equals(this.coveredMonthIndicator9, coveredIndividualRequest.coveredMonthIndicator9) &&
- Objects.equals(this.coveredMonthIndicator10, coveredIndividualRequest.coveredMonthIndicator10) &&
- Objects.equals(this.coveredMonthIndicator11, coveredIndividualRequest.coveredMonthIndicator11) &&
- Objects.equals(this.coveredMonthIndicator12, coveredIndividualRequest.coveredMonthIndicator12);
+ Objects.equals(this.coveredAllMonths, coveredIndividualRequest.coveredAllMonths) &&
+ Objects.equals(this.coveredJanuary, coveredIndividualRequest.coveredJanuary) &&
+ Objects.equals(this.coveredFebruary, coveredIndividualRequest.coveredFebruary) &&
+ Objects.equals(this.coveredMarch, coveredIndividualRequest.coveredMarch) &&
+ Objects.equals(this.coveredApril, coveredIndividualRequest.coveredApril) &&
+ Objects.equals(this.coveredMay, coveredIndividualRequest.coveredMay) &&
+ Objects.equals(this.coveredJune, coveredIndividualRequest.coveredJune) &&
+ Objects.equals(this.coveredJuly, coveredIndividualRequest.coveredJuly) &&
+ Objects.equals(this.coveredAugust, coveredIndividualRequest.coveredAugust) &&
+ Objects.equals(this.coveredSeptember, coveredIndividualRequest.coveredSeptember) &&
+ Objects.equals(this.coveredOctober, coveredIndividualRequest.coveredOctober) &&
+ Objects.equals(this.coveredNovember, coveredIndividualRequest.coveredNovember) &&
+ Objects.equals(this.coveredDecember, coveredIndividualRequest.coveredDecember);
}
private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
@@ -536,7 +536,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(firstName, middleName, lastName, nameSuffix, tin, birthDate, coveredMonthIndicator0, coveredMonthIndicator1, coveredMonthIndicator2, coveredMonthIndicator3, coveredMonthIndicator4, coveredMonthIndicator5, coveredMonthIndicator6, coveredMonthIndicator7, coveredMonthIndicator8, coveredMonthIndicator9, coveredMonthIndicator10, coveredMonthIndicator11, coveredMonthIndicator12);
+ return Objects.hash(firstName, middleName, lastName, nameSuffix, tin, birthDate, coveredAllMonths, coveredJanuary, coveredFebruary, coveredMarch, coveredApril, coveredMay, coveredJune, coveredJuly, coveredAugust, coveredSeptember, coveredOctober, coveredNovember, coveredDecember);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -556,19 +556,19 @@ public String toString() {
sb.append(" nameSuffix: ").append(toIndentedString(nameSuffix)).append("\n");
sb.append(" tin: ").append(toIndentedString(tin)).append("\n");
sb.append(" birthDate: ").append(toIndentedString(birthDate)).append("\n");
- sb.append(" coveredMonthIndicator0: ").append(toIndentedString(coveredMonthIndicator0)).append("\n");
- sb.append(" coveredMonthIndicator1: ").append(toIndentedString(coveredMonthIndicator1)).append("\n");
- sb.append(" coveredMonthIndicator2: ").append(toIndentedString(coveredMonthIndicator2)).append("\n");
- sb.append(" coveredMonthIndicator3: ").append(toIndentedString(coveredMonthIndicator3)).append("\n");
- sb.append(" coveredMonthIndicator4: ").append(toIndentedString(coveredMonthIndicator4)).append("\n");
- sb.append(" coveredMonthIndicator5: ").append(toIndentedString(coveredMonthIndicator5)).append("\n");
- sb.append(" coveredMonthIndicator6: ").append(toIndentedString(coveredMonthIndicator6)).append("\n");
- sb.append(" coveredMonthIndicator7: ").append(toIndentedString(coveredMonthIndicator7)).append("\n");
- sb.append(" coveredMonthIndicator8: ").append(toIndentedString(coveredMonthIndicator8)).append("\n");
- sb.append(" coveredMonthIndicator9: ").append(toIndentedString(coveredMonthIndicator9)).append("\n");
- sb.append(" coveredMonthIndicator10: ").append(toIndentedString(coveredMonthIndicator10)).append("\n");
- sb.append(" coveredMonthIndicator11: ").append(toIndentedString(coveredMonthIndicator11)).append("\n");
- sb.append(" coveredMonthIndicator12: ").append(toIndentedString(coveredMonthIndicator12)).append("\n");
+ sb.append(" coveredAllMonths: ").append(toIndentedString(coveredAllMonths)).append("\n");
+ sb.append(" coveredJanuary: ").append(toIndentedString(coveredJanuary)).append("\n");
+ sb.append(" coveredFebruary: ").append(toIndentedString(coveredFebruary)).append("\n");
+ sb.append(" coveredMarch: ").append(toIndentedString(coveredMarch)).append("\n");
+ sb.append(" coveredApril: ").append(toIndentedString(coveredApril)).append("\n");
+ sb.append(" coveredMay: ").append(toIndentedString(coveredMay)).append("\n");
+ sb.append(" coveredJune: ").append(toIndentedString(coveredJune)).append("\n");
+ sb.append(" coveredJuly: ").append(toIndentedString(coveredJuly)).append("\n");
+ sb.append(" coveredAugust: ").append(toIndentedString(coveredAugust)).append("\n");
+ sb.append(" coveredSeptember: ").append(toIndentedString(coveredSeptember)).append("\n");
+ sb.append(" coveredOctober: ").append(toIndentedString(coveredOctober)).append("\n");
+ sb.append(" coveredNovember: ").append(toIndentedString(coveredNovember)).append("\n");
+ sb.append(" coveredDecember: ").append(toIndentedString(coveredDecember)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -597,19 +597,19 @@ private String toIndentedString(Object o) {
openapiFields.add("nameSuffix");
openapiFields.add("tin");
openapiFields.add("birthDate");
- openapiFields.add("coveredMonthIndicator0");
- openapiFields.add("coveredMonthIndicator1");
- openapiFields.add("coveredMonthIndicator2");
- openapiFields.add("coveredMonthIndicator3");
- openapiFields.add("coveredMonthIndicator4");
- openapiFields.add("coveredMonthIndicator5");
- openapiFields.add("coveredMonthIndicator6");
- openapiFields.add("coveredMonthIndicator7");
- openapiFields.add("coveredMonthIndicator8");
- openapiFields.add("coveredMonthIndicator9");
- openapiFields.add("coveredMonthIndicator10");
- openapiFields.add("coveredMonthIndicator11");
- openapiFields.add("coveredMonthIndicator12");
+ openapiFields.add("coveredAllMonths");
+ openapiFields.add("coveredJanuary");
+ openapiFields.add("coveredFebruary");
+ openapiFields.add("coveredMarch");
+ openapiFields.add("coveredApril");
+ openapiFields.add("coveredMay");
+ openapiFields.add("coveredJune");
+ openapiFields.add("coveredJuly");
+ openapiFields.add("coveredAugust");
+ openapiFields.add("coveredSeptember");
+ openapiFields.add("coveredOctober");
+ openapiFields.add("coveredNovember");
+ openapiFields.add("coveredDecember");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Create1099Form201Response.java b/src/main/java/Avalara/SDK/model/A1099/V2/Create1099Form201Response.java
index a1b1d9e..694c508 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Create1099Form201Response.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Create1099Form201Response.java
@@ -24,15 +24,16 @@
import Avalara.SDK.model.A1099.V2.Form1042SListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1095BListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099BaseResponse;
+import Avalara.SDK.model.A1099.V2.Form1099DivListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099KListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099MiscListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099NecListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099RListItemResponse;
-import Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse;
import Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThroughResponse;
import Avalara.SDK.model.A1099.V2.PrimaryWithholdingAgentResponse;
import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -96,6 +97,7 @@ public TypeAdapter create(Gson gson, TypeToken type) {
final TypeAdapter adapterForm1099BaseResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099BaseResponse.class));
final TypeAdapter adapterForm1042SListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1042SListItemResponse.class));
final TypeAdapter adapterForm1095BListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1095BListItemResponse.class));
+ final TypeAdapter adapterForm1099DivListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099DivListItemResponse.class));
final TypeAdapter adapterForm1099KListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099KListItemResponse.class));
final TypeAdapter adapterForm1099MiscListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099MiscListItemResponse.class));
final TypeAdapter adapterForm1099NecListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099NecListItemResponse.class));
@@ -127,6 +129,12 @@ public void write(JsonWriter out, Create1099Form201Response value) throws IOExce
elementAdapter.write(out, element);
return;
}
+ // check if the actual instance is of the type `Form1099DivListItemResponse`
+ if (value.getActualInstance() instanceof Form1099DivListItemResponse) {
+ JsonElement element = adapterForm1099DivListItemResponse.toJsonTree((Form1099DivListItemResponse)value.getActualInstance());
+ elementAdapter.write(out, element);
+ return;
+ }
// check if the actual instance is of the type `Form1099KListItemResponse`
if (value.getActualInstance() instanceof Form1099KListItemResponse) {
JsonElement element = adapterForm1099KListItemResponse.toJsonTree((Form1099KListItemResponse)value.getActualInstance());
@@ -151,7 +159,7 @@ public void write(JsonWriter out, Create1099Form201Response value) throws IOExce
elementAdapter.write(out, element);
return;
}
- throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
+ throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
}
@Override
@@ -199,6 +207,18 @@ public Create1099Form201Response read(JsonReader in) throws IOException {
errorMessages.add(String.format("Deserialization for Form1095BListItemResponse failed with `%s`.", e.getMessage()));
log.log(Level.FINER, "Input data does not match schema 'Form1095BListItemResponse'", e);
}
+ // deserialize Form1099DivListItemResponse
+ try {
+ // validate the JSON object to see if any exception is thrown
+ Form1099DivListItemResponse.validateJsonElement(jsonElement);
+ actualAdapter = adapterForm1099DivListItemResponse;
+ match++;
+ log.log(Level.FINER, "Input data matches schema 'Form1099DivListItemResponse'");
+ } catch (Exception e) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for Form1099DivListItemResponse failed with `%s`.", e.getMessage()));
+ log.log(Level.FINER, "Input data does not match schema 'Form1099DivListItemResponse'", e);
+ }
// deserialize Form1099KListItemResponse
try {
// validate the JSON object to see if any exception is thrown
@@ -276,6 +296,7 @@ public Create1099Form201Response(Object o) {
schemas.put("Form1099BaseResponse", Form1099BaseResponse.class);
schemas.put("Form1042SListItemResponse", Form1042SListItemResponse.class);
schemas.put("Form1095BListItemResponse", Form1095BListItemResponse.class);
+ schemas.put("Form1099DivListItemResponse", Form1099DivListItemResponse.class);
schemas.put("Form1099KListItemResponse", Form1099KListItemResponse.class);
schemas.put("Form1099MiscListItemResponse", Form1099MiscListItemResponse.class);
schemas.put("Form1099NecListItemResponse", Form1099NecListItemResponse.class);
@@ -290,7 +311,7 @@ public Map> getSchemas() {
/**
* Set the instance that matches the oneOf child schema, check
* the instance parameter is valid against the oneOf child schemas:
- * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
+ * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
*
* It could be an instance of the 'oneOf' schemas.
*/
@@ -311,6 +332,11 @@ public void setActualInstance(Object instance) {
return;
}
+ if (instance instanceof Form1099DivListItemResponse) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (instance instanceof Form1099KListItemResponse) {
super.setActualInstance(instance);
return;
@@ -331,14 +357,14 @@ public void setActualInstance(Object instance) {
return;
}
- throw new RuntimeException("Invalid instance type. Must be Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
+ throw new RuntimeException("Invalid instance type. Must be Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
}
/**
* Get the actual instance, which can be the following:
- * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
+ * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
*
- * @return The actual instance (Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse)
+ * @return The actual instance (Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse)
*/
@SuppressWarnings("unchecked")
@Override
@@ -376,6 +402,16 @@ public Form1042SListItemResponse getForm1042SListItemResponse() throws ClassCast
public Form1095BListItemResponse getForm1095BListItemResponse() throws ClassCastException {
return (Form1095BListItemResponse)super.getActualInstance();
}
+ /**
+ * Get the actual instance of `Form1099DivListItemResponse`. If the actual instance is not `Form1099DivListItemResponse`,
+ * the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `Form1099DivListItemResponse`
+ * @throws ClassCastException if the instance is not `Form1099DivListItemResponse`
+ */
+ public Form1099DivListItemResponse getForm1099DivListItemResponse() throws ClassCastException {
+ return (Form1099DivListItemResponse)super.getActualInstance();
+ }
/**
* Get the actual instance of `Form1099KListItemResponse`. If the actual instance is not `Form1099KListItemResponse`,
* the ClassCastException will be thrown.
@@ -451,6 +487,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
errorMessages.add(String.format("Deserialization for Form1095BListItemResponse failed with `%s`.", e.getMessage()));
// continue to the next one
}
+ // validate the json string with Form1099DivListItemResponse
+ try {
+ Form1099DivListItemResponse.validateJsonElement(jsonElement);
+ validCount++;
+ } catch (Exception e) {
+ errorMessages.add(String.format("Deserialization for Form1099DivListItemResponse failed with `%s`.", e.getMessage()));
+ // continue to the next one
+ }
// validate the json string with Form1099KListItemResponse
try {
Form1099KListItemResponse.validateJsonElement(jsonElement);
@@ -484,7 +528,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// continue to the next one
}
if (validCount != 1) {
- throw new IOException(String.format("The JSON string is invalid for Create1099Form201Response with oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString()));
+ throw new IOException(String.format("The JSON string is invalid for Create1099Form201Response with oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString()));
}
}
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/CreateW9Form201Response.java b/src/main/java/Avalara/SDK/model/A1099/V2/CreateW9Form201Response.java
index 302b835..19ae7f9 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/CreateW9Form201Response.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/CreateW9Form201Response.java
@@ -21,6 +21,7 @@
import java.util.Objects;
import Avalara.SDK.model.A1099.V2.SubstantialUsOwnerResponse;
+import Avalara.SDK.model.A1099.V2.TinMatchStatusResponse;
import Avalara.SDK.model.A1099.V2.W4FormResponse;
import Avalara.SDK.model.A1099.V2.W8BenEFormResponse;
import Avalara.SDK.model.A1099.V2.W8BenFormResponse;
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItem.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItem.java
index 7d9d031..2f28d08 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItem.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItem.java
@@ -750,9 +750,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -762,9 +762,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -786,6 +786,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -1319,7 +1323,7 @@ public Form1042SListItem recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -1462,22 +1466,22 @@ public void setZip(String zip) {
}
- public Form1042SListItem recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1042SListItem email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -1519,22 +1523,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1042SListItem recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1042SListItem nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1633,6 +1637,25 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1042SListItem secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1042SListItem addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -1716,15 +1739,16 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1042SListItem.city) &&
Objects.equals(this.state, form1042SListItem.state) &&
Objects.equals(this.zip, form1042SListItem.zip) &&
- Objects.equals(this.recipientEmail, form1042SListItem.recipientEmail) &&
+ Objects.equals(this.email, form1042SListItem.email) &&
Objects.equals(this.accountNumber, form1042SListItem.accountNumber) &&
Objects.equals(this.officeCode, form1042SListItem.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1042SListItem.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1042SListItem.nonUsProvince) &&
Objects.equals(this.countryCode, form1042SListItem.countryCode) &&
Objects.equals(this.federalEFile, form1042SListItem.federalEFile) &&
Objects.equals(this.postalMail, form1042SListItem.postalMail) &&
Objects.equals(this.stateEFile, form1042SListItem.stateEFile) &&
Objects.equals(this.tinMatch, form1042SListItem.tinMatch) &&
+ Objects.equals(this.secondTinNotice, form1042SListItem.secondTinNotice) &&
Objects.equals(this.addressVerification, form1042SListItem.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1042SListItem.stateAndLocalWithholding);
}
@@ -1735,7 +1759,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(uniqueFormId, noTin, recipientDateOfBirth, recipientGiin, recipientForeignTin, lobCode, incomeCode, grossIncome, withholdingIndicator, taxCountryCode, exemptionCodeChap3, exemptionCodeChap4, taxRateChap3, withholdingAllowance, federalTaxWithheld, taxNotDepositedIndicator, academicIndicator, taxWithheldOtherAgents, amountRepaid, taxPaidAgent, chap3StatusCode, chap4StatusCode, primaryWithholdingAgent, intermediaryOrFlowThrough, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(uniqueFormId, noTin, recipientDateOfBirth, recipientGiin, recipientForeignTin, lobCode, incomeCode, grossIncome, withholdingIndicator, taxCountryCode, exemptionCodeChap3, exemptionCodeChap4, taxRateChap3, withholdingAllowance, federalTaxWithheld, taxNotDepositedIndicator, academicIndicator, taxWithheldOtherAgents, amountRepaid, taxPaidAgent, chap3StatusCode, chap4StatusCode, primaryWithholdingAgent, intermediaryOrFlowThrough, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1784,15 +1808,16 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -1828,21 +1853,22 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1949,7 +1975,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1977,8 +2003,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1986,8 +2012,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItemResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItemResponse.java
index 79b5f82..fecdaa9 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItemResponse.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SListItemResponse.java
@@ -20,11 +20,11 @@
package Avalara.SDK.model.A1099.V2;
import java.util.Objects;
-import Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse;
import Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThroughResponse;
import Avalara.SDK.model.A1099.V2.PrimaryWithholdingAgentResponse;
import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -193,7 +193,7 @@ public class Form1042SListItemResponse {
public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS = "federalEfileStatus";
@SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
- private Form1099StatusDetailResponse federalEfileStatus;
+ private StatusDetail federalEfileStatus;
public static final String SERIALIZED_NAME_STATE_EFILE = "stateEfile";
@SerializedName(SERIALIZED_NAME_STATE_EFILE)
@@ -209,7 +209,7 @@ public class Form1042SListItemResponse {
public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS = "postalMailStatus";
@SerializedName(SERIALIZED_NAME_POSTAL_MAIL_STATUS)
- private Form1099StatusDetailResponse postalMailStatus;
+ private StatusDetail postalMailStatus;
public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
@@ -217,7 +217,7 @@ public class Form1042SListItemResponse {
public static final String SERIALIZED_NAME_TIN_MATCH_STATUS = "tinMatchStatus";
@SerializedName(SERIALIZED_NAME_TIN_MATCH_STATUS)
- private Form1099StatusDetailResponse tinMatchStatus;
+ private StatusDetail tinMatchStatus;
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
@@ -225,7 +225,11 @@ public class Form1042SListItemResponse {
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS = "addressVerificationStatus";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS)
- private Form1099StatusDetailResponse addressVerificationStatus;
+ private StatusDetail addressVerificationStatus;
+
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
@SerializedName(SERIALIZED_NAME_REFERENCE_ID)
@@ -243,6 +247,10 @@ public class Form1042SListItemResponse {
@SerializedName(SERIALIZED_NAME_TIN)
private String tin;
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
@SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
private String recipientName;
@@ -271,14 +279,26 @@ public class Form1042SListItemResponse {
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_FOREIGN_PROVINCE = "foreignProvince";
- @SerializedName(SERIALIZED_NAME_FOREIGN_PROVINCE)
- private String foreignProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
private String countryCode;
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
+ @SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
+ private Boolean fatcaFilingRequirement;
+
public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors";
@SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS)
private List validationErrors;
@@ -300,11 +320,12 @@ public Form1042SListItemResponse() {
public Form1042SListItemResponse(
String id,
- Form1099StatusDetailResponse federalEfileStatus,
+ StatusDetail federalEfileStatus,
List stateEfileStatus,
- Form1099StatusDetailResponse postalMailStatus,
- Form1099StatusDetailResponse tinMatchStatus,
- Form1099StatusDetailResponse addressVerificationStatus,
+ StatusDetail postalMailStatus,
+ StatusDetail tinMatchStatus,
+ StatusDetail addressVerificationStatus,
+ StatusDetail eDeliveryStatus,
List validationErrors,
OffsetDateTime createdAt,
OffsetDateTime updatedAt
@@ -316,6 +337,7 @@ public Form1042SListItemResponse(
this.postalMailStatus = postalMailStatus;
this.tinMatchStatus = tinMatchStatus;
this.addressVerificationStatus = addressVerificationStatus;
+ this.eDeliveryStatus = eDeliveryStatus;
this.validationErrors = validationErrors;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
@@ -907,7 +929,7 @@ public void setFederalEfile(Boolean federalEfile) {
* @return federalEfileStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getFederalEfileStatus() {
+ public StatusDetail getFederalEfileStatus() {
return federalEfileStatus;
}
@@ -967,7 +989,7 @@ public void setPostalMail(Boolean postalMail) {
* @return postalMailStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getPostalMailStatus() {
+ public StatusDetail getPostalMailStatus() {
return postalMailStatus;
}
@@ -997,7 +1019,7 @@ public void setTinMatch(Boolean tinMatch) {
* @return tinMatchStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getTinMatchStatus() {
+ public StatusDetail getTinMatchStatus() {
return tinMatchStatus;
}
@@ -1027,12 +1049,23 @@ public void setAddressVerification(Boolean addressVerification) {
* @return addressVerificationStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getAddressVerificationStatus() {
+ public StatusDetail getAddressVerificationStatus() {
return addressVerificationStatus;
}
+ /**
+ * EDelivery status
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+
+
public Form1042SListItemResponse referenceId(String referenceId) {
this.referenceId = referenceId;
return this;
@@ -1109,6 +1142,25 @@ public void setTin(String tin) {
}
+ public Form1042SListItemResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second Tin Notice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1042SListItemResponse recipientName(String recipientName) {
this.recipientName = recipientName;
return this;
@@ -1242,22 +1294,22 @@ public void setZip(String zip) {
}
- public Form1042SListItemResponse foreignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public Form1042SListItemResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return foreignProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getForeignProvince() {
- return foreignProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setForeignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1280,6 +1332,63 @@ public void setCountryCode(String countryCode) {
}
+ public Form1042SListItemResponse accountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Account Number
+ * @return accountNumber
+ */
+ @javax.annotation.Nullable
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ public void setAccountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+
+ public Form1042SListItemResponse officeCode(String officeCode) {
+ this.officeCode = officeCode;
+ return this;
+ }
+
+ /**
+ * Office Code
+ * @return officeCode
+ */
+ @javax.annotation.Nullable
+ public String getOfficeCode() {
+ return officeCode;
+ }
+
+ public void setOfficeCode(String officeCode) {
+ this.officeCode = officeCode;
+ }
+
+
+ public Form1042SListItemResponse fatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ return this;
+ }
+
+ /**
+ * FATCA filing requirement
+ * @return fatcaFilingRequirement
+ */
+ @javax.annotation.Nullable
+ public Boolean getFatcaFilingRequirement() {
+ return fatcaFilingRequirement;
+ }
+
+ public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ }
+
+
/**
* Validation errors
* @return validationErrors
@@ -1382,10 +1491,12 @@ public boolean equals(Object o) {
Objects.equals(this.tinMatchStatus, form1042SListItemResponse.tinMatchStatus) &&
Objects.equals(this.addressVerification, form1042SListItemResponse.addressVerification) &&
Objects.equals(this.addressVerificationStatus, form1042SListItemResponse.addressVerificationStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1042SListItemResponse.eDeliveryStatus) &&
Objects.equals(this.referenceId, form1042SListItemResponse.referenceId) &&
Objects.equals(this.email, form1042SListItemResponse.email) &&
Objects.equals(this.tinType, form1042SListItemResponse.tinType) &&
Objects.equals(this.tin, form1042SListItemResponse.tin) &&
+ Objects.equals(this.secondTinNotice, form1042SListItemResponse.secondTinNotice) &&
Objects.equals(this.recipientName, form1042SListItemResponse.recipientName) &&
Objects.equals(this.recipientSecondName, form1042SListItemResponse.recipientSecondName) &&
Objects.equals(this.address, form1042SListItemResponse.address) &&
@@ -1393,8 +1504,11 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1042SListItemResponse.city) &&
Objects.equals(this.state, form1042SListItemResponse.state) &&
Objects.equals(this.zip, form1042SListItemResponse.zip) &&
- Objects.equals(this.foreignProvince, form1042SListItemResponse.foreignProvince) &&
+ Objects.equals(this.nonUsProvince, form1042SListItemResponse.nonUsProvince) &&
Objects.equals(this.countryCode, form1042SListItemResponse.countryCode) &&
+ Objects.equals(this.accountNumber, form1042SListItemResponse.accountNumber) &&
+ Objects.equals(this.officeCode, form1042SListItemResponse.officeCode) &&
+ Objects.equals(this.fatcaFilingRequirement, form1042SListItemResponse.fatcaFilingRequirement) &&
Objects.equals(this.validationErrors, form1042SListItemResponse.validationErrors) &&
Objects.equals(this.createdAt, form1042SListItemResponse.createdAt) &&
Objects.equals(this.updatedAt, form1042SListItemResponse.updatedAt) &&
@@ -1407,7 +1521,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(uniqueFormId, noTin, recipientDateOfBirth, recipientGiin, recipientForeignTin, lobCode, incomeCode, grossIncome, withholdingIndicator, taxCountryCode, exemptionCodeChap3, exemptionCodeChap4, taxRateChap3, withholdingAllowance, federalTaxWithheld, taxNotDepositedIndicator, academicIndicator, taxWithheldOtherAgents, amountRepaid, taxPaidAgent, chap3StatusCode, chap4StatusCode, primaryWithholdingAgent, intermediaryOrFlowThrough, id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, referenceId, email, tinType, tin, recipientName, recipientSecondName, address, address2, city, state, zip, foreignProvince, countryCode, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
+ return Objects.hash(uniqueFormId, noTin, recipientDateOfBirth, recipientGiin, recipientForeignTin, lobCode, incomeCode, grossIncome, withholdingIndicator, taxCountryCode, exemptionCodeChap3, exemptionCodeChap4, taxRateChap3, withholdingAllowance, federalTaxWithheld, taxNotDepositedIndicator, academicIndicator, taxWithheldOtherAgents, amountRepaid, taxPaidAgent, chap3StatusCode, chap4StatusCode, primaryWithholdingAgent, intermediaryOrFlowThrough, id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, eDeliveryStatus, referenceId, email, tinType, tin, secondTinNotice, recipientName, recipientSecondName, address, address2, city, state, zip, nonUsProvince, countryCode, accountNumber, officeCode, fatcaFilingRequirement, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1461,10 +1575,12 @@ public String toString() {
sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" addressVerificationStatus: ").append(toIndentedString(addressVerificationStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
sb.append(" tin: ").append(toIndentedString(tin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" recipientName: ").append(toIndentedString(recipientName)).append("\n");
sb.append(" recipientSecondName: ").append(toIndentedString(recipientSecondName)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
@@ -1472,8 +1588,11 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" foreignProvince: ").append(toIndentedString(foreignProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
+ sb.append(" fatcaFilingRequirement: ").append(toIndentedString(fatcaFilingRequirement)).append("\n");
sb.append(" validationErrors: ").append(toIndentedString(validationErrors)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
@@ -1516,10 +1635,13 @@ private String toIndentedString(Object o) {
openapiFields.add("tinMatchStatus");
openapiFields.add("addressVerification");
openapiFields.add("addressVerificationStatus");
+ openapiFields.add("eDeliveryStatus");
openapiFields.add("referenceId");
openapiFields.add("email");
openapiFields.add("tinType");
openapiFields.add("tin");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("recipientName");
openapiFields.add("recipientSecondName");
openapiFields.add("address");
@@ -1527,8 +1649,11 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("foreignProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
+ openapiFields.add("accountNumber");
+ openapiFields.add("officeCode");
+ openapiFields.add("fatcaFilingRequirement");
openapiFields.add("validationErrors");
openapiFields.add("createdAt");
openapiFields.add("updatedAt");
@@ -1632,7 +1757,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `federalEfileStatus`
if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("federalEfileStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
}
if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
@@ -1650,15 +1775,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `postalMailStatus`
if (jsonObj.get("postalMailStatus") != null && !jsonObj.get("postalMailStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("postalMailStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("postalMailStatus"));
}
// validate the optional field `tinMatchStatus`
if (jsonObj.get("tinMatchStatus") != null && !jsonObj.get("tinMatchStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("tinMatchStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("tinMatchStatus"));
}
// validate the optional field `addressVerificationStatus`
if (jsonObj.get("addressVerificationStatus") != null && !jsonObj.get("addressVerificationStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ }
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
}
if ((jsonObj.get("referenceId") != null && !jsonObj.get("referenceId").isJsonNull()) && !jsonObj.get("referenceId").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `referenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("referenceId").toString()));
@@ -1693,12 +1822,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("foreignProvince") != null && !jsonObj.get("foreignProvince").isJsonNull()) && !jsonObj.get("foreignProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `foreignProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("foreignProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
}
+ if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
+ }
+ if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
+ }
if (jsonObj.get("validationErrors") != null && !jsonObj.get("validationErrors").isJsonNull()) {
JsonArray jsonArrayvalidationErrors = jsonObj.getAsJsonArray("validationErrors");
if (jsonArrayvalidationErrors != null) {
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SRequest.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SRequest.java
index 720c2b9..204764b 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SRequest.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SRequest.java
@@ -66,10 +66,6 @@ public class Form1042SRequest {
@SerializedName(SERIALIZED_NAME_UNIQUE_FORM_ID)
private String uniqueFormId;
- public static final String SERIALIZED_NAME_NO_TIN = "noTin";
- @SerializedName(SERIALIZED_NAME_NO_TIN)
- private Boolean noTin;
-
public static final String SERIALIZED_NAME_RECIPIENT_DATE_OF_BIRTH = "recipientDateOfBirth";
@SerializedName(SERIALIZED_NAME_RECIPIENT_DATE_OF_BIRTH)
private OffsetDateTime recipientDateOfBirth;
@@ -179,7 +175,9 @@ public enum TypeEnum {
_1095_B("1095-B"),
- _1042_S("1042-S");
+ _1042_S("1042-S"),
+
+ _1095_C("1095-C");
private String value;
@@ -328,9 +326,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -340,9 +338,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -364,6 +362,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -390,25 +396,6 @@ public void setUniqueFormId(String uniqueFormId) {
}
- public Form1042SRequest noTin(Boolean noTin) {
- this.noTin = noTin;
- return this;
- }
-
- /**
- * No TIN indicator
- * @return noTin
- */
- @javax.annotation.Nullable
- public Boolean getNoTin() {
- return noTin;
- }
-
- public void setNoTin(Boolean noTin) {
- this.noTin = noTin;
- }
-
-
public Form1042SRequest recipientDateOfBirth(OffsetDateTime recipientDateOfBirth) {
this.recipientDateOfBirth = recipientDateOfBirth;
return this;
@@ -931,7 +918,7 @@ public Form1042SRequest recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -1074,22 +1061,22 @@ public void setZip(String zip) {
}
- public Form1042SRequest recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1042SRequest email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -1131,22 +1118,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1042SRequest recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1042SRequest nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1245,6 +1232,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1042SRequest noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1042SRequest secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1042SRequest addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -1275,7 +1300,6 @@ public boolean equals(Object o) {
}
Form1042SRequest form1042SRequest = (Form1042SRequest) o;
return Objects.equals(this.uniqueFormId, form1042SRequest.uniqueFormId) &&
- Objects.equals(this.noTin, form1042SRequest.noTin) &&
Objects.equals(this.recipientDateOfBirth, form1042SRequest.recipientDateOfBirth) &&
Objects.equals(this.recipientGiin, form1042SRequest.recipientGiin) &&
Objects.equals(this.recipientForeignTin, form1042SRequest.recipientForeignTin) &&
@@ -1311,15 +1335,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1042SRequest.city) &&
Objects.equals(this.state, form1042SRequest.state) &&
Objects.equals(this.zip, form1042SRequest.zip) &&
- Objects.equals(this.recipientEmail, form1042SRequest.recipientEmail) &&
+ Objects.equals(this.email, form1042SRequest.email) &&
Objects.equals(this.accountNumber, form1042SRequest.accountNumber) &&
Objects.equals(this.officeCode, form1042SRequest.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1042SRequest.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1042SRequest.nonUsProvince) &&
Objects.equals(this.countryCode, form1042SRequest.countryCode) &&
Objects.equals(this.federalEFile, form1042SRequest.federalEFile) &&
Objects.equals(this.postalMail, form1042SRequest.postalMail) &&
Objects.equals(this.stateEFile, form1042SRequest.stateEFile) &&
Objects.equals(this.tinMatch, form1042SRequest.tinMatch) &&
+ Objects.equals(this.noTin, form1042SRequest.noTin) &&
+ Objects.equals(this.secondTinNotice, form1042SRequest.secondTinNotice) &&
Objects.equals(this.addressVerification, form1042SRequest.addressVerification);
}
@@ -1329,7 +1355,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(uniqueFormId, noTin, recipientDateOfBirth, recipientGiin, recipientForeignTin, lobCode, incomeCode, grossIncome, withholdingIndicator, taxCountryCode, exemptionCodeChap3, exemptionCodeChap4, taxRateChap3, withholdingAllowance, federalTaxWithheld, taxNotDepositedIndicator, academicIndicator, taxWithheldOtherAgents, amountRepaid, taxPaidAgent, chap3StatusCode, chap4StatusCode, primaryWithholdingAgent, intermediaryOrFlowThrough, stateAndLocalWithholding, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification);
+ return Objects.hash(uniqueFormId, recipientDateOfBirth, recipientGiin, recipientForeignTin, lobCode, incomeCode, grossIncome, withholdingIndicator, taxCountryCode, exemptionCodeChap3, exemptionCodeChap4, taxRateChap3, withholdingAllowance, federalTaxWithheld, taxNotDepositedIndicator, academicIndicator, taxWithheldOtherAgents, amountRepaid, taxPaidAgent, chap3StatusCode, chap4StatusCode, primaryWithholdingAgent, intermediaryOrFlowThrough, stateAndLocalWithholding, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1344,7 +1370,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Form1042SRequest {\n");
sb.append(" uniqueFormId: ").append(toIndentedString(uniqueFormId)).append("\n");
- sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
sb.append(" recipientDateOfBirth: ").append(toIndentedString(recipientDateOfBirth)).append("\n");
sb.append(" recipientGiin: ").append(toIndentedString(recipientGiin)).append("\n");
sb.append(" recipientForeignTin: ").append(toIndentedString(recipientForeignTin)).append("\n");
@@ -1380,15 +1405,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append("}");
return sb.toString();
@@ -1424,21 +1451,22 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1536,7 +1564,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1564,8 +1592,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1573,8 +1601,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SResponse.java
index 3226509..c4d71eb 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SResponse.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1042SResponse.java
@@ -82,7 +82,9 @@ public enum TypeEnum {
_1095_B("1095-B"),
- _1042_S("1042-S");
+ _1042_S("1042-S"),
+
+ _1095_C("1095-C");
private String value;
@@ -139,10 +141,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
private OffsetDateTime updatedAt;
- public static final String SERIALIZED_NAME_USER_ID = "userId";
- @SerializedName(SERIALIZED_NAME_USER_ID)
- private String userId;
-
public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING = "stateAndLocalWithholding";
@SerializedName(SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING)
private StateAndLocalWithholdingResponse stateAndLocalWithholding;
@@ -263,9 +261,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -275,9 +273,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -299,6 +297,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -307,6 +313,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
private StatusDetail federalEfileStatus;
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
+
public static final String SERIALIZED_NAME_STATE_EFILE_STATUS = "stateEfileStatus";
@SerializedName(SERIALIZED_NAME_STATE_EFILE_STATUS)
private List stateEfileStatus;
@@ -386,25 +396,6 @@ public void setUpdatedAt(OffsetDateTime updatedAt) {
}
- public Form1042SResponse userId(String userId) {
- this.userId = userId;
- return this;
- }
-
- /**
- * Get userId
- * @return userId
- */
- @javax.annotation.Nullable
- public String getUserId() {
- return userId;
- }
-
- public void setUserId(String userId) {
- this.userId = userId;
- }
-
-
public Form1042SResponse stateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding) {
this.stateAndLocalWithholding = stateAndLocalWithholding;
return this;
@@ -709,22 +700,22 @@ public void setZip(String zip) {
}
- public Form1042SResponse recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1042SResponse email(String email) {
+ this.email = email;
return this;
}
/**
- * Get recipientEmail
- * @return recipientEmail
+ * Get email
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -766,22 +757,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1042SResponse recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1042SResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
- * Get recipientNonUsProvince
- * @return recipientNonUsProvince
+ * Get nonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -880,6 +871,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1042SResponse noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Get noTin
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1042SResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Get secondTinNotice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1042SResponse addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -918,6 +947,25 @@ public void setFederalEfileStatus(StatusDetail federalEfileStatus) {
}
+ public Form1042SResponse eDeliveryStatus(StatusDetail eDeliveryStatus) {
+ this.eDeliveryStatus = eDeliveryStatus;
+ return this;
+ }
+
+ /**
+ * Get eDeliveryStatus
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+ public void seteDeliveryStatus(StatusDetail eDeliveryStatus) {
+ this.eDeliveryStatus = eDeliveryStatus;
+ }
+
+
public Form1042SResponse stateEfileStatus(List stateEfileStatus) {
this.stateEfileStatus = stateEfileStatus;
return this;
@@ -1042,7 +1090,6 @@ public boolean equals(Object o) {
return Objects.equals(this.type, form1042SResponse.type) &&
Objects.equals(this.createdAt, form1042SResponse.createdAt) &&
Objects.equals(this.updatedAt, form1042SResponse.updatedAt) &&
- Objects.equals(this.userId, form1042SResponse.userId) &&
Objects.equals(this.stateAndLocalWithholding, form1042SResponse.stateAndLocalWithholding) &&
Objects.equals(this.tinType, form1042SResponse.tinType) &&
Objects.equals(this.id, form1042SResponse.id) &&
@@ -1059,17 +1106,20 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1042SResponse.city) &&
Objects.equals(this.state, form1042SResponse.state) &&
Objects.equals(this.zip, form1042SResponse.zip) &&
- Objects.equals(this.recipientEmail, form1042SResponse.recipientEmail) &&
+ Objects.equals(this.email, form1042SResponse.email) &&
Objects.equals(this.accountNumber, form1042SResponse.accountNumber) &&
Objects.equals(this.officeCode, form1042SResponse.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1042SResponse.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1042SResponse.nonUsProvince) &&
Objects.equals(this.countryCode, form1042SResponse.countryCode) &&
Objects.equals(this.federalEFile, form1042SResponse.federalEFile) &&
Objects.equals(this.postalMail, form1042SResponse.postalMail) &&
Objects.equals(this.stateEFile, form1042SResponse.stateEFile) &&
Objects.equals(this.tinMatch, form1042SResponse.tinMatch) &&
+ Objects.equals(this.noTin, form1042SResponse.noTin) &&
+ Objects.equals(this.secondTinNotice, form1042SResponse.secondTinNotice) &&
Objects.equals(this.addressVerification, form1042SResponse.addressVerification) &&
Objects.equals(this.federalEfileStatus, form1042SResponse.federalEfileStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1042SResponse.eDeliveryStatus) &&
Objects.equals(this.stateEfileStatus, form1042SResponse.stateEfileStatus) &&
Objects.equals(this.postalMailStatus, form1042SResponse.postalMailStatus) &&
Objects.equals(this.tinMatchStatus, form1042SResponse.tinMatchStatus) &&
@@ -1083,7 +1133,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(type, createdAt, updatedAt, userId, stateAndLocalWithholding, tinType, id, issuerId, issuerReferenceId, issuerTin, taxYear, referenceId, recipientName, recipientTin, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, federalEfileStatus, stateEfileStatus, postalMailStatus, tinMatchStatus, addressVerificationStatus, validationErrors);
+ return Objects.hash(type, createdAt, updatedAt, stateAndLocalWithholding, tinType, id, issuerId, issuerReferenceId, issuerTin, taxYear, referenceId, recipientName, recipientTin, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, federalEfileStatus, eDeliveryStatus, stateEfileStatus, postalMailStatus, tinMatchStatus, addressVerificationStatus, validationErrors);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1100,7 +1150,6 @@ public String toString() {
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
- sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
@@ -1117,17 +1166,20 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" federalEfileStatus: ").append(toIndentedString(federalEfileStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
sb.append(" stateEfileStatus: ").append(toIndentedString(stateEfileStatus)).append("\n");
sb.append(" postalMailStatus: ").append(toIndentedString(postalMailStatus)).append("\n");
sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
@@ -1158,7 +1210,6 @@ private String toIndentedString(Object o) {
openapiFields.add("type");
openapiFields.add("createdAt");
openapiFields.add("updatedAt");
- openapiFields.add("userId");
openapiFields.add("stateAndLocalWithholding");
openapiFields.add("tinType");
openapiFields.add("id");
@@ -1175,17 +1226,20 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("federalEfileStatus");
+ openapiFields.add("eDeliveryStatus");
openapiFields.add("stateEfileStatus");
openapiFields.add("postalMailStatus");
openapiFields.add("tinMatchStatus");
@@ -1224,9 +1278,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) {
TypeEnum.validateJsonElement(jsonObj.get("type"));
}
- if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString()));
- }
// validate the optional field `stateAndLocalWithholding`
if (jsonObj.get("stateAndLocalWithholding") != null && !jsonObj.get("stateAndLocalWithholding").isJsonNull()) {
StateAndLocalWithholdingResponse.validateJsonElement(jsonObj.get("stateAndLocalWithholding"));
@@ -1277,8 +1328,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1286,8 +1337,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
@@ -1296,6 +1347,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
}
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
+ }
if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
if (jsonArraystateEfileStatus != null) {
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItem.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItem.java
index 8141e15..8a77dbd 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItem.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItem.java
@@ -253,9 +253,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -265,9 +265,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -289,6 +289,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -507,7 +515,7 @@ public Form1095BListItem recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -650,22 +658,22 @@ public void setZip(String zip) {
}
- public Form1095BListItem recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1095BListItem email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -707,22 +715,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1095BListItem recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1095BListItem nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -821,6 +829,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1095BListItem noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1095BListItem secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1095BListItem addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -887,15 +933,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1095BListItem.city) &&
Objects.equals(this.state, form1095BListItem.state) &&
Objects.equals(this.zip, form1095BListItem.zip) &&
- Objects.equals(this.recipientEmail, form1095BListItem.recipientEmail) &&
+ Objects.equals(this.email, form1095BListItem.email) &&
Objects.equals(this.accountNumber, form1095BListItem.accountNumber) &&
Objects.equals(this.officeCode, form1095BListItem.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1095BListItem.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1095BListItem.nonUsProvince) &&
Objects.equals(this.countryCode, form1095BListItem.countryCode) &&
Objects.equals(this.federalEFile, form1095BListItem.federalEFile) &&
Objects.equals(this.postalMail, form1095BListItem.postalMail) &&
Objects.equals(this.stateEFile, form1095BListItem.stateEFile) &&
Objects.equals(this.tinMatch, form1095BListItem.tinMatch) &&
+ Objects.equals(this.noTin, form1095BListItem.noTin) &&
+ Objects.equals(this.secondTinNotice, form1095BListItem.secondTinNotice) &&
Objects.equals(this.addressVerification, form1095BListItem.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1095BListItem.stateAndLocalWithholding);
}
@@ -906,7 +954,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(employeeFirstName, employeeMiddleName, employeeLastName, employeeNameSuffix, employeeDateOfBirth, originOfHealthCoverageCode, coveredIndividuals, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(employeeFirstName, employeeMiddleName, employeeLastName, employeeNameSuffix, employeeDateOfBirth, originOfHealthCoverageCode, coveredIndividuals, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -938,15 +986,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -982,21 +1032,22 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1072,7 +1123,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1100,8 +1151,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1109,8 +1160,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItemResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItemResponse.java
index 35b85af..8990967 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItemResponse.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BListItemResponse.java
@@ -21,9 +21,9 @@
import java.util.Objects;
import Avalara.SDK.model.A1099.V2.CoveredIndividualReferenceResponse;
-import Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse;
import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -104,7 +104,7 @@ public class Form1095BListItemResponse {
public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS = "federalEfileStatus";
@SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
- private Form1099StatusDetailResponse federalEfileStatus;
+ private StatusDetail federalEfileStatus;
public static final String SERIALIZED_NAME_STATE_EFILE = "stateEfile";
@SerializedName(SERIALIZED_NAME_STATE_EFILE)
@@ -120,7 +120,7 @@ public class Form1095BListItemResponse {
public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS = "postalMailStatus";
@SerializedName(SERIALIZED_NAME_POSTAL_MAIL_STATUS)
- private Form1099StatusDetailResponse postalMailStatus;
+ private StatusDetail postalMailStatus;
public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
@@ -128,7 +128,7 @@ public class Form1095BListItemResponse {
public static final String SERIALIZED_NAME_TIN_MATCH_STATUS = "tinMatchStatus";
@SerializedName(SERIALIZED_NAME_TIN_MATCH_STATUS)
- private Form1099StatusDetailResponse tinMatchStatus;
+ private StatusDetail tinMatchStatus;
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
@@ -136,7 +136,11 @@ public class Form1095BListItemResponse {
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS = "addressVerificationStatus";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS)
- private Form1099StatusDetailResponse addressVerificationStatus;
+ private StatusDetail addressVerificationStatus;
+
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
@SerializedName(SERIALIZED_NAME_REFERENCE_ID)
@@ -154,6 +158,14 @@ public class Form1095BListItemResponse {
@SerializedName(SERIALIZED_NAME_TIN)
private String tin;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
@SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
private String recipientName;
@@ -182,14 +194,26 @@ public class Form1095BListItemResponse {
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_FOREIGN_PROVINCE = "foreignProvince";
- @SerializedName(SERIALIZED_NAME_FOREIGN_PROVINCE)
- private String foreignProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
private String countryCode;
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
+ @SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
+ private Boolean fatcaFilingRequirement;
+
public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors";
@SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS)
private List validationErrors;
@@ -211,11 +235,12 @@ public Form1095BListItemResponse() {
public Form1095BListItemResponse(
String id,
- Form1099StatusDetailResponse federalEfileStatus,
+ StatusDetail federalEfileStatus,
List stateEfileStatus,
- Form1099StatusDetailResponse postalMailStatus,
- Form1099StatusDetailResponse tinMatchStatus,
- Form1099StatusDetailResponse addressVerificationStatus,
+ StatusDetail postalMailStatus,
+ StatusDetail tinMatchStatus,
+ StatusDetail addressVerificationStatus,
+ StatusDetail eDeliveryStatus,
List validationErrors,
OffsetDateTime createdAt,
OffsetDateTime updatedAt
@@ -227,6 +252,7 @@ public Form1095BListItemResponse(
this.postalMailStatus = postalMailStatus;
this.tinMatchStatus = tinMatchStatus;
this.addressVerificationStatus = addressVerificationStatus;
+ this.eDeliveryStatus = eDeliveryStatus;
this.validationErrors = validationErrors;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
@@ -408,7 +434,7 @@ public void setFederalEfile(Boolean federalEfile) {
* @return federalEfileStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getFederalEfileStatus() {
+ public StatusDetail getFederalEfileStatus() {
return federalEfileStatus;
}
@@ -468,7 +494,7 @@ public void setPostalMail(Boolean postalMail) {
* @return postalMailStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getPostalMailStatus() {
+ public StatusDetail getPostalMailStatus() {
return postalMailStatus;
}
@@ -498,7 +524,7 @@ public void setTinMatch(Boolean tinMatch) {
* @return tinMatchStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getTinMatchStatus() {
+ public StatusDetail getTinMatchStatus() {
return tinMatchStatus;
}
@@ -528,12 +554,23 @@ public void setAddressVerification(Boolean addressVerification) {
* @return addressVerificationStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getAddressVerificationStatus() {
+ public StatusDetail getAddressVerificationStatus() {
return addressVerificationStatus;
}
+ /**
+ * EDelivery status
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+
+
public Form1095BListItemResponse referenceId(String referenceId) {
this.referenceId = referenceId;
return this;
@@ -610,6 +647,44 @@ public void setTin(String tin) {
}
+ public Form1095BListItemResponse noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1095BListItemResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second Tin Notice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1095BListItemResponse recipientName(String recipientName) {
this.recipientName = recipientName;
return this;
@@ -743,22 +818,22 @@ public void setZip(String zip) {
}
- public Form1095BListItemResponse foreignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public Form1095BListItemResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return foreignProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getForeignProvince() {
- return foreignProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setForeignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -781,6 +856,63 @@ public void setCountryCode(String countryCode) {
}
+ public Form1095BListItemResponse accountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Account Number
+ * @return accountNumber
+ */
+ @javax.annotation.Nullable
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ public void setAccountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+
+ public Form1095BListItemResponse officeCode(String officeCode) {
+ this.officeCode = officeCode;
+ return this;
+ }
+
+ /**
+ * Office Code
+ * @return officeCode
+ */
+ @javax.annotation.Nullable
+ public String getOfficeCode() {
+ return officeCode;
+ }
+
+ public void setOfficeCode(String officeCode) {
+ this.officeCode = officeCode;
+ }
+
+
+ public Form1095BListItemResponse fatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ return this;
+ }
+
+ /**
+ * FATCA filing requirement
+ * @return fatcaFilingRequirement
+ */
+ @javax.annotation.Nullable
+ public Boolean getFatcaFilingRequirement() {
+ return fatcaFilingRequirement;
+ }
+
+ public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ }
+
+
/**
* Validation errors
* @return validationErrors
@@ -861,10 +993,13 @@ public boolean equals(Object o) {
Objects.equals(this.tinMatchStatus, form1095BListItemResponse.tinMatchStatus) &&
Objects.equals(this.addressVerification, form1095BListItemResponse.addressVerification) &&
Objects.equals(this.addressVerificationStatus, form1095BListItemResponse.addressVerificationStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1095BListItemResponse.eDeliveryStatus) &&
Objects.equals(this.referenceId, form1095BListItemResponse.referenceId) &&
Objects.equals(this.email, form1095BListItemResponse.email) &&
Objects.equals(this.tinType, form1095BListItemResponse.tinType) &&
Objects.equals(this.tin, form1095BListItemResponse.tin) &&
+ Objects.equals(this.noTin, form1095BListItemResponse.noTin) &&
+ Objects.equals(this.secondTinNotice, form1095BListItemResponse.secondTinNotice) &&
Objects.equals(this.recipientName, form1095BListItemResponse.recipientName) &&
Objects.equals(this.recipientSecondName, form1095BListItemResponse.recipientSecondName) &&
Objects.equals(this.address, form1095BListItemResponse.address) &&
@@ -872,8 +1007,11 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1095BListItemResponse.city) &&
Objects.equals(this.state, form1095BListItemResponse.state) &&
Objects.equals(this.zip, form1095BListItemResponse.zip) &&
- Objects.equals(this.foreignProvince, form1095BListItemResponse.foreignProvince) &&
+ Objects.equals(this.nonUsProvince, form1095BListItemResponse.nonUsProvince) &&
Objects.equals(this.countryCode, form1095BListItemResponse.countryCode) &&
+ Objects.equals(this.accountNumber, form1095BListItemResponse.accountNumber) &&
+ Objects.equals(this.officeCode, form1095BListItemResponse.officeCode) &&
+ Objects.equals(this.fatcaFilingRequirement, form1095BListItemResponse.fatcaFilingRequirement) &&
Objects.equals(this.validationErrors, form1095BListItemResponse.validationErrors) &&
Objects.equals(this.createdAt, form1095BListItemResponse.createdAt) &&
Objects.equals(this.updatedAt, form1095BListItemResponse.updatedAt) &&
@@ -886,7 +1024,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(originOfHealthCoverageCode, coveredIndividuals, id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, referenceId, email, tinType, tin, recipientName, recipientSecondName, address, address2, city, state, zip, foreignProvince, countryCode, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
+ return Objects.hash(originOfHealthCoverageCode, coveredIndividuals, id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, eDeliveryStatus, referenceId, email, tinType, tin, noTin, secondTinNotice, recipientName, recipientSecondName, address, address2, city, state, zip, nonUsProvince, countryCode, accountNumber, officeCode, fatcaFilingRequirement, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -918,10 +1056,13 @@ public String toString() {
sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" addressVerificationStatus: ").append(toIndentedString(addressVerificationStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
sb.append(" tin: ").append(toIndentedString(tin)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" recipientName: ").append(toIndentedString(recipientName)).append("\n");
sb.append(" recipientSecondName: ").append(toIndentedString(recipientSecondName)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
@@ -929,8 +1070,11 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" foreignProvince: ").append(toIndentedString(foreignProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
+ sb.append(" fatcaFilingRequirement: ").append(toIndentedString(fatcaFilingRequirement)).append("\n");
sb.append(" validationErrors: ").append(toIndentedString(validationErrors)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
@@ -973,10 +1117,13 @@ private String toIndentedString(Object o) {
openapiFields.add("tinMatchStatus");
openapiFields.add("addressVerification");
openapiFields.add("addressVerificationStatus");
+ openapiFields.add("eDeliveryStatus");
openapiFields.add("referenceId");
openapiFields.add("email");
openapiFields.add("tinType");
openapiFields.add("tin");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("recipientName");
openapiFields.add("recipientSecondName");
openapiFields.add("address");
@@ -984,8 +1131,11 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("foreignProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
+ openapiFields.add("accountNumber");
+ openapiFields.add("officeCode");
+ openapiFields.add("fatcaFilingRequirement");
openapiFields.add("validationErrors");
openapiFields.add("createdAt");
openapiFields.add("updatedAt");
@@ -1062,7 +1212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `federalEfileStatus`
if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("federalEfileStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
}
if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
@@ -1080,15 +1230,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `postalMailStatus`
if (jsonObj.get("postalMailStatus") != null && !jsonObj.get("postalMailStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("postalMailStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("postalMailStatus"));
}
// validate the optional field `tinMatchStatus`
if (jsonObj.get("tinMatchStatus") != null && !jsonObj.get("tinMatchStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("tinMatchStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("tinMatchStatus"));
}
// validate the optional field `addressVerificationStatus`
if (jsonObj.get("addressVerificationStatus") != null && !jsonObj.get("addressVerificationStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ }
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
}
if ((jsonObj.get("referenceId") != null && !jsonObj.get("referenceId").isJsonNull()) && !jsonObj.get("referenceId").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `referenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("referenceId").toString()));
@@ -1123,12 +1277,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("foreignProvince") != null && !jsonObj.get("foreignProvince").isJsonNull()) && !jsonObj.get("foreignProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `foreignProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("foreignProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
}
+ if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
+ }
+ if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
+ }
if (jsonObj.get("validationErrors") != null && !jsonObj.get("validationErrors").isJsonNull()) {
JsonArray jsonArrayvalidationErrors = jsonObj.getAsJsonArray("validationErrors");
if (jsonArrayvalidationErrors != null) {
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BRequest.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BRequest.java
index f51dbce..494523f 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BRequest.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095BRequest.java
@@ -170,7 +170,9 @@ public enum TypeEnum {
_1095_B("1095-B"),
- _1042_S("1042-S");
+ _1042_S("1042-S"),
+
+ _1095_C("1095-C");
private String value;
@@ -319,9 +321,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -331,9 +333,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -355,6 +357,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -592,7 +602,7 @@ public Form1095BRequest recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -735,22 +745,22 @@ public void setZip(String zip) {
}
- public Form1095BRequest recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1095BRequest email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -792,22 +802,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1095BRequest recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1095BRequest nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -906,6 +916,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1095BRequest noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1095BRequest secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1095BRequest addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -973,15 +1021,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1095BRequest.city) &&
Objects.equals(this.state, form1095BRequest.state) &&
Objects.equals(this.zip, form1095BRequest.zip) &&
- Objects.equals(this.recipientEmail, form1095BRequest.recipientEmail) &&
+ Objects.equals(this.email, form1095BRequest.email) &&
Objects.equals(this.accountNumber, form1095BRequest.accountNumber) &&
Objects.equals(this.officeCode, form1095BRequest.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1095BRequest.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1095BRequest.nonUsProvince) &&
Objects.equals(this.countryCode, form1095BRequest.countryCode) &&
Objects.equals(this.federalEFile, form1095BRequest.federalEFile) &&
Objects.equals(this.postalMail, form1095BRequest.postalMail) &&
Objects.equals(this.stateEFile, form1095BRequest.stateEFile) &&
Objects.equals(this.tinMatch, form1095BRequest.tinMatch) &&
+ Objects.equals(this.noTin, form1095BRequest.noTin) &&
+ Objects.equals(this.secondTinNotice, form1095BRequest.secondTinNotice) &&
Objects.equals(this.addressVerification, form1095BRequest.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1095BRequest.stateAndLocalWithholding);
}
@@ -992,7 +1042,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(employeeFirstName, employeeMiddleName, employeeLastName, employeeNameSuffix, employeeDateOfBirth, originOfHealthCoverageCode, coveredIndividuals, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(employeeFirstName, employeeMiddleName, employeeLastName, employeeNameSuffix, employeeDateOfBirth, originOfHealthCoverageCode, coveredIndividuals, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1025,15 +1075,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -1070,21 +1122,22 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1167,7 +1220,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1195,8 +1248,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1204,8 +1257,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095CList.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095CList.java
new file mode 100644
index 0000000..19b8fcd
--- /dev/null
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095CList.java
@@ -0,0 +1,262 @@
+/*
+ * AvaTax Software Development Kit for Java (JRE)
+ *
+ * (c) 2004-2025 Avalara, Inc.
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ *
+ * Avalara 1099 & W-9 API Definition
+ *
+ * ## 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
+ *
+ * @author Sachin Baijal
+ * @author Jonathan Wenger
+ * @copyright 2004-2025 Avalara, Inc.
+ * @license https://www.apache.org/licenses/LICENSE-2.0
+ * @link https://github.com/avadev/Avalara-SDK-Java
+ */
+
+package Avalara.SDK.model.A1099.V2;
+
+import java.util.Objects;
+import Avalara.SDK.model.A1099.V2.Form1095CListItem;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.JsonArray;
+import com.google.gson.JsonDeserializationContext;
+import com.google.gson.JsonDeserializer;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParseException;
+import com.google.gson.TypeAdapterFactory;
+import com.google.gson.reflect.TypeToken;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+
+import java.lang.reflect.Type;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import Avalara.SDK.JSON;
+
+/**
+ * Form1095CList
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0")
+public class Form1095CList {
+ public static final String SERIALIZED_NAME_FORMS = "forms";
+ @SerializedName(SERIALIZED_NAME_FORMS)
+ private List forms;
+
+ public static final String SERIALIZED_NAME_FORM_TYPE = "formType";
+ @SerializedName(SERIALIZED_NAME_FORM_TYPE)
+ private String formType;
+
+ public Form1095CList() {
+ }
+
+ public Form1095CList forms(List forms) {
+ this.forms = forms;
+ return this;
+ }
+
+ public Form1095CList addFormsItem(Form1095CListItem formsItem) {
+ if (this.forms == null) {
+ this.forms = new ArrayList<>();
+ }
+ this.forms.add(formsItem);
+ return this;
+ }
+
+ /**
+ * Get forms
+ * @return forms
+ */
+ @javax.annotation.Nullable
+ public List getForms() {
+ return forms;
+ }
+
+ public void setForms(List forms) {
+ this.forms = forms;
+ }
+
+
+ public Form1095CList formType(String formType) {
+ this.formType = formType;
+ return this;
+ }
+
+ /**
+ * Get formType
+ * @return formType
+ */
+ @javax.annotation.Nullable
+ public String getFormType() {
+ return formType;
+ }
+
+ public void setFormType(String formType) {
+ this.formType = formType;
+ }
+
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Form1095CList form1095CList = (Form1095CList) o;
+ return Objects.equals(this.forms, form1095CList.forms) &&
+ Objects.equals(this.formType, form1095CList.formType);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(forms, formType);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Form1095CList {\n");
+ sb.append(" forms: ").append(toIndentedString(forms)).append("\n");
+ sb.append(" formType: ").append(toIndentedString(formType)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+
+ public static HashSet openapiFields;
+ public static HashSet openapiRequiredFields;
+
+ static {
+ // a set of all properties/fields (JSON key names)
+ openapiFields = new HashSet();
+ openapiFields.add("formType");
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields = new HashSet();
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to Form1095CList
+ */
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!Form1095CList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ throw new IllegalArgumentException(String.format("The required field(s) %s in Form1095CList is not found in the empty JSON string", Form1095CList.openapiRequiredFields.toString()));
+ }
+ }
+
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
+ // check to see if the JSON string contains additional fields
+ for (Map.Entry entry : entries) {
+ if (!Form1095CList.openapiFields.contains(entry.getKey())) {
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Form1095CList` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
+ }
+ }
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if (jsonObj.get("forms") != null && !jsonObj.get("forms").isJsonNull()) {
+ JsonArray jsonArrayforms = jsonObj.getAsJsonArray("forms");
+ if (jsonArrayforms != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("forms").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `forms` to be an array in the JSON string but got `%s`", jsonObj.get("forms").toString()));
+ }
+
+ // validate the optional field `forms` (array)
+ for (int i = 0; i < jsonArrayforms.size(); i++) {
+ Form1095CListItem.validateJsonElement(jsonArrayforms.get(i));
+ };
+ }
+ }
+ if ((jsonObj.get("formType") != null && !jsonObj.get("formType").isJsonNull()) && !jsonObj.get("formType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `formType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("formType").toString()));
+ }
+ }
+
+ public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
+ @SuppressWarnings("unchecked")
+ @Override
+ public TypeAdapter create(Gson gson, TypeToken type) {
+ if (!Form1095CList.class.isAssignableFrom(type.getRawType())) {
+ return null; // this class only serializes 'Form1095CList' and its subtypes
+ }
+ final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
+ final TypeAdapter thisAdapter
+ = gson.getDelegateAdapter(this, TypeToken.get(Form1095CList.class));
+
+ return (TypeAdapter) new TypeAdapter() {
+ @Override
+ public void write(JsonWriter out, Form1095CList value) throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public Form1095CList read(JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of Form1095CList given an JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of Form1095CList
+ * @throws IOException if the JSON string is invalid with respect to Form1095CList
+ */
+ public static Form1095CList fromJson(String jsonString) throws IOException {
+ return JSON.getGson().fromJson(jsonString, Form1095CList.class);
+ }
+
+ /**
+ * Convert an instance of Form1095CList to an JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
+
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1095CListItem.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095CListItem.java
new file mode 100644
index 0000000..906fc1e
--- /dev/null
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1095CListItem.java
@@ -0,0 +1,1316 @@
+/*
+ * AvaTax Software Development Kit for Java (JRE)
+ *
+ * (c) 2004-2025 Avalara, Inc.
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ *
+ * Avalara 1099 & W-9 API Definition
+ *
+ * ## 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
+ *
+ * @author Sachin Baijal
+ * @author Jonathan Wenger
+ * @copyright 2004-2025 Avalara, Inc.
+ * @license https://www.apache.org/licenses/LICENSE-2.0
+ * @link https://github.com/avadev/Avalara-SDK-Java
+ */
+
+package Avalara.SDK.model.A1099.V2;
+
+import java.util.Objects;
+import Avalara.SDK.model.A1099.V2.CoveredIndividualRequest;
+import Avalara.SDK.model.A1099.V2.OfferAndCoverageRequest;
+import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingRequest;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.JsonArray;
+import com.google.gson.JsonDeserializationContext;
+import com.google.gson.JsonDeserializer;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParseException;
+import com.google.gson.TypeAdapterFactory;
+import com.google.gson.reflect.TypeToken;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+
+import java.lang.reflect.Type;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import Avalara.SDK.JSON;
+
+/**
+ * Form1095CListItem
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0")
+public class Form1095CListItem {
+ public static final String SERIALIZED_NAME_EMPLOYEE_FIRST_NAME = "employeeFirstName";
+ @SerializedName(SERIALIZED_NAME_EMPLOYEE_FIRST_NAME)
+ private String employeeFirstName;
+
+ public static final String SERIALIZED_NAME_EMPLOYEE_MIDDLE_NAME = "employeeMiddleName";
+ @SerializedName(SERIALIZED_NAME_EMPLOYEE_MIDDLE_NAME)
+ private String employeeMiddleName;
+
+ public static final String SERIALIZED_NAME_EMPLOYEE_LAST_NAME = "employeeLastName";
+ @SerializedName(SERIALIZED_NAME_EMPLOYEE_LAST_NAME)
+ private String employeeLastName;
+
+ public static final String SERIALIZED_NAME_EMPLOYEE_NAME_SUFFIX = "employeeNameSuffix";
+ @SerializedName(SERIALIZED_NAME_EMPLOYEE_NAME_SUFFIX)
+ private String employeeNameSuffix;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_DATE_OF_BIRTH = "recipientDateOfBirth";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_DATE_OF_BIRTH)
+ private OffsetDateTime recipientDateOfBirth;
+
+ public static final String SERIALIZED_NAME_PLAN_START_MONTH = "planStartMonth";
+ @SerializedName(SERIALIZED_NAME_PLAN_START_MONTH)
+ private String planStartMonth;
+
+ public static final String SERIALIZED_NAME_OFFER_AND_COVERAGES = "offerAndCoverages";
+ @SerializedName(SERIALIZED_NAME_OFFER_AND_COVERAGES)
+ private List offerAndCoverages;
+
+ public static final String SERIALIZED_NAME_EMPLOYER_PROVIDED_SI_COVERAGE = "employerProvidedSiCoverage";
+ @SerializedName(SERIALIZED_NAME_EMPLOYER_PROVIDED_SI_COVERAGE)
+ private Boolean employerProvidedSiCoverage;
+
+ public static final String SERIALIZED_NAME_COVERED_INDIVIDUALS = "coveredIndividuals";
+ @SerializedName(SERIALIZED_NAME_COVERED_INDIVIDUALS)
+ private List coveredIndividuals;
+
+ public static final String SERIALIZED_NAME_ISSUER_REFERENCE_ID = "issuerReferenceId";
+ @SerializedName(SERIALIZED_NAME_ISSUER_REFERENCE_ID)
+ private String issuerReferenceId;
+
+ public static final String SERIALIZED_NAME_ISSUER_TIN = "issuerTin";
+ @SerializedName(SERIALIZED_NAME_ISSUER_TIN)
+ private String issuerTin;
+
+ public static final String SERIALIZED_NAME_TAX_YEAR = "taxYear";
+ @SerializedName(SERIALIZED_NAME_TAX_YEAR)
+ private Integer taxYear;
+
+ public static final String SERIALIZED_NAME_ISSUER_ID = "issuerId";
+ @SerializedName(SERIALIZED_NAME_ISSUER_ID)
+ private String issuerId;
+
+ public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
+ @SerializedName(SERIALIZED_NAME_REFERENCE_ID)
+ private String referenceId;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_TIN = "recipientTin";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_TIN)
+ private String recipientTin;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
+ private String recipientName;
+
+ /**
+ * Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN
+ */
+ @JsonAdapter(TinTypeEnum.Adapter.class)
+ public enum TinTypeEnum {
+ EIN("EIN"),
+
+ SSN("SSN"),
+
+ ITIN("ITIN"),
+
+ ATIN("ATIN");
+
+ private String value;
+
+ TinTypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TinTypeEnum fromValue(String value) {
+ for (TinTypeEnum b : TinTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final TinTypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TinTypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TinTypeEnum.fromValue(value);
+ }
+ }
+
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ String value = jsonElement.getAsString();
+ TinTypeEnum.fromValue(value);
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TIN_TYPE = "tinType";
+ @SerializedName(SERIALIZED_NAME_TIN_TYPE)
+ private TinTypeEnum tinType;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_SECOND_NAME = "recipientSecondName";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_SECOND_NAME)
+ private String recipientSecondName;
+
+ public static final String SERIALIZED_NAME_ADDRESS = "address";
+ @SerializedName(SERIALIZED_NAME_ADDRESS)
+ private String address;
+
+ public static final String SERIALIZED_NAME_ADDRESS2 = "address2";
+ @SerializedName(SERIALIZED_NAME_ADDRESS2)
+ private String address2;
+
+ public static final String SERIALIZED_NAME_CITY = "city";
+ @SerializedName(SERIALIZED_NAME_CITY)
+ private String city;
+
+ public static final String SERIALIZED_NAME_STATE = "state";
+ @SerializedName(SERIALIZED_NAME_STATE)
+ private String state;
+
+ public static final String SERIALIZED_NAME_ZIP = "zip";
+ @SerializedName(SERIALIZED_NAME_ZIP)
+ private String zip;
+
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
+
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
+
+ public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
+ @SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
+ private String countryCode;
+
+ public static final String SERIALIZED_NAME_FEDERAL_E_FILE = "federalEFile";
+ @SerializedName(SERIALIZED_NAME_FEDERAL_E_FILE)
+ private Boolean federalEFile;
+
+ public static final String SERIALIZED_NAME_POSTAL_MAIL = "postalMail";
+ @SerializedName(SERIALIZED_NAME_POSTAL_MAIL)
+ private Boolean postalMail;
+
+ public static final String SERIALIZED_NAME_STATE_E_FILE = "stateEFile";
+ @SerializedName(SERIALIZED_NAME_STATE_E_FILE)
+ private Boolean stateEFile;
+
+ public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
+ @SerializedName(SERIALIZED_NAME_TIN_MATCH)
+ private Boolean tinMatch;
+
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
+ public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
+ @SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
+ private Boolean addressVerification;
+
+ public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING = "stateAndLocalWithholding";
+ @SerializedName(SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING)
+ private StateAndLocalWithholdingRequest stateAndLocalWithholding;
+
+ public Form1095CListItem() {
+ }
+
+ public Form1095CListItem employeeFirstName(String employeeFirstName) {
+ this.employeeFirstName = employeeFirstName;
+ return this;
+ }
+
+ /**
+ * Employee's first name
+ * @return employeeFirstName
+ */
+ @javax.annotation.Nullable
+ public String getEmployeeFirstName() {
+ return employeeFirstName;
+ }
+
+ public void setEmployeeFirstName(String employeeFirstName) {
+ this.employeeFirstName = employeeFirstName;
+ }
+
+
+ public Form1095CListItem employeeMiddleName(String employeeMiddleName) {
+ this.employeeMiddleName = employeeMiddleName;
+ return this;
+ }
+
+ /**
+ * Employee's middle name
+ * @return employeeMiddleName
+ */
+ @javax.annotation.Nullable
+ public String getEmployeeMiddleName() {
+ return employeeMiddleName;
+ }
+
+ public void setEmployeeMiddleName(String employeeMiddleName) {
+ this.employeeMiddleName = employeeMiddleName;
+ }
+
+
+ public Form1095CListItem employeeLastName(String employeeLastName) {
+ this.employeeLastName = employeeLastName;
+ return this;
+ }
+
+ /**
+ * Employee's last name
+ * @return employeeLastName
+ */
+ @javax.annotation.Nullable
+ public String getEmployeeLastName() {
+ return employeeLastName;
+ }
+
+ public void setEmployeeLastName(String employeeLastName) {
+ this.employeeLastName = employeeLastName;
+ }
+
+
+ public Form1095CListItem employeeNameSuffix(String employeeNameSuffix) {
+ this.employeeNameSuffix = employeeNameSuffix;
+ return this;
+ }
+
+ /**
+ * Employee's name suffix
+ * @return employeeNameSuffix
+ */
+ @javax.annotation.Nullable
+ public String getEmployeeNameSuffix() {
+ return employeeNameSuffix;
+ }
+
+ public void setEmployeeNameSuffix(String employeeNameSuffix) {
+ this.employeeNameSuffix = employeeNameSuffix;
+ }
+
+
+ public Form1095CListItem recipientDateOfBirth(OffsetDateTime recipientDateOfBirth) {
+ this.recipientDateOfBirth = recipientDateOfBirth;
+ return this;
+ }
+
+ /**
+ * Recipient's date of birth
+ * @return recipientDateOfBirth
+ */
+ @javax.annotation.Nullable
+ public OffsetDateTime getRecipientDateOfBirth() {
+ return recipientDateOfBirth;
+ }
+
+ public void setRecipientDateOfBirth(OffsetDateTime recipientDateOfBirth) {
+ this.recipientDateOfBirth = recipientDateOfBirth;
+ }
+
+
+ public Form1095CListItem planStartMonth(String planStartMonth) {
+ this.planStartMonth = planStartMonth;
+ return this;
+ }
+
+ /**
+ * Plan start month
+ * @return planStartMonth
+ */
+ @javax.annotation.Nullable
+ public String getPlanStartMonth() {
+ return planStartMonth;
+ }
+
+ public void setPlanStartMonth(String planStartMonth) {
+ this.planStartMonth = planStartMonth;
+ }
+
+
+ public Form1095CListItem offerAndCoverages(List offerAndCoverages) {
+ this.offerAndCoverages = offerAndCoverages;
+ return this;
+ }
+
+ public Form1095CListItem addOfferAndCoveragesItem(OfferAndCoverageRequest offerAndCoveragesItem) {
+ if (this.offerAndCoverages == null) {
+ this.offerAndCoverages = new ArrayList<>();
+ }
+ this.offerAndCoverages.add(offerAndCoveragesItem);
+ return this;
+ }
+
+ /**
+ * Offer and coverage information
+ * @return offerAndCoverages
+ */
+ @javax.annotation.Nullable
+ public List getOfferAndCoverages() {
+ return offerAndCoverages;
+ }
+
+ public void setOfferAndCoverages(List offerAndCoverages) {
+ this.offerAndCoverages = offerAndCoverages;
+ }
+
+
+ public Form1095CListItem employerProvidedSiCoverage(Boolean employerProvidedSiCoverage) {
+ this.employerProvidedSiCoverage = employerProvidedSiCoverage;
+ return this;
+ }
+
+ /**
+ * Employer provided self-insured coverage
+ * @return employerProvidedSiCoverage
+ */
+ @javax.annotation.Nullable
+ public Boolean getEmployerProvidedSiCoverage() {
+ return employerProvidedSiCoverage;
+ }
+
+ public void setEmployerProvidedSiCoverage(Boolean employerProvidedSiCoverage) {
+ this.employerProvidedSiCoverage = employerProvidedSiCoverage;
+ }
+
+
+ public Form1095CListItem coveredIndividuals(List coveredIndividuals) {
+ this.coveredIndividuals = coveredIndividuals;
+ return this;
+ }
+
+ public Form1095CListItem addCoveredIndividualsItem(CoveredIndividualRequest coveredIndividualsItem) {
+ if (this.coveredIndividuals == null) {
+ this.coveredIndividuals = new ArrayList<>();
+ }
+ this.coveredIndividuals.add(coveredIndividualsItem);
+ return this;
+ }
+
+ /**
+ * Covered individuals information
+ * @return coveredIndividuals
+ */
+ @javax.annotation.Nullable
+ public List getCoveredIndividuals() {
+ return coveredIndividuals;
+ }
+
+ public void setCoveredIndividuals(List coveredIndividuals) {
+ this.coveredIndividuals = coveredIndividuals;
+ }
+
+
+ public Form1095CListItem issuerReferenceId(String issuerReferenceId) {
+ this.issuerReferenceId = issuerReferenceId;
+ return this;
+ }
+
+ /**
+ * Issuer Reference ID. One of `issuerReferenceId` or `issuerTin` is required.
+ * @return issuerReferenceId
+ */
+ @javax.annotation.Nullable
+ public String getIssuerReferenceId() {
+ return issuerReferenceId;
+ }
+
+ public void setIssuerReferenceId(String issuerReferenceId) {
+ this.issuerReferenceId = issuerReferenceId;
+ }
+
+
+ public Form1095CListItem issuerTin(String issuerTin) {
+ this.issuerTin = issuerTin;
+ return this;
+ }
+
+ /**
+ * Issuer TIN. One of `issuerReferenceId` or `issuerTin` is required.
+ * @return issuerTin
+ */
+ @javax.annotation.Nullable
+ public String getIssuerTin() {
+ return issuerTin;
+ }
+
+ public void setIssuerTin(String issuerTin) {
+ this.issuerTin = issuerTin;
+ }
+
+
+ public Form1095CListItem taxYear(Integer taxYear) {
+ this.taxYear = taxYear;
+ return this;
+ }
+
+ /**
+ * Tax year
+ * @return taxYear
+ */
+ @javax.annotation.Nonnull
+ public Integer getTaxYear() {
+ return taxYear;
+ }
+
+ public void setTaxYear(Integer taxYear) {
+ this.taxYear = taxYear;
+ }
+
+
+ public Form1095CListItem issuerId(String issuerId) {
+ this.issuerId = issuerId;
+ return this;
+ }
+
+ /**
+ * Issuer ID
+ * @return issuerId
+ */
+ @javax.annotation.Nullable
+ public String getIssuerId() {
+ return issuerId;
+ }
+
+ public void setIssuerId(String issuerId) {
+ this.issuerId = issuerId;
+ }
+
+
+ public Form1095CListItem referenceId(String referenceId) {
+ this.referenceId = referenceId;
+ return this;
+ }
+
+ /**
+ * Reference ID
+ * @return referenceId
+ */
+ @javax.annotation.Nullable
+ public String getReferenceId() {
+ return referenceId;
+ }
+
+ public void setReferenceId(String referenceId) {
+ this.referenceId = referenceId;
+ }
+
+
+ public Form1095CListItem recipientTin(String recipientTin) {
+ this.recipientTin = recipientTin;
+ return this;
+ }
+
+ /**
+ * Recipient Tax ID Number
+ * @return recipientTin
+ */
+ @javax.annotation.Nullable
+ public String getRecipientTin() {
+ return recipientTin;
+ }
+
+ public void setRecipientTin(String recipientTin) {
+ this.recipientTin = recipientTin;
+ }
+
+
+ public Form1095CListItem recipientName(String recipientName) {
+ this.recipientName = recipientName;
+ return this;
+ }
+
+ /**
+ * Recipient name
+ * @return recipientName
+ */
+ @javax.annotation.Nullable
+ public String getRecipientName() {
+ return recipientName;
+ }
+
+ public void setRecipientName(String recipientName) {
+ this.recipientName = recipientName;
+ }
+
+
+ public Form1095CListItem tinType(TinTypeEnum tinType) {
+ this.tinType = tinType;
+ return this;
+ }
+
+ /**
+ * Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN
+ * @return tinType
+ */
+ @javax.annotation.Nullable
+ public TinTypeEnum getTinType() {
+ return tinType;
+ }
+
+ public void setTinType(TinTypeEnum tinType) {
+ this.tinType = tinType;
+ }
+
+
+ public Form1095CListItem recipientSecondName(String recipientSecondName) {
+ this.recipientSecondName = recipientSecondName;
+ return this;
+ }
+
+ /**
+ * Recipient second name
+ * @return recipientSecondName
+ */
+ @javax.annotation.Nullable
+ public String getRecipientSecondName() {
+ return recipientSecondName;
+ }
+
+ public void setRecipientSecondName(String recipientSecondName) {
+ this.recipientSecondName = recipientSecondName;
+ }
+
+
+ public Form1095CListItem address(String address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Address
+ * @return address
+ */
+ @javax.annotation.Nonnull
+ public String getAddress() {
+ return address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
+
+ public Form1095CListItem address2(String address2) {
+ this.address2 = address2;
+ return this;
+ }
+
+ /**
+ * Address line 2
+ * @return address2
+ */
+ @javax.annotation.Nullable
+ public String getAddress2() {
+ return address2;
+ }
+
+ public void setAddress2(String address2) {
+ this.address2 = address2;
+ }
+
+
+ public Form1095CListItem city(String city) {
+ this.city = city;
+ return this;
+ }
+
+ /**
+ * City
+ * @return city
+ */
+ @javax.annotation.Nonnull
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+
+ public Form1095CListItem state(String state) {
+ this.state = state;
+ return this;
+ }
+
+ /**
+ * US state. Required if CountryCode is \"US\".
+ * @return state
+ */
+ @javax.annotation.Nullable
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+
+ public Form1095CListItem zip(String zip) {
+ this.zip = zip;
+ return this;
+ }
+
+ /**
+ * Zip/postal code
+ * @return zip
+ */
+ @javax.annotation.Nullable
+ public String getZip() {
+ return zip;
+ }
+
+ public void setZip(String zip) {
+ this.zip = zip;
+ }
+
+
+ public Form1095CListItem email(String email) {
+ this.email = email;
+ return this;
+ }
+
+ /**
+ * Recipient email address
+ * @return email
+ */
+ @javax.annotation.Nullable
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+
+ public Form1095CListItem accountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Account number
+ * @return accountNumber
+ */
+ @javax.annotation.Nullable
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ public void setAccountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+
+ public Form1095CListItem officeCode(String officeCode) {
+ this.officeCode = officeCode;
+ return this;
+ }
+
+ /**
+ * Office code
+ * @return officeCode
+ */
+ @javax.annotation.Nullable
+ public String getOfficeCode() {
+ return officeCode;
+ }
+
+ public void setOfficeCode(String officeCode) {
+ this.officeCode = officeCode;
+ }
+
+
+ public Form1095CListItem nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
+ return this;
+ }
+
+ /**
+ * Foreign province
+ * @return nonUsProvince
+ */
+ @javax.annotation.Nullable
+ public String getNonUsProvince() {
+ return nonUsProvince;
+ }
+
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
+ }
+
+
+ public Form1095CListItem countryCode(String countryCode) {
+ this.countryCode = countryCode;
+ return this;
+ }
+
+ /**
+ * Country code, as defined at https://www.irs.gov/e-file-providers/country-codes
+ * @return countryCode
+ */
+ @javax.annotation.Nonnull
+ public String getCountryCode() {
+ return countryCode;
+ }
+
+ public void setCountryCode(String countryCode) {
+ this.countryCode = countryCode;
+ }
+
+
+ public Form1095CListItem federalEFile(Boolean federalEFile) {
+ this.federalEFile = federalEFile;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that federal e-filing should be scheduled for this form
+ * @return federalEFile
+ */
+ @javax.annotation.Nullable
+ public Boolean getFederalEFile() {
+ return federalEFile;
+ }
+
+ public void setFederalEFile(Boolean federalEFile) {
+ this.federalEFile = federalEFile;
+ }
+
+
+ public Form1095CListItem postalMail(Boolean postalMail) {
+ this.postalMail = postalMail;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that postal mailing to the recipient should be scheduled for this form
+ * @return postalMail
+ */
+ @javax.annotation.Nullable
+ public Boolean getPostalMail() {
+ return postalMail;
+ }
+
+ public void setPostalMail(Boolean postalMail) {
+ this.postalMail = postalMail;
+ }
+
+
+ public Form1095CListItem stateEFile(Boolean stateEFile) {
+ this.stateEFile = stateEFile;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that state e-filing should be scheduled for this form
+ * @return stateEFile
+ */
+ @javax.annotation.Nullable
+ public Boolean getStateEFile() {
+ return stateEFile;
+ }
+
+ public void setStateEFile(Boolean stateEFile) {
+ this.stateEFile = stateEFile;
+ }
+
+
+ public Form1095CListItem tinMatch(Boolean tinMatch) {
+ this.tinMatch = tinMatch;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that TIN Matching should be scheduled for this form
+ * @return tinMatch
+ */
+ @javax.annotation.Nullable
+ public Boolean getTinMatch() {
+ return tinMatch;
+ }
+
+ public void setTinMatch(Boolean tinMatch) {
+ this.tinMatch = tinMatch;
+ }
+
+
+ public Form1095CListItem noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1095CListItem secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
+ public Form1095CListItem addressVerification(Boolean addressVerification) {
+ this.addressVerification = addressVerification;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that address verification should be scheduled for this form
+ * @return addressVerification
+ */
+ @javax.annotation.Nullable
+ public Boolean getAddressVerification() {
+ return addressVerification;
+ }
+
+ public void setAddressVerification(Boolean addressVerification) {
+ this.addressVerification = addressVerification;
+ }
+
+
+ public Form1095CListItem stateAndLocalWithholding(StateAndLocalWithholdingRequest stateAndLocalWithholding) {
+ this.stateAndLocalWithholding = stateAndLocalWithholding;
+ return this;
+ }
+
+ /**
+ * State and local withholding information
+ * @return stateAndLocalWithholding
+ */
+ @javax.annotation.Nullable
+ public StateAndLocalWithholdingRequest getStateAndLocalWithholding() {
+ return stateAndLocalWithholding;
+ }
+
+ public void setStateAndLocalWithholding(StateAndLocalWithholdingRequest stateAndLocalWithholding) {
+ this.stateAndLocalWithholding = stateAndLocalWithholding;
+ }
+
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Form1095CListItem form1095CListItem = (Form1095CListItem) o;
+ return Objects.equals(this.employeeFirstName, form1095CListItem.employeeFirstName) &&
+ Objects.equals(this.employeeMiddleName, form1095CListItem.employeeMiddleName) &&
+ Objects.equals(this.employeeLastName, form1095CListItem.employeeLastName) &&
+ Objects.equals(this.employeeNameSuffix, form1095CListItem.employeeNameSuffix) &&
+ Objects.equals(this.recipientDateOfBirth, form1095CListItem.recipientDateOfBirth) &&
+ Objects.equals(this.planStartMonth, form1095CListItem.planStartMonth) &&
+ Objects.equals(this.offerAndCoverages, form1095CListItem.offerAndCoverages) &&
+ Objects.equals(this.employerProvidedSiCoverage, form1095CListItem.employerProvidedSiCoverage) &&
+ Objects.equals(this.coveredIndividuals, form1095CListItem.coveredIndividuals) &&
+ Objects.equals(this.issuerReferenceId, form1095CListItem.issuerReferenceId) &&
+ Objects.equals(this.issuerTin, form1095CListItem.issuerTin) &&
+ Objects.equals(this.taxYear, form1095CListItem.taxYear) &&
+ Objects.equals(this.issuerId, form1095CListItem.issuerId) &&
+ Objects.equals(this.referenceId, form1095CListItem.referenceId) &&
+ Objects.equals(this.recipientTin, form1095CListItem.recipientTin) &&
+ Objects.equals(this.recipientName, form1095CListItem.recipientName) &&
+ Objects.equals(this.tinType, form1095CListItem.tinType) &&
+ Objects.equals(this.recipientSecondName, form1095CListItem.recipientSecondName) &&
+ Objects.equals(this.address, form1095CListItem.address) &&
+ Objects.equals(this.address2, form1095CListItem.address2) &&
+ Objects.equals(this.city, form1095CListItem.city) &&
+ Objects.equals(this.state, form1095CListItem.state) &&
+ Objects.equals(this.zip, form1095CListItem.zip) &&
+ Objects.equals(this.email, form1095CListItem.email) &&
+ Objects.equals(this.accountNumber, form1095CListItem.accountNumber) &&
+ Objects.equals(this.officeCode, form1095CListItem.officeCode) &&
+ Objects.equals(this.nonUsProvince, form1095CListItem.nonUsProvince) &&
+ Objects.equals(this.countryCode, form1095CListItem.countryCode) &&
+ Objects.equals(this.federalEFile, form1095CListItem.federalEFile) &&
+ Objects.equals(this.postalMail, form1095CListItem.postalMail) &&
+ Objects.equals(this.stateEFile, form1095CListItem.stateEFile) &&
+ Objects.equals(this.tinMatch, form1095CListItem.tinMatch) &&
+ Objects.equals(this.noTin, form1095CListItem.noTin) &&
+ Objects.equals(this.secondTinNotice, form1095CListItem.secondTinNotice) &&
+ Objects.equals(this.addressVerification, form1095CListItem.addressVerification) &&
+ Objects.equals(this.stateAndLocalWithholding, form1095CListItem.stateAndLocalWithholding);
+ }
+
+ private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
+ return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(employeeFirstName, employeeMiddleName, employeeLastName, employeeNameSuffix, recipientDateOfBirth, planStartMonth, offerAndCoverages, employerProvidedSiCoverage, coveredIndividuals, issuerReferenceId, issuerTin, taxYear, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
+ }
+
+ private static int hashCodeNullable(JsonNullable a) {
+ if (a == null) {
+ return 1;
+ }
+ return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Form1095CListItem {\n");
+ sb.append(" employeeFirstName: ").append(toIndentedString(employeeFirstName)).append("\n");
+ sb.append(" employeeMiddleName: ").append(toIndentedString(employeeMiddleName)).append("\n");
+ sb.append(" employeeLastName: ").append(toIndentedString(employeeLastName)).append("\n");
+ sb.append(" employeeNameSuffix: ").append(toIndentedString(employeeNameSuffix)).append("\n");
+ sb.append(" recipientDateOfBirth: ").append(toIndentedString(recipientDateOfBirth)).append("\n");
+ sb.append(" planStartMonth: ").append(toIndentedString(planStartMonth)).append("\n");
+ sb.append(" offerAndCoverages: ").append(toIndentedString(offerAndCoverages)).append("\n");
+ sb.append(" employerProvidedSiCoverage: ").append(toIndentedString(employerProvidedSiCoverage)).append("\n");
+ sb.append(" coveredIndividuals: ").append(toIndentedString(coveredIndividuals)).append("\n");
+ sb.append(" issuerReferenceId: ").append(toIndentedString(issuerReferenceId)).append("\n");
+ sb.append(" issuerTin: ").append(toIndentedString(issuerTin)).append("\n");
+ sb.append(" taxYear: ").append(toIndentedString(taxYear)).append("\n");
+ sb.append(" issuerId: ").append(toIndentedString(issuerId)).append("\n");
+ sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
+ sb.append(" recipientTin: ").append(toIndentedString(recipientTin)).append("\n");
+ sb.append(" recipientName: ").append(toIndentedString(recipientName)).append("\n");
+ sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
+ sb.append(" recipientSecondName: ").append(toIndentedString(recipientSecondName)).append("\n");
+ sb.append(" address: ").append(toIndentedString(address)).append("\n");
+ sb.append(" address2: ").append(toIndentedString(address2)).append("\n");
+ sb.append(" city: ").append(toIndentedString(city)).append("\n");
+ sb.append(" state: ").append(toIndentedString(state)).append("\n");
+ sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
+ sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
+ sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
+ sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
+ sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
+ sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
+ sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
+ sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+
+ public static HashSet openapiFields;
+ public static HashSet openapiRequiredFields;
+
+ static {
+ // a set of all properties/fields (JSON key names)
+ openapiFields = new HashSet();
+ openapiFields.add("issuerReferenceId");
+ openapiFields.add("issuerTin");
+ openapiFields.add("taxYear");
+ openapiFields.add("issuerId");
+ openapiFields.add("referenceId");
+ openapiFields.add("recipientTin");
+ openapiFields.add("recipientName");
+ openapiFields.add("tinType");
+ openapiFields.add("recipientSecondName");
+ openapiFields.add("address");
+ openapiFields.add("address2");
+ openapiFields.add("city");
+ openapiFields.add("state");
+ openapiFields.add("zip");
+ openapiFields.add("email");
+ openapiFields.add("accountNumber");
+ openapiFields.add("officeCode");
+ openapiFields.add("nonUsProvince");
+ openapiFields.add("countryCode");
+ openapiFields.add("federalEFile");
+ openapiFields.add("postalMail");
+ openapiFields.add("stateEFile");
+ openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
+ openapiFields.add("addressVerification");
+ openapiFields.add("stateAndLocalWithholding");
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields = new HashSet();
+ openapiRequiredFields.add("taxYear");
+ openapiRequiredFields.add("address");
+ openapiRequiredFields.add("city");
+ openapiRequiredFields.add("countryCode");
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to Form1095CListItem
+ */
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!Form1095CListItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ throw new IllegalArgumentException(String.format("The required field(s) %s in Form1095CListItem is not found in the empty JSON string", Form1095CListItem.openapiRequiredFields.toString()));
+ }
+ }
+
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
+ // check to see if the JSON string contains additional fields
+ for (Map.Entry entry : entries) {
+ if (!Form1095CListItem.openapiFields.contains(entry.getKey())) {
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Form1095CListItem` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
+ }
+ }
+
+ // check to make sure all required properties/fields are present in the JSON string
+ for (String requiredField : Form1095CListItem.openapiRequiredFields) {
+ if (jsonElement.getAsJsonObject().get(requiredField) == null) {
+ throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString()));
+ }
+ }
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("employeeFirstName") != null && !jsonObj.get("employeeFirstName").isJsonNull()) && !jsonObj.get("employeeFirstName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `employeeFirstName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("employeeFirstName").toString()));
+ }
+ if ((jsonObj.get("employeeMiddleName") != null && !jsonObj.get("employeeMiddleName").isJsonNull()) && !jsonObj.get("employeeMiddleName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `employeeMiddleName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("employeeMiddleName").toString()));
+ }
+ if ((jsonObj.get("employeeLastName") != null && !jsonObj.get("employeeLastName").isJsonNull()) && !jsonObj.get("employeeLastName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `employeeLastName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("employeeLastName").toString()));
+ }
+ if ((jsonObj.get("employeeNameSuffix") != null && !jsonObj.get("employeeNameSuffix").isJsonNull()) && !jsonObj.get("employeeNameSuffix").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `employeeNameSuffix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("employeeNameSuffix").toString()));
+ }
+ if ((jsonObj.get("planStartMonth") != null && !jsonObj.get("planStartMonth").isJsonNull()) && !jsonObj.get("planStartMonth").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `planStartMonth` to be a primitive type in the JSON string but got `%s`", jsonObj.get("planStartMonth").toString()));
+ }
+ if (jsonObj.get("offerAndCoverages") != null && !jsonObj.get("offerAndCoverages").isJsonNull()) {
+ JsonArray jsonArrayofferAndCoverages = jsonObj.getAsJsonArray("offerAndCoverages");
+ if (jsonArrayofferAndCoverages != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("offerAndCoverages").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `offerAndCoverages` to be an array in the JSON string but got `%s`", jsonObj.get("offerAndCoverages").toString()));
+ }
+
+ // validate the optional field `offerAndCoverages` (array)
+ for (int i = 0; i < jsonArrayofferAndCoverages.size(); i++) {
+ OfferAndCoverageRequest.validateJsonElement(jsonArrayofferAndCoverages.get(i));
+ };
+ }
+ }
+ if (jsonObj.get("coveredIndividuals") != null && !jsonObj.get("coveredIndividuals").isJsonNull()) {
+ JsonArray jsonArraycoveredIndividuals = jsonObj.getAsJsonArray("coveredIndividuals");
+ if (jsonArraycoveredIndividuals != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("coveredIndividuals").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `coveredIndividuals` to be an array in the JSON string but got `%s`", jsonObj.get("coveredIndividuals").toString()));
+ }
+
+ // validate the optional field `coveredIndividuals` (array)
+ for (int i = 0; i < jsonArraycoveredIndividuals.size(); i++) {
+ CoveredIndividualRequest.validateJsonElement(jsonArraycoveredIndividuals.get(i));
+ };
+ }
+ }
+ if ((jsonObj.get("issuerReferenceId") != null && !jsonObj.get("issuerReferenceId").isJsonNull()) && !jsonObj.get("issuerReferenceId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerReferenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerReferenceId").toString()));
+ }
+ if ((jsonObj.get("issuerTin") != null && !jsonObj.get("issuerTin").isJsonNull()) && !jsonObj.get("issuerTin").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerTin").toString()));
+ }
+ if ((jsonObj.get("issuerId") != null && !jsonObj.get("issuerId").isJsonNull()) && !jsonObj.get("issuerId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerId").toString()));
+ }
+ if ((jsonObj.get("referenceId") != null && !jsonObj.get("referenceId").isJsonNull()) && !jsonObj.get("referenceId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `referenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("referenceId").toString()));
+ }
+ if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
+ }
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
+ }
+ if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `tinType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tinType").toString()));
+ }
+ // validate the optional field `tinType`
+ if (jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) {
+ TinTypeEnum.validateJsonElement(jsonObj.get("tinType"));
+ }
+ if ((jsonObj.get("recipientSecondName") != null && !jsonObj.get("recipientSecondName").isJsonNull()) && !jsonObj.get("recipientSecondName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientSecondName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientSecondName").toString()));
+ }
+ if (!jsonObj.get("address").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address").toString()));
+ }
+ if ((jsonObj.get("address2") != null && !jsonObj.get("address2").isJsonNull()) && !jsonObj.get("address2").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `address2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address2").toString()));
+ }
+ if (!jsonObj.get("city").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString()));
+ }
+ if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString()));
+ }
+ if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
+ }
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
+ }
+ if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
+ }
+ if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
+ }
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
+ }
+ if (!jsonObj.get("countryCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
+ }
+ // validate the optional field `stateAndLocalWithholding`
+ if (jsonObj.get("stateAndLocalWithholding") != null && !jsonObj.get("stateAndLocalWithholding").isJsonNull()) {
+ StateAndLocalWithholdingRequest.validateJsonElement(jsonObj.get("stateAndLocalWithholding"));
+ }
+ }
+
+ public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
+ @SuppressWarnings("unchecked")
+ @Override
+ public TypeAdapter create(Gson gson, TypeToken type) {
+ if (!Form1095CListItem.class.isAssignableFrom(type.getRawType())) {
+ return null; // this class only serializes 'Form1095CListItem' and its subtypes
+ }
+ final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
+ final TypeAdapter thisAdapter
+ = gson.getDelegateAdapter(this, TypeToken.get(Form1095CListItem.class));
+
+ return (TypeAdapter) new TypeAdapter() {
+ @Override
+ public void write(JsonWriter out, Form1095CListItem value) throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public Form1095CListItem read(JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of Form1095CListItem given an JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of Form1095CListItem
+ * @throws IOException if the JSON string is invalid with respect to Form1095CListItem
+ */
+ public static Form1095CListItem fromJson(String jsonString) throws IOException {
+ return JSON.getGson().fromJson(jsonString, Form1095CListItem.class);
+ }
+
+ /**
+ * Convert an instance of Form1095CListItem to an JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
+
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099BaseResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099BaseResponse.java
index dca3e6c..128ff23 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099BaseResponse.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099BaseResponse.java
@@ -20,9 +20,9 @@
package Avalara.SDK.model.A1099.V2;
import java.util.Objects;
-import Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse;
import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -95,7 +95,7 @@ public class Form1099BaseResponse {
public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS = "federalEfileStatus";
@SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
- private Form1099StatusDetailResponse federalEfileStatus;
+ private StatusDetail federalEfileStatus;
public static final String SERIALIZED_NAME_STATE_EFILE = "stateEfile";
@SerializedName(SERIALIZED_NAME_STATE_EFILE)
@@ -111,7 +111,7 @@ public class Form1099BaseResponse {
public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS = "postalMailStatus";
@SerializedName(SERIALIZED_NAME_POSTAL_MAIL_STATUS)
- private Form1099StatusDetailResponse postalMailStatus;
+ private StatusDetail postalMailStatus;
public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
@@ -119,7 +119,7 @@ public class Form1099BaseResponse {
public static final String SERIALIZED_NAME_TIN_MATCH_STATUS = "tinMatchStatus";
@SerializedName(SERIALIZED_NAME_TIN_MATCH_STATUS)
- private Form1099StatusDetailResponse tinMatchStatus;
+ private StatusDetail tinMatchStatus;
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
@@ -127,7 +127,11 @@ public class Form1099BaseResponse {
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS = "addressVerificationStatus";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS)
- private Form1099StatusDetailResponse addressVerificationStatus;
+ private StatusDetail addressVerificationStatus;
+
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
@SerializedName(SERIALIZED_NAME_REFERENCE_ID)
@@ -145,6 +149,14 @@ public class Form1099BaseResponse {
@SerializedName(SERIALIZED_NAME_TIN)
private String tin;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
@SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
private String recipientName;
@@ -173,14 +185,26 @@ public class Form1099BaseResponse {
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_FOREIGN_PROVINCE = "foreignProvince";
- @SerializedName(SERIALIZED_NAME_FOREIGN_PROVINCE)
- private String foreignProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
private String countryCode;
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
+ @SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
+ private Boolean fatcaFilingRequirement;
+
public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors";
@SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS)
private List validationErrors;
@@ -202,11 +226,12 @@ public Form1099BaseResponse() {
public Form1099BaseResponse(
String id,
- Form1099StatusDetailResponse federalEfileStatus,
+ StatusDetail federalEfileStatus,
List stateEfileStatus,
- Form1099StatusDetailResponse postalMailStatus,
- Form1099StatusDetailResponse tinMatchStatus,
- Form1099StatusDetailResponse addressVerificationStatus,
+ StatusDetail postalMailStatus,
+ StatusDetail tinMatchStatus,
+ StatusDetail addressVerificationStatus,
+ StatusDetail eDeliveryStatus,
List validationErrors,
OffsetDateTime createdAt,
OffsetDateTime updatedAt
@@ -218,6 +243,7 @@ public Form1099BaseResponse(
this.postalMailStatus = postalMailStatus;
this.tinMatchStatus = tinMatchStatus;
this.addressVerificationStatus = addressVerificationStatus;
+ this.eDeliveryStatus = eDeliveryStatus;
this.validationErrors = validationErrors;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
@@ -353,7 +379,7 @@ public void setFederalEfile(Boolean federalEfile) {
* @return federalEfileStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getFederalEfileStatus() {
+ public StatusDetail getFederalEfileStatus() {
return federalEfileStatus;
}
@@ -413,7 +439,7 @@ public void setPostalMail(Boolean postalMail) {
* @return postalMailStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getPostalMailStatus() {
+ public StatusDetail getPostalMailStatus() {
return postalMailStatus;
}
@@ -443,7 +469,7 @@ public void setTinMatch(Boolean tinMatch) {
* @return tinMatchStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getTinMatchStatus() {
+ public StatusDetail getTinMatchStatus() {
return tinMatchStatus;
}
@@ -473,12 +499,23 @@ public void setAddressVerification(Boolean addressVerification) {
* @return addressVerificationStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getAddressVerificationStatus() {
+ public StatusDetail getAddressVerificationStatus() {
return addressVerificationStatus;
}
+ /**
+ * EDelivery status
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+
+
public Form1099BaseResponse referenceId(String referenceId) {
this.referenceId = referenceId;
return this;
@@ -555,6 +592,44 @@ public void setTin(String tin) {
}
+ public Form1099BaseResponse noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099BaseResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second Tin Notice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099BaseResponse recipientName(String recipientName) {
this.recipientName = recipientName;
return this;
@@ -688,22 +763,22 @@ public void setZip(String zip) {
}
- public Form1099BaseResponse foreignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public Form1099BaseResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return foreignProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getForeignProvince() {
- return foreignProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setForeignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -726,6 +801,63 @@ public void setCountryCode(String countryCode) {
}
+ public Form1099BaseResponse accountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Account Number
+ * @return accountNumber
+ */
+ @javax.annotation.Nullable
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ public void setAccountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+
+ public Form1099BaseResponse officeCode(String officeCode) {
+ this.officeCode = officeCode;
+ return this;
+ }
+
+ /**
+ * Office Code
+ * @return officeCode
+ */
+ @javax.annotation.Nullable
+ public String getOfficeCode() {
+ return officeCode;
+ }
+
+ public void setOfficeCode(String officeCode) {
+ this.officeCode = officeCode;
+ }
+
+
+ public Form1099BaseResponse fatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ return this;
+ }
+
+ /**
+ * FATCA filing requirement
+ * @return fatcaFilingRequirement
+ */
+ @javax.annotation.Nullable
+ public Boolean getFatcaFilingRequirement() {
+ return fatcaFilingRequirement;
+ }
+
+ public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ }
+
+
/**
* Validation errors
* @return validationErrors
@@ -804,10 +936,13 @@ public boolean equals(Object o) {
Objects.equals(this.tinMatchStatus, form1099BaseResponse.tinMatchStatus) &&
Objects.equals(this.addressVerification, form1099BaseResponse.addressVerification) &&
Objects.equals(this.addressVerificationStatus, form1099BaseResponse.addressVerificationStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1099BaseResponse.eDeliveryStatus) &&
Objects.equals(this.referenceId, form1099BaseResponse.referenceId) &&
Objects.equals(this.email, form1099BaseResponse.email) &&
Objects.equals(this.tinType, form1099BaseResponse.tinType) &&
Objects.equals(this.tin, form1099BaseResponse.tin) &&
+ Objects.equals(this.noTin, form1099BaseResponse.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099BaseResponse.secondTinNotice) &&
Objects.equals(this.recipientName, form1099BaseResponse.recipientName) &&
Objects.equals(this.recipientSecondName, form1099BaseResponse.recipientSecondName) &&
Objects.equals(this.address, form1099BaseResponse.address) &&
@@ -815,8 +950,11 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099BaseResponse.city) &&
Objects.equals(this.state, form1099BaseResponse.state) &&
Objects.equals(this.zip, form1099BaseResponse.zip) &&
- Objects.equals(this.foreignProvince, form1099BaseResponse.foreignProvince) &&
+ Objects.equals(this.nonUsProvince, form1099BaseResponse.nonUsProvince) &&
Objects.equals(this.countryCode, form1099BaseResponse.countryCode) &&
+ Objects.equals(this.accountNumber, form1099BaseResponse.accountNumber) &&
+ Objects.equals(this.officeCode, form1099BaseResponse.officeCode) &&
+ Objects.equals(this.fatcaFilingRequirement, form1099BaseResponse.fatcaFilingRequirement) &&
Objects.equals(this.validationErrors, form1099BaseResponse.validationErrors) &&
Objects.equals(this.createdAt, form1099BaseResponse.createdAt) &&
Objects.equals(this.updatedAt, form1099BaseResponse.updatedAt) &&
@@ -829,7 +967,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, referenceId, email, tinType, tin, recipientName, recipientSecondName, address, address2, city, state, zip, foreignProvince, countryCode, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
+ return Objects.hash(id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, eDeliveryStatus, referenceId, email, tinType, tin, noTin, secondTinNotice, recipientName, recipientSecondName, address, address2, city, state, zip, nonUsProvince, countryCode, accountNumber, officeCode, fatcaFilingRequirement, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -859,10 +997,13 @@ public String toString() {
sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" addressVerificationStatus: ").append(toIndentedString(addressVerificationStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
sb.append(" tin: ").append(toIndentedString(tin)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" recipientName: ").append(toIndentedString(recipientName)).append("\n");
sb.append(" recipientSecondName: ").append(toIndentedString(recipientSecondName)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
@@ -870,8 +1011,11 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" foreignProvince: ").append(toIndentedString(foreignProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
+ sb.append(" fatcaFilingRequirement: ").append(toIndentedString(fatcaFilingRequirement)).append("\n");
sb.append(" validationErrors: ").append(toIndentedString(validationErrors)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
@@ -953,7 +1097,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `federalEfileStatus`
if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("federalEfileStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
}
if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
@@ -971,15 +1115,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `postalMailStatus`
if (jsonObj.get("postalMailStatus") != null && !jsonObj.get("postalMailStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("postalMailStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("postalMailStatus"));
}
// validate the optional field `tinMatchStatus`
if (jsonObj.get("tinMatchStatus") != null && !jsonObj.get("tinMatchStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("tinMatchStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("tinMatchStatus"));
}
// validate the optional field `addressVerificationStatus`
if (jsonObj.get("addressVerificationStatus") != null && !jsonObj.get("addressVerificationStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ }
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
}
if ((jsonObj.get("referenceId") != null && !jsonObj.get("referenceId").isJsonNull()) && !jsonObj.get("referenceId").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `referenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("referenceId").toString()));
@@ -1014,12 +1162,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("foreignProvince") != null && !jsonObj.get("foreignProvince").isJsonNull()) && !jsonObj.get("foreignProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `foreignProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("foreignProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
}
+ if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
+ }
+ if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
+ }
if (jsonObj.get("validationErrors") != null && !jsonObj.get("validationErrors").isJsonNull()) {
JsonArray jsonArrayvalidationErrors = jsonObj.getAsJsonArray("validationErrors");
if (jsonArrayvalidationErrors != null) {
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivListItem.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivListItem.java
index 1dbfdbb..142d6f3 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivListItem.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivListItem.java
@@ -67,13 +67,13 @@ public class Form1099DivListItem {
@SerializedName(SERIALIZED_NAME_QUALIFIED_DIVIDENDS)
private String qualifiedDividends;
- public static final String SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTR = "totalCapitalGainDistr";
- @SerializedName(SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTR)
- private String totalCapitalGainDistr;
+ public static final String SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTRIBUTIONS = "totalCapitalGainDistributions";
+ @SerializedName(SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTRIBUTIONS)
+ private String totalCapitalGainDistributions;
- public static final String SERIALIZED_NAME_UNRECAP_SEC1250_GAIN = "unrecapSec1250Gain";
- @SerializedName(SERIALIZED_NAME_UNRECAP_SEC1250_GAIN)
- private String unrecapSec1250Gain;
+ public static final String SERIALIZED_NAME_UNRECAPTURED_SECTION1250_GAIN = "unrecapturedSection1250Gain";
+ @SerializedName(SERIALIZED_NAME_UNRECAPTURED_SECTION1250_GAIN)
+ private String unrecapturedSection1250Gain;
public static final String SERIALIZED_NAME_SECTION1202_GAIN = "section1202Gain";
@SerializedName(SERIALIZED_NAME_SECTION1202_GAIN)
@@ -133,7 +133,7 @@ public class Form1099DivListItem {
public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
@SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
- private String fatcaFilingRequirement;
+ private Boolean fatcaFilingRequirement;
public static final String SERIALIZED_NAME_ISSUER_REFERENCE_ID = "issuerReferenceId";
@SerializedName(SERIALIZED_NAME_ISSUER_REFERENCE_ID)
@@ -247,9 +247,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -259,9 +259,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -283,6 +283,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -332,41 +340,41 @@ public void setQualifiedDividends(String qualifiedDividends) {
}
- public Form1099DivListItem totalCapitalGainDistr(String totalCapitalGainDistr) {
- this.totalCapitalGainDistr = totalCapitalGainDistr;
+ public Form1099DivListItem totalCapitalGainDistributions(String totalCapitalGainDistributions) {
+ this.totalCapitalGainDistributions = totalCapitalGainDistributions;
return this;
}
/**
* Total capital gain distributions
- * @return totalCapitalGainDistr
+ * @return totalCapitalGainDistributions
*/
@javax.annotation.Nullable
- public String getTotalCapitalGainDistr() {
- return totalCapitalGainDistr;
+ public String getTotalCapitalGainDistributions() {
+ return totalCapitalGainDistributions;
}
- public void setTotalCapitalGainDistr(String totalCapitalGainDistr) {
- this.totalCapitalGainDistr = totalCapitalGainDistr;
+ public void setTotalCapitalGainDistributions(String totalCapitalGainDistributions) {
+ this.totalCapitalGainDistributions = totalCapitalGainDistributions;
}
- public Form1099DivListItem unrecapSec1250Gain(String unrecapSec1250Gain) {
- this.unrecapSec1250Gain = unrecapSec1250Gain;
+ public Form1099DivListItem unrecapturedSection1250Gain(String unrecapturedSection1250Gain) {
+ this.unrecapturedSection1250Gain = unrecapturedSection1250Gain;
return this;
}
/**
* Unrecaptured Section 1250 gain
- * @return unrecapSec1250Gain
+ * @return unrecapturedSection1250Gain
*/
@javax.annotation.Nullable
- public String getUnrecapSec1250Gain() {
- return unrecapSec1250Gain;
+ public String getUnrecapturedSection1250Gain() {
+ return unrecapturedSection1250Gain;
}
- public void setUnrecapSec1250Gain(String unrecapSec1250Gain) {
- this.unrecapSec1250Gain = unrecapSec1250Gain;
+ public void setUnrecapturedSection1250Gain(String unrecapturedSection1250Gain) {
+ this.unrecapturedSection1250Gain = unrecapturedSection1250Gain;
}
@@ -636,7 +644,7 @@ public void setSpecifiedPrivateActivityBondInterestDividends(String specifiedPri
}
- public Form1099DivListItem fatcaFilingRequirement(String fatcaFilingRequirement) {
+ public Form1099DivListItem fatcaFilingRequirement(Boolean fatcaFilingRequirement) {
this.fatcaFilingRequirement = fatcaFilingRequirement;
return this;
}
@@ -646,11 +654,11 @@ public Form1099DivListItem fatcaFilingRequirement(String fatcaFilingRequirement)
* @return fatcaFilingRequirement
*/
@javax.annotation.Nullable
- public String getFatcaFilingRequirement() {
+ public Boolean getFatcaFilingRequirement() {
return fatcaFilingRequirement;
}
- public void setFatcaFilingRequirement(String fatcaFilingRequirement) {
+ public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement) {
this.fatcaFilingRequirement = fatcaFilingRequirement;
}
@@ -778,7 +786,7 @@ public Form1099DivListItem recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -921,22 +929,22 @@ public void setZip(String zip) {
}
- public Form1099DivListItem recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1099DivListItem email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -978,22 +986,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1099DivListItem recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1099DivListItem nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1092,6 +1100,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1099DivListItem noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099DivListItem secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099DivListItem addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -1142,8 +1188,8 @@ public boolean equals(Object o) {
Form1099DivListItem form1099DivListItem = (Form1099DivListItem) o;
return Objects.equals(this.totalOrdinaryDividends, form1099DivListItem.totalOrdinaryDividends) &&
Objects.equals(this.qualifiedDividends, form1099DivListItem.qualifiedDividends) &&
- Objects.equals(this.totalCapitalGainDistr, form1099DivListItem.totalCapitalGainDistr) &&
- Objects.equals(this.unrecapSec1250Gain, form1099DivListItem.unrecapSec1250Gain) &&
+ Objects.equals(this.totalCapitalGainDistributions, form1099DivListItem.totalCapitalGainDistributions) &&
+ Objects.equals(this.unrecapturedSection1250Gain, form1099DivListItem.unrecapturedSection1250Gain) &&
Objects.equals(this.section1202Gain, form1099DivListItem.section1202Gain) &&
Objects.equals(this.collectiblesGain, form1099DivListItem.collectiblesGain) &&
Objects.equals(this.section897OrdinaryDividends, form1099DivListItem.section897OrdinaryDividends) &&
@@ -1173,15 +1219,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099DivListItem.city) &&
Objects.equals(this.state, form1099DivListItem.state) &&
Objects.equals(this.zip, form1099DivListItem.zip) &&
- Objects.equals(this.recipientEmail, form1099DivListItem.recipientEmail) &&
+ Objects.equals(this.email, form1099DivListItem.email) &&
Objects.equals(this.accountNumber, form1099DivListItem.accountNumber) &&
Objects.equals(this.officeCode, form1099DivListItem.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1099DivListItem.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1099DivListItem.nonUsProvince) &&
Objects.equals(this.countryCode, form1099DivListItem.countryCode) &&
Objects.equals(this.federalEFile, form1099DivListItem.federalEFile) &&
Objects.equals(this.postalMail, form1099DivListItem.postalMail) &&
Objects.equals(this.stateEFile, form1099DivListItem.stateEFile) &&
Objects.equals(this.tinMatch, form1099DivListItem.tinMatch) &&
+ Objects.equals(this.noTin, form1099DivListItem.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099DivListItem.secondTinNotice) &&
Objects.equals(this.addressVerification, form1099DivListItem.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1099DivListItem.stateAndLocalWithholding);
}
@@ -1192,7 +1240,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(totalOrdinaryDividends, qualifiedDividends, totalCapitalGainDistr, unrecapSec1250Gain, section1202Gain, collectiblesGain, section897OrdinaryDividends, section897CapitalGain, nondividendDistributions, federalIncomeTaxWithheld, section199ADividends, investmentExpenses, foreignTaxPaid, foreignCountryOrUSPossession, cashLiquidationDistributions, noncashLiquidationDistributions, exemptInterestDividends, specifiedPrivateActivityBondInterestDividends, fatcaFilingRequirement, issuerReferenceId, issuerTin, taxYear, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(totalOrdinaryDividends, qualifiedDividends, totalCapitalGainDistributions, unrecapturedSection1250Gain, section1202Gain, collectiblesGain, section897OrdinaryDividends, section897CapitalGain, nondividendDistributions, federalIncomeTaxWithheld, section199ADividends, investmentExpenses, foreignTaxPaid, foreignCountryOrUSPossession, cashLiquidationDistributions, noncashLiquidationDistributions, exemptInterestDividends, specifiedPrivateActivityBondInterestDividends, fatcaFilingRequirement, issuerReferenceId, issuerTin, taxYear, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1208,8 +1256,8 @@ public String toString() {
sb.append("class Form1099DivListItem {\n");
sb.append(" totalOrdinaryDividends: ").append(toIndentedString(totalOrdinaryDividends)).append("\n");
sb.append(" qualifiedDividends: ").append(toIndentedString(qualifiedDividends)).append("\n");
- sb.append(" totalCapitalGainDistr: ").append(toIndentedString(totalCapitalGainDistr)).append("\n");
- sb.append(" unrecapSec1250Gain: ").append(toIndentedString(unrecapSec1250Gain)).append("\n");
+ sb.append(" totalCapitalGainDistributions: ").append(toIndentedString(totalCapitalGainDistributions)).append("\n");
+ sb.append(" unrecapturedSection1250Gain: ").append(toIndentedString(unrecapturedSection1250Gain)).append("\n");
sb.append(" section1202Gain: ").append(toIndentedString(section1202Gain)).append("\n");
sb.append(" collectiblesGain: ").append(toIndentedString(collectiblesGain)).append("\n");
sb.append(" section897OrdinaryDividends: ").append(toIndentedString(section897OrdinaryDividends)).append("\n");
@@ -1239,15 +1287,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -1286,22 +1336,23 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
openapiRequiredFields.add("taxYear");
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1341,11 +1392,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("qualifiedDividends") != null && !jsonObj.get("qualifiedDividends").isJsonNull()) && !jsonObj.get("qualifiedDividends").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `qualifiedDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("qualifiedDividends").toString()));
}
- if ((jsonObj.get("totalCapitalGainDistr") != null && !jsonObj.get("totalCapitalGainDistr").isJsonNull()) && !jsonObj.get("totalCapitalGainDistr").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `totalCapitalGainDistr` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalCapitalGainDistr").toString()));
+ if ((jsonObj.get("totalCapitalGainDistributions") != null && !jsonObj.get("totalCapitalGainDistributions").isJsonNull()) && !jsonObj.get("totalCapitalGainDistributions").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `totalCapitalGainDistributions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalCapitalGainDistributions").toString()));
}
- if ((jsonObj.get("unrecapSec1250Gain") != null && !jsonObj.get("unrecapSec1250Gain").isJsonNull()) && !jsonObj.get("unrecapSec1250Gain").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `unrecapSec1250Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unrecapSec1250Gain").toString()));
+ if ((jsonObj.get("unrecapturedSection1250Gain") != null && !jsonObj.get("unrecapturedSection1250Gain").isJsonNull()) && !jsonObj.get("unrecapturedSection1250Gain").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `unrecapturedSection1250Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unrecapturedSection1250Gain").toString()));
}
if ((jsonObj.get("section1202Gain") != null && !jsonObj.get("section1202Gain").isJsonNull()) && !jsonObj.get("section1202Gain").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `section1202Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("section1202Gain").toString()));
@@ -1389,9 +1440,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("specifiedPrivateActivityBondInterestDividends") != null && !jsonObj.get("specifiedPrivateActivityBondInterestDividends").isJsonNull()) && !jsonObj.get("specifiedPrivateActivityBondInterestDividends").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `specifiedPrivateActivityBondInterestDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specifiedPrivateActivityBondInterestDividends").toString()));
}
- if ((jsonObj.get("fatcaFilingRequirement") != null && !jsonObj.get("fatcaFilingRequirement").isJsonNull()) && !jsonObj.get("fatcaFilingRequirement").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `fatcaFilingRequirement` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fatcaFilingRequirement").toString()));
- }
if ((jsonObj.get("issuerReferenceId") != null && !jsonObj.get("issuerReferenceId").isJsonNull()) && !jsonObj.get("issuerReferenceId").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `issuerReferenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerReferenceId").toString()));
}
@@ -1407,7 +1455,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1435,8 +1483,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1444,8 +1492,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivListItemResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivListItemResponse.java
new file mode 100644
index 0000000..21cd0db
--- /dev/null
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivListItemResponse.java
@@ -0,0 +1,1789 @@
+/*
+ * AvaTax Software Development Kit for Java (JRE)
+ *
+ * (c) 2004-2025 Avalara, Inc.
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ *
+ * Avalara 1099 & W-9 API Definition
+ *
+ * ## 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
+ *
+ * @author Sachin Baijal
+ * @author Jonathan Wenger
+ * @copyright 2004-2025 Avalara, Inc.
+ * @license https://www.apache.org/licenses/LICENSE-2.0
+ * @link https://github.com/avadev/Avalara-SDK-Java
+ */
+
+package Avalara.SDK.model.A1099.V2;
+
+import java.util.Objects;
+import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
+import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
+import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.JsonArray;
+import com.google.gson.JsonDeserializationContext;
+import com.google.gson.JsonDeserializer;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParseException;
+import com.google.gson.TypeAdapterFactory;
+import com.google.gson.reflect.TypeToken;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+
+import java.lang.reflect.Type;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import Avalara.SDK.JSON;
+
+/**
+ * Form1099DivListItemResponse
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0")
+public class Form1099DivListItemResponse {
+ public static final String SERIALIZED_NAME_TOTAL_ORDINARY_DIVIDENDS = "totalOrdinaryDividends";
+ @SerializedName(SERIALIZED_NAME_TOTAL_ORDINARY_DIVIDENDS)
+ private String totalOrdinaryDividends;
+
+ public static final String SERIALIZED_NAME_QUALIFIED_DIVIDENDS = "qualifiedDividends";
+ @SerializedName(SERIALIZED_NAME_QUALIFIED_DIVIDENDS)
+ private String qualifiedDividends;
+
+ public static final String SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTRIBUTIONS = "totalCapitalGainDistributions";
+ @SerializedName(SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTRIBUTIONS)
+ private String totalCapitalGainDistributions;
+
+ public static final String SERIALIZED_NAME_UNRECAPTURED_SECTION1250_GAIN = "unrecapturedSection1250Gain";
+ @SerializedName(SERIALIZED_NAME_UNRECAPTURED_SECTION1250_GAIN)
+ private String unrecapturedSection1250Gain;
+
+ public static final String SERIALIZED_NAME_SECTION1202_GAIN = "section1202Gain";
+ @SerializedName(SERIALIZED_NAME_SECTION1202_GAIN)
+ private String section1202Gain;
+
+ public static final String SERIALIZED_NAME_COLLECTIBLES_GAIN = "collectiblesGain";
+ @SerializedName(SERIALIZED_NAME_COLLECTIBLES_GAIN)
+ private String collectiblesGain;
+
+ public static final String SERIALIZED_NAME_SECTION897_ORDINARY_DIVIDENDS = "section897OrdinaryDividends";
+ @SerializedName(SERIALIZED_NAME_SECTION897_ORDINARY_DIVIDENDS)
+ private String section897OrdinaryDividends;
+
+ public static final String SERIALIZED_NAME_SECTION897_CAPITAL_GAIN = "section897CapitalGain";
+ @SerializedName(SERIALIZED_NAME_SECTION897_CAPITAL_GAIN)
+ private String section897CapitalGain;
+
+ public static final String SERIALIZED_NAME_NONDIVIDEND_DISTRIBUTIONS = "nondividendDistributions";
+ @SerializedName(SERIALIZED_NAME_NONDIVIDEND_DISTRIBUTIONS)
+ private String nondividendDistributions;
+
+ public static final String SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD = "federalIncomeTaxWithheld";
+ @SerializedName(SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD)
+ private String federalIncomeTaxWithheld;
+
+ public static final String SERIALIZED_NAME_SECTION199_A_DIVIDENDS = "section199ADividends";
+ @SerializedName(SERIALIZED_NAME_SECTION199_A_DIVIDENDS)
+ private String section199ADividends;
+
+ public static final String SERIALIZED_NAME_INVESTMENT_EXPENSES = "investmentExpenses";
+ @SerializedName(SERIALIZED_NAME_INVESTMENT_EXPENSES)
+ private String investmentExpenses;
+
+ public static final String SERIALIZED_NAME_FOREIGN_TAX_PAID = "foreignTaxPaid";
+ @SerializedName(SERIALIZED_NAME_FOREIGN_TAX_PAID)
+ private String foreignTaxPaid;
+
+ public static final String SERIALIZED_NAME_FOREIGN_COUNTRY_OR_U_S_POSSESSION = "foreignCountryOrUSPossession";
+ @SerializedName(SERIALIZED_NAME_FOREIGN_COUNTRY_OR_U_S_POSSESSION)
+ private String foreignCountryOrUSPossession;
+
+ public static final String SERIALIZED_NAME_CASH_LIQUIDATION_DISTRIBUTIONS = "cashLiquidationDistributions";
+ @SerializedName(SERIALIZED_NAME_CASH_LIQUIDATION_DISTRIBUTIONS)
+ private String cashLiquidationDistributions;
+
+ public static final String SERIALIZED_NAME_NONCASH_LIQUIDATION_DISTRIBUTIONS = "noncashLiquidationDistributions";
+ @SerializedName(SERIALIZED_NAME_NONCASH_LIQUIDATION_DISTRIBUTIONS)
+ private String noncashLiquidationDistributions;
+
+ public static final String SERIALIZED_NAME_EXEMPT_INTEREST_DIVIDENDS = "exemptInterestDividends";
+ @SerializedName(SERIALIZED_NAME_EXEMPT_INTEREST_DIVIDENDS)
+ private String exemptInterestDividends;
+
+ public static final String SERIALIZED_NAME_SPECIFIED_PRIVATE_ACTIVITY_BOND_INTEREST_DIVIDENDS = "specifiedPrivateActivityBondInterestDividends";
+ @SerializedName(SERIALIZED_NAME_SPECIFIED_PRIVATE_ACTIVITY_BOND_INTEREST_DIVIDENDS)
+ private String specifiedPrivateActivityBondInterestDividends;
+
+ public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
+ @SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
+ private Boolean fatcaFilingRequirement;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private String id;
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private String type;
+
+ public static final String SERIALIZED_NAME_ISSUER_ID = "issuerId";
+ @SerializedName(SERIALIZED_NAME_ISSUER_ID)
+ private Integer issuerId;
+
+ public static final String SERIALIZED_NAME_ISSUER_REFERENCE_ID = "issuerReferenceId";
+ @SerializedName(SERIALIZED_NAME_ISSUER_REFERENCE_ID)
+ private String issuerReferenceId;
+
+ public static final String SERIALIZED_NAME_ISSUER_TIN = "issuerTin";
+ @SerializedName(SERIALIZED_NAME_ISSUER_TIN)
+ private String issuerTin;
+
+ public static final String SERIALIZED_NAME_TAX_YEAR = "taxYear";
+ @SerializedName(SERIALIZED_NAME_TAX_YEAR)
+ private Integer taxYear;
+
+ public static final String SERIALIZED_NAME_FEDERAL_EFILE = "federalEfile";
+ @SerializedName(SERIALIZED_NAME_FEDERAL_EFILE)
+ private Boolean federalEfile;
+
+ public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS = "federalEfileStatus";
+ @SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
+ private StatusDetail federalEfileStatus;
+
+ public static final String SERIALIZED_NAME_STATE_EFILE = "stateEfile";
+ @SerializedName(SERIALIZED_NAME_STATE_EFILE)
+ private Boolean stateEfile;
+
+ public static final String SERIALIZED_NAME_STATE_EFILE_STATUS = "stateEfileStatus";
+ @SerializedName(SERIALIZED_NAME_STATE_EFILE_STATUS)
+ private List stateEfileStatus;
+
+ public static final String SERIALIZED_NAME_POSTAL_MAIL = "postalMail";
+ @SerializedName(SERIALIZED_NAME_POSTAL_MAIL)
+ private Boolean postalMail;
+
+ public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS = "postalMailStatus";
+ @SerializedName(SERIALIZED_NAME_POSTAL_MAIL_STATUS)
+ private StatusDetail postalMailStatus;
+
+ public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
+ @SerializedName(SERIALIZED_NAME_TIN_MATCH)
+ private Boolean tinMatch;
+
+ public static final String SERIALIZED_NAME_TIN_MATCH_STATUS = "tinMatchStatus";
+ @SerializedName(SERIALIZED_NAME_TIN_MATCH_STATUS)
+ private StatusDetail tinMatchStatus;
+
+ public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
+ @SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
+ private Boolean addressVerification;
+
+ public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS = "addressVerificationStatus";
+ @SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS)
+ private StatusDetail addressVerificationStatus;
+
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
+
+ public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
+ @SerializedName(SERIALIZED_NAME_REFERENCE_ID)
+ private String referenceId;
+
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
+
+ public static final String SERIALIZED_NAME_TIN_TYPE = "tinType";
+ @SerializedName(SERIALIZED_NAME_TIN_TYPE)
+ private String tinType;
+
+ public static final String SERIALIZED_NAME_TIN = "tin";
+ @SerializedName(SERIALIZED_NAME_TIN)
+ private String tin;
+
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
+ private String recipientName;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_SECOND_NAME = "recipientSecondName";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_SECOND_NAME)
+ private String recipientSecondName;
+
+ public static final String SERIALIZED_NAME_ADDRESS = "address";
+ @SerializedName(SERIALIZED_NAME_ADDRESS)
+ private String address;
+
+ public static final String SERIALIZED_NAME_ADDRESS2 = "address2";
+ @SerializedName(SERIALIZED_NAME_ADDRESS2)
+ private String address2;
+
+ public static final String SERIALIZED_NAME_CITY = "city";
+ @SerializedName(SERIALIZED_NAME_CITY)
+ private String city;
+
+ public static final String SERIALIZED_NAME_STATE = "state";
+ @SerializedName(SERIALIZED_NAME_STATE)
+ private String state;
+
+ public static final String SERIALIZED_NAME_ZIP = "zip";
+ @SerializedName(SERIALIZED_NAME_ZIP)
+ private String zip;
+
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
+
+ public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
+ @SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
+ private String countryCode;
+
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors";
+ @SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS)
+ private List validationErrors;
+
+ public static final String SERIALIZED_NAME_CREATED_AT = "createdAt";
+ @SerializedName(SERIALIZED_NAME_CREATED_AT)
+ private OffsetDateTime createdAt;
+
+ public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt";
+ @SerializedName(SERIALIZED_NAME_UPDATED_AT)
+ private OffsetDateTime updatedAt;
+
+ public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING = "stateAndLocalWithholding";
+ @SerializedName(SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING)
+ private StateAndLocalWithholdingResponse stateAndLocalWithholding;
+
+ public Form1099DivListItemResponse() {
+ }
+
+ public Form1099DivListItemResponse(
+ String id,
+ StatusDetail federalEfileStatus,
+ List stateEfileStatus,
+ StatusDetail postalMailStatus,
+ StatusDetail tinMatchStatus,
+ StatusDetail addressVerificationStatus,
+ StatusDetail eDeliveryStatus,
+ List validationErrors,
+ OffsetDateTime createdAt,
+ OffsetDateTime updatedAt
+ ) {
+ this();
+ this.id = id;
+ this.federalEfileStatus = federalEfileStatus;
+ this.stateEfileStatus = stateEfileStatus;
+ this.postalMailStatus = postalMailStatus;
+ this.tinMatchStatus = tinMatchStatus;
+ this.addressVerificationStatus = addressVerificationStatus;
+ this.eDeliveryStatus = eDeliveryStatus;
+ this.validationErrors = validationErrors;
+ this.createdAt = createdAt;
+ this.updatedAt = updatedAt;
+ }
+
+ public Form1099DivListItemResponse totalOrdinaryDividends(String totalOrdinaryDividends) {
+ this.totalOrdinaryDividends = totalOrdinaryDividends;
+ return this;
+ }
+
+ /**
+ * Total ordinary dividends
+ * @return totalOrdinaryDividends
+ */
+ @javax.annotation.Nullable
+ public String getTotalOrdinaryDividends() {
+ return totalOrdinaryDividends;
+ }
+
+ public void setTotalOrdinaryDividends(String totalOrdinaryDividends) {
+ this.totalOrdinaryDividends = totalOrdinaryDividends;
+ }
+
+
+ public Form1099DivListItemResponse qualifiedDividends(String qualifiedDividends) {
+ this.qualifiedDividends = qualifiedDividends;
+ return this;
+ }
+
+ /**
+ * Qualified dividends
+ * @return qualifiedDividends
+ */
+ @javax.annotation.Nullable
+ public String getQualifiedDividends() {
+ return qualifiedDividends;
+ }
+
+ public void setQualifiedDividends(String qualifiedDividends) {
+ this.qualifiedDividends = qualifiedDividends;
+ }
+
+
+ public Form1099DivListItemResponse totalCapitalGainDistributions(String totalCapitalGainDistributions) {
+ this.totalCapitalGainDistributions = totalCapitalGainDistributions;
+ return this;
+ }
+
+ /**
+ * Total capital gain distributions
+ * @return totalCapitalGainDistributions
+ */
+ @javax.annotation.Nullable
+ public String getTotalCapitalGainDistributions() {
+ return totalCapitalGainDistributions;
+ }
+
+ public void setTotalCapitalGainDistributions(String totalCapitalGainDistributions) {
+ this.totalCapitalGainDistributions = totalCapitalGainDistributions;
+ }
+
+
+ public Form1099DivListItemResponse unrecapturedSection1250Gain(String unrecapturedSection1250Gain) {
+ this.unrecapturedSection1250Gain = unrecapturedSection1250Gain;
+ return this;
+ }
+
+ /**
+ * Unrecaptured Section 1250 gain
+ * @return unrecapturedSection1250Gain
+ */
+ @javax.annotation.Nullable
+ public String getUnrecapturedSection1250Gain() {
+ return unrecapturedSection1250Gain;
+ }
+
+ public void setUnrecapturedSection1250Gain(String unrecapturedSection1250Gain) {
+ this.unrecapturedSection1250Gain = unrecapturedSection1250Gain;
+ }
+
+
+ public Form1099DivListItemResponse section1202Gain(String section1202Gain) {
+ this.section1202Gain = section1202Gain;
+ return this;
+ }
+
+ /**
+ * Section 1202 gain
+ * @return section1202Gain
+ */
+ @javax.annotation.Nullable
+ public String getSection1202Gain() {
+ return section1202Gain;
+ }
+
+ public void setSection1202Gain(String section1202Gain) {
+ this.section1202Gain = section1202Gain;
+ }
+
+
+ public Form1099DivListItemResponse collectiblesGain(String collectiblesGain) {
+ this.collectiblesGain = collectiblesGain;
+ return this;
+ }
+
+ /**
+ * Collectibles (28%) gain
+ * @return collectiblesGain
+ */
+ @javax.annotation.Nullable
+ public String getCollectiblesGain() {
+ return collectiblesGain;
+ }
+
+ public void setCollectiblesGain(String collectiblesGain) {
+ this.collectiblesGain = collectiblesGain;
+ }
+
+
+ public Form1099DivListItemResponse section897OrdinaryDividends(String section897OrdinaryDividends) {
+ this.section897OrdinaryDividends = section897OrdinaryDividends;
+ return this;
+ }
+
+ /**
+ * Section 897 ordinary dividends
+ * @return section897OrdinaryDividends
+ */
+ @javax.annotation.Nullable
+ public String getSection897OrdinaryDividends() {
+ return section897OrdinaryDividends;
+ }
+
+ public void setSection897OrdinaryDividends(String section897OrdinaryDividends) {
+ this.section897OrdinaryDividends = section897OrdinaryDividends;
+ }
+
+
+ public Form1099DivListItemResponse section897CapitalGain(String section897CapitalGain) {
+ this.section897CapitalGain = section897CapitalGain;
+ return this;
+ }
+
+ /**
+ * Section 897 capital gain
+ * @return section897CapitalGain
+ */
+ @javax.annotation.Nullable
+ public String getSection897CapitalGain() {
+ return section897CapitalGain;
+ }
+
+ public void setSection897CapitalGain(String section897CapitalGain) {
+ this.section897CapitalGain = section897CapitalGain;
+ }
+
+
+ public Form1099DivListItemResponse nondividendDistributions(String nondividendDistributions) {
+ this.nondividendDistributions = nondividendDistributions;
+ return this;
+ }
+
+ /**
+ * Nondividend distributions
+ * @return nondividendDistributions
+ */
+ @javax.annotation.Nullable
+ public String getNondividendDistributions() {
+ return nondividendDistributions;
+ }
+
+ public void setNondividendDistributions(String nondividendDistributions) {
+ this.nondividendDistributions = nondividendDistributions;
+ }
+
+
+ public Form1099DivListItemResponse federalIncomeTaxWithheld(String federalIncomeTaxWithheld) {
+ this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
+ return this;
+ }
+
+ /**
+ * Federal income tax withheld
+ * @return federalIncomeTaxWithheld
+ */
+ @javax.annotation.Nullable
+ public String getFederalIncomeTaxWithheld() {
+ return federalIncomeTaxWithheld;
+ }
+
+ public void setFederalIncomeTaxWithheld(String federalIncomeTaxWithheld) {
+ this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
+ }
+
+
+ public Form1099DivListItemResponse section199ADividends(String section199ADividends) {
+ this.section199ADividends = section199ADividends;
+ return this;
+ }
+
+ /**
+ * Section 199A dividends
+ * @return section199ADividends
+ */
+ @javax.annotation.Nullable
+ public String getSection199ADividends() {
+ return section199ADividends;
+ }
+
+ public void setSection199ADividends(String section199ADividends) {
+ this.section199ADividends = section199ADividends;
+ }
+
+
+ public Form1099DivListItemResponse investmentExpenses(String investmentExpenses) {
+ this.investmentExpenses = investmentExpenses;
+ return this;
+ }
+
+ /**
+ * Investment expenses
+ * @return investmentExpenses
+ */
+ @javax.annotation.Nullable
+ public String getInvestmentExpenses() {
+ return investmentExpenses;
+ }
+
+ public void setInvestmentExpenses(String investmentExpenses) {
+ this.investmentExpenses = investmentExpenses;
+ }
+
+
+ public Form1099DivListItemResponse foreignTaxPaid(String foreignTaxPaid) {
+ this.foreignTaxPaid = foreignTaxPaid;
+ return this;
+ }
+
+ /**
+ * Foreign tax paid
+ * @return foreignTaxPaid
+ */
+ @javax.annotation.Nullable
+ public String getForeignTaxPaid() {
+ return foreignTaxPaid;
+ }
+
+ public void setForeignTaxPaid(String foreignTaxPaid) {
+ this.foreignTaxPaid = foreignTaxPaid;
+ }
+
+
+ public Form1099DivListItemResponse foreignCountryOrUSPossession(String foreignCountryOrUSPossession) {
+ this.foreignCountryOrUSPossession = foreignCountryOrUSPossession;
+ return this;
+ }
+
+ /**
+ * Foreign country or U.S. possession
+ * @return foreignCountryOrUSPossession
+ */
+ @javax.annotation.Nullable
+ public String getForeignCountryOrUSPossession() {
+ return foreignCountryOrUSPossession;
+ }
+
+ public void setForeignCountryOrUSPossession(String foreignCountryOrUSPossession) {
+ this.foreignCountryOrUSPossession = foreignCountryOrUSPossession;
+ }
+
+
+ public Form1099DivListItemResponse cashLiquidationDistributions(String cashLiquidationDistributions) {
+ this.cashLiquidationDistributions = cashLiquidationDistributions;
+ return this;
+ }
+
+ /**
+ * Cash liquidation distributions
+ * @return cashLiquidationDistributions
+ */
+ @javax.annotation.Nullable
+ public String getCashLiquidationDistributions() {
+ return cashLiquidationDistributions;
+ }
+
+ public void setCashLiquidationDistributions(String cashLiquidationDistributions) {
+ this.cashLiquidationDistributions = cashLiquidationDistributions;
+ }
+
+
+ public Form1099DivListItemResponse noncashLiquidationDistributions(String noncashLiquidationDistributions) {
+ this.noncashLiquidationDistributions = noncashLiquidationDistributions;
+ return this;
+ }
+
+ /**
+ * Noncash liquidation distributions
+ * @return noncashLiquidationDistributions
+ */
+ @javax.annotation.Nullable
+ public String getNoncashLiquidationDistributions() {
+ return noncashLiquidationDistributions;
+ }
+
+ public void setNoncashLiquidationDistributions(String noncashLiquidationDistributions) {
+ this.noncashLiquidationDistributions = noncashLiquidationDistributions;
+ }
+
+
+ public Form1099DivListItemResponse exemptInterestDividends(String exemptInterestDividends) {
+ this.exemptInterestDividends = exemptInterestDividends;
+ return this;
+ }
+
+ /**
+ * Exempt-interest dividends
+ * @return exemptInterestDividends
+ */
+ @javax.annotation.Nullable
+ public String getExemptInterestDividends() {
+ return exemptInterestDividends;
+ }
+
+ public void setExemptInterestDividends(String exemptInterestDividends) {
+ this.exemptInterestDividends = exemptInterestDividends;
+ }
+
+
+ public Form1099DivListItemResponse specifiedPrivateActivityBondInterestDividends(String specifiedPrivateActivityBondInterestDividends) {
+ this.specifiedPrivateActivityBondInterestDividends = specifiedPrivateActivityBondInterestDividends;
+ return this;
+ }
+
+ /**
+ * Specified private activity bond interest dividends
+ * @return specifiedPrivateActivityBondInterestDividends
+ */
+ @javax.annotation.Nullable
+ public String getSpecifiedPrivateActivityBondInterestDividends() {
+ return specifiedPrivateActivityBondInterestDividends;
+ }
+
+ public void setSpecifiedPrivateActivityBondInterestDividends(String specifiedPrivateActivityBondInterestDividends) {
+ this.specifiedPrivateActivityBondInterestDividends = specifiedPrivateActivityBondInterestDividends;
+ }
+
+
+ public Form1099DivListItemResponse fatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ return this;
+ }
+
+ /**
+ * FATCA filing requirement
+ * @return fatcaFilingRequirement
+ */
+ @javax.annotation.Nullable
+ public Boolean getFatcaFilingRequirement() {
+ return fatcaFilingRequirement;
+ }
+
+ public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ }
+
+
+ /**
+ * ID of the form
+ * @return id
+ */
+ @javax.annotation.Nonnull
+ public String getId() {
+ return id;
+ }
+
+
+
+ public Form1099DivListItemResponse type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Type of the form. Will be one of: * 940 * 941 * 943 * 944 * 945 * 1042 * 1042-S * 1095-B * 1095-C * 1097-BTC * 1098 * 1098-C * 1098-E * 1098-Q * 1098-T * 3921 * 3922 * 5498 * 5498-ESA * 5498-SA * 1099-MISC * 1099-A * 1099-B * 1099-C * 1099-CAP * 1099-DIV * 1099-G * 1099-INT * 1099-K * 1099-LS * 1099-LTC * 1099-NEC * 1099-OID * 1099-PATR * 1099-Q * 1099-R * 1099-S * 1099-SA * T4A * W-2 * W-2G * 1099-HC
+ * @return type
+ */
+ @javax.annotation.Nonnull
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+
+ public Form1099DivListItemResponse issuerId(Integer issuerId) {
+ this.issuerId = issuerId;
+ return this;
+ }
+
+ /**
+ * Issuer ID
+ * @return issuerId
+ */
+ @javax.annotation.Nonnull
+ public Integer getIssuerId() {
+ return issuerId;
+ }
+
+ public void setIssuerId(Integer issuerId) {
+ this.issuerId = issuerId;
+ }
+
+
+ public Form1099DivListItemResponse issuerReferenceId(String issuerReferenceId) {
+ this.issuerReferenceId = issuerReferenceId;
+ return this;
+ }
+
+ /**
+ * Issuer Reference ID
+ * @return issuerReferenceId
+ */
+ @javax.annotation.Nullable
+ public String getIssuerReferenceId() {
+ return issuerReferenceId;
+ }
+
+ public void setIssuerReferenceId(String issuerReferenceId) {
+ this.issuerReferenceId = issuerReferenceId;
+ }
+
+
+ public Form1099DivListItemResponse issuerTin(String issuerTin) {
+ this.issuerTin = issuerTin;
+ return this;
+ }
+
+ /**
+ * Issuer TIN
+ * @return issuerTin
+ */
+ @javax.annotation.Nullable
+ public String getIssuerTin() {
+ return issuerTin;
+ }
+
+ public void setIssuerTin(String issuerTin) {
+ this.issuerTin = issuerTin;
+ }
+
+
+ public Form1099DivListItemResponse taxYear(Integer taxYear) {
+ this.taxYear = taxYear;
+ return this;
+ }
+
+ /**
+ * Tax year
+ * @return taxYear
+ */
+ @javax.annotation.Nullable
+ public Integer getTaxYear() {
+ return taxYear;
+ }
+
+ public void setTaxYear(Integer taxYear) {
+ this.taxYear = taxYear;
+ }
+
+
+ public Form1099DivListItemResponse federalEfile(Boolean federalEfile) {
+ this.federalEfile = federalEfile;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that federal e-filing has been scheduled for this form
+ * @return federalEfile
+ */
+ @javax.annotation.Nonnull
+ public Boolean getFederalEfile() {
+ return federalEfile;
+ }
+
+ public void setFederalEfile(Boolean federalEfile) {
+ this.federalEfile = federalEfile;
+ }
+
+
+ /**
+ * Federal e-file status
+ * @return federalEfileStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getFederalEfileStatus() {
+ return federalEfileStatus;
+ }
+
+
+
+ public Form1099DivListItemResponse stateEfile(Boolean stateEfile) {
+ this.stateEfile = stateEfile;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that state e-filing has been scheduled for this form
+ * @return stateEfile
+ */
+ @javax.annotation.Nonnull
+ public Boolean getStateEfile() {
+ return stateEfile;
+ }
+
+ public void setStateEfile(Boolean stateEfile) {
+ this.stateEfile = stateEfile;
+ }
+
+
+ /**
+ * State e-file status
+ * @return stateEfileStatus
+ */
+ @javax.annotation.Nullable
+ public List getStateEfileStatus() {
+ return stateEfileStatus;
+ }
+
+
+
+ public Form1099DivListItemResponse postalMail(Boolean postalMail) {
+ this.postalMail = postalMail;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that postal mailing to the recipient has been scheduled for this form
+ * @return postalMail
+ */
+ @javax.annotation.Nonnull
+ public Boolean getPostalMail() {
+ return postalMail;
+ }
+
+ public void setPostalMail(Boolean postalMail) {
+ this.postalMail = postalMail;
+ }
+
+
+ /**
+ * Postal mail to recipient status
+ * @return postalMailStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getPostalMailStatus() {
+ return postalMailStatus;
+ }
+
+
+
+ public Form1099DivListItemResponse tinMatch(Boolean tinMatch) {
+ this.tinMatch = tinMatch;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that TIN Matching has been scheduled for this form
+ * @return tinMatch
+ */
+ @javax.annotation.Nonnull
+ public Boolean getTinMatch() {
+ return tinMatch;
+ }
+
+ public void setTinMatch(Boolean tinMatch) {
+ this.tinMatch = tinMatch;
+ }
+
+
+ /**
+ * TIN Match status
+ * @return tinMatchStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getTinMatchStatus() {
+ return tinMatchStatus;
+ }
+
+
+
+ public Form1099DivListItemResponse addressVerification(Boolean addressVerification) {
+ this.addressVerification = addressVerification;
+ return this;
+ }
+
+ /**
+ * Boolean indicating that address verification has been scheduled for this form
+ * @return addressVerification
+ */
+ @javax.annotation.Nonnull
+ public Boolean getAddressVerification() {
+ return addressVerification;
+ }
+
+ public void setAddressVerification(Boolean addressVerification) {
+ this.addressVerification = addressVerification;
+ }
+
+
+ /**
+ * Address verification status
+ * @return addressVerificationStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getAddressVerificationStatus() {
+ return addressVerificationStatus;
+ }
+
+
+
+ /**
+ * EDelivery status
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+
+
+ public Form1099DivListItemResponse referenceId(String referenceId) {
+ this.referenceId = referenceId;
+ return this;
+ }
+
+ /**
+ * Reference ID
+ * @return referenceId
+ */
+ @javax.annotation.Nullable
+ public String getReferenceId() {
+ return referenceId;
+ }
+
+ public void setReferenceId(String referenceId) {
+ this.referenceId = referenceId;
+ }
+
+
+ public Form1099DivListItemResponse email(String email) {
+ this.email = email;
+ return this;
+ }
+
+ /**
+ * Recipient email address
+ * @return email
+ */
+ @javax.annotation.Nullable
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+
+ public Form1099DivListItemResponse tinType(String tinType) {
+ this.tinType = tinType;
+ return this;
+ }
+
+ /**
+ * Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN
+ * @return tinType
+ */
+ @javax.annotation.Nullable
+ public String getTinType() {
+ return tinType;
+ }
+
+ public void setTinType(String tinType) {
+ this.tinType = tinType;
+ }
+
+
+ public Form1099DivListItemResponse tin(String tin) {
+ this.tin = tin;
+ return this;
+ }
+
+ /**
+ * Recipient Tax ID Number
+ * @return tin
+ */
+ @javax.annotation.Nullable
+ public String getTin() {
+ return tin;
+ }
+
+ public void setTin(String tin) {
+ this.tin = tin;
+ }
+
+
+ public Form1099DivListItemResponse noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099DivListItemResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second Tin Notice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
+ public Form1099DivListItemResponse recipientName(String recipientName) {
+ this.recipientName = recipientName;
+ return this;
+ }
+
+ /**
+ * Recipient name
+ * @return recipientName
+ */
+ @javax.annotation.Nullable
+ public String getRecipientName() {
+ return recipientName;
+ }
+
+ public void setRecipientName(String recipientName) {
+ this.recipientName = recipientName;
+ }
+
+
+ public Form1099DivListItemResponse recipientSecondName(String recipientSecondName) {
+ this.recipientSecondName = recipientSecondName;
+ return this;
+ }
+
+ /**
+ * Recipient second name
+ * @return recipientSecondName
+ */
+ @javax.annotation.Nullable
+ public String getRecipientSecondName() {
+ return recipientSecondName;
+ }
+
+ public void setRecipientSecondName(String recipientSecondName) {
+ this.recipientSecondName = recipientSecondName;
+ }
+
+
+ public Form1099DivListItemResponse address(String address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Address
+ * @return address
+ */
+ @javax.annotation.Nullable
+ public String getAddress() {
+ return address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
+
+ public Form1099DivListItemResponse address2(String address2) {
+ this.address2 = address2;
+ return this;
+ }
+
+ /**
+ * Address line 2
+ * @return address2
+ */
+ @javax.annotation.Nullable
+ public String getAddress2() {
+ return address2;
+ }
+
+ public void setAddress2(String address2) {
+ this.address2 = address2;
+ }
+
+
+ public Form1099DivListItemResponse city(String city) {
+ this.city = city;
+ return this;
+ }
+
+ /**
+ * City
+ * @return city
+ */
+ @javax.annotation.Nullable
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+
+ public Form1099DivListItemResponse state(String state) {
+ this.state = state;
+ return this;
+ }
+
+ /**
+ * US state
+ * @return state
+ */
+ @javax.annotation.Nullable
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+
+ public Form1099DivListItemResponse zip(String zip) {
+ this.zip = zip;
+ return this;
+ }
+
+ /**
+ * Zip/postal code
+ * @return zip
+ */
+ @javax.annotation.Nullable
+ public String getZip() {
+ return zip;
+ }
+
+ public void setZip(String zip) {
+ this.zip = zip;
+ }
+
+
+ public Form1099DivListItemResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
+ return this;
+ }
+
+ /**
+ * Foreign province
+ * @return nonUsProvince
+ */
+ @javax.annotation.Nullable
+ public String getNonUsProvince() {
+ return nonUsProvince;
+ }
+
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
+ }
+
+
+ public Form1099DivListItemResponse countryCode(String countryCode) {
+ this.countryCode = countryCode;
+ return this;
+ }
+
+ /**
+ * Country code, as defined at https://www.irs.gov/e-file-providers/country-codes
+ * @return countryCode
+ */
+ @javax.annotation.Nullable
+ public String getCountryCode() {
+ return countryCode;
+ }
+
+ public void setCountryCode(String countryCode) {
+ this.countryCode = countryCode;
+ }
+
+
+ public Form1099DivListItemResponse accountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Account Number
+ * @return accountNumber
+ */
+ @javax.annotation.Nullable
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ public void setAccountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+
+ public Form1099DivListItemResponse officeCode(String officeCode) {
+ this.officeCode = officeCode;
+ return this;
+ }
+
+ /**
+ * Office Code
+ * @return officeCode
+ */
+ @javax.annotation.Nullable
+ public String getOfficeCode() {
+ return officeCode;
+ }
+
+ public void setOfficeCode(String officeCode) {
+ this.officeCode = officeCode;
+ }
+
+
+ /**
+ * Validation errors
+ * @return validationErrors
+ */
+ @javax.annotation.Nullable
+ public List getValidationErrors() {
+ return validationErrors;
+ }
+
+
+
+ /**
+ * Creation time
+ * @return createdAt
+ */
+ @javax.annotation.Nullable
+ public OffsetDateTime getCreatedAt() {
+ return createdAt;
+ }
+
+
+
+ /**
+ * Update time
+ * @return updatedAt
+ */
+ @javax.annotation.Nullable
+ public OffsetDateTime getUpdatedAt() {
+ return updatedAt;
+ }
+
+
+
+ public Form1099DivListItemResponse stateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding) {
+ this.stateAndLocalWithholding = stateAndLocalWithholding;
+ return this;
+ }
+
+ /**
+ * Get stateAndLocalWithholding
+ * @return stateAndLocalWithholding
+ */
+ @javax.annotation.Nullable
+ public StateAndLocalWithholdingResponse getStateAndLocalWithholding() {
+ return stateAndLocalWithholding;
+ }
+
+ public void setStateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding) {
+ this.stateAndLocalWithholding = stateAndLocalWithholding;
+ }
+
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Form1099DivListItemResponse form1099DivListItemResponse = (Form1099DivListItemResponse) o;
+ return Objects.equals(this.totalOrdinaryDividends, form1099DivListItemResponse.totalOrdinaryDividends) &&
+ Objects.equals(this.qualifiedDividends, form1099DivListItemResponse.qualifiedDividends) &&
+ Objects.equals(this.totalCapitalGainDistributions, form1099DivListItemResponse.totalCapitalGainDistributions) &&
+ Objects.equals(this.unrecapturedSection1250Gain, form1099DivListItemResponse.unrecapturedSection1250Gain) &&
+ Objects.equals(this.section1202Gain, form1099DivListItemResponse.section1202Gain) &&
+ Objects.equals(this.collectiblesGain, form1099DivListItemResponse.collectiblesGain) &&
+ Objects.equals(this.section897OrdinaryDividends, form1099DivListItemResponse.section897OrdinaryDividends) &&
+ Objects.equals(this.section897CapitalGain, form1099DivListItemResponse.section897CapitalGain) &&
+ Objects.equals(this.nondividendDistributions, form1099DivListItemResponse.nondividendDistributions) &&
+ Objects.equals(this.federalIncomeTaxWithheld, form1099DivListItemResponse.federalIncomeTaxWithheld) &&
+ Objects.equals(this.section199ADividends, form1099DivListItemResponse.section199ADividends) &&
+ Objects.equals(this.investmentExpenses, form1099DivListItemResponse.investmentExpenses) &&
+ Objects.equals(this.foreignTaxPaid, form1099DivListItemResponse.foreignTaxPaid) &&
+ Objects.equals(this.foreignCountryOrUSPossession, form1099DivListItemResponse.foreignCountryOrUSPossession) &&
+ Objects.equals(this.cashLiquidationDistributions, form1099DivListItemResponse.cashLiquidationDistributions) &&
+ Objects.equals(this.noncashLiquidationDistributions, form1099DivListItemResponse.noncashLiquidationDistributions) &&
+ Objects.equals(this.exemptInterestDividends, form1099DivListItemResponse.exemptInterestDividends) &&
+ Objects.equals(this.specifiedPrivateActivityBondInterestDividends, form1099DivListItemResponse.specifiedPrivateActivityBondInterestDividends) &&
+ Objects.equals(this.fatcaFilingRequirement, form1099DivListItemResponse.fatcaFilingRequirement) &&
+ Objects.equals(this.id, form1099DivListItemResponse.id) &&
+ Objects.equals(this.type, form1099DivListItemResponse.type) &&
+ Objects.equals(this.issuerId, form1099DivListItemResponse.issuerId) &&
+ Objects.equals(this.issuerReferenceId, form1099DivListItemResponse.issuerReferenceId) &&
+ Objects.equals(this.issuerTin, form1099DivListItemResponse.issuerTin) &&
+ Objects.equals(this.taxYear, form1099DivListItemResponse.taxYear) &&
+ Objects.equals(this.federalEfile, form1099DivListItemResponse.federalEfile) &&
+ Objects.equals(this.federalEfileStatus, form1099DivListItemResponse.federalEfileStatus) &&
+ Objects.equals(this.stateEfile, form1099DivListItemResponse.stateEfile) &&
+ Objects.equals(this.stateEfileStatus, form1099DivListItemResponse.stateEfileStatus) &&
+ Objects.equals(this.postalMail, form1099DivListItemResponse.postalMail) &&
+ Objects.equals(this.postalMailStatus, form1099DivListItemResponse.postalMailStatus) &&
+ Objects.equals(this.tinMatch, form1099DivListItemResponse.tinMatch) &&
+ Objects.equals(this.tinMatchStatus, form1099DivListItemResponse.tinMatchStatus) &&
+ Objects.equals(this.addressVerification, form1099DivListItemResponse.addressVerification) &&
+ Objects.equals(this.addressVerificationStatus, form1099DivListItemResponse.addressVerificationStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1099DivListItemResponse.eDeliveryStatus) &&
+ Objects.equals(this.referenceId, form1099DivListItemResponse.referenceId) &&
+ Objects.equals(this.email, form1099DivListItemResponse.email) &&
+ Objects.equals(this.tinType, form1099DivListItemResponse.tinType) &&
+ Objects.equals(this.tin, form1099DivListItemResponse.tin) &&
+ Objects.equals(this.noTin, form1099DivListItemResponse.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099DivListItemResponse.secondTinNotice) &&
+ Objects.equals(this.recipientName, form1099DivListItemResponse.recipientName) &&
+ Objects.equals(this.recipientSecondName, form1099DivListItemResponse.recipientSecondName) &&
+ Objects.equals(this.address, form1099DivListItemResponse.address) &&
+ Objects.equals(this.address2, form1099DivListItemResponse.address2) &&
+ Objects.equals(this.city, form1099DivListItemResponse.city) &&
+ Objects.equals(this.state, form1099DivListItemResponse.state) &&
+ Objects.equals(this.zip, form1099DivListItemResponse.zip) &&
+ Objects.equals(this.nonUsProvince, form1099DivListItemResponse.nonUsProvince) &&
+ Objects.equals(this.countryCode, form1099DivListItemResponse.countryCode) &&
+ Objects.equals(this.accountNumber, form1099DivListItemResponse.accountNumber) &&
+ Objects.equals(this.officeCode, form1099DivListItemResponse.officeCode) &&
+ Objects.equals(this.validationErrors, form1099DivListItemResponse.validationErrors) &&
+ Objects.equals(this.createdAt, form1099DivListItemResponse.createdAt) &&
+ Objects.equals(this.updatedAt, form1099DivListItemResponse.updatedAt) &&
+ Objects.equals(this.stateAndLocalWithholding, form1099DivListItemResponse.stateAndLocalWithholding);
+ }
+
+ private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
+ return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(totalOrdinaryDividends, qualifiedDividends, totalCapitalGainDistributions, unrecapturedSection1250Gain, section1202Gain, collectiblesGain, section897OrdinaryDividends, section897CapitalGain, nondividendDistributions, federalIncomeTaxWithheld, section199ADividends, investmentExpenses, foreignTaxPaid, foreignCountryOrUSPossession, cashLiquidationDistributions, noncashLiquidationDistributions, exemptInterestDividends, specifiedPrivateActivityBondInterestDividends, fatcaFilingRequirement, id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, eDeliveryStatus, referenceId, email, tinType, tin, noTin, secondTinNotice, recipientName, recipientSecondName, address, address2, city, state, zip, nonUsProvince, countryCode, accountNumber, officeCode, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
+ }
+
+ private static int hashCodeNullable(JsonNullable a) {
+ if (a == null) {
+ return 1;
+ }
+ return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Form1099DivListItemResponse {\n");
+ sb.append(" totalOrdinaryDividends: ").append(toIndentedString(totalOrdinaryDividends)).append("\n");
+ sb.append(" qualifiedDividends: ").append(toIndentedString(qualifiedDividends)).append("\n");
+ sb.append(" totalCapitalGainDistributions: ").append(toIndentedString(totalCapitalGainDistributions)).append("\n");
+ sb.append(" unrecapturedSection1250Gain: ").append(toIndentedString(unrecapturedSection1250Gain)).append("\n");
+ sb.append(" section1202Gain: ").append(toIndentedString(section1202Gain)).append("\n");
+ sb.append(" collectiblesGain: ").append(toIndentedString(collectiblesGain)).append("\n");
+ sb.append(" section897OrdinaryDividends: ").append(toIndentedString(section897OrdinaryDividends)).append("\n");
+ sb.append(" section897CapitalGain: ").append(toIndentedString(section897CapitalGain)).append("\n");
+ sb.append(" nondividendDistributions: ").append(toIndentedString(nondividendDistributions)).append("\n");
+ sb.append(" federalIncomeTaxWithheld: ").append(toIndentedString(federalIncomeTaxWithheld)).append("\n");
+ sb.append(" section199ADividends: ").append(toIndentedString(section199ADividends)).append("\n");
+ sb.append(" investmentExpenses: ").append(toIndentedString(investmentExpenses)).append("\n");
+ sb.append(" foreignTaxPaid: ").append(toIndentedString(foreignTaxPaid)).append("\n");
+ sb.append(" foreignCountryOrUSPossession: ").append(toIndentedString(foreignCountryOrUSPossession)).append("\n");
+ sb.append(" cashLiquidationDistributions: ").append(toIndentedString(cashLiquidationDistributions)).append("\n");
+ sb.append(" noncashLiquidationDistributions: ").append(toIndentedString(noncashLiquidationDistributions)).append("\n");
+ sb.append(" exemptInterestDividends: ").append(toIndentedString(exemptInterestDividends)).append("\n");
+ sb.append(" specifiedPrivateActivityBondInterestDividends: ").append(toIndentedString(specifiedPrivateActivityBondInterestDividends)).append("\n");
+ sb.append(" fatcaFilingRequirement: ").append(toIndentedString(fatcaFilingRequirement)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" issuerId: ").append(toIndentedString(issuerId)).append("\n");
+ sb.append(" issuerReferenceId: ").append(toIndentedString(issuerReferenceId)).append("\n");
+ sb.append(" issuerTin: ").append(toIndentedString(issuerTin)).append("\n");
+ sb.append(" taxYear: ").append(toIndentedString(taxYear)).append("\n");
+ sb.append(" federalEfile: ").append(toIndentedString(federalEfile)).append("\n");
+ sb.append(" federalEfileStatus: ").append(toIndentedString(federalEfileStatus)).append("\n");
+ sb.append(" stateEfile: ").append(toIndentedString(stateEfile)).append("\n");
+ sb.append(" stateEfileStatus: ").append(toIndentedString(stateEfileStatus)).append("\n");
+ sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
+ sb.append(" postalMailStatus: ").append(toIndentedString(postalMailStatus)).append("\n");
+ sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
+ sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
+ sb.append(" addressVerificationStatus: ").append(toIndentedString(addressVerificationStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
+ sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
+ sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
+ sb.append(" tin: ").append(toIndentedString(tin)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
+ sb.append(" recipientName: ").append(toIndentedString(recipientName)).append("\n");
+ sb.append(" recipientSecondName: ").append(toIndentedString(recipientSecondName)).append("\n");
+ sb.append(" address: ").append(toIndentedString(address)).append("\n");
+ sb.append(" address2: ").append(toIndentedString(address2)).append("\n");
+ sb.append(" city: ").append(toIndentedString(city)).append("\n");
+ sb.append(" state: ").append(toIndentedString(state)).append("\n");
+ sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
+ sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
+ sb.append(" validationErrors: ").append(toIndentedString(validationErrors)).append("\n");
+ sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
+ sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
+ sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+
+ public static HashSet openapiFields;
+ public static HashSet openapiRequiredFields;
+
+ static {
+ // a set of all properties/fields (JSON key names)
+ openapiFields = new HashSet();
+ openapiFields.add("id");
+ openapiFields.add("type");
+ openapiFields.add("issuerId");
+ openapiFields.add("issuerReferenceId");
+ openapiFields.add("issuerTin");
+ openapiFields.add("taxYear");
+ openapiFields.add("federalEfile");
+ openapiFields.add("federalEfileStatus");
+ openapiFields.add("stateEfile");
+ openapiFields.add("stateEfileStatus");
+ openapiFields.add("postalMail");
+ openapiFields.add("postalMailStatus");
+ openapiFields.add("tinMatch");
+ openapiFields.add("tinMatchStatus");
+ openapiFields.add("addressVerification");
+ openapiFields.add("addressVerificationStatus");
+ openapiFields.add("eDeliveryStatus");
+ openapiFields.add("referenceId");
+ openapiFields.add("email");
+ openapiFields.add("tinType");
+ openapiFields.add("tin");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
+ openapiFields.add("recipientName");
+ openapiFields.add("recipientSecondName");
+ openapiFields.add("address");
+ openapiFields.add("address2");
+ openapiFields.add("city");
+ openapiFields.add("state");
+ openapiFields.add("zip");
+ openapiFields.add("nonUsProvince");
+ openapiFields.add("countryCode");
+ openapiFields.add("accountNumber");
+ openapiFields.add("officeCode");
+ openapiFields.add("fatcaFilingRequirement");
+ openapiFields.add("validationErrors");
+ openapiFields.add("createdAt");
+ openapiFields.add("updatedAt");
+ openapiFields.add("stateAndLocalWithholding");
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields = new HashSet();
+ openapiRequiredFields.add("id");
+ openapiRequiredFields.add("type");
+ openapiRequiredFields.add("issuerId");
+ openapiRequiredFields.add("federalEfile");
+ openapiRequiredFields.add("stateEfile");
+ openapiRequiredFields.add("postalMail");
+ openapiRequiredFields.add("tinMatch");
+ openapiRequiredFields.add("addressVerification");
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to Form1099DivListItemResponse
+ */
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!Form1099DivListItemResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ throw new IllegalArgumentException(String.format("The required field(s) %s in Form1099DivListItemResponse is not found in the empty JSON string", Form1099DivListItemResponse.openapiRequiredFields.toString()));
+ }
+ }
+
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
+ // check to see if the JSON string contains additional fields
+ for (Map.Entry entry : entries) {
+ if (!Form1099DivListItemResponse.openapiFields.contains(entry.getKey())) {
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Form1099DivListItemResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
+ }
+ }
+
+ // check to make sure all required properties/fields are present in the JSON string
+ for (String requiredField : Form1099DivListItemResponse.openapiRequiredFields) {
+ if (jsonElement.getAsJsonObject().get(requiredField) == null) {
+ throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString()));
+ }
+ }
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("totalOrdinaryDividends") != null && !jsonObj.get("totalOrdinaryDividends").isJsonNull()) && !jsonObj.get("totalOrdinaryDividends").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `totalOrdinaryDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalOrdinaryDividends").toString()));
+ }
+ if ((jsonObj.get("qualifiedDividends") != null && !jsonObj.get("qualifiedDividends").isJsonNull()) && !jsonObj.get("qualifiedDividends").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `qualifiedDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("qualifiedDividends").toString()));
+ }
+ if ((jsonObj.get("totalCapitalGainDistributions") != null && !jsonObj.get("totalCapitalGainDistributions").isJsonNull()) && !jsonObj.get("totalCapitalGainDistributions").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `totalCapitalGainDistributions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalCapitalGainDistributions").toString()));
+ }
+ if ((jsonObj.get("unrecapturedSection1250Gain") != null && !jsonObj.get("unrecapturedSection1250Gain").isJsonNull()) && !jsonObj.get("unrecapturedSection1250Gain").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `unrecapturedSection1250Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unrecapturedSection1250Gain").toString()));
+ }
+ if ((jsonObj.get("section1202Gain") != null && !jsonObj.get("section1202Gain").isJsonNull()) && !jsonObj.get("section1202Gain").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `section1202Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("section1202Gain").toString()));
+ }
+ if ((jsonObj.get("collectiblesGain") != null && !jsonObj.get("collectiblesGain").isJsonNull()) && !jsonObj.get("collectiblesGain").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `collectiblesGain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("collectiblesGain").toString()));
+ }
+ if ((jsonObj.get("section897OrdinaryDividends") != null && !jsonObj.get("section897OrdinaryDividends").isJsonNull()) && !jsonObj.get("section897OrdinaryDividends").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `section897OrdinaryDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("section897OrdinaryDividends").toString()));
+ }
+ if ((jsonObj.get("section897CapitalGain") != null && !jsonObj.get("section897CapitalGain").isJsonNull()) && !jsonObj.get("section897CapitalGain").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `section897CapitalGain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("section897CapitalGain").toString()));
+ }
+ if ((jsonObj.get("nondividendDistributions") != null && !jsonObj.get("nondividendDistributions").isJsonNull()) && !jsonObj.get("nondividendDistributions").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nondividendDistributions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nondividendDistributions").toString()));
+ }
+ if ((jsonObj.get("federalIncomeTaxWithheld") != null && !jsonObj.get("federalIncomeTaxWithheld").isJsonNull()) && !jsonObj.get("federalIncomeTaxWithheld").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `federalIncomeTaxWithheld` to be a primitive type in the JSON string but got `%s`", jsonObj.get("federalIncomeTaxWithheld").toString()));
+ }
+ if ((jsonObj.get("section199ADividends") != null && !jsonObj.get("section199ADividends").isJsonNull()) && !jsonObj.get("section199ADividends").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `section199ADividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("section199ADividends").toString()));
+ }
+ if ((jsonObj.get("investmentExpenses") != null && !jsonObj.get("investmentExpenses").isJsonNull()) && !jsonObj.get("investmentExpenses").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `investmentExpenses` to be a primitive type in the JSON string but got `%s`", jsonObj.get("investmentExpenses").toString()));
+ }
+ if ((jsonObj.get("foreignTaxPaid") != null && !jsonObj.get("foreignTaxPaid").isJsonNull()) && !jsonObj.get("foreignTaxPaid").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `foreignTaxPaid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("foreignTaxPaid").toString()));
+ }
+ if ((jsonObj.get("foreignCountryOrUSPossession") != null && !jsonObj.get("foreignCountryOrUSPossession").isJsonNull()) && !jsonObj.get("foreignCountryOrUSPossession").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `foreignCountryOrUSPossession` to be a primitive type in the JSON string but got `%s`", jsonObj.get("foreignCountryOrUSPossession").toString()));
+ }
+ if ((jsonObj.get("cashLiquidationDistributions") != null && !jsonObj.get("cashLiquidationDistributions").isJsonNull()) && !jsonObj.get("cashLiquidationDistributions").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `cashLiquidationDistributions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cashLiquidationDistributions").toString()));
+ }
+ if ((jsonObj.get("noncashLiquidationDistributions") != null && !jsonObj.get("noncashLiquidationDistributions").isJsonNull()) && !jsonObj.get("noncashLiquidationDistributions").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `noncashLiquidationDistributions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("noncashLiquidationDistributions").toString()));
+ }
+ if ((jsonObj.get("exemptInterestDividends") != null && !jsonObj.get("exemptInterestDividends").isJsonNull()) && !jsonObj.get("exemptInterestDividends").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `exemptInterestDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("exemptInterestDividends").toString()));
+ }
+ if ((jsonObj.get("specifiedPrivateActivityBondInterestDividends") != null && !jsonObj.get("specifiedPrivateActivityBondInterestDividends").isJsonNull()) && !jsonObj.get("specifiedPrivateActivityBondInterestDividends").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `specifiedPrivateActivityBondInterestDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specifiedPrivateActivityBondInterestDividends").toString()));
+ }
+ if (!jsonObj.get("id").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString()));
+ }
+ if (!jsonObj.get("type").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString()));
+ }
+ if ((jsonObj.get("issuerReferenceId") != null && !jsonObj.get("issuerReferenceId").isJsonNull()) && !jsonObj.get("issuerReferenceId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerReferenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerReferenceId").toString()));
+ }
+ if ((jsonObj.get("issuerTin") != null && !jsonObj.get("issuerTin").isJsonNull()) && !jsonObj.get("issuerTin").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerTin").toString()));
+ }
+ // validate the optional field `federalEfileStatus`
+ if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
+ }
+ if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
+ JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
+ if (jsonArraystateEfileStatus != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("stateEfileStatus").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `stateEfileStatus` to be an array in the JSON string but got `%s`", jsonObj.get("stateEfileStatus").toString()));
+ }
+
+ // validate the optional field `stateEfileStatus` (array)
+ for (int i = 0; i < jsonArraystateEfileStatus.size(); i++) {
+ StateEfileStatusDetailResponse.validateJsonElement(jsonArraystateEfileStatus.get(i));
+ };
+ }
+ }
+ // validate the optional field `postalMailStatus`
+ if (jsonObj.get("postalMailStatus") != null && !jsonObj.get("postalMailStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("postalMailStatus"));
+ }
+ // validate the optional field `tinMatchStatus`
+ if (jsonObj.get("tinMatchStatus") != null && !jsonObj.get("tinMatchStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("tinMatchStatus"));
+ }
+ // validate the optional field `addressVerificationStatus`
+ if (jsonObj.get("addressVerificationStatus") != null && !jsonObj.get("addressVerificationStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ }
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
+ }
+ if ((jsonObj.get("referenceId") != null && !jsonObj.get("referenceId").isJsonNull()) && !jsonObj.get("referenceId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `referenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("referenceId").toString()));
+ }
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
+ }
+ if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `tinType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tinType").toString()));
+ }
+ if ((jsonObj.get("tin") != null && !jsonObj.get("tin").isJsonNull()) && !jsonObj.get("tin").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `tin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tin").toString()));
+ }
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
+ }
+ if ((jsonObj.get("recipientSecondName") != null && !jsonObj.get("recipientSecondName").isJsonNull()) && !jsonObj.get("recipientSecondName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientSecondName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientSecondName").toString()));
+ }
+ if ((jsonObj.get("address") != null && !jsonObj.get("address").isJsonNull()) && !jsonObj.get("address").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address").toString()));
+ }
+ if ((jsonObj.get("address2") != null && !jsonObj.get("address2").isJsonNull()) && !jsonObj.get("address2").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `address2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address2").toString()));
+ }
+ if ((jsonObj.get("city") != null && !jsonObj.get("city").isJsonNull()) && !jsonObj.get("city").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString()));
+ }
+ if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString()));
+ }
+ if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
+ }
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
+ }
+ if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
+ }
+ if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
+ }
+ if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
+ }
+ if (jsonObj.get("validationErrors") != null && !jsonObj.get("validationErrors").isJsonNull()) {
+ JsonArray jsonArrayvalidationErrors = jsonObj.getAsJsonArray("validationErrors");
+ if (jsonArrayvalidationErrors != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("validationErrors").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `validationErrors` to be an array in the JSON string but got `%s`", jsonObj.get("validationErrors").toString()));
+ }
+
+ // validate the optional field `validationErrors` (array)
+ for (int i = 0; i < jsonArrayvalidationErrors.size(); i++) {
+ ValidationErrorResponse.validateJsonElement(jsonArrayvalidationErrors.get(i));
+ };
+ }
+ }
+ // validate the optional field `stateAndLocalWithholding`
+ if (jsonObj.get("stateAndLocalWithholding") != null && !jsonObj.get("stateAndLocalWithholding").isJsonNull()) {
+ StateAndLocalWithholdingResponse.validateJsonElement(jsonObj.get("stateAndLocalWithholding"));
+ }
+ }
+
+ public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
+ @SuppressWarnings("unchecked")
+ @Override
+ public TypeAdapter create(Gson gson, TypeToken type) {
+ if (!Form1099DivListItemResponse.class.isAssignableFrom(type.getRawType())) {
+ return null; // this class only serializes 'Form1099DivListItemResponse' and its subtypes
+ }
+ final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
+ final TypeAdapter thisAdapter
+ = gson.getDelegateAdapter(this, TypeToken.get(Form1099DivListItemResponse.class));
+
+ return (TypeAdapter) new TypeAdapter() {
+ @Override
+ public void write(JsonWriter out, Form1099DivListItemResponse value) throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public Form1099DivListItemResponse read(JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of Form1099DivListItemResponse given an JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of Form1099DivListItemResponse
+ * @throws IOException if the JSON string is invalid with respect to Form1099DivListItemResponse
+ */
+ public static Form1099DivListItemResponse fromJson(String jsonString) throws IOException {
+ return JSON.getGson().fromJson(jsonString, Form1099DivListItemResponse.class);
+ }
+
+ /**
+ * Convert an instance of Form1099DivListItemResponse to an JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
+
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivRequest.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivRequest.java
index 65ce12d..525dab7 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivRequest.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivRequest.java
@@ -67,13 +67,13 @@ public class Form1099DivRequest {
@SerializedName(SERIALIZED_NAME_QUALIFIED_DIVIDENDS)
private String qualifiedDividends;
- public static final String SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTR = "totalCapitalGainDistr";
- @SerializedName(SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTR)
- private String totalCapitalGainDistr;
+ public static final String SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTRIBUTIONS = "totalCapitalGainDistributions";
+ @SerializedName(SERIALIZED_NAME_TOTAL_CAPITAL_GAIN_DISTRIBUTIONS)
+ private String totalCapitalGainDistributions;
- public static final String SERIALIZED_NAME_UNRECAP_SEC1250_GAIN = "unrecapSec1250Gain";
- @SerializedName(SERIALIZED_NAME_UNRECAP_SEC1250_GAIN)
- private String unrecapSec1250Gain;
+ public static final String SERIALIZED_NAME_UNRECAPTURED_SECTION1250_GAIN = "unrecapturedSection1250Gain";
+ @SerializedName(SERIALIZED_NAME_UNRECAPTURED_SECTION1250_GAIN)
+ private String unrecapturedSection1250Gain;
public static final String SERIALIZED_NAME_SECTION1202_GAIN = "section1202Gain";
@SerializedName(SERIALIZED_NAME_SECTION1202_GAIN)
@@ -133,7 +133,7 @@ public class Form1099DivRequest {
public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
@SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
- private String fatcaFilingRequirement;
+ private Boolean fatcaFilingRequirement;
/**
* Gets or Sets type
@@ -152,7 +152,9 @@ public enum TypeEnum {
_1095_B("1095-B"),
- _1042_S("1042-S");
+ _1042_S("1042-S"),
+
+ _1095_C("1095-C");
private String value;
@@ -301,9 +303,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -313,9 +315,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -337,6 +339,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -386,41 +396,41 @@ public void setQualifiedDividends(String qualifiedDividends) {
}
- public Form1099DivRequest totalCapitalGainDistr(String totalCapitalGainDistr) {
- this.totalCapitalGainDistr = totalCapitalGainDistr;
+ public Form1099DivRequest totalCapitalGainDistributions(String totalCapitalGainDistributions) {
+ this.totalCapitalGainDistributions = totalCapitalGainDistributions;
return this;
}
/**
* Total capital gain distributions
- * @return totalCapitalGainDistr
+ * @return totalCapitalGainDistributions
*/
@javax.annotation.Nullable
- public String getTotalCapitalGainDistr() {
- return totalCapitalGainDistr;
+ public String getTotalCapitalGainDistributions() {
+ return totalCapitalGainDistributions;
}
- public void setTotalCapitalGainDistr(String totalCapitalGainDistr) {
- this.totalCapitalGainDistr = totalCapitalGainDistr;
+ public void setTotalCapitalGainDistributions(String totalCapitalGainDistributions) {
+ this.totalCapitalGainDistributions = totalCapitalGainDistributions;
}
- public Form1099DivRequest unrecapSec1250Gain(String unrecapSec1250Gain) {
- this.unrecapSec1250Gain = unrecapSec1250Gain;
+ public Form1099DivRequest unrecapturedSection1250Gain(String unrecapturedSection1250Gain) {
+ this.unrecapturedSection1250Gain = unrecapturedSection1250Gain;
return this;
}
/**
* Unrecaptured Section 1250 gain
- * @return unrecapSec1250Gain
+ * @return unrecapturedSection1250Gain
*/
@javax.annotation.Nullable
- public String getUnrecapSec1250Gain() {
- return unrecapSec1250Gain;
+ public String getUnrecapturedSection1250Gain() {
+ return unrecapturedSection1250Gain;
}
- public void setUnrecapSec1250Gain(String unrecapSec1250Gain) {
- this.unrecapSec1250Gain = unrecapSec1250Gain;
+ public void setUnrecapturedSection1250Gain(String unrecapturedSection1250Gain) {
+ this.unrecapturedSection1250Gain = unrecapturedSection1250Gain;
}
@@ -690,7 +700,7 @@ public void setSpecifiedPrivateActivityBondInterestDividends(String specifiedPri
}
- public Form1099DivRequest fatcaFilingRequirement(String fatcaFilingRequirement) {
+ public Form1099DivRequest fatcaFilingRequirement(Boolean fatcaFilingRequirement) {
this.fatcaFilingRequirement = fatcaFilingRequirement;
return this;
}
@@ -700,11 +710,11 @@ public Form1099DivRequest fatcaFilingRequirement(String fatcaFilingRequirement)
* @return fatcaFilingRequirement
*/
@javax.annotation.Nullable
- public String getFatcaFilingRequirement() {
+ public Boolean getFatcaFilingRequirement() {
return fatcaFilingRequirement;
}
- public void setFatcaFilingRequirement(String fatcaFilingRequirement) {
+ public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement) {
this.fatcaFilingRequirement = fatcaFilingRequirement;
}
@@ -794,7 +804,7 @@ public Form1099DivRequest recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -937,22 +947,22 @@ public void setZip(String zip) {
}
- public Form1099DivRequest recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1099DivRequest email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -994,22 +1004,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1099DivRequest recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1099DivRequest nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1108,6 +1118,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1099DivRequest noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099DivRequest secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099DivRequest addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -1158,8 +1206,8 @@ public boolean equals(Object o) {
Form1099DivRequest form1099DivRequest = (Form1099DivRequest) o;
return Objects.equals(this.totalOrdinaryDividends, form1099DivRequest.totalOrdinaryDividends) &&
Objects.equals(this.qualifiedDividends, form1099DivRequest.qualifiedDividends) &&
- Objects.equals(this.totalCapitalGainDistr, form1099DivRequest.totalCapitalGainDistr) &&
- Objects.equals(this.unrecapSec1250Gain, form1099DivRequest.unrecapSec1250Gain) &&
+ Objects.equals(this.totalCapitalGainDistributions, form1099DivRequest.totalCapitalGainDistributions) &&
+ Objects.equals(this.unrecapturedSection1250Gain, form1099DivRequest.unrecapturedSection1250Gain) &&
Objects.equals(this.section1202Gain, form1099DivRequest.section1202Gain) &&
Objects.equals(this.collectiblesGain, form1099DivRequest.collectiblesGain) &&
Objects.equals(this.section897OrdinaryDividends, form1099DivRequest.section897OrdinaryDividends) &&
@@ -1187,15 +1235,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099DivRequest.city) &&
Objects.equals(this.state, form1099DivRequest.state) &&
Objects.equals(this.zip, form1099DivRequest.zip) &&
- Objects.equals(this.recipientEmail, form1099DivRequest.recipientEmail) &&
+ Objects.equals(this.email, form1099DivRequest.email) &&
Objects.equals(this.accountNumber, form1099DivRequest.accountNumber) &&
Objects.equals(this.officeCode, form1099DivRequest.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1099DivRequest.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1099DivRequest.nonUsProvince) &&
Objects.equals(this.countryCode, form1099DivRequest.countryCode) &&
Objects.equals(this.federalEFile, form1099DivRequest.federalEFile) &&
Objects.equals(this.postalMail, form1099DivRequest.postalMail) &&
Objects.equals(this.stateEFile, form1099DivRequest.stateEFile) &&
Objects.equals(this.tinMatch, form1099DivRequest.tinMatch) &&
+ Objects.equals(this.noTin, form1099DivRequest.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099DivRequest.secondTinNotice) &&
Objects.equals(this.addressVerification, form1099DivRequest.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1099DivRequest.stateAndLocalWithholding);
}
@@ -1206,7 +1256,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(totalOrdinaryDividends, qualifiedDividends, totalCapitalGainDistr, unrecapSec1250Gain, section1202Gain, collectiblesGain, section897OrdinaryDividends, section897CapitalGain, nondividendDistributions, federalIncomeTaxWithheld, section199ADividends, investmentExpenses, foreignTaxPaid, foreignCountryOrUSPossession, cashLiquidationDistributions, noncashLiquidationDistributions, exemptInterestDividends, specifiedPrivateActivityBondInterestDividends, fatcaFilingRequirement, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(totalOrdinaryDividends, qualifiedDividends, totalCapitalGainDistributions, unrecapturedSection1250Gain, section1202Gain, collectiblesGain, section897OrdinaryDividends, section897CapitalGain, nondividendDistributions, federalIncomeTaxWithheld, section199ADividends, investmentExpenses, foreignTaxPaid, foreignCountryOrUSPossession, cashLiquidationDistributions, noncashLiquidationDistributions, exemptInterestDividends, specifiedPrivateActivityBondInterestDividends, fatcaFilingRequirement, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1222,8 +1272,8 @@ public String toString() {
sb.append("class Form1099DivRequest {\n");
sb.append(" totalOrdinaryDividends: ").append(toIndentedString(totalOrdinaryDividends)).append("\n");
sb.append(" qualifiedDividends: ").append(toIndentedString(qualifiedDividends)).append("\n");
- sb.append(" totalCapitalGainDistr: ").append(toIndentedString(totalCapitalGainDistr)).append("\n");
- sb.append(" unrecapSec1250Gain: ").append(toIndentedString(unrecapSec1250Gain)).append("\n");
+ sb.append(" totalCapitalGainDistributions: ").append(toIndentedString(totalCapitalGainDistributions)).append("\n");
+ sb.append(" unrecapturedSection1250Gain: ").append(toIndentedString(unrecapturedSection1250Gain)).append("\n");
sb.append(" section1202Gain: ").append(toIndentedString(section1202Gain)).append("\n");
sb.append(" collectiblesGain: ").append(toIndentedString(collectiblesGain)).append("\n");
sb.append(" section897OrdinaryDividends: ").append(toIndentedString(section897OrdinaryDividends)).append("\n");
@@ -1251,15 +1301,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -1296,21 +1348,22 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1350,11 +1403,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("qualifiedDividends") != null && !jsonObj.get("qualifiedDividends").isJsonNull()) && !jsonObj.get("qualifiedDividends").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `qualifiedDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("qualifiedDividends").toString()));
}
- if ((jsonObj.get("totalCapitalGainDistr") != null && !jsonObj.get("totalCapitalGainDistr").isJsonNull()) && !jsonObj.get("totalCapitalGainDistr").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `totalCapitalGainDistr` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalCapitalGainDistr").toString()));
+ if ((jsonObj.get("totalCapitalGainDistributions") != null && !jsonObj.get("totalCapitalGainDistributions").isJsonNull()) && !jsonObj.get("totalCapitalGainDistributions").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `totalCapitalGainDistributions` to be a primitive type in the JSON string but got `%s`", jsonObj.get("totalCapitalGainDistributions").toString()));
}
- if ((jsonObj.get("unrecapSec1250Gain") != null && !jsonObj.get("unrecapSec1250Gain").isJsonNull()) && !jsonObj.get("unrecapSec1250Gain").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `unrecapSec1250Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unrecapSec1250Gain").toString()));
+ if ((jsonObj.get("unrecapturedSection1250Gain") != null && !jsonObj.get("unrecapturedSection1250Gain").isJsonNull()) && !jsonObj.get("unrecapturedSection1250Gain").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `unrecapturedSection1250Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("unrecapturedSection1250Gain").toString()));
}
if ((jsonObj.get("section1202Gain") != null && !jsonObj.get("section1202Gain").isJsonNull()) && !jsonObj.get("section1202Gain").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `section1202Gain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("section1202Gain").toString()));
@@ -1398,9 +1451,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("specifiedPrivateActivityBondInterestDividends") != null && !jsonObj.get("specifiedPrivateActivityBondInterestDividends").isJsonNull()) && !jsonObj.get("specifiedPrivateActivityBondInterestDividends").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `specifiedPrivateActivityBondInterestDividends` to be a primitive type in the JSON string but got `%s`", jsonObj.get("specifiedPrivateActivityBondInterestDividends").toString()));
}
- if ((jsonObj.get("fatcaFilingRequirement") != null && !jsonObj.get("fatcaFilingRequirement").isJsonNull()) && !jsonObj.get("fatcaFilingRequirement").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `fatcaFilingRequirement` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fatcaFilingRequirement").toString()));
- }
if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString()));
}
@@ -1417,7 +1467,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1445,8 +1495,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1454,8 +1504,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivResponse.java
index 4de2ebc..cd8e1b3 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivResponse.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099DivResponse.java
@@ -82,7 +82,9 @@ public enum TypeEnum {
_1095_B("1095-B"),
- _1042_S("1042-S");
+ _1042_S("1042-S"),
+
+ _1095_C("1095-C");
private String value;
@@ -139,10 +141,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
private OffsetDateTime updatedAt;
- public static final String SERIALIZED_NAME_USER_ID = "userId";
- @SerializedName(SERIALIZED_NAME_USER_ID)
- private String userId;
-
public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING = "stateAndLocalWithholding";
@SerializedName(SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING)
private StateAndLocalWithholdingResponse stateAndLocalWithholding;
@@ -263,9 +261,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -275,9 +273,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -299,6 +297,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -307,6 +313,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
private StatusDetail federalEfileStatus;
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
+
public static final String SERIALIZED_NAME_STATE_EFILE_STATUS = "stateEfileStatus";
@SerializedName(SERIALIZED_NAME_STATE_EFILE_STATUS)
private List stateEfileStatus;
@@ -386,25 +396,6 @@ public void setUpdatedAt(OffsetDateTime updatedAt) {
}
- public Form1099DivResponse userId(String userId) {
- this.userId = userId;
- return this;
- }
-
- /**
- * Get userId
- * @return userId
- */
- @javax.annotation.Nullable
- public String getUserId() {
- return userId;
- }
-
- public void setUserId(String userId) {
- this.userId = userId;
- }
-
-
public Form1099DivResponse stateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding) {
this.stateAndLocalWithholding = stateAndLocalWithholding;
return this;
@@ -709,22 +700,22 @@ public void setZip(String zip) {
}
- public Form1099DivResponse recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1099DivResponse email(String email) {
+ this.email = email;
return this;
}
/**
- * Get recipientEmail
- * @return recipientEmail
+ * Get email
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -766,22 +757,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1099DivResponse recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1099DivResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
- * Get recipientNonUsProvince
- * @return recipientNonUsProvince
+ * Get nonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -880,6 +871,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1099DivResponse noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Get noTin
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099DivResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Get secondTinNotice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099DivResponse addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -918,6 +947,25 @@ public void setFederalEfileStatus(StatusDetail federalEfileStatus) {
}
+ public Form1099DivResponse eDeliveryStatus(StatusDetail eDeliveryStatus) {
+ this.eDeliveryStatus = eDeliveryStatus;
+ return this;
+ }
+
+ /**
+ * Get eDeliveryStatus
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+ public void seteDeliveryStatus(StatusDetail eDeliveryStatus) {
+ this.eDeliveryStatus = eDeliveryStatus;
+ }
+
+
public Form1099DivResponse stateEfileStatus(List stateEfileStatus) {
this.stateEfileStatus = stateEfileStatus;
return this;
@@ -1042,7 +1090,6 @@ public boolean equals(Object o) {
return Objects.equals(this.type, form1099DivResponse.type) &&
Objects.equals(this.createdAt, form1099DivResponse.createdAt) &&
Objects.equals(this.updatedAt, form1099DivResponse.updatedAt) &&
- Objects.equals(this.userId, form1099DivResponse.userId) &&
Objects.equals(this.stateAndLocalWithholding, form1099DivResponse.stateAndLocalWithholding) &&
Objects.equals(this.tinType, form1099DivResponse.tinType) &&
Objects.equals(this.id, form1099DivResponse.id) &&
@@ -1059,17 +1106,20 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099DivResponse.city) &&
Objects.equals(this.state, form1099DivResponse.state) &&
Objects.equals(this.zip, form1099DivResponse.zip) &&
- Objects.equals(this.recipientEmail, form1099DivResponse.recipientEmail) &&
+ Objects.equals(this.email, form1099DivResponse.email) &&
Objects.equals(this.accountNumber, form1099DivResponse.accountNumber) &&
Objects.equals(this.officeCode, form1099DivResponse.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1099DivResponse.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1099DivResponse.nonUsProvince) &&
Objects.equals(this.countryCode, form1099DivResponse.countryCode) &&
Objects.equals(this.federalEFile, form1099DivResponse.federalEFile) &&
Objects.equals(this.postalMail, form1099DivResponse.postalMail) &&
Objects.equals(this.stateEFile, form1099DivResponse.stateEFile) &&
Objects.equals(this.tinMatch, form1099DivResponse.tinMatch) &&
+ Objects.equals(this.noTin, form1099DivResponse.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099DivResponse.secondTinNotice) &&
Objects.equals(this.addressVerification, form1099DivResponse.addressVerification) &&
Objects.equals(this.federalEfileStatus, form1099DivResponse.federalEfileStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1099DivResponse.eDeliveryStatus) &&
Objects.equals(this.stateEfileStatus, form1099DivResponse.stateEfileStatus) &&
Objects.equals(this.postalMailStatus, form1099DivResponse.postalMailStatus) &&
Objects.equals(this.tinMatchStatus, form1099DivResponse.tinMatchStatus) &&
@@ -1083,7 +1133,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(type, createdAt, updatedAt, userId, stateAndLocalWithholding, tinType, id, issuerId, issuerReferenceId, issuerTin, taxYear, referenceId, recipientName, recipientTin, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, federalEfileStatus, stateEfileStatus, postalMailStatus, tinMatchStatus, addressVerificationStatus, validationErrors);
+ return Objects.hash(type, createdAt, updatedAt, stateAndLocalWithholding, tinType, id, issuerId, issuerReferenceId, issuerTin, taxYear, referenceId, recipientName, recipientTin, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, federalEfileStatus, eDeliveryStatus, stateEfileStatus, postalMailStatus, tinMatchStatus, addressVerificationStatus, validationErrors);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1100,7 +1150,6 @@ public String toString() {
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
- sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
@@ -1117,17 +1166,20 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" federalEfileStatus: ").append(toIndentedString(federalEfileStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
sb.append(" stateEfileStatus: ").append(toIndentedString(stateEfileStatus)).append("\n");
sb.append(" postalMailStatus: ").append(toIndentedString(postalMailStatus)).append("\n");
sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
@@ -1158,7 +1210,6 @@ private String toIndentedString(Object o) {
openapiFields.add("type");
openapiFields.add("createdAt");
openapiFields.add("updatedAt");
- openapiFields.add("userId");
openapiFields.add("stateAndLocalWithholding");
openapiFields.add("tinType");
openapiFields.add("id");
@@ -1175,17 +1226,20 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("federalEfileStatus");
+ openapiFields.add("eDeliveryStatus");
openapiFields.add("stateEfileStatus");
openapiFields.add("postalMailStatus");
openapiFields.add("tinMatchStatus");
@@ -1224,9 +1278,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) {
TypeEnum.validateJsonElement(jsonObj.get("type"));
}
- if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString()));
- }
// validate the optional field `stateAndLocalWithholding`
if (jsonObj.get("stateAndLocalWithholding") != null && !jsonObj.get("stateAndLocalWithholding").isJsonNull()) {
StateAndLocalWithholdingResponse.validateJsonElement(jsonObj.get("stateAndLocalWithholding"));
@@ -1277,8 +1328,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1286,8 +1337,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
@@ -1296,6 +1347,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
}
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
+ }
if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
if (jsonArraystateEfileStatus != null) {
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItem.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItem.java
index ab37817..24bd089 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItem.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItem.java
@@ -357,9 +357,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -369,9 +369,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -393,6 +393,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -907,7 +915,7 @@ public Form1099KListItem recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -1050,22 +1058,22 @@ public void setZip(String zip) {
}
- public Form1099KListItem recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1099KListItem email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -1107,22 +1115,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1099KListItem recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1099KListItem nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1221,6 +1229,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1099KListItem noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099KListItem secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099KListItem addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -1303,15 +1349,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099KListItem.city) &&
Objects.equals(this.state, form1099KListItem.state) &&
Objects.equals(this.zip, form1099KListItem.zip) &&
- Objects.equals(this.recipientEmail, form1099KListItem.recipientEmail) &&
+ Objects.equals(this.email, form1099KListItem.email) &&
Objects.equals(this.accountNumber, form1099KListItem.accountNumber) &&
Objects.equals(this.officeCode, form1099KListItem.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1099KListItem.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1099KListItem.nonUsProvince) &&
Objects.equals(this.countryCode, form1099KListItem.countryCode) &&
Objects.equals(this.federalEFile, form1099KListItem.federalEFile) &&
Objects.equals(this.postalMail, form1099KListItem.postalMail) &&
Objects.equals(this.stateEFile, form1099KListItem.stateEFile) &&
Objects.equals(this.tinMatch, form1099KListItem.tinMatch) &&
+ Objects.equals(this.noTin, form1099KListItem.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099KListItem.secondTinNotice) &&
Objects.equals(this.addressVerification, form1099KListItem.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1099KListItem.stateAndLocalWithholding);
}
@@ -1322,7 +1370,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(filerType, paymentType, paymentSettlementEntityNamePhoneNumber, grossAmountPaymentCard, cardNotPresentTransactions, merchantCategoryCode, paymentTransactionNumber, federalIncomeTaxWithheld, january, february, march, april, may, june, july, august, sept, october, november, december, issuerReferenceId, issuerTin, taxYear, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(filerType, paymentType, paymentSettlementEntityNamePhoneNumber, grossAmountPaymentCard, cardNotPresentTransactions, merchantCategoryCode, paymentTransactionNumber, federalIncomeTaxWithheld, january, february, march, april, may, june, july, august, sept, october, november, december, issuerReferenceId, issuerTin, taxYear, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1370,15 +1418,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -1417,22 +1467,23 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
openapiRequiredFields.add("taxYear");
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1501,7 +1552,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1529,8 +1580,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1538,8 +1589,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItemResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItemResponse.java
index 7d676fc..1362a68 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItemResponse.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KListItemResponse.java
@@ -20,9 +20,9 @@
package Avalara.SDK.model.A1099.V2;
import java.util.Objects;
-import Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse;
import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -281,7 +281,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS = "federalEfileStatus";
@SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
- private Form1099StatusDetailResponse federalEfileStatus;
+ private StatusDetail federalEfileStatus;
public static final String SERIALIZED_NAME_STATE_EFILE = "stateEfile";
@SerializedName(SERIALIZED_NAME_STATE_EFILE)
@@ -297,7 +297,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS = "postalMailStatus";
@SerializedName(SERIALIZED_NAME_POSTAL_MAIL_STATUS)
- private Form1099StatusDetailResponse postalMailStatus;
+ private StatusDetail postalMailStatus;
public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
@@ -305,7 +305,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
public static final String SERIALIZED_NAME_TIN_MATCH_STATUS = "tinMatchStatus";
@SerializedName(SERIALIZED_NAME_TIN_MATCH_STATUS)
- private Form1099StatusDetailResponse tinMatchStatus;
+ private StatusDetail tinMatchStatus;
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
@@ -313,7 +313,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS = "addressVerificationStatus";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS)
- private Form1099StatusDetailResponse addressVerificationStatus;
+ private StatusDetail addressVerificationStatus;
+
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
@SerializedName(SERIALIZED_NAME_REFERENCE_ID)
@@ -331,6 +335,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN)
private String tin;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
@SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
private String recipientName;
@@ -359,14 +371,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_FOREIGN_PROVINCE = "foreignProvince";
- @SerializedName(SERIALIZED_NAME_FOREIGN_PROVINCE)
- private String foreignProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
private String countryCode;
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
+ @SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
+ private Boolean fatcaFilingRequirement;
+
public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors";
@SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS)
private List validationErrors;
@@ -388,11 +412,12 @@ public Form1099KListItemResponse() {
public Form1099KListItemResponse(
String id,
- Form1099StatusDetailResponse federalEfileStatus,
+ StatusDetail federalEfileStatus,
List stateEfileStatus,
- Form1099StatusDetailResponse postalMailStatus,
- Form1099StatusDetailResponse tinMatchStatus,
- Form1099StatusDetailResponse addressVerificationStatus,
+ StatusDetail postalMailStatus,
+ StatusDetail tinMatchStatus,
+ StatusDetail addressVerificationStatus,
+ StatusDetail eDeliveryStatus,
List validationErrors,
OffsetDateTime createdAt,
OffsetDateTime updatedAt
@@ -404,6 +429,7 @@ public Form1099KListItemResponse(
this.postalMailStatus = postalMailStatus;
this.tinMatchStatus = tinMatchStatus;
this.addressVerificationStatus = addressVerificationStatus;
+ this.eDeliveryStatus = eDeliveryStatus;
this.validationErrors = validationErrors;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
@@ -919,7 +945,7 @@ public void setFederalEfile(Boolean federalEfile) {
* @return federalEfileStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getFederalEfileStatus() {
+ public StatusDetail getFederalEfileStatus() {
return federalEfileStatus;
}
@@ -979,7 +1005,7 @@ public void setPostalMail(Boolean postalMail) {
* @return postalMailStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getPostalMailStatus() {
+ public StatusDetail getPostalMailStatus() {
return postalMailStatus;
}
@@ -1009,7 +1035,7 @@ public void setTinMatch(Boolean tinMatch) {
* @return tinMatchStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getTinMatchStatus() {
+ public StatusDetail getTinMatchStatus() {
return tinMatchStatus;
}
@@ -1039,12 +1065,23 @@ public void setAddressVerification(Boolean addressVerification) {
* @return addressVerificationStatus
*/
@javax.annotation.Nullable
- public Form1099StatusDetailResponse getAddressVerificationStatus() {
+ public StatusDetail getAddressVerificationStatus() {
return addressVerificationStatus;
}
+ /**
+ * EDelivery status
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+
+
public Form1099KListItemResponse referenceId(String referenceId) {
this.referenceId = referenceId;
return this;
@@ -1121,6 +1158,44 @@ public void setTin(String tin) {
}
+ public Form1099KListItemResponse noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099KListItemResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second Tin Notice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099KListItemResponse recipientName(String recipientName) {
this.recipientName = recipientName;
return this;
@@ -1254,22 +1329,22 @@ public void setZip(String zip) {
}
- public Form1099KListItemResponse foreignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public Form1099KListItemResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return foreignProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getForeignProvince() {
- return foreignProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setForeignProvince(String foreignProvince) {
- this.foreignProvince = foreignProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1292,6 +1367,63 @@ public void setCountryCode(String countryCode) {
}
+ public Form1099KListItemResponse accountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Account Number
+ * @return accountNumber
+ */
+ @javax.annotation.Nullable
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ public void setAccountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+
+ public Form1099KListItemResponse officeCode(String officeCode) {
+ this.officeCode = officeCode;
+ return this;
+ }
+
+ /**
+ * Office Code
+ * @return officeCode
+ */
+ @javax.annotation.Nullable
+ public String getOfficeCode() {
+ return officeCode;
+ }
+
+ public void setOfficeCode(String officeCode) {
+ this.officeCode = officeCode;
+ }
+
+
+ public Form1099KListItemResponse fatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ return this;
+ }
+
+ /**
+ * FATCA filing requirement
+ * @return fatcaFilingRequirement
+ */
+ @javax.annotation.Nullable
+ public Boolean getFatcaFilingRequirement() {
+ return fatcaFilingRequirement;
+ }
+
+ public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement) {
+ this.fatcaFilingRequirement = fatcaFilingRequirement;
+ }
+
+
/**
* Validation errors
* @return validationErrors
@@ -1390,10 +1522,13 @@ public boolean equals(Object o) {
Objects.equals(this.tinMatchStatus, form1099KListItemResponse.tinMatchStatus) &&
Objects.equals(this.addressVerification, form1099KListItemResponse.addressVerification) &&
Objects.equals(this.addressVerificationStatus, form1099KListItemResponse.addressVerificationStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1099KListItemResponse.eDeliveryStatus) &&
Objects.equals(this.referenceId, form1099KListItemResponse.referenceId) &&
Objects.equals(this.email, form1099KListItemResponse.email) &&
Objects.equals(this.tinType, form1099KListItemResponse.tinType) &&
Objects.equals(this.tin, form1099KListItemResponse.tin) &&
+ Objects.equals(this.noTin, form1099KListItemResponse.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099KListItemResponse.secondTinNotice) &&
Objects.equals(this.recipientName, form1099KListItemResponse.recipientName) &&
Objects.equals(this.recipientSecondName, form1099KListItemResponse.recipientSecondName) &&
Objects.equals(this.address, form1099KListItemResponse.address) &&
@@ -1401,8 +1536,11 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099KListItemResponse.city) &&
Objects.equals(this.state, form1099KListItemResponse.state) &&
Objects.equals(this.zip, form1099KListItemResponse.zip) &&
- Objects.equals(this.foreignProvince, form1099KListItemResponse.foreignProvince) &&
+ Objects.equals(this.nonUsProvince, form1099KListItemResponse.nonUsProvince) &&
Objects.equals(this.countryCode, form1099KListItemResponse.countryCode) &&
+ Objects.equals(this.accountNumber, form1099KListItemResponse.accountNumber) &&
+ Objects.equals(this.officeCode, form1099KListItemResponse.officeCode) &&
+ Objects.equals(this.fatcaFilingRequirement, form1099KListItemResponse.fatcaFilingRequirement) &&
Objects.equals(this.validationErrors, form1099KListItemResponse.validationErrors) &&
Objects.equals(this.createdAt, form1099KListItemResponse.createdAt) &&
Objects.equals(this.updatedAt, form1099KListItemResponse.updatedAt) &&
@@ -1415,7 +1553,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(filerType, paymentType, paymentSettlementEntityNamePhoneNumber, grossAmountPaymentCard, cardNotPresentTransactions, merchantCategoryCode, paymentTransactionNumber, federalIncomeTaxWithheld, january, february, march, april, may, june, july, august, sept, october, november, december, id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, referenceId, email, tinType, tin, recipientName, recipientSecondName, address, address2, city, state, zip, foreignProvince, countryCode, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
+ return Objects.hash(filerType, paymentType, paymentSettlementEntityNamePhoneNumber, grossAmountPaymentCard, cardNotPresentTransactions, merchantCategoryCode, paymentTransactionNumber, federalIncomeTaxWithheld, january, february, march, april, may, june, july, august, sept, october, november, december, id, type, issuerId, issuerReferenceId, issuerTin, taxYear, federalEfile, federalEfileStatus, stateEfile, stateEfileStatus, postalMail, postalMailStatus, tinMatch, tinMatchStatus, addressVerification, addressVerificationStatus, eDeliveryStatus, referenceId, email, tinType, tin, noTin, secondTinNotice, recipientName, recipientSecondName, address, address2, city, state, zip, nonUsProvince, countryCode, accountNumber, officeCode, fatcaFilingRequirement, validationErrors, createdAt, updatedAt, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1465,10 +1603,13 @@ public String toString() {
sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" addressVerificationStatus: ").append(toIndentedString(addressVerificationStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
sb.append(" tin: ").append(toIndentedString(tin)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" recipientName: ").append(toIndentedString(recipientName)).append("\n");
sb.append(" recipientSecondName: ").append(toIndentedString(recipientSecondName)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
@@ -1476,8 +1617,11 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" foreignProvince: ").append(toIndentedString(foreignProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
+ sb.append(" fatcaFilingRequirement: ").append(toIndentedString(fatcaFilingRequirement)).append("\n");
sb.append(" validationErrors: ").append(toIndentedString(validationErrors)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
@@ -1520,10 +1664,13 @@ private String toIndentedString(Object o) {
openapiFields.add("tinMatchStatus");
openapiFields.add("addressVerification");
openapiFields.add("addressVerificationStatus");
+ openapiFields.add("eDeliveryStatus");
openapiFields.add("referenceId");
openapiFields.add("email");
openapiFields.add("tinType");
openapiFields.add("tin");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("recipientName");
openapiFields.add("recipientSecondName");
openapiFields.add("address");
@@ -1531,8 +1678,11 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("foreignProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
+ openapiFields.add("accountNumber");
+ openapiFields.add("officeCode");
+ openapiFields.add("fatcaFilingRequirement");
openapiFields.add("validationErrors");
openapiFields.add("createdAt");
openapiFields.add("updatedAt");
@@ -1612,7 +1762,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `federalEfileStatus`
if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("federalEfileStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
}
if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
@@ -1630,15 +1780,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
// validate the optional field `postalMailStatus`
if (jsonObj.get("postalMailStatus") != null && !jsonObj.get("postalMailStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("postalMailStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("postalMailStatus"));
}
// validate the optional field `tinMatchStatus`
if (jsonObj.get("tinMatchStatus") != null && !jsonObj.get("tinMatchStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("tinMatchStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("tinMatchStatus"));
}
// validate the optional field `addressVerificationStatus`
if (jsonObj.get("addressVerificationStatus") != null && !jsonObj.get("addressVerificationStatus").isJsonNull()) {
- Form1099StatusDetailResponse.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ StatusDetail.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ }
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
}
if ((jsonObj.get("referenceId") != null && !jsonObj.get("referenceId").isJsonNull()) && !jsonObj.get("referenceId").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `referenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("referenceId").toString()));
@@ -1673,12 +1827,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("foreignProvince") != null && !jsonObj.get("foreignProvince").isJsonNull()) && !jsonObj.get("foreignProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `foreignProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("foreignProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
}
+ if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
+ }
+ if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
+ }
if (jsonObj.get("validationErrors") != null && !jsonObj.get("validationErrors").isJsonNull()) {
JsonArray jsonArrayvalidationErrors = jsonObj.getAsJsonArray("validationErrors");
if (jsonArrayvalidationErrors != null) {
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KRequest.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KRequest.java
index ca68784..5821e19 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KRequest.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KRequest.java
@@ -59,13 +59,119 @@
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0")
public class Form1099KRequest {
+ /**
+ * Filer type (PSE or EPF)
+ */
+ @JsonAdapter(FilerTypeEnum.Adapter.class)
+ public enum FilerTypeEnum {
+ PSE("PSE"),
+
+ EPF("EPF"),
+
+ OTHER("Other");
+
+ private String value;
+
+ FilerTypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static FilerTypeEnum fromValue(String value) {
+ for (FilerTypeEnum b : FilerTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final FilerTypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public FilerTypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return FilerTypeEnum.fromValue(value);
+ }
+ }
+
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ String value = jsonElement.getAsString();
+ FilerTypeEnum.fromValue(value);
+ }
+ }
+
public static final String SERIALIZED_NAME_FILER_TYPE = "filerType";
@SerializedName(SERIALIZED_NAME_FILER_TYPE)
- private Integer filerType;
+ private FilerTypeEnum filerType;
+
+ /**
+ * Payment type (payment card or third party network)
+ */
+ @JsonAdapter(PaymentTypeEnum.Adapter.class)
+ public enum PaymentTypeEnum {
+ MERCHANT_PAYMENT_CARD("MerchantPaymentCard"),
+
+ THIRD_PARTY_NETWORK("ThirdPartyNetwork");
+
+ private String value;
+
+ PaymentTypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static PaymentTypeEnum fromValue(String value) {
+ for (PaymentTypeEnum b : PaymentTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final PaymentTypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public PaymentTypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return PaymentTypeEnum.fromValue(value);
+ }
+ }
+
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ String value = jsonElement.getAsString();
+ PaymentTypeEnum.fromValue(value);
+ }
+ }
public static final String SERIALIZED_NAME_PAYMENT_TYPE = "paymentType";
@SerializedName(SERIALIZED_NAME_PAYMENT_TYPE)
- private Integer paymentType;
+ private PaymentTypeEnum paymentType;
public static final String SERIALIZED_NAME_PAYMENT_SETTLEMENT_ENTITY_NAME_PHONE_NUMBER = "paymentSettlementEntityNamePhoneNumber";
@SerializedName(SERIALIZED_NAME_PAYMENT_SETTLEMENT_ENTITY_NAME_PHONE_NUMBER)
@@ -156,7 +262,9 @@ public enum TypeEnum {
_1095_B("1095-B"),
- _1042_S("1042-S");
+ _1042_S("1042-S"),
+
+ _1095_C("1095-C");
private String value;
@@ -305,9 +413,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -317,9 +425,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -341,6 +449,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -352,7 +468,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
public Form1099KRequest() {
}
- public Form1099KRequest filerType(Integer filerType) {
+ public Form1099KRequest filerType(FilerTypeEnum filerType) {
this.filerType = filerType;
return this;
}
@@ -362,16 +478,16 @@ public Form1099KRequest filerType(Integer filerType) {
* @return filerType
*/
@javax.annotation.Nullable
- public Integer getFilerType() {
+ public FilerTypeEnum getFilerType() {
return filerType;
}
- public void setFilerType(Integer filerType) {
+ public void setFilerType(FilerTypeEnum filerType) {
this.filerType = filerType;
}
- public Form1099KRequest paymentType(Integer paymentType) {
+ public Form1099KRequest paymentType(PaymentTypeEnum paymentType) {
this.paymentType = paymentType;
return this;
}
@@ -381,11 +497,11 @@ public Form1099KRequest paymentType(Integer paymentType) {
* @return paymentType
*/
@javax.annotation.Nullable
- public Integer getPaymentType() {
+ public PaymentTypeEnum getPaymentType() {
return paymentType;
}
- public void setPaymentType(Integer paymentType) {
+ public void setPaymentType(PaymentTypeEnum paymentType) {
this.paymentType = paymentType;
}
@@ -817,7 +933,7 @@ public Form1099KRequest recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -960,22 +1076,22 @@ public void setZip(String zip) {
}
- public Form1099KRequest recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1099KRequest email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -1017,22 +1133,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1099KRequest recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1099KRequest nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1131,6 +1247,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1099KRequest noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099KRequest secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099KRequest addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -1211,15 +1365,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099KRequest.city) &&
Objects.equals(this.state, form1099KRequest.state) &&
Objects.equals(this.zip, form1099KRequest.zip) &&
- Objects.equals(this.recipientEmail, form1099KRequest.recipientEmail) &&
+ Objects.equals(this.email, form1099KRequest.email) &&
Objects.equals(this.accountNumber, form1099KRequest.accountNumber) &&
Objects.equals(this.officeCode, form1099KRequest.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1099KRequest.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1099KRequest.nonUsProvince) &&
Objects.equals(this.countryCode, form1099KRequest.countryCode) &&
Objects.equals(this.federalEFile, form1099KRequest.federalEFile) &&
Objects.equals(this.postalMail, form1099KRequest.postalMail) &&
Objects.equals(this.stateEFile, form1099KRequest.stateEFile) &&
Objects.equals(this.tinMatch, form1099KRequest.tinMatch) &&
+ Objects.equals(this.noTin, form1099KRequest.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099KRequest.secondTinNotice) &&
Objects.equals(this.addressVerification, form1099KRequest.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1099KRequest.stateAndLocalWithholding);
}
@@ -1230,7 +1386,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(filerType, paymentType, paymentSettlementEntityNamePhoneNumber, grossAmountPaymentCard, cardNotPresentTransactions, merchantCategoryCode, paymentTransactionNumber, federalIncomeTaxWithheld, january, february, march, april, may, june, july, august, sept, october, november, december, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(filerType, paymentType, paymentSettlementEntityNamePhoneNumber, grossAmountPaymentCard, cardNotPresentTransactions, merchantCategoryCode, paymentTransactionNumber, federalIncomeTaxWithheld, january, february, march, april, may, june, july, august, sept, october, november, december, type, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1276,15 +1432,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -1321,21 +1479,22 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1369,6 +1528,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("filerType") != null && !jsonObj.get("filerType").isJsonNull()) && !jsonObj.get("filerType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `filerType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("filerType").toString()));
+ }
+ // validate the optional field `filerType`
+ if (jsonObj.get("filerType") != null && !jsonObj.get("filerType").isJsonNull()) {
+ FilerTypeEnum.validateJsonElement(jsonObj.get("filerType"));
+ }
+ if ((jsonObj.get("paymentType") != null && !jsonObj.get("paymentType").isJsonNull()) && !jsonObj.get("paymentType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `paymentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentType").toString()));
+ }
+ // validate the optional field `paymentType`
+ if (jsonObj.get("paymentType") != null && !jsonObj.get("paymentType").isJsonNull()) {
+ PaymentTypeEnum.validateJsonElement(jsonObj.get("paymentType"));
+ }
if ((jsonObj.get("paymentSettlementEntityNamePhoneNumber") != null && !jsonObj.get("paymentSettlementEntityNamePhoneNumber").isJsonNull()) && !jsonObj.get("paymentSettlementEntityNamePhoneNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `paymentSettlementEntityNamePhoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentSettlementEntityNamePhoneNumber").toString()));
}
@@ -1391,7 +1564,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1419,8 +1592,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1428,8 +1601,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KResponse.java
new file mode 100644
index 0000000..a2a6e06
--- /dev/null
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099KResponse.java
@@ -0,0 +1,2071 @@
+/*
+ * AvaTax Software Development Kit for Java (JRE)
+ *
+ * (c) 2004-2025 Avalara, Inc.
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ *
+ * Avalara 1099 & W-9 API Definition
+ *
+ * ## 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
+ *
+ * @author Sachin Baijal
+ * @author Jonathan Wenger
+ * @copyright 2004-2025 Avalara, Inc.
+ * @license https://www.apache.org/licenses/LICENSE-2.0
+ * @link https://github.com/avadev/Avalara-SDK-Java
+ */
+
+package Avalara.SDK.model.A1099.V2;
+
+import java.util.Objects;
+import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
+import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
+import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.JsonArray;
+import com.google.gson.JsonDeserializationContext;
+import com.google.gson.JsonDeserializer;
+import com.google.gson.JsonElement;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParseException;
+import com.google.gson.TypeAdapterFactory;
+import com.google.gson.reflect.TypeToken;
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+
+import java.lang.reflect.Type;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import Avalara.SDK.JSON;
+
+/**
+ * Form1099KResponse
+ */
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0")
+public class Form1099KResponse {
+ /**
+ * Gets or Sets filerType
+ */
+ @JsonAdapter(FilerTypeEnum.Adapter.class)
+ public enum FilerTypeEnum {
+ PSE("PSE"),
+
+ EPF("EPF"),
+
+ OTHER("Other");
+
+ private String value;
+
+ FilerTypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static FilerTypeEnum fromValue(String value) {
+ for (FilerTypeEnum b : FilerTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final FilerTypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public FilerTypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return FilerTypeEnum.fromValue(value);
+ }
+ }
+
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ String value = jsonElement.getAsString();
+ FilerTypeEnum.fromValue(value);
+ }
+ }
+
+ public static final String SERIALIZED_NAME_FILER_TYPE = "filerType";
+ @SerializedName(SERIALIZED_NAME_FILER_TYPE)
+ private FilerTypeEnum filerType;
+
+ /**
+ * Gets or Sets paymentType
+ */
+ @JsonAdapter(PaymentTypeEnum.Adapter.class)
+ public enum PaymentTypeEnum {
+ MERCHANT_PAYMENT_CARD("MerchantPaymentCard"),
+
+ THIRD_PARTY_NETWORK("ThirdPartyNetwork");
+
+ private String value;
+
+ PaymentTypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static PaymentTypeEnum fromValue(String value) {
+ for (PaymentTypeEnum b : PaymentTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final PaymentTypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public PaymentTypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return PaymentTypeEnum.fromValue(value);
+ }
+ }
+
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ String value = jsonElement.getAsString();
+ PaymentTypeEnum.fromValue(value);
+ }
+ }
+
+ public static final String SERIALIZED_NAME_PAYMENT_TYPE = "paymentType";
+ @SerializedName(SERIALIZED_NAME_PAYMENT_TYPE)
+ private PaymentTypeEnum paymentType;
+
+ public static final String SERIALIZED_NAME_PAYMENT_SETTLEMENT_ENTITY_NAME_PHONE_NUMBER = "paymentSettlementEntityNamePhoneNumber";
+ @SerializedName(SERIALIZED_NAME_PAYMENT_SETTLEMENT_ENTITY_NAME_PHONE_NUMBER)
+ private String paymentSettlementEntityNamePhoneNumber;
+
+ public static final String SERIALIZED_NAME_GROSS_AMOUNT_PAYMENT_CARD = "grossAmountPaymentCard";
+ @SerializedName(SERIALIZED_NAME_GROSS_AMOUNT_PAYMENT_CARD)
+ private Double grossAmountPaymentCard;
+
+ public static final String SERIALIZED_NAME_CARD_NOT_PRESENT_TRANSACTIONS = "cardNotPresentTransactions";
+ @SerializedName(SERIALIZED_NAME_CARD_NOT_PRESENT_TRANSACTIONS)
+ private Double cardNotPresentTransactions;
+
+ public static final String SERIALIZED_NAME_MERCHANT_CATEGORY_CODE = "merchantCategoryCode";
+ @SerializedName(SERIALIZED_NAME_MERCHANT_CATEGORY_CODE)
+ private String merchantCategoryCode;
+
+ public static final String SERIALIZED_NAME_PAYMENT_TRANSACTION_NUMBER = "paymentTransactionNumber";
+ @SerializedName(SERIALIZED_NAME_PAYMENT_TRANSACTION_NUMBER)
+ private Double paymentTransactionNumber;
+
+ public static final String SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD = "federalIncomeTaxWithheld";
+ @SerializedName(SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD)
+ private Double federalIncomeTaxWithheld;
+
+ public static final String SERIALIZED_NAME_JANUARY = "january";
+ @SerializedName(SERIALIZED_NAME_JANUARY)
+ private Double january;
+
+ public static final String SERIALIZED_NAME_FEBRUARY = "february";
+ @SerializedName(SERIALIZED_NAME_FEBRUARY)
+ private Double february;
+
+ public static final String SERIALIZED_NAME_MARCH = "march";
+ @SerializedName(SERIALIZED_NAME_MARCH)
+ private Double march;
+
+ public static final String SERIALIZED_NAME_APRIL = "april";
+ @SerializedName(SERIALIZED_NAME_APRIL)
+ private Double april;
+
+ public static final String SERIALIZED_NAME_MAY = "may";
+ @SerializedName(SERIALIZED_NAME_MAY)
+ private Double may;
+
+ public static final String SERIALIZED_NAME_JUNE = "june";
+ @SerializedName(SERIALIZED_NAME_JUNE)
+ private Double june;
+
+ public static final String SERIALIZED_NAME_JULY = "july";
+ @SerializedName(SERIALIZED_NAME_JULY)
+ private Double july;
+
+ public static final String SERIALIZED_NAME_AUGUST = "august";
+ @SerializedName(SERIALIZED_NAME_AUGUST)
+ private Double august;
+
+ public static final String SERIALIZED_NAME_SEPT = "sept";
+ @SerializedName(SERIALIZED_NAME_SEPT)
+ private Double sept;
+
+ public static final String SERIALIZED_NAME_OCTOBER = "october";
+ @SerializedName(SERIALIZED_NAME_OCTOBER)
+ private Double october;
+
+ public static final String SERIALIZED_NAME_NOVEMBER = "november";
+ @SerializedName(SERIALIZED_NAME_NOVEMBER)
+ private Double november;
+
+ public static final String SERIALIZED_NAME_DECEMBER = "december";
+ @SerializedName(SERIALIZED_NAME_DECEMBER)
+ private Double december;
+
+ /**
+ * Gets or Sets type
+ */
+ @JsonAdapter(TypeEnum.Adapter.class)
+ public enum TypeEnum {
+ _1099_NEC("1099-NEC"),
+
+ _1099_MISC("1099-MISC"),
+
+ _1099_DIV("1099-DIV"),
+
+ _1099_R("1099-R"),
+
+ _1099_K("1099-K"),
+
+ _1095_B("1095-B"),
+
+ _1042_S("1042-S"),
+
+ _1095_C("1095-C");
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TypeEnum.fromValue(value);
+ }
+ }
+
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ String value = jsonElement.getAsString();
+ TypeEnum.fromValue(value);
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TYPE = "type";
+ @SerializedName(SERIALIZED_NAME_TYPE)
+ private TypeEnum type;
+
+ public static final String SERIALIZED_NAME_CREATED_AT = "createdAt";
+ @SerializedName(SERIALIZED_NAME_CREATED_AT)
+ private OffsetDateTime createdAt;
+
+ public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt";
+ @SerializedName(SERIALIZED_NAME_UPDATED_AT)
+ private OffsetDateTime updatedAt;
+
+ public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING = "stateAndLocalWithholding";
+ @SerializedName(SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING)
+ private StateAndLocalWithholdingResponse stateAndLocalWithholding;
+
+ /**
+ * Gets or Sets tinType
+ */
+ @JsonAdapter(TinTypeEnum.Adapter.class)
+ public enum TinTypeEnum {
+ EIN("EIN"),
+
+ SSN("SSN"),
+
+ ITIN("ITIN"),
+
+ ATIN("ATIN");
+
+ private String value;
+
+ TinTypeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static TinTypeEnum fromValue(String value) {
+ for (TinTypeEnum b : TinTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final TinTypeEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public TinTypeEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return TinTypeEnum.fromValue(value);
+ }
+ }
+
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ String value = jsonElement.getAsString();
+ TinTypeEnum.fromValue(value);
+ }
+ }
+
+ public static final String SERIALIZED_NAME_TIN_TYPE = "tinType";
+ @SerializedName(SERIALIZED_NAME_TIN_TYPE)
+ private TinTypeEnum tinType;
+
+ public static final String SERIALIZED_NAME_ID = "id";
+ @SerializedName(SERIALIZED_NAME_ID)
+ private String id;
+
+ public static final String SERIALIZED_NAME_ISSUER_ID = "issuerId";
+ @SerializedName(SERIALIZED_NAME_ISSUER_ID)
+ private String issuerId;
+
+ public static final String SERIALIZED_NAME_ISSUER_REFERENCE_ID = "issuerReferenceId";
+ @SerializedName(SERIALIZED_NAME_ISSUER_REFERENCE_ID)
+ private String issuerReferenceId;
+
+ public static final String SERIALIZED_NAME_ISSUER_TIN = "issuerTin";
+ @SerializedName(SERIALIZED_NAME_ISSUER_TIN)
+ private String issuerTin;
+
+ public static final String SERIALIZED_NAME_TAX_YEAR = "taxYear";
+ @SerializedName(SERIALIZED_NAME_TAX_YEAR)
+ private Integer taxYear;
+
+ public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
+ @SerializedName(SERIALIZED_NAME_REFERENCE_ID)
+ private String referenceId;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
+ private String recipientName;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_TIN = "recipientTin";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_TIN)
+ private String recipientTin;
+
+ public static final String SERIALIZED_NAME_RECIPIENT_SECOND_NAME = "recipientSecondName";
+ @SerializedName(SERIALIZED_NAME_RECIPIENT_SECOND_NAME)
+ private String recipientSecondName;
+
+ public static final String SERIALIZED_NAME_ADDRESS = "address";
+ @SerializedName(SERIALIZED_NAME_ADDRESS)
+ private String address;
+
+ public static final String SERIALIZED_NAME_ADDRESS2 = "address2";
+ @SerializedName(SERIALIZED_NAME_ADDRESS2)
+ private String address2;
+
+ public static final String SERIALIZED_NAME_CITY = "city";
+ @SerializedName(SERIALIZED_NAME_CITY)
+ private String city;
+
+ public static final String SERIALIZED_NAME_STATE = "state";
+ @SerializedName(SERIALIZED_NAME_STATE)
+ private String state;
+
+ public static final String SERIALIZED_NAME_ZIP = "zip";
+ @SerializedName(SERIALIZED_NAME_ZIP)
+ private String zip;
+
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
+
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
+
+ public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
+ @SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
+ private String countryCode;
+
+ public static final String SERIALIZED_NAME_FEDERAL_E_FILE = "federalEFile";
+ @SerializedName(SERIALIZED_NAME_FEDERAL_E_FILE)
+ private Boolean federalEFile;
+
+ public static final String SERIALIZED_NAME_POSTAL_MAIL = "postalMail";
+ @SerializedName(SERIALIZED_NAME_POSTAL_MAIL)
+ private Boolean postalMail;
+
+ public static final String SERIALIZED_NAME_STATE_E_FILE = "stateEFile";
+ @SerializedName(SERIALIZED_NAME_STATE_E_FILE)
+ private Boolean stateEFile;
+
+ public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
+ @SerializedName(SERIALIZED_NAME_TIN_MATCH)
+ private Boolean tinMatch;
+
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
+ public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
+ @SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
+ private Boolean addressVerification;
+
+ public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS = "federalEfileStatus";
+ @SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
+ private StatusDetail federalEfileStatus;
+
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
+
+ public static final String SERIALIZED_NAME_STATE_EFILE_STATUS = "stateEfileStatus";
+ @SerializedName(SERIALIZED_NAME_STATE_EFILE_STATUS)
+ private List stateEfileStatus;
+
+ public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS = "postalMailStatus";
+ @SerializedName(SERIALIZED_NAME_POSTAL_MAIL_STATUS)
+ private StatusDetail postalMailStatus;
+
+ public static final String SERIALIZED_NAME_TIN_MATCH_STATUS = "tinMatchStatus";
+ @SerializedName(SERIALIZED_NAME_TIN_MATCH_STATUS)
+ private StatusDetail tinMatchStatus;
+
+ public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS = "addressVerificationStatus";
+ @SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS)
+ private StatusDetail addressVerificationStatus;
+
+ public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors";
+ @SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS)
+ private List validationErrors;
+
+ public Form1099KResponse() {
+ }
+
+ public Form1099KResponse(
+ TypeEnum type
+ ) {
+ this();
+ this.type = type;
+ }
+
+ public Form1099KResponse filerType(FilerTypeEnum filerType) {
+ this.filerType = filerType;
+ return this;
+ }
+
+ /**
+ * Get filerType
+ * @return filerType
+ */
+ @javax.annotation.Nullable
+ public FilerTypeEnum getFilerType() {
+ return filerType;
+ }
+
+ public void setFilerType(FilerTypeEnum filerType) {
+ this.filerType = filerType;
+ }
+
+
+ public Form1099KResponse paymentType(PaymentTypeEnum paymentType) {
+ this.paymentType = paymentType;
+ return this;
+ }
+
+ /**
+ * Get paymentType
+ * @return paymentType
+ */
+ @javax.annotation.Nullable
+ public PaymentTypeEnum getPaymentType() {
+ return paymentType;
+ }
+
+ public void setPaymentType(PaymentTypeEnum paymentType) {
+ this.paymentType = paymentType;
+ }
+
+
+ public Form1099KResponse paymentSettlementEntityNamePhoneNumber(String paymentSettlementEntityNamePhoneNumber) {
+ this.paymentSettlementEntityNamePhoneNumber = paymentSettlementEntityNamePhoneNumber;
+ return this;
+ }
+
+ /**
+ * Get paymentSettlementEntityNamePhoneNumber
+ * @return paymentSettlementEntityNamePhoneNumber
+ */
+ @javax.annotation.Nullable
+ public String getPaymentSettlementEntityNamePhoneNumber() {
+ return paymentSettlementEntityNamePhoneNumber;
+ }
+
+ public void setPaymentSettlementEntityNamePhoneNumber(String paymentSettlementEntityNamePhoneNumber) {
+ this.paymentSettlementEntityNamePhoneNumber = paymentSettlementEntityNamePhoneNumber;
+ }
+
+
+ public Form1099KResponse grossAmountPaymentCard(Double grossAmountPaymentCard) {
+ this.grossAmountPaymentCard = grossAmountPaymentCard;
+ return this;
+ }
+
+ /**
+ * Get grossAmountPaymentCard
+ * @return grossAmountPaymentCard
+ */
+ @javax.annotation.Nullable
+ public Double getGrossAmountPaymentCard() {
+ return grossAmountPaymentCard;
+ }
+
+ public void setGrossAmountPaymentCard(Double grossAmountPaymentCard) {
+ this.grossAmountPaymentCard = grossAmountPaymentCard;
+ }
+
+
+ public Form1099KResponse cardNotPresentTransactions(Double cardNotPresentTransactions) {
+ this.cardNotPresentTransactions = cardNotPresentTransactions;
+ return this;
+ }
+
+ /**
+ * Get cardNotPresentTransactions
+ * @return cardNotPresentTransactions
+ */
+ @javax.annotation.Nullable
+ public Double getCardNotPresentTransactions() {
+ return cardNotPresentTransactions;
+ }
+
+ public void setCardNotPresentTransactions(Double cardNotPresentTransactions) {
+ this.cardNotPresentTransactions = cardNotPresentTransactions;
+ }
+
+
+ public Form1099KResponse merchantCategoryCode(String merchantCategoryCode) {
+ this.merchantCategoryCode = merchantCategoryCode;
+ return this;
+ }
+
+ /**
+ * Get merchantCategoryCode
+ * @return merchantCategoryCode
+ */
+ @javax.annotation.Nullable
+ public String getMerchantCategoryCode() {
+ return merchantCategoryCode;
+ }
+
+ public void setMerchantCategoryCode(String merchantCategoryCode) {
+ this.merchantCategoryCode = merchantCategoryCode;
+ }
+
+
+ public Form1099KResponse paymentTransactionNumber(Double paymentTransactionNumber) {
+ this.paymentTransactionNumber = paymentTransactionNumber;
+ return this;
+ }
+
+ /**
+ * Get paymentTransactionNumber
+ * @return paymentTransactionNumber
+ */
+ @javax.annotation.Nullable
+ public Double getPaymentTransactionNumber() {
+ return paymentTransactionNumber;
+ }
+
+ public void setPaymentTransactionNumber(Double paymentTransactionNumber) {
+ this.paymentTransactionNumber = paymentTransactionNumber;
+ }
+
+
+ public Form1099KResponse federalIncomeTaxWithheld(Double federalIncomeTaxWithheld) {
+ this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
+ return this;
+ }
+
+ /**
+ * Get federalIncomeTaxWithheld
+ * @return federalIncomeTaxWithheld
+ */
+ @javax.annotation.Nullable
+ public Double getFederalIncomeTaxWithheld() {
+ return federalIncomeTaxWithheld;
+ }
+
+ public void setFederalIncomeTaxWithheld(Double federalIncomeTaxWithheld) {
+ this.federalIncomeTaxWithheld = federalIncomeTaxWithheld;
+ }
+
+
+ public Form1099KResponse january(Double january) {
+ this.january = january;
+ return this;
+ }
+
+ /**
+ * Get january
+ * @return january
+ */
+ @javax.annotation.Nullable
+ public Double getJanuary() {
+ return january;
+ }
+
+ public void setJanuary(Double january) {
+ this.january = january;
+ }
+
+
+ public Form1099KResponse february(Double february) {
+ this.february = february;
+ return this;
+ }
+
+ /**
+ * Get february
+ * @return february
+ */
+ @javax.annotation.Nullable
+ public Double getFebruary() {
+ return february;
+ }
+
+ public void setFebruary(Double february) {
+ this.february = february;
+ }
+
+
+ public Form1099KResponse march(Double march) {
+ this.march = march;
+ return this;
+ }
+
+ /**
+ * Get march
+ * @return march
+ */
+ @javax.annotation.Nullable
+ public Double getMarch() {
+ return march;
+ }
+
+ public void setMarch(Double march) {
+ this.march = march;
+ }
+
+
+ public Form1099KResponse april(Double april) {
+ this.april = april;
+ return this;
+ }
+
+ /**
+ * Get april
+ * @return april
+ */
+ @javax.annotation.Nullable
+ public Double getApril() {
+ return april;
+ }
+
+ public void setApril(Double april) {
+ this.april = april;
+ }
+
+
+ public Form1099KResponse may(Double may) {
+ this.may = may;
+ return this;
+ }
+
+ /**
+ * Get may
+ * @return may
+ */
+ @javax.annotation.Nullable
+ public Double getMay() {
+ return may;
+ }
+
+ public void setMay(Double may) {
+ this.may = may;
+ }
+
+
+ public Form1099KResponse june(Double june) {
+ this.june = june;
+ return this;
+ }
+
+ /**
+ * Get june
+ * @return june
+ */
+ @javax.annotation.Nullable
+ public Double getJune() {
+ return june;
+ }
+
+ public void setJune(Double june) {
+ this.june = june;
+ }
+
+
+ public Form1099KResponse july(Double july) {
+ this.july = july;
+ return this;
+ }
+
+ /**
+ * Get july
+ * @return july
+ */
+ @javax.annotation.Nullable
+ public Double getJuly() {
+ return july;
+ }
+
+ public void setJuly(Double july) {
+ this.july = july;
+ }
+
+
+ public Form1099KResponse august(Double august) {
+ this.august = august;
+ return this;
+ }
+
+ /**
+ * Get august
+ * @return august
+ */
+ @javax.annotation.Nullable
+ public Double getAugust() {
+ return august;
+ }
+
+ public void setAugust(Double august) {
+ this.august = august;
+ }
+
+
+ public Form1099KResponse sept(Double sept) {
+ this.sept = sept;
+ return this;
+ }
+
+ /**
+ * Get sept
+ * @return sept
+ */
+ @javax.annotation.Nullable
+ public Double getSept() {
+ return sept;
+ }
+
+ public void setSept(Double sept) {
+ this.sept = sept;
+ }
+
+
+ public Form1099KResponse october(Double october) {
+ this.october = october;
+ return this;
+ }
+
+ /**
+ * Get october
+ * @return october
+ */
+ @javax.annotation.Nullable
+ public Double getOctober() {
+ return october;
+ }
+
+ public void setOctober(Double october) {
+ this.october = october;
+ }
+
+
+ public Form1099KResponse november(Double november) {
+ this.november = november;
+ return this;
+ }
+
+ /**
+ * Get november
+ * @return november
+ */
+ @javax.annotation.Nullable
+ public Double getNovember() {
+ return november;
+ }
+
+ public void setNovember(Double november) {
+ this.november = november;
+ }
+
+
+ public Form1099KResponse december(Double december) {
+ this.december = december;
+ return this;
+ }
+
+ /**
+ * Get december
+ * @return december
+ */
+ @javax.annotation.Nullable
+ public Double getDecember() {
+ return december;
+ }
+
+ public void setDecember(Double december) {
+ this.december = december;
+ }
+
+
+ /**
+ * Get type
+ * @return type
+ */
+ @javax.annotation.Nullable
+ public TypeEnum getType() {
+ return type;
+ }
+
+
+
+ public Form1099KResponse createdAt(OffsetDateTime createdAt) {
+ this.createdAt = createdAt;
+ return this;
+ }
+
+ /**
+ * Get createdAt
+ * @return createdAt
+ */
+ @javax.annotation.Nullable
+ public OffsetDateTime getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(OffsetDateTime createdAt) {
+ this.createdAt = createdAt;
+ }
+
+
+ public Form1099KResponse updatedAt(OffsetDateTime updatedAt) {
+ this.updatedAt = updatedAt;
+ return this;
+ }
+
+ /**
+ * Get updatedAt
+ * @return updatedAt
+ */
+ @javax.annotation.Nullable
+ public OffsetDateTime getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(OffsetDateTime updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+
+ public Form1099KResponse stateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding) {
+ this.stateAndLocalWithholding = stateAndLocalWithholding;
+ return this;
+ }
+
+ /**
+ * Get stateAndLocalWithholding
+ * @return stateAndLocalWithholding
+ */
+ @javax.annotation.Nullable
+ public StateAndLocalWithholdingResponse getStateAndLocalWithholding() {
+ return stateAndLocalWithholding;
+ }
+
+ public void setStateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding) {
+ this.stateAndLocalWithholding = stateAndLocalWithholding;
+ }
+
+
+ public Form1099KResponse tinType(TinTypeEnum tinType) {
+ this.tinType = tinType;
+ return this;
+ }
+
+ /**
+ * Get tinType
+ * @return tinType
+ */
+ @javax.annotation.Nullable
+ public TinTypeEnum getTinType() {
+ return tinType;
+ }
+
+ public void setTinType(TinTypeEnum tinType) {
+ this.tinType = tinType;
+ }
+
+
+ public Form1099KResponse id(String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Get id
+ * @return id
+ */
+ @javax.annotation.Nullable
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+
+ public Form1099KResponse issuerId(String issuerId) {
+ this.issuerId = issuerId;
+ return this;
+ }
+
+ /**
+ * Get issuerId
+ * @return issuerId
+ */
+ @javax.annotation.Nullable
+ public String getIssuerId() {
+ return issuerId;
+ }
+
+ public void setIssuerId(String issuerId) {
+ this.issuerId = issuerId;
+ }
+
+
+ public Form1099KResponse issuerReferenceId(String issuerReferenceId) {
+ this.issuerReferenceId = issuerReferenceId;
+ return this;
+ }
+
+ /**
+ * Get issuerReferenceId
+ * @return issuerReferenceId
+ */
+ @javax.annotation.Nullable
+ public String getIssuerReferenceId() {
+ return issuerReferenceId;
+ }
+
+ public void setIssuerReferenceId(String issuerReferenceId) {
+ this.issuerReferenceId = issuerReferenceId;
+ }
+
+
+ public Form1099KResponse issuerTin(String issuerTin) {
+ this.issuerTin = issuerTin;
+ return this;
+ }
+
+ /**
+ * Get issuerTin
+ * @return issuerTin
+ */
+ @javax.annotation.Nullable
+ public String getIssuerTin() {
+ return issuerTin;
+ }
+
+ public void setIssuerTin(String issuerTin) {
+ this.issuerTin = issuerTin;
+ }
+
+
+ public Form1099KResponse taxYear(Integer taxYear) {
+ this.taxYear = taxYear;
+ return this;
+ }
+
+ /**
+ * Get taxYear
+ * @return taxYear
+ */
+ @javax.annotation.Nullable
+ public Integer getTaxYear() {
+ return taxYear;
+ }
+
+ public void setTaxYear(Integer taxYear) {
+ this.taxYear = taxYear;
+ }
+
+
+ public Form1099KResponse referenceId(String referenceId) {
+ this.referenceId = referenceId;
+ return this;
+ }
+
+ /**
+ * Get referenceId
+ * @return referenceId
+ */
+ @javax.annotation.Nullable
+ public String getReferenceId() {
+ return referenceId;
+ }
+
+ public void setReferenceId(String referenceId) {
+ this.referenceId = referenceId;
+ }
+
+
+ public Form1099KResponse recipientName(String recipientName) {
+ this.recipientName = recipientName;
+ return this;
+ }
+
+ /**
+ * Get recipientName
+ * @return recipientName
+ */
+ @javax.annotation.Nullable
+ public String getRecipientName() {
+ return recipientName;
+ }
+
+ public void setRecipientName(String recipientName) {
+ this.recipientName = recipientName;
+ }
+
+
+ public Form1099KResponse recipientTin(String recipientTin) {
+ this.recipientTin = recipientTin;
+ return this;
+ }
+
+ /**
+ * Get recipientTin
+ * @return recipientTin
+ */
+ @javax.annotation.Nullable
+ public String getRecipientTin() {
+ return recipientTin;
+ }
+
+ public void setRecipientTin(String recipientTin) {
+ this.recipientTin = recipientTin;
+ }
+
+
+ public Form1099KResponse recipientSecondName(String recipientSecondName) {
+ this.recipientSecondName = recipientSecondName;
+ return this;
+ }
+
+ /**
+ * Get recipientSecondName
+ * @return recipientSecondName
+ */
+ @javax.annotation.Nullable
+ public String getRecipientSecondName() {
+ return recipientSecondName;
+ }
+
+ public void setRecipientSecondName(String recipientSecondName) {
+ this.recipientSecondName = recipientSecondName;
+ }
+
+
+ public Form1099KResponse address(String address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ * @return address
+ */
+ @javax.annotation.Nullable
+ public String getAddress() {
+ return address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
+
+ public Form1099KResponse address2(String address2) {
+ this.address2 = address2;
+ return this;
+ }
+
+ /**
+ * Get address2
+ * @return address2
+ */
+ @javax.annotation.Nullable
+ public String getAddress2() {
+ return address2;
+ }
+
+ public void setAddress2(String address2) {
+ this.address2 = address2;
+ }
+
+
+ public Form1099KResponse city(String city) {
+ this.city = city;
+ return this;
+ }
+
+ /**
+ * Get city
+ * @return city
+ */
+ @javax.annotation.Nullable
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+
+ public Form1099KResponse state(String state) {
+ this.state = state;
+ return this;
+ }
+
+ /**
+ * Get state
+ * @return state
+ */
+ @javax.annotation.Nullable
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+
+ public Form1099KResponse zip(String zip) {
+ this.zip = zip;
+ return this;
+ }
+
+ /**
+ * Get zip
+ * @return zip
+ */
+ @javax.annotation.Nullable
+ public String getZip() {
+ return zip;
+ }
+
+ public void setZip(String zip) {
+ this.zip = zip;
+ }
+
+
+ public Form1099KResponse email(String email) {
+ this.email = email;
+ return this;
+ }
+
+ /**
+ * Get email
+ * @return email
+ */
+ @javax.annotation.Nullable
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+
+ public Form1099KResponse accountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Get accountNumber
+ * @return accountNumber
+ */
+ @javax.annotation.Nullable
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ public void setAccountNumber(String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+
+ public Form1099KResponse officeCode(String officeCode) {
+ this.officeCode = officeCode;
+ return this;
+ }
+
+ /**
+ * Get officeCode
+ * @return officeCode
+ */
+ @javax.annotation.Nullable
+ public String getOfficeCode() {
+ return officeCode;
+ }
+
+ public void setOfficeCode(String officeCode) {
+ this.officeCode = officeCode;
+ }
+
+
+ public Form1099KResponse nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
+ return this;
+ }
+
+ /**
+ * Get nonUsProvince
+ * @return nonUsProvince
+ */
+ @javax.annotation.Nullable
+ public String getNonUsProvince() {
+ return nonUsProvince;
+ }
+
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
+ }
+
+
+ public Form1099KResponse countryCode(String countryCode) {
+ this.countryCode = countryCode;
+ return this;
+ }
+
+ /**
+ * Get countryCode
+ * @return countryCode
+ */
+ @javax.annotation.Nullable
+ public String getCountryCode() {
+ return countryCode;
+ }
+
+ public void setCountryCode(String countryCode) {
+ this.countryCode = countryCode;
+ }
+
+
+ public Form1099KResponse federalEFile(Boolean federalEFile) {
+ this.federalEFile = federalEFile;
+ return this;
+ }
+
+ /**
+ * Get federalEFile
+ * @return federalEFile
+ */
+ @javax.annotation.Nullable
+ public Boolean getFederalEFile() {
+ return federalEFile;
+ }
+
+ public void setFederalEFile(Boolean federalEFile) {
+ this.federalEFile = federalEFile;
+ }
+
+
+ public Form1099KResponse postalMail(Boolean postalMail) {
+ this.postalMail = postalMail;
+ return this;
+ }
+
+ /**
+ * Get postalMail
+ * @return postalMail
+ */
+ @javax.annotation.Nullable
+ public Boolean getPostalMail() {
+ return postalMail;
+ }
+
+ public void setPostalMail(Boolean postalMail) {
+ this.postalMail = postalMail;
+ }
+
+
+ public Form1099KResponse stateEFile(Boolean stateEFile) {
+ this.stateEFile = stateEFile;
+ return this;
+ }
+
+ /**
+ * Get stateEFile
+ * @return stateEFile
+ */
+ @javax.annotation.Nullable
+ public Boolean getStateEFile() {
+ return stateEFile;
+ }
+
+ public void setStateEFile(Boolean stateEFile) {
+ this.stateEFile = stateEFile;
+ }
+
+
+ public Form1099KResponse tinMatch(Boolean tinMatch) {
+ this.tinMatch = tinMatch;
+ return this;
+ }
+
+ /**
+ * Get tinMatch
+ * @return tinMatch
+ */
+ @javax.annotation.Nullable
+ public Boolean getTinMatch() {
+ return tinMatch;
+ }
+
+ public void setTinMatch(Boolean tinMatch) {
+ this.tinMatch = tinMatch;
+ }
+
+
+ public Form1099KResponse noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Get noTin
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099KResponse secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Get secondTinNotice
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
+ public Form1099KResponse addressVerification(Boolean addressVerification) {
+ this.addressVerification = addressVerification;
+ return this;
+ }
+
+ /**
+ * Get addressVerification
+ * @return addressVerification
+ */
+ @javax.annotation.Nullable
+ public Boolean getAddressVerification() {
+ return addressVerification;
+ }
+
+ public void setAddressVerification(Boolean addressVerification) {
+ this.addressVerification = addressVerification;
+ }
+
+
+ public Form1099KResponse federalEfileStatus(StatusDetail federalEfileStatus) {
+ this.federalEfileStatus = federalEfileStatus;
+ return this;
+ }
+
+ /**
+ * Get federalEfileStatus
+ * @return federalEfileStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getFederalEfileStatus() {
+ return federalEfileStatus;
+ }
+
+ public void setFederalEfileStatus(StatusDetail federalEfileStatus) {
+ this.federalEfileStatus = federalEfileStatus;
+ }
+
+
+ public Form1099KResponse eDeliveryStatus(StatusDetail eDeliveryStatus) {
+ this.eDeliveryStatus = eDeliveryStatus;
+ return this;
+ }
+
+ /**
+ * Get eDeliveryStatus
+ * @return eDeliveryStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail geteDeliveryStatus() {
+ return eDeliveryStatus;
+ }
+
+ public void seteDeliveryStatus(StatusDetail eDeliveryStatus) {
+ this.eDeliveryStatus = eDeliveryStatus;
+ }
+
+
+ public Form1099KResponse stateEfileStatus(List stateEfileStatus) {
+ this.stateEfileStatus = stateEfileStatus;
+ return this;
+ }
+
+ public Form1099KResponse addStateEfileStatusItem(StateEfileStatusDetailResponse stateEfileStatusItem) {
+ if (this.stateEfileStatus == null) {
+ this.stateEfileStatus = new ArrayList<>();
+ }
+ this.stateEfileStatus.add(stateEfileStatusItem);
+ return this;
+ }
+
+ /**
+ * Get stateEfileStatus
+ * @return stateEfileStatus
+ */
+ @javax.annotation.Nullable
+ public List getStateEfileStatus() {
+ return stateEfileStatus;
+ }
+
+ public void setStateEfileStatus(List stateEfileStatus) {
+ this.stateEfileStatus = stateEfileStatus;
+ }
+
+
+ public Form1099KResponse postalMailStatus(StatusDetail postalMailStatus) {
+ this.postalMailStatus = postalMailStatus;
+ return this;
+ }
+
+ /**
+ * Get postalMailStatus
+ * @return postalMailStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getPostalMailStatus() {
+ return postalMailStatus;
+ }
+
+ public void setPostalMailStatus(StatusDetail postalMailStatus) {
+ this.postalMailStatus = postalMailStatus;
+ }
+
+
+ public Form1099KResponse tinMatchStatus(StatusDetail tinMatchStatus) {
+ this.tinMatchStatus = tinMatchStatus;
+ return this;
+ }
+
+ /**
+ * Get tinMatchStatus
+ * @return tinMatchStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getTinMatchStatus() {
+ return tinMatchStatus;
+ }
+
+ public void setTinMatchStatus(StatusDetail tinMatchStatus) {
+ this.tinMatchStatus = tinMatchStatus;
+ }
+
+
+ public Form1099KResponse addressVerificationStatus(StatusDetail addressVerificationStatus) {
+ this.addressVerificationStatus = addressVerificationStatus;
+ return this;
+ }
+
+ /**
+ * Get addressVerificationStatus
+ * @return addressVerificationStatus
+ */
+ @javax.annotation.Nullable
+ public StatusDetail getAddressVerificationStatus() {
+ return addressVerificationStatus;
+ }
+
+ public void setAddressVerificationStatus(StatusDetail addressVerificationStatus) {
+ this.addressVerificationStatus = addressVerificationStatus;
+ }
+
+
+ public Form1099KResponse validationErrors(List validationErrors) {
+ this.validationErrors = validationErrors;
+ return this;
+ }
+
+ public Form1099KResponse addValidationErrorsItem(ValidationErrorResponse validationErrorsItem) {
+ if (this.validationErrors == null) {
+ this.validationErrors = new ArrayList<>();
+ }
+ this.validationErrors.add(validationErrorsItem);
+ return this;
+ }
+
+ /**
+ * Get validationErrors
+ * @return validationErrors
+ */
+ @javax.annotation.Nullable
+ public List getValidationErrors() {
+ return validationErrors;
+ }
+
+ public void setValidationErrors(List validationErrors) {
+ this.validationErrors = validationErrors;
+ }
+
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ Form1099KResponse form1099KResponse = (Form1099KResponse) o;
+ return Objects.equals(this.filerType, form1099KResponse.filerType) &&
+ Objects.equals(this.paymentType, form1099KResponse.paymentType) &&
+ Objects.equals(this.paymentSettlementEntityNamePhoneNumber, form1099KResponse.paymentSettlementEntityNamePhoneNumber) &&
+ Objects.equals(this.grossAmountPaymentCard, form1099KResponse.grossAmountPaymentCard) &&
+ Objects.equals(this.cardNotPresentTransactions, form1099KResponse.cardNotPresentTransactions) &&
+ Objects.equals(this.merchantCategoryCode, form1099KResponse.merchantCategoryCode) &&
+ Objects.equals(this.paymentTransactionNumber, form1099KResponse.paymentTransactionNumber) &&
+ Objects.equals(this.federalIncomeTaxWithheld, form1099KResponse.federalIncomeTaxWithheld) &&
+ Objects.equals(this.january, form1099KResponse.january) &&
+ Objects.equals(this.february, form1099KResponse.february) &&
+ Objects.equals(this.march, form1099KResponse.march) &&
+ Objects.equals(this.april, form1099KResponse.april) &&
+ Objects.equals(this.may, form1099KResponse.may) &&
+ Objects.equals(this.june, form1099KResponse.june) &&
+ Objects.equals(this.july, form1099KResponse.july) &&
+ Objects.equals(this.august, form1099KResponse.august) &&
+ Objects.equals(this.sept, form1099KResponse.sept) &&
+ Objects.equals(this.october, form1099KResponse.october) &&
+ Objects.equals(this.november, form1099KResponse.november) &&
+ Objects.equals(this.december, form1099KResponse.december) &&
+ Objects.equals(this.type, form1099KResponse.type) &&
+ Objects.equals(this.createdAt, form1099KResponse.createdAt) &&
+ Objects.equals(this.updatedAt, form1099KResponse.updatedAt) &&
+ Objects.equals(this.stateAndLocalWithholding, form1099KResponse.stateAndLocalWithholding) &&
+ Objects.equals(this.tinType, form1099KResponse.tinType) &&
+ Objects.equals(this.id, form1099KResponse.id) &&
+ Objects.equals(this.issuerId, form1099KResponse.issuerId) &&
+ Objects.equals(this.issuerReferenceId, form1099KResponse.issuerReferenceId) &&
+ Objects.equals(this.issuerTin, form1099KResponse.issuerTin) &&
+ Objects.equals(this.taxYear, form1099KResponse.taxYear) &&
+ Objects.equals(this.referenceId, form1099KResponse.referenceId) &&
+ Objects.equals(this.recipientName, form1099KResponse.recipientName) &&
+ Objects.equals(this.recipientTin, form1099KResponse.recipientTin) &&
+ Objects.equals(this.recipientSecondName, form1099KResponse.recipientSecondName) &&
+ Objects.equals(this.address, form1099KResponse.address) &&
+ Objects.equals(this.address2, form1099KResponse.address2) &&
+ Objects.equals(this.city, form1099KResponse.city) &&
+ Objects.equals(this.state, form1099KResponse.state) &&
+ Objects.equals(this.zip, form1099KResponse.zip) &&
+ Objects.equals(this.email, form1099KResponse.email) &&
+ Objects.equals(this.accountNumber, form1099KResponse.accountNumber) &&
+ Objects.equals(this.officeCode, form1099KResponse.officeCode) &&
+ Objects.equals(this.nonUsProvince, form1099KResponse.nonUsProvince) &&
+ Objects.equals(this.countryCode, form1099KResponse.countryCode) &&
+ Objects.equals(this.federalEFile, form1099KResponse.federalEFile) &&
+ Objects.equals(this.postalMail, form1099KResponse.postalMail) &&
+ Objects.equals(this.stateEFile, form1099KResponse.stateEFile) &&
+ Objects.equals(this.tinMatch, form1099KResponse.tinMatch) &&
+ Objects.equals(this.noTin, form1099KResponse.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099KResponse.secondTinNotice) &&
+ Objects.equals(this.addressVerification, form1099KResponse.addressVerification) &&
+ Objects.equals(this.federalEfileStatus, form1099KResponse.federalEfileStatus) &&
+ Objects.equals(this.eDeliveryStatus, form1099KResponse.eDeliveryStatus) &&
+ Objects.equals(this.stateEfileStatus, form1099KResponse.stateEfileStatus) &&
+ Objects.equals(this.postalMailStatus, form1099KResponse.postalMailStatus) &&
+ Objects.equals(this.tinMatchStatus, form1099KResponse.tinMatchStatus) &&
+ Objects.equals(this.addressVerificationStatus, form1099KResponse.addressVerificationStatus) &&
+ Objects.equals(this.validationErrors, form1099KResponse.validationErrors);
+ }
+
+ private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
+ return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(filerType, paymentType, paymentSettlementEntityNamePhoneNumber, grossAmountPaymentCard, cardNotPresentTransactions, merchantCategoryCode, paymentTransactionNumber, federalIncomeTaxWithheld, january, february, march, april, may, june, july, august, sept, october, november, december, type, createdAt, updatedAt, stateAndLocalWithholding, tinType, id, issuerId, issuerReferenceId, issuerTin, taxYear, referenceId, recipientName, recipientTin, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, federalEfileStatus, eDeliveryStatus, stateEfileStatus, postalMailStatus, tinMatchStatus, addressVerificationStatus, validationErrors);
+ }
+
+ private static int hashCodeNullable(JsonNullable a) {
+ if (a == null) {
+ return 1;
+ }
+ return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class Form1099KResponse {\n");
+ sb.append(" filerType: ").append(toIndentedString(filerType)).append("\n");
+ sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n");
+ sb.append(" paymentSettlementEntityNamePhoneNumber: ").append(toIndentedString(paymentSettlementEntityNamePhoneNumber)).append("\n");
+ sb.append(" grossAmountPaymentCard: ").append(toIndentedString(grossAmountPaymentCard)).append("\n");
+ sb.append(" cardNotPresentTransactions: ").append(toIndentedString(cardNotPresentTransactions)).append("\n");
+ sb.append(" merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n");
+ sb.append(" paymentTransactionNumber: ").append(toIndentedString(paymentTransactionNumber)).append("\n");
+ sb.append(" federalIncomeTaxWithheld: ").append(toIndentedString(federalIncomeTaxWithheld)).append("\n");
+ sb.append(" january: ").append(toIndentedString(january)).append("\n");
+ sb.append(" february: ").append(toIndentedString(february)).append("\n");
+ sb.append(" march: ").append(toIndentedString(march)).append("\n");
+ sb.append(" april: ").append(toIndentedString(april)).append("\n");
+ sb.append(" may: ").append(toIndentedString(may)).append("\n");
+ sb.append(" june: ").append(toIndentedString(june)).append("\n");
+ sb.append(" july: ").append(toIndentedString(july)).append("\n");
+ sb.append(" august: ").append(toIndentedString(august)).append("\n");
+ sb.append(" sept: ").append(toIndentedString(sept)).append("\n");
+ sb.append(" october: ").append(toIndentedString(october)).append("\n");
+ sb.append(" november: ").append(toIndentedString(november)).append("\n");
+ sb.append(" december: ").append(toIndentedString(december)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
+ sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
+ sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
+ sb.append(" tinType: ").append(toIndentedString(tinType)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" issuerId: ").append(toIndentedString(issuerId)).append("\n");
+ sb.append(" issuerReferenceId: ").append(toIndentedString(issuerReferenceId)).append("\n");
+ sb.append(" issuerTin: ").append(toIndentedString(issuerTin)).append("\n");
+ sb.append(" taxYear: ").append(toIndentedString(taxYear)).append("\n");
+ sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
+ sb.append(" recipientName: ").append(toIndentedString(recipientName)).append("\n");
+ sb.append(" recipientTin: ").append(toIndentedString(recipientTin)).append("\n");
+ sb.append(" recipientSecondName: ").append(toIndentedString(recipientSecondName)).append("\n");
+ sb.append(" address: ").append(toIndentedString(address)).append("\n");
+ sb.append(" address2: ").append(toIndentedString(address2)).append("\n");
+ sb.append(" city: ").append(toIndentedString(city)).append("\n");
+ sb.append(" state: ").append(toIndentedString(state)).append("\n");
+ sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
+ sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
+ sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
+ sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
+ sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
+ sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
+ sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
+ sb.append(" federalEfileStatus: ").append(toIndentedString(federalEfileStatus)).append("\n");
+ sb.append(" eDeliveryStatus: ").append(toIndentedString(eDeliveryStatus)).append("\n");
+ sb.append(" stateEfileStatus: ").append(toIndentedString(stateEfileStatus)).append("\n");
+ sb.append(" postalMailStatus: ").append(toIndentedString(postalMailStatus)).append("\n");
+ sb.append(" tinMatchStatus: ").append(toIndentedString(tinMatchStatus)).append("\n");
+ sb.append(" addressVerificationStatus: ").append(toIndentedString(addressVerificationStatus)).append("\n");
+ sb.append(" validationErrors: ").append(toIndentedString(validationErrors)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+
+ public static HashSet openapiFields;
+ public static HashSet openapiRequiredFields;
+
+ static {
+ // a set of all properties/fields (JSON key names)
+ openapiFields = new HashSet();
+ openapiFields.add("type");
+ openapiFields.add("createdAt");
+ openapiFields.add("updatedAt");
+ openapiFields.add("stateAndLocalWithholding");
+ openapiFields.add("tinType");
+ openapiFields.add("id");
+ openapiFields.add("issuerId");
+ openapiFields.add("issuerReferenceId");
+ openapiFields.add("issuerTin");
+ openapiFields.add("taxYear");
+ openapiFields.add("referenceId");
+ openapiFields.add("recipientName");
+ openapiFields.add("recipientTin");
+ openapiFields.add("recipientSecondName");
+ openapiFields.add("address");
+ openapiFields.add("address2");
+ openapiFields.add("city");
+ openapiFields.add("state");
+ openapiFields.add("zip");
+ openapiFields.add("email");
+ openapiFields.add("accountNumber");
+ openapiFields.add("officeCode");
+ openapiFields.add("nonUsProvince");
+ openapiFields.add("countryCode");
+ openapiFields.add("federalEFile");
+ openapiFields.add("postalMail");
+ openapiFields.add("stateEFile");
+ openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
+ openapiFields.add("addressVerification");
+ openapiFields.add("federalEfileStatus");
+ openapiFields.add("eDeliveryStatus");
+ openapiFields.add("stateEfileStatus");
+ openapiFields.add("postalMailStatus");
+ openapiFields.add("tinMatchStatus");
+ openapiFields.add("addressVerificationStatus");
+ openapiFields.add("validationErrors");
+
+ // a set of required properties/fields (JSON key names)
+ openapiRequiredFields = new HashSet();
+ }
+
+ /**
+ * Validates the JSON Element and throws an exception if issues found
+ *
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to Form1099KResponse
+ */
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!Form1099KResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
+ throw new IllegalArgumentException(String.format("The required field(s) %s in Form1099KResponse is not found in the empty JSON string", Form1099KResponse.openapiRequiredFields.toString()));
+ }
+ }
+
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
+ // check to see if the JSON string contains additional fields
+ for (Map.Entry entry : entries) {
+ if (!Form1099KResponse.openapiFields.contains(entry.getKey())) {
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Form1099KResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
+ }
+ }
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
+ if ((jsonObj.get("filerType") != null && !jsonObj.get("filerType").isJsonNull()) && !jsonObj.get("filerType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `filerType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("filerType").toString()));
+ }
+ // validate the optional field `filerType`
+ if (jsonObj.get("filerType") != null && !jsonObj.get("filerType").isJsonNull()) {
+ FilerTypeEnum.validateJsonElement(jsonObj.get("filerType"));
+ }
+ if ((jsonObj.get("paymentType") != null && !jsonObj.get("paymentType").isJsonNull()) && !jsonObj.get("paymentType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `paymentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentType").toString()));
+ }
+ // validate the optional field `paymentType`
+ if (jsonObj.get("paymentType") != null && !jsonObj.get("paymentType").isJsonNull()) {
+ PaymentTypeEnum.validateJsonElement(jsonObj.get("paymentType"));
+ }
+ if ((jsonObj.get("paymentSettlementEntityNamePhoneNumber") != null && !jsonObj.get("paymentSettlementEntityNamePhoneNumber").isJsonNull()) && !jsonObj.get("paymentSettlementEntityNamePhoneNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `paymentSettlementEntityNamePhoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("paymentSettlementEntityNamePhoneNumber").toString()));
+ }
+ if ((jsonObj.get("merchantCategoryCode") != null && !jsonObj.get("merchantCategoryCode").isJsonNull()) && !jsonObj.get("merchantCategoryCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `merchantCategoryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("merchantCategoryCode").toString()));
+ }
+ if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString()));
+ }
+ // validate the optional field `type`
+ if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) {
+ TypeEnum.validateJsonElement(jsonObj.get("type"));
+ }
+ // validate the optional field `stateAndLocalWithholding`
+ if (jsonObj.get("stateAndLocalWithholding") != null && !jsonObj.get("stateAndLocalWithholding").isJsonNull()) {
+ StateAndLocalWithholdingResponse.validateJsonElement(jsonObj.get("stateAndLocalWithholding"));
+ }
+ if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `tinType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tinType").toString()));
+ }
+ // validate the optional field `tinType`
+ if (jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) {
+ TinTypeEnum.validateJsonElement(jsonObj.get("tinType"));
+ }
+ if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString()));
+ }
+ if ((jsonObj.get("issuerId") != null && !jsonObj.get("issuerId").isJsonNull()) && !jsonObj.get("issuerId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerId").toString()));
+ }
+ if ((jsonObj.get("issuerReferenceId") != null && !jsonObj.get("issuerReferenceId").isJsonNull()) && !jsonObj.get("issuerReferenceId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerReferenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerReferenceId").toString()));
+ }
+ if ((jsonObj.get("issuerTin") != null && !jsonObj.get("issuerTin").isJsonNull()) && !jsonObj.get("issuerTin").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `issuerTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerTin").toString()));
+ }
+ if ((jsonObj.get("referenceId") != null && !jsonObj.get("referenceId").isJsonNull()) && !jsonObj.get("referenceId").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `referenceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("referenceId").toString()));
+ }
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
+ }
+ if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
+ }
+ if ((jsonObj.get("recipientSecondName") != null && !jsonObj.get("recipientSecondName").isJsonNull()) && !jsonObj.get("recipientSecondName").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `recipientSecondName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientSecondName").toString()));
+ }
+ if ((jsonObj.get("address") != null && !jsonObj.get("address").isJsonNull()) && !jsonObj.get("address").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address").toString()));
+ }
+ if ((jsonObj.get("address2") != null && !jsonObj.get("address2").isJsonNull()) && !jsonObj.get("address2").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `address2` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address2").toString()));
+ }
+ if ((jsonObj.get("city") != null && !jsonObj.get("city").isJsonNull()) && !jsonObj.get("city").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString()));
+ }
+ if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString()));
+ }
+ if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
+ }
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
+ }
+ if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
+ }
+ if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
+ }
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
+ }
+ if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
+ }
+ // validate the optional field `federalEfileStatus`
+ if (jsonObj.get("federalEfileStatus") != null && !jsonObj.get("federalEfileStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("federalEfileStatus"));
+ }
+ // validate the optional field `eDeliveryStatus`
+ if (jsonObj.get("eDeliveryStatus") != null && !jsonObj.get("eDeliveryStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("eDeliveryStatus"));
+ }
+ if (jsonObj.get("stateEfileStatus") != null && !jsonObj.get("stateEfileStatus").isJsonNull()) {
+ JsonArray jsonArraystateEfileStatus = jsonObj.getAsJsonArray("stateEfileStatus");
+ if (jsonArraystateEfileStatus != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("stateEfileStatus").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `stateEfileStatus` to be an array in the JSON string but got `%s`", jsonObj.get("stateEfileStatus").toString()));
+ }
+
+ // validate the optional field `stateEfileStatus` (array)
+ for (int i = 0; i < jsonArraystateEfileStatus.size(); i++) {
+ StateEfileStatusDetailResponse.validateJsonElement(jsonArraystateEfileStatus.get(i));
+ };
+ }
+ }
+ // validate the optional field `postalMailStatus`
+ if (jsonObj.get("postalMailStatus") != null && !jsonObj.get("postalMailStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("postalMailStatus"));
+ }
+ // validate the optional field `tinMatchStatus`
+ if (jsonObj.get("tinMatchStatus") != null && !jsonObj.get("tinMatchStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("tinMatchStatus"));
+ }
+ // validate the optional field `addressVerificationStatus`
+ if (jsonObj.get("addressVerificationStatus") != null && !jsonObj.get("addressVerificationStatus").isJsonNull()) {
+ StatusDetail.validateJsonElement(jsonObj.get("addressVerificationStatus"));
+ }
+ if (jsonObj.get("validationErrors") != null && !jsonObj.get("validationErrors").isJsonNull()) {
+ JsonArray jsonArrayvalidationErrors = jsonObj.getAsJsonArray("validationErrors");
+ if (jsonArrayvalidationErrors != null) {
+ // ensure the json data is an array
+ if (!jsonObj.get("validationErrors").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `validationErrors` to be an array in the JSON string but got `%s`", jsonObj.get("validationErrors").toString()));
+ }
+
+ // validate the optional field `validationErrors` (array)
+ for (int i = 0; i < jsonArrayvalidationErrors.size(); i++) {
+ ValidationErrorResponse.validateJsonElement(jsonArrayvalidationErrors.get(i));
+ };
+ }
+ }
+ }
+
+ public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
+ @SuppressWarnings("unchecked")
+ @Override
+ public TypeAdapter create(Gson gson, TypeToken type) {
+ if (!Form1099KResponse.class.isAssignableFrom(type.getRawType())) {
+ return null; // this class only serializes 'Form1099KResponse' and its subtypes
+ }
+ final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
+ final TypeAdapter thisAdapter
+ = gson.getDelegateAdapter(this, TypeToken.get(Form1099KResponse.class));
+
+ return (TypeAdapter) new TypeAdapter() {
+ @Override
+ public void write(JsonWriter out, Form1099KResponse value) throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public Form1099KResponse read(JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of Form1099KResponse given an JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of Form1099KResponse
+ * @throws IOException if the JSON string is invalid with respect to Form1099KResponse
+ */
+ public static Form1099KResponse fromJson(String jsonString) throws IOException {
+ return JSON.getGson().fromJson(jsonString, Form1099KResponse.class);
+ }
+
+ /**
+ * Convert an instance of Form1099KResponse to an JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
+
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099ListResponseValueInner.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099ListResponseValueInner.java
index 08f10db..c6f1026 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099ListResponseValueInner.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099ListResponseValueInner.java
@@ -24,15 +24,16 @@
import Avalara.SDK.model.A1099.V2.Form1042SListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1095BListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099BaseResponse;
+import Avalara.SDK.model.A1099.V2.Form1099DivListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099KListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099MiscListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099NecListItemResponse;
import Avalara.SDK.model.A1099.V2.Form1099RListItemResponse;
-import Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse;
import Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThroughResponse;
import Avalara.SDK.model.A1099.V2.PrimaryWithholdingAgentResponse;
import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -96,6 +97,7 @@ public TypeAdapter create(Gson gson, TypeToken type) {
final TypeAdapter adapterForm1099BaseResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099BaseResponse.class));
final TypeAdapter adapterForm1042SListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1042SListItemResponse.class));
final TypeAdapter adapterForm1095BListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1095BListItemResponse.class));
+ final TypeAdapter adapterForm1099DivListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099DivListItemResponse.class));
final TypeAdapter adapterForm1099KListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099KListItemResponse.class));
final TypeAdapter adapterForm1099MiscListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099MiscListItemResponse.class));
final TypeAdapter adapterForm1099NecListItemResponse = gson.getDelegateAdapter(this, TypeToken.get(Form1099NecListItemResponse.class));
@@ -127,6 +129,12 @@ public void write(JsonWriter out, Form1099ListResponseValueInner value) throws I
elementAdapter.write(out, element);
return;
}
+ // check if the actual instance is of the type `Form1099DivListItemResponse`
+ if (value.getActualInstance() instanceof Form1099DivListItemResponse) {
+ JsonElement element = adapterForm1099DivListItemResponse.toJsonTree((Form1099DivListItemResponse)value.getActualInstance());
+ elementAdapter.write(out, element);
+ return;
+ }
// check if the actual instance is of the type `Form1099KListItemResponse`
if (value.getActualInstance() instanceof Form1099KListItemResponse) {
JsonElement element = adapterForm1099KListItemResponse.toJsonTree((Form1099KListItemResponse)value.getActualInstance());
@@ -151,7 +159,7 @@ public void write(JsonWriter out, Form1099ListResponseValueInner value) throws I
elementAdapter.write(out, element);
return;
}
- throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
+ throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
}
@Override
@@ -199,6 +207,18 @@ public Form1099ListResponseValueInner read(JsonReader in) throws IOException {
errorMessages.add(String.format("Deserialization for Form1095BListItemResponse failed with `%s`.", e.getMessage()));
log.log(Level.FINER, "Input data does not match schema 'Form1095BListItemResponse'", e);
}
+ // deserialize Form1099DivListItemResponse
+ try {
+ // validate the JSON object to see if any exception is thrown
+ Form1099DivListItemResponse.validateJsonElement(jsonElement);
+ actualAdapter = adapterForm1099DivListItemResponse;
+ match++;
+ log.log(Level.FINER, "Input data matches schema 'Form1099DivListItemResponse'");
+ } catch (Exception e) {
+ // deserialization failed, continue
+ errorMessages.add(String.format("Deserialization for Form1099DivListItemResponse failed with `%s`.", e.getMessage()));
+ log.log(Level.FINER, "Input data does not match schema 'Form1099DivListItemResponse'", e);
+ }
// deserialize Form1099KListItemResponse
try {
// validate the JSON object to see if any exception is thrown
@@ -276,6 +296,7 @@ public Form1099ListResponseValueInner(Object o) {
schemas.put("Form1099BaseResponse", Form1099BaseResponse.class);
schemas.put("Form1042SListItemResponse", Form1042SListItemResponse.class);
schemas.put("Form1095BListItemResponse", Form1095BListItemResponse.class);
+ schemas.put("Form1099DivListItemResponse", Form1099DivListItemResponse.class);
schemas.put("Form1099KListItemResponse", Form1099KListItemResponse.class);
schemas.put("Form1099MiscListItemResponse", Form1099MiscListItemResponse.class);
schemas.put("Form1099NecListItemResponse", Form1099NecListItemResponse.class);
@@ -290,7 +311,7 @@ public Map> getSchemas() {
/**
* Set the instance that matches the oneOf child schema, check
* the instance parameter is valid against the oneOf child schemas:
- * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
+ * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
*
* It could be an instance of the 'oneOf' schemas.
*/
@@ -311,6 +332,11 @@ public void setActualInstance(Object instance) {
return;
}
+ if (instance instanceof Form1099DivListItemResponse) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (instance instanceof Form1099KListItemResponse) {
super.setActualInstance(instance);
return;
@@ -331,14 +357,14 @@ public void setActualInstance(Object instance) {
return;
}
- throw new RuntimeException("Invalid instance type. Must be Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
+ throw new RuntimeException("Invalid instance type. Must be Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse");
}
/**
* Get the actual instance, which can be the following:
- * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
+ * Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse
*
- * @return The actual instance (Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse)
+ * @return The actual instance (Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse)
*/
@SuppressWarnings("unchecked")
@Override
@@ -376,6 +402,16 @@ public Form1042SListItemResponse getForm1042SListItemResponse() throws ClassCast
public Form1095BListItemResponse getForm1095BListItemResponse() throws ClassCastException {
return (Form1095BListItemResponse)super.getActualInstance();
}
+ /**
+ * Get the actual instance of `Form1099DivListItemResponse`. If the actual instance is not `Form1099DivListItemResponse`,
+ * the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `Form1099DivListItemResponse`
+ * @throws ClassCastException if the instance is not `Form1099DivListItemResponse`
+ */
+ public Form1099DivListItemResponse getForm1099DivListItemResponse() throws ClassCastException {
+ return (Form1099DivListItemResponse)super.getActualInstance();
+ }
/**
* Get the actual instance of `Form1099KListItemResponse`. If the actual instance is not `Form1099KListItemResponse`,
* the ClassCastException will be thrown.
@@ -451,6 +487,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
errorMessages.add(String.format("Deserialization for Form1095BListItemResponse failed with `%s`.", e.getMessage()));
// continue to the next one
}
+ // validate the json string with Form1099DivListItemResponse
+ try {
+ Form1099DivListItemResponse.validateJsonElement(jsonElement);
+ validCount++;
+ } catch (Exception e) {
+ errorMessages.add(String.format("Deserialization for Form1099DivListItemResponse failed with `%s`.", e.getMessage()));
+ // continue to the next one
+ }
// validate the json string with Form1099KListItemResponse
try {
Form1099KListItemResponse.validateJsonElement(jsonElement);
@@ -484,7 +528,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
// continue to the next one
}
if (validCount != 1) {
- throw new IOException(String.format("The JSON string is invalid for Form1099ListResponseValueInner with oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString()));
+ throw new IOException(String.format("The JSON string is invalid for Form1099ListResponseValueInner with oneOf schemas: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString()));
}
}
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItem.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItem.java
index 8173f5d..1d14451 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItem.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItem.java
@@ -59,10 +59,6 @@
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0")
public class Form1099MiscListItem {
- public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
- @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
- private Boolean secondTinNotice;
-
public static final String SERIALIZED_NAME_RENTS = "rents";
@SerializedName(SERIALIZED_NAME_RENTS)
private Double rents;
@@ -83,9 +79,9 @@ public class Form1099MiscListItem {
@SerializedName(SERIALIZED_NAME_FISHING_BOAT_PROCEEDS)
private Double fishingBoatProceeds;
- public static final String SERIALIZED_NAME_MEDICAL_HEALTH_CARE_PAYMENTS = "medicalHealthCarePayments";
- @SerializedName(SERIALIZED_NAME_MEDICAL_HEALTH_CARE_PAYMENTS)
- private Double medicalHealthCarePayments;
+ public static final String SERIALIZED_NAME_MEDICAL_AND_HEALTH_CARE_PAYMENTS = "medicalAndHealthCarePayments";
+ @SerializedName(SERIALIZED_NAME_MEDICAL_AND_HEALTH_CARE_PAYMENTS)
+ private Double medicalAndHealthCarePayments;
public static final String SERIALIZED_NAME_DIRECT_SALES_INDICATOR = "directSalesIndicator";
@SerializedName(SERIALIZED_NAME_DIRECT_SALES_INDICATOR)
@@ -235,9 +231,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_RECIPIENT_EMAIL = "recipientEmail";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_EMAIL)
- private String recipientEmail;
+ public static final String SERIALIZED_NAME_EMAIL = "email";
+ @SerializedName(SERIALIZED_NAME_EMAIL)
+ private String email;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
@@ -247,9 +243,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_OFFICE_CODE)
private String officeCode;
- public static final String SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE = "recipientNonUsProvince";
- @SerializedName(SERIALIZED_NAME_RECIPIENT_NON_US_PROVINCE)
- private String recipientNonUsProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
@@ -271,6 +267,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
private Boolean tinMatch;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
private Boolean addressVerification;
@@ -282,25 +286,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
public Form1099MiscListItem() {
}
- public Form1099MiscListItem secondTinNotice(Boolean secondTinNotice) {
- this.secondTinNotice = secondTinNotice;
- return this;
- }
-
- /**
- * Second TIN notice
- * @return secondTinNotice
- */
- @javax.annotation.Nullable
- public Boolean getSecondTinNotice() {
- return secondTinNotice;
- }
-
- public void setSecondTinNotice(Boolean secondTinNotice) {
- this.secondTinNotice = secondTinNotice;
- }
-
-
public Form1099MiscListItem rents(Double rents) {
this.rents = rents;
return this;
@@ -396,22 +381,22 @@ public void setFishingBoatProceeds(Double fishingBoatProceeds) {
}
- public Form1099MiscListItem medicalHealthCarePayments(Double medicalHealthCarePayments) {
- this.medicalHealthCarePayments = medicalHealthCarePayments;
+ public Form1099MiscListItem medicalAndHealthCarePayments(Double medicalAndHealthCarePayments) {
+ this.medicalAndHealthCarePayments = medicalAndHealthCarePayments;
return this;
}
/**
* Medical and health care payments
- * @return medicalHealthCarePayments
+ * @return medicalAndHealthCarePayments
*/
@javax.annotation.Nullable
- public Double getMedicalHealthCarePayments() {
- return medicalHealthCarePayments;
+ public Double getMedicalAndHealthCarePayments() {
+ return medicalAndHealthCarePayments;
}
- public void setMedicalHealthCarePayments(Double medicalHealthCarePayments) {
- this.medicalHealthCarePayments = medicalHealthCarePayments;
+ public void setMedicalAndHealthCarePayments(Double medicalAndHealthCarePayments) {
+ this.medicalAndHealthCarePayments = medicalAndHealthCarePayments;
}
@@ -709,7 +694,7 @@ public Form1099MiscListItem recipientName(String recipientName) {
* Recipient name
* @return recipientName
*/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
public String getRecipientName() {
return recipientName;
}
@@ -852,22 +837,22 @@ public void setZip(String zip) {
}
- public Form1099MiscListItem recipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public Form1099MiscListItem email(String email) {
+ this.email = email;
return this;
}
/**
* Recipient email address
- * @return recipientEmail
+ * @return email
*/
@javax.annotation.Nullable
- public String getRecipientEmail() {
- return recipientEmail;
+ public String getEmail() {
+ return email;
}
- public void setRecipientEmail(String recipientEmail) {
- this.recipientEmail = recipientEmail;
+ public void setEmail(String email) {
+ this.email = email;
}
@@ -909,22 +894,22 @@ public void setOfficeCode(String officeCode) {
}
- public Form1099MiscListItem recipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public Form1099MiscListItem nonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
return this;
}
/**
* Foreign province
- * @return recipientNonUsProvince
+ * @return nonUsProvince
*/
@javax.annotation.Nullable
- public String getRecipientNonUsProvince() {
- return recipientNonUsProvince;
+ public String getNonUsProvince() {
+ return nonUsProvince;
}
- public void setRecipientNonUsProvince(String recipientNonUsProvince) {
- this.recipientNonUsProvince = recipientNonUsProvince;
+ public void setNonUsProvince(String nonUsProvince) {
+ this.nonUsProvince = nonUsProvince;
}
@@ -1023,6 +1008,44 @@ public void setTinMatch(Boolean tinMatch) {
}
+ public Form1099MiscListItem noTin(Boolean noTin) {
+ this.noTin = noTin;
+ return this;
+ }
+
+ /**
+ * Indicates whether the recipient has no TIN
+ * @return noTin
+ */
+ @javax.annotation.Nullable
+ public Boolean getNoTin() {
+ return noTin;
+ }
+
+ public void setNoTin(Boolean noTin) {
+ this.noTin = noTin;
+ }
+
+
+ public Form1099MiscListItem secondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ return this;
+ }
+
+ /**
+ * Second TIN notice in three years
+ * @return secondTinNotice
+ */
+ @javax.annotation.Nullable
+ public Boolean getSecondTinNotice() {
+ return secondTinNotice;
+ }
+
+ public void setSecondTinNotice(Boolean secondTinNotice) {
+ this.secondTinNotice = secondTinNotice;
+ }
+
+
public Form1099MiscListItem addressVerification(Boolean addressVerification) {
this.addressVerification = addressVerification;
return this;
@@ -1071,13 +1094,12 @@ public boolean equals(Object o) {
return false;
}
Form1099MiscListItem form1099MiscListItem = (Form1099MiscListItem) o;
- return Objects.equals(this.secondTinNotice, form1099MiscListItem.secondTinNotice) &&
- Objects.equals(this.rents, form1099MiscListItem.rents) &&
+ return Objects.equals(this.rents, form1099MiscListItem.rents) &&
Objects.equals(this.royalties, form1099MiscListItem.royalties) &&
Objects.equals(this.otherIncome, form1099MiscListItem.otherIncome) &&
Objects.equals(this.fedIncomeTaxWithheld, form1099MiscListItem.fedIncomeTaxWithheld) &&
Objects.equals(this.fishingBoatProceeds, form1099MiscListItem.fishingBoatProceeds) &&
- Objects.equals(this.medicalHealthCarePayments, form1099MiscListItem.medicalHealthCarePayments) &&
+ Objects.equals(this.medicalAndHealthCarePayments, form1099MiscListItem.medicalAndHealthCarePayments) &&
Objects.equals(this.directSalesIndicator, form1099MiscListItem.directSalesIndicator) &&
Objects.equals(this.substitutePayments, form1099MiscListItem.substitutePayments) &&
Objects.equals(this.cropInsuranceProceeds, form1099MiscListItem.cropInsuranceProceeds) &&
@@ -1101,15 +1123,17 @@ public boolean equals(Object o) {
Objects.equals(this.city, form1099MiscListItem.city) &&
Objects.equals(this.state, form1099MiscListItem.state) &&
Objects.equals(this.zip, form1099MiscListItem.zip) &&
- Objects.equals(this.recipientEmail, form1099MiscListItem.recipientEmail) &&
+ Objects.equals(this.email, form1099MiscListItem.email) &&
Objects.equals(this.accountNumber, form1099MiscListItem.accountNumber) &&
Objects.equals(this.officeCode, form1099MiscListItem.officeCode) &&
- Objects.equals(this.recipientNonUsProvince, form1099MiscListItem.recipientNonUsProvince) &&
+ Objects.equals(this.nonUsProvince, form1099MiscListItem.nonUsProvince) &&
Objects.equals(this.countryCode, form1099MiscListItem.countryCode) &&
Objects.equals(this.federalEFile, form1099MiscListItem.federalEFile) &&
Objects.equals(this.postalMail, form1099MiscListItem.postalMail) &&
Objects.equals(this.stateEFile, form1099MiscListItem.stateEFile) &&
Objects.equals(this.tinMatch, form1099MiscListItem.tinMatch) &&
+ Objects.equals(this.noTin, form1099MiscListItem.noTin) &&
+ Objects.equals(this.secondTinNotice, form1099MiscListItem.secondTinNotice) &&
Objects.equals(this.addressVerification, form1099MiscListItem.addressVerification) &&
Objects.equals(this.stateAndLocalWithholding, form1099MiscListItem.stateAndLocalWithholding);
}
@@ -1120,7 +1144,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(secondTinNotice, rents, royalties, otherIncome, fedIncomeTaxWithheld, fishingBoatProceeds, medicalHealthCarePayments, directSalesIndicator, substitutePayments, cropInsuranceProceeds, grossProceedsPaidToAttorney, fishPurchasedForResale, section409ADeferrals, fatcaFilingRequirement, excessGoldenParachutePayments, nonqualifiedDeferredCompensation, issuerReferenceId, issuerTin, taxYear, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, recipientEmail, accountNumber, officeCode, recipientNonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, addressVerification, stateAndLocalWithholding);
+ return Objects.hash(rents, royalties, otherIncome, fedIncomeTaxWithheld, fishingBoatProceeds, medicalAndHealthCarePayments, directSalesIndicator, substitutePayments, cropInsuranceProceeds, grossProceedsPaidToAttorney, fishPurchasedForResale, section409ADeferrals, fatcaFilingRequirement, excessGoldenParachutePayments, nonqualifiedDeferredCompensation, issuerReferenceId, issuerTin, taxYear, issuerId, referenceId, recipientTin, recipientName, tinType, recipientSecondName, address, address2, city, state, zip, email, accountNumber, officeCode, nonUsProvince, countryCode, federalEFile, postalMail, stateEFile, tinMatch, noTin, secondTinNotice, addressVerification, stateAndLocalWithholding);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -1134,13 +1158,12 @@ private static int hashCodeNullable(JsonNullable a) {
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Form1099MiscListItem {\n");
- sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" rents: ").append(toIndentedString(rents)).append("\n");
sb.append(" royalties: ").append(toIndentedString(royalties)).append("\n");
sb.append(" otherIncome: ").append(toIndentedString(otherIncome)).append("\n");
sb.append(" fedIncomeTaxWithheld: ").append(toIndentedString(fedIncomeTaxWithheld)).append("\n");
sb.append(" fishingBoatProceeds: ").append(toIndentedString(fishingBoatProceeds)).append("\n");
- sb.append(" medicalHealthCarePayments: ").append(toIndentedString(medicalHealthCarePayments)).append("\n");
+ sb.append(" medicalAndHealthCarePayments: ").append(toIndentedString(medicalAndHealthCarePayments)).append("\n");
sb.append(" directSalesIndicator: ").append(toIndentedString(directSalesIndicator)).append("\n");
sb.append(" substitutePayments: ").append(toIndentedString(substitutePayments)).append("\n");
sb.append(" cropInsuranceProceeds: ").append(toIndentedString(cropInsuranceProceeds)).append("\n");
@@ -1164,15 +1187,17 @@ public String toString() {
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" zip: ").append(toIndentedString(zip)).append("\n");
- sb.append(" recipientEmail: ").append(toIndentedString(recipientEmail)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" officeCode: ").append(toIndentedString(officeCode)).append("\n");
- sb.append(" recipientNonUsProvince: ").append(toIndentedString(recipientNonUsProvince)).append("\n");
+ sb.append(" nonUsProvince: ").append(toIndentedString(nonUsProvince)).append("\n");
sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n");
sb.append(" federalEFile: ").append(toIndentedString(federalEFile)).append("\n");
sb.append(" postalMail: ").append(toIndentedString(postalMail)).append("\n");
sb.append(" stateEFile: ").append(toIndentedString(stateEFile)).append("\n");
sb.append(" tinMatch: ").append(toIndentedString(tinMatch)).append("\n");
+ sb.append(" noTin: ").append(toIndentedString(noTin)).append("\n");
+ sb.append(" secondTinNotice: ").append(toIndentedString(secondTinNotice)).append("\n");
sb.append(" addressVerification: ").append(toIndentedString(addressVerification)).append("\n");
sb.append(" stateAndLocalWithholding: ").append(toIndentedString(stateAndLocalWithholding)).append("\n");
sb.append("}");
@@ -1211,22 +1236,23 @@ private String toIndentedString(Object o) {
openapiFields.add("city");
openapiFields.add("state");
openapiFields.add("zip");
- openapiFields.add("recipientEmail");
+ openapiFields.add("email");
openapiFields.add("accountNumber");
openapiFields.add("officeCode");
- openapiFields.add("recipientNonUsProvince");
+ openapiFields.add("nonUsProvince");
openapiFields.add("countryCode");
openapiFields.add("federalEFile");
openapiFields.add("postalMail");
openapiFields.add("stateEFile");
openapiFields.add("tinMatch");
+ openapiFields.add("noTin");
+ openapiFields.add("secondTinNotice");
openapiFields.add("addressVerification");
openapiFields.add("stateAndLocalWithholding");
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet();
openapiRequiredFields.add("taxYear");
- openapiRequiredFields.add("recipientName");
openapiRequiredFields.add("address");
openapiRequiredFields.add("city");
openapiRequiredFields.add("countryCode");
@@ -1275,7 +1301,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("recipientTin") != null && !jsonObj.get("recipientTin").isJsonNull()) && !jsonObj.get("recipientTin").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientTin` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientTin").toString()));
}
- if (!jsonObj.get("recipientName").isJsonPrimitive()) {
+ if ((jsonObj.get("recipientName") != null && !jsonObj.get("recipientName").isJsonNull()) && !jsonObj.get("recipientName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `recipientName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientName").toString()));
}
if ((jsonObj.get("tinType") != null && !jsonObj.get("tinType").isJsonNull()) && !jsonObj.get("tinType").isJsonPrimitive()) {
@@ -1303,8 +1329,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("zip") != null && !jsonObj.get("zip").isJsonNull()) && !jsonObj.get("zip").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `zip` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zip").toString()));
}
- if ((jsonObj.get("recipientEmail") != null && !jsonObj.get("recipientEmail").isJsonNull()) && !jsonObj.get("recipientEmail").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientEmail").toString()));
+ if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
}
if ((jsonObj.get("accountNumber") != null && !jsonObj.get("accountNumber").isJsonNull()) && !jsonObj.get("accountNumber").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `accountNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountNumber").toString()));
@@ -1312,8 +1338,8 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("officeCode") != null && !jsonObj.get("officeCode").isJsonNull()) && !jsonObj.get("officeCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `officeCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("officeCode").toString()));
}
- if ((jsonObj.get("recipientNonUsProvince") != null && !jsonObj.get("recipientNonUsProvince").isJsonNull()) && !jsonObj.get("recipientNonUsProvince").isJsonPrimitive()) {
- throw new IllegalArgumentException(String.format("Expected the field `recipientNonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientNonUsProvince").toString()));
+ if ((jsonObj.get("nonUsProvince") != null && !jsonObj.get("nonUsProvince").isJsonNull()) && !jsonObj.get("nonUsProvince").isJsonPrimitive()) {
+ throw new IllegalArgumentException(String.format("Expected the field `nonUsProvince` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nonUsProvince").toString()));
}
if (!jsonObj.get("countryCode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
diff --git a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItemResponse.java b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItemResponse.java
index ca6eafa..ee9b9c4 100644
--- a/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItemResponse.java
+++ b/src/main/java/Avalara/SDK/model/A1099/V2/Form1099MiscListItemResponse.java
@@ -20,9 +20,9 @@
package Avalara.SDK.model.A1099.V2;
import java.util.Objects;
-import Avalara.SDK.model.A1099.V2.Form1099StatusDetailResponse;
import Avalara.SDK.model.A1099.V2.StateAndLocalWithholdingResponse;
import Avalara.SDK.model.A1099.V2.StateEfileStatusDetailResponse;
+import Avalara.SDK.model.A1099.V2.StatusDetail;
import Avalara.SDK.model.A1099.V2.ValidationErrorResponse;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
@@ -85,9 +85,9 @@ public class Form1099MiscListItemResponse {
@SerializedName(SERIALIZED_NAME_FISHING_BOAT_PROCEEDS)
private Double fishingBoatProceeds;
- public static final String SERIALIZED_NAME_MEDICAL_AND_HEALTH_CARE = "medicalAndHealthCare";
- @SerializedName(SERIALIZED_NAME_MEDICAL_AND_HEALTH_CARE)
- private Double medicalAndHealthCare;
+ public static final String SERIALIZED_NAME_MEDICAL_AND_HEALTH_CARE_PAYMENTS = "medicalAndHealthCarePayments";
+ @SerializedName(SERIALIZED_NAME_MEDICAL_AND_HEALTH_CARE_PAYMENTS)
+ private Double medicalAndHealthCarePayments;
public static final String SERIALIZED_NAME_SUBSTITUTE_PAYMENTS = "substitutePayments";
@SerializedName(SERIALIZED_NAME_SUBSTITUTE_PAYMENTS)
@@ -101,21 +101,25 @@ public class Form1099MiscListItemResponse {
@SerializedName(SERIALIZED_NAME_CROP_INSURANCE_PROCEEDS)
private Double cropInsuranceProceeds;
- public static final String SERIALIZED_NAME_EXCESS_GOLDEN_PARACHUTE = "excessGoldenParachute";
- @SerializedName(SERIALIZED_NAME_EXCESS_GOLDEN_PARACHUTE)
- private Double excessGoldenParachute;
+ 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_GROSS_AMOUNT_PAID_ATTORNEY = "grossAmountPaidAttorney";
- @SerializedName(SERIALIZED_NAME_GROSS_AMOUNT_PAID_ATTORNEY)
- private Double grossAmountPaidAttorney;
+ public static final String SERIALIZED_NAME_GROSS_PROCEEDS_PAID_TO_ATTORNEY = "grossProceedsPaidToAttorney";
+ @SerializedName(SERIALIZED_NAME_GROSS_PROCEEDS_PAID_TO_ATTORNEY)
+ private Double grossProceedsPaidToAttorney;
+
+ public static final String SERIALIZED_NAME_FISH_PURCHASED_FOR_RESALE = "fishPurchasedForResale";
+ @SerializedName(SERIALIZED_NAME_FISH_PURCHASED_FOR_RESALE)
+ private Double fishPurchasedForResale;
public static final String SERIALIZED_NAME_SECTION409_A_DEFERRALS = "section409ADeferrals";
@SerializedName(SERIALIZED_NAME_SECTION409_A_DEFERRALS)
private Double section409ADeferrals;
- public static final String SERIALIZED_NAME_SECTION409_A_INCOME = "section409AIncome";
- @SerializedName(SERIALIZED_NAME_SECTION409_A_INCOME)
- private Double section409AIncome;
+ public static final String SERIALIZED_NAME_NONQUALIFIED_DEFERRED_COMPENSATION = "nonqualifiedDeferredCompensation";
+ @SerializedName(SERIALIZED_NAME_NONQUALIFIED_DEFERRED_COMPENSATION)
+ private Double nonqualifiedDeferredCompensation;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
@@ -147,7 +151,7 @@ public class Form1099MiscListItemResponse {
public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS = "federalEfileStatus";
@SerializedName(SERIALIZED_NAME_FEDERAL_EFILE_STATUS)
- private Form1099StatusDetailResponse federalEfileStatus;
+ private StatusDetail federalEfileStatus;
public static final String SERIALIZED_NAME_STATE_EFILE = "stateEfile";
@SerializedName(SERIALIZED_NAME_STATE_EFILE)
@@ -163,7 +167,7 @@ public class Form1099MiscListItemResponse {
public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS = "postalMailStatus";
@SerializedName(SERIALIZED_NAME_POSTAL_MAIL_STATUS)
- private Form1099StatusDetailResponse postalMailStatus;
+ private StatusDetail postalMailStatus;
public static final String SERIALIZED_NAME_TIN_MATCH = "tinMatch";
@SerializedName(SERIALIZED_NAME_TIN_MATCH)
@@ -171,7 +175,7 @@ public class Form1099MiscListItemResponse {
public static final String SERIALIZED_NAME_TIN_MATCH_STATUS = "tinMatchStatus";
@SerializedName(SERIALIZED_NAME_TIN_MATCH_STATUS)
- private Form1099StatusDetailResponse tinMatchStatus;
+ private StatusDetail tinMatchStatus;
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION = "addressVerification";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION)
@@ -179,7 +183,11 @@ public class Form1099MiscListItemResponse {
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS = "addressVerificationStatus";
@SerializedName(SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS)
- private Form1099StatusDetailResponse addressVerificationStatus;
+ private StatusDetail addressVerificationStatus;
+
+ public static final String SERIALIZED_NAME_E_DELIVERY_STATUS = "eDeliveryStatus";
+ @SerializedName(SERIALIZED_NAME_E_DELIVERY_STATUS)
+ private StatusDetail eDeliveryStatus;
public static final String SERIALIZED_NAME_REFERENCE_ID = "referenceId";
@SerializedName(SERIALIZED_NAME_REFERENCE_ID)
@@ -197,6 +205,14 @@ public class Form1099MiscListItemResponse {
@SerializedName(SERIALIZED_NAME_TIN)
private String tin;
+ public static final String SERIALIZED_NAME_NO_TIN = "noTin";
+ @SerializedName(SERIALIZED_NAME_NO_TIN)
+ private Boolean noTin;
+
+ public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE = "secondTinNotice";
+ @SerializedName(SERIALIZED_NAME_SECOND_TIN_NOTICE)
+ private Boolean secondTinNotice;
+
public static final String SERIALIZED_NAME_RECIPIENT_NAME = "recipientName";
@SerializedName(SERIALIZED_NAME_RECIPIENT_NAME)
private String recipientName;
@@ -225,14 +241,26 @@ public class Form1099MiscListItemResponse {
@SerializedName(SERIALIZED_NAME_ZIP)
private String zip;
- public static final String SERIALIZED_NAME_FOREIGN_PROVINCE = "foreignProvince";
- @SerializedName(SERIALIZED_NAME_FOREIGN_PROVINCE)
- private String foreignProvince;
+ public static final String SERIALIZED_NAME_NON_US_PROVINCE = "nonUsProvince";
+ @SerializedName(SERIALIZED_NAME_NON_US_PROVINCE)
+ private String nonUsProvince;
public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
private String countryCode;
+ public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber";
+ @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
+ private String accountNumber;
+
+ public static final String SERIALIZED_NAME_OFFICE_CODE = "officeCode";
+ @SerializedName(SERIALIZED_NAME_OFFICE_CODE)
+ private String officeCode;
+
+ public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT = "fatcaFilingRequirement";
+ @SerializedName(SERIALIZED_NAME_FATCA_FILING_REQUIREMENT)
+ private Boolean fatcaFilingRequirement;
+
public static final String SERIALIZED_NAME_VALIDATION_ERRORS = "validationErrors";
@SerializedName(SERIALIZED_NAME_VALIDATION_ERRORS)
private List