avalara_sdk 25.8.0 → 25.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +32 -6
  4. data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +4 -0
  5. data/docs/A1099/V2/CompaniesW9Api.md +6 -6
  6. data/docs/A1099/V2/CoveredIndividualRequest.md +26 -26
  7. data/docs/A1099/V2/Create1099Form201Response.md +4 -0
  8. data/docs/A1099/V2/ErrorResponse.md +1 -1
  9. data/docs/A1099/V2/ErrorResponseItem.md +20 -0
  10. data/docs/A1099/V2/Form1042S.md +140 -0
  11. data/docs/A1099/V2/Form1042SListItem.md +12 -8
  12. data/docs/A1099/V2/Form1042SListItemResponse.md +19 -9
  13. data/docs/A1099/V2/Form1042SRequest.md +14 -10
  14. data/docs/A1099/V2/Form1042SResponse.md +10 -6
  15. data/docs/A1099/V2/Form1095B.md +14 -2
  16. data/docs/A1099/V2/Form1095BListItem.md +14 -8
  17. data/docs/A1099/V2/Form1095BListItemResponse.md +20 -8
  18. data/docs/A1099/V2/Form1095BRequest.md +14 -8
  19. data/docs/A1099/V2/Form1095BResponse.md +106 -0
  20. data/docs/A1099/V2/Form1095CList.md +20 -0
  21. data/docs/A1099/V2/Form1095CListItem.md +90 -0
  22. data/docs/A1099/V2/Form1099Base.md +14 -2
  23. data/docs/A1099/V2/Form1099BaseResponse.md +20 -8
  24. data/docs/A1099/V2/Form1099Div.md +130 -0
  25. data/docs/A1099/V2/Form1099DivListItem.md +32 -28
  26. data/docs/A1099/V2/Form1099DivListItemResponse.md +130 -0
  27. data/docs/A1099/V2/Form1099DivRequest.md +32 -28
  28. data/docs/A1099/V2/Form1099DivResponse.md +48 -6
  29. data/docs/A1099/V2/Form1099Int.md +122 -0
  30. data/docs/A1099/V2/Form1099IntList.md +20 -0
  31. data/docs/A1099/V2/Form1099IntListItem.md +100 -0
  32. data/docs/A1099/V2/Form1099IntListItemResponse.md +122 -0
  33. data/docs/A1099/V2/Form1099IntRequest.md +96 -0
  34. data/docs/A1099/V2/Form1099IntResponse.md +120 -0
  35. data/docs/A1099/V2/Form1099K.md +14 -2
  36. data/docs/A1099/V2/Form1099KListItem.md +14 -8
  37. data/docs/A1099/V2/Form1099KListItemResponse.md +20 -8
  38. data/docs/A1099/V2/Form1099KRequest.md +18 -12
  39. data/docs/A1099/V2/Form1099KResponse.md +132 -0
  40. data/docs/A1099/V2/Form1099ListResponseValueInner.md +4 -0
  41. data/docs/A1099/V2/Form1099Misc.md +24 -12
  42. data/docs/A1099/V2/Form1099MiscListItem.md +14 -12
  43. data/docs/A1099/V2/Form1099MiscListItemResponse.md +30 -16
  44. data/docs/A1099/V2/Form1099MiscRequest.md +14 -12
  45. data/docs/A1099/V2/Form1099MiscResponse.md +12 -10
  46. data/docs/A1099/V2/Form1099Nec.md +14 -2
  47. data/docs/A1099/V2/Form1099NecListItem.md +14 -10
  48. data/docs/A1099/V2/Form1099NecListItemResponse.md +20 -8
  49. data/docs/A1099/V2/Form1099NecRequest.md +14 -10
  50. data/docs/A1099/V2/Form1099NecResponse.md +10 -8
  51. data/docs/A1099/V2/Form1099ProccessResult.md +3 -1
  52. data/docs/A1099/V2/Form1099ProccessResultProcessedFormsInner.md +61 -0
  53. data/docs/A1099/V2/Form1099R.md +14 -4
  54. data/docs/A1099/V2/Form1099RListItem.md +12 -8
  55. data/docs/A1099/V2/Form1099RListItemResponse.md +20 -10
  56. data/docs/A1099/V2/Form1099RRequest.md +12 -8
  57. data/docs/A1099/V2/Form1099RResponse.md +132 -0
  58. data/docs/A1099/V2/FormRequestBase.md +14 -8
  59. data/docs/A1099/V2/FormRequestListItemBase.md +14 -8
  60. data/docs/A1099/V2/FormResponseBase.md +10 -6
  61. data/docs/A1099/V2/FormSingleRequestBase.md +14 -8
  62. data/docs/A1099/V2/Forms1099Api.md +11 -11
  63. data/docs/A1099/V2/FormsW9Api.md +21 -19
  64. data/docs/A1099/V2/Get1099Form200Response.md +4 -0
  65. data/docs/A1099/V2/ICreateForm1099Request.md +2 -0
  66. data/docs/A1099/V2/IUpdateForm1099Request.md +2 -0
  67. data/docs/A1099/V2/IrsResponse.md +20 -0
  68. data/docs/A1099/V2/Issuers1099Api.md +6 -6
  69. data/docs/A1099/V2/Jobs1099Api.md +1 -1
  70. data/docs/A1099/V2/OfferAndCoverageRequest.md +26 -0
  71. data/docs/A1099/V2/PaginatedQueryResultModelCompanyResponse.md +1 -1
  72. data/docs/A1099/V2/PaginatedQueryResultModelIssuerResponse.md +1 -1
  73. data/docs/A1099/V2/PaginatedQueryResultModelW9FormBaseResponse.md +22 -0
  74. data/docs/A1099/V2/TinMatchStatusResponse.md +22 -0
  75. data/docs/A1099/V2/Update1099Form200Response.md +8 -0
  76. data/docs/A1099/V2/W4FormResponse.md +1 -29
  77. data/docs/A1099/V2/W8BenEFormResponse.md +1 -29
  78. data/docs/A1099/V2/W8BenFormResponse.md +1 -29
  79. data/docs/A1099/V2/W8ImyFormResponse.md +1 -29
  80. data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
  81. data/docs/A1099/V2/W9FormResponse.md +2 -28
  82. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +1 -1
  83. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +3 -3
  84. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +30 -14
  85. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +1 -1
  86. data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +1 -1
  87. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
  88. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
  89. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  90. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
  91. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
  92. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
  93. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
  94. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -0
  95. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +1 -1
  96. data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +79 -79
  97. data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +2 -0
  98. data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
  99. data/lib/avalara_sdk/models/A1099/V2/error_response_item.rb +221 -0
  100. data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +824 -0
  101. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +44 -119
  102. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +67 -12
  103. data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +55 -132
  104. data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +43 -24
  105. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +68 -9
  106. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +54 -119
  107. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +77 -12
  108. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +56 -121
  109. data/lib/avalara_sdk/models/A1099/V2/form1095_b_response.rb +709 -0
  110. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +238 -0
  111. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +662 -0
  112. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +68 -9
  113. data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +77 -12
  114. data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +781 -0
  115. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +93 -147
  116. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +931 -0
  117. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +93 -149
  118. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +214 -24
  119. data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +741 -0
  120. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +238 -0
  121. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +702 -0
  122. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +887 -0
  123. data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +684 -0
  124. data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +773 -0
  125. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +68 -9
  126. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +56 -119
  127. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +77 -12
  128. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +82 -123
  129. data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +839 -0
  130. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +2 -0
  131. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +106 -47
  132. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +52 -135
  133. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +116 -40
  134. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +52 -137
  135. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +49 -39
  136. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +68 -9
  137. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +56 -129
  138. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +77 -12
  139. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +56 -131
  140. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +43 -33
  141. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +22 -4
  142. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +107 -0
  143. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +68 -19
  144. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +46 -119
  145. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +77 -23
  146. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +46 -121
  147. data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +839 -0
  148. data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail.rb +1 -1
  149. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +54 -119
  150. data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +56 -119
  151. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +43 -24
  152. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +56 -121
  153. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +2 -0
  154. data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -0
  155. data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -0
  156. data/lib/avalara_sdk/models/A1099/V2/included_base.rb +1 -1
  157. data/lib/avalara_sdk/models/A1099/V2/irs_response.rb +221 -0
  158. data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -0
  159. data/lib/avalara_sdk/models/A1099/V2/offer_and_coverage_request.rb +256 -0
  160. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_w9_form_base_response.rb +234 -0
  161. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +1 -1
  162. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb +1 -1
  163. data/lib/avalara_sdk/models/A1099/V2/tin_match_status_response.rb +267 -0
  164. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +4 -0
  165. data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +1 -1
  166. data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +15 -157
  167. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +14 -156
  168. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +15 -157
  169. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +15 -157
  170. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +19 -14
  171. data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +18 -150
  172. data/lib/avalara_sdk/version.rb +1 -1
  173. data/lib/avalara_sdk.rb +21 -1
  174. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  175. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  176. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
  177. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
  178. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
  179. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
  180. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
  181. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
  182. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  183. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  184. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  185. metadata +42 -2
@@ -27,7 +27,7 @@ module AvalaraSdk::A1099::V2
27
27
  attr_accessor :fishing_boat_proceeds
28
28
 
29
29
  # Medical and health care payments
30
- attr_accessor :medical_and_health_care
30
+ attr_accessor :medical_and_health_care_payments
31
31
 
32
32
  # Substitute payments in lieu of dividends or interest
33
33
  attr_accessor :substitute_payments
@@ -39,16 +39,19 @@ module AvalaraSdk::A1099::V2
39
39
  attr_accessor :crop_insurance_proceeds
40
40
 
41
41
  # (Legacy field) Excess golden parachute payments
42
- attr_accessor :excess_golden_parachute
42
+ attr_accessor :excess_golden_parachute_payments
43
43
 
44
44
  # Gross proceeds paid to an attorney
45
- attr_accessor :gross_amount_paid_attorney
45
+ attr_accessor :gross_proceeds_paid_to_attorney
46
+
47
+ # Fish purchased for resale
48
+ attr_accessor :fish_purchased_for_resale
46
49
 
47
50
  # Section 409A deferrals
48
51
  attr_accessor :section409_a_deferrals
49
52
 
50
53
  # Nonqualified deferred compensation
51
- attr_accessor :section409_a_income
54
+ attr_accessor :nonqualified_deferred_compensation
52
55
 
53
56
  # ID of the form
54
57
  attr_accessor :id
@@ -98,6 +101,9 @@ module AvalaraSdk::A1099::V2
98
101
  # Address verification status
99
102
  attr_accessor :address_verification_status
100
103
 
104
+ # EDelivery status
105
+ attr_accessor :e_delivery_status
106
+
101
107
  # Reference ID
102
108
  attr_accessor :reference_id
103
109
 
@@ -110,6 +116,12 @@ module AvalaraSdk::A1099::V2
110
116
  # Recipient Tax ID Number
111
117
  attr_accessor :tin
112
118
 
119
+ # Indicates whether the recipient has no TIN
120
+ attr_accessor :no_tin
121
+
122
+ # Second Tin Notice
123
+ attr_accessor :second_tin_notice
124
+
113
125
  # Recipient name
114
126
  attr_accessor :recipient_name
115
127
 
@@ -132,11 +144,20 @@ module AvalaraSdk::A1099::V2
132
144
  attr_accessor :zip
133
145
 
134
146
  # Foreign province
135
- attr_accessor :foreign_province
147
+ attr_accessor :non_us_province
136
148
 
137
149
  # Country code, as defined at https://www.irs.gov/e-file-providers/country-codes
138
150
  attr_accessor :country_code
139
151
 
152
+ # Account Number
153
+ attr_accessor :account_number
154
+
155
+ # Office Code
156
+ attr_accessor :office_code
157
+
158
+ # FATCA filing requirement
159
+ attr_accessor :fatca_filing_requirement
160
+
140
161
  # Validation errors
141
162
  attr_accessor :validation_errors
142
163
 
@@ -156,14 +177,15 @@ module AvalaraSdk::A1099::V2
156
177
  :'other_income' => :'otherIncome',
157
178
  :'fed_income_tax_withheld' => :'fedIncomeTaxWithheld',
158
179
  :'fishing_boat_proceeds' => :'fishingBoatProceeds',
159
- :'medical_and_health_care' => :'medicalAndHealthCare',
180
+ :'medical_and_health_care_payments' => :'medicalAndHealthCarePayments',
160
181
  :'substitute_payments' => :'substitutePayments',
161
182
  :'direct_sales_indicator' => :'directSalesIndicator',
162
183
  :'crop_insurance_proceeds' => :'cropInsuranceProceeds',
163
- :'excess_golden_parachute' => :'excessGoldenParachute',
164
- :'gross_amount_paid_attorney' => :'grossAmountPaidAttorney',
184
+ :'excess_golden_parachute_payments' => :'excessGoldenParachutePayments',
185
+ :'gross_proceeds_paid_to_attorney' => :'grossProceedsPaidToAttorney',
186
+ :'fish_purchased_for_resale' => :'fishPurchasedForResale',
165
187
  :'section409_a_deferrals' => :'section409ADeferrals',
166
- :'section409_a_income' => :'section409AIncome',
188
+ :'nonqualified_deferred_compensation' => :'nonqualifiedDeferredCompensation',
167
189
  :'id' => :'id',
168
190
  :'type' => :'type',
169
191
  :'issuer_id' => :'issuerId',
@@ -180,10 +202,13 @@ module AvalaraSdk::A1099::V2
180
202
  :'tin_match_status' => :'tinMatchStatus',
181
203
  :'address_verification' => :'addressVerification',
182
204
  :'address_verification_status' => :'addressVerificationStatus',
205
+ :'e_delivery_status' => :'eDeliveryStatus',
183
206
  :'reference_id' => :'referenceId',
184
207
  :'email' => :'email',
185
208
  :'tin_type' => :'tinType',
186
209
  :'tin' => :'tin',
210
+ :'no_tin' => :'noTin',
211
+ :'second_tin_notice' => :'secondTinNotice',
187
212
  :'recipient_name' => :'recipientName',
188
213
  :'recipient_second_name' => :'recipientSecondName',
189
214
  :'address' => :'address',
@@ -191,8 +216,11 @@ module AvalaraSdk::A1099::V2
191
216
  :'city' => :'city',
192
217
  :'state' => :'state',
193
218
  :'zip' => :'zip',
194
- :'foreign_province' => :'foreignProvince',
219
+ :'non_us_province' => :'nonUsProvince',
195
220
  :'country_code' => :'countryCode',
221
+ :'account_number' => :'accountNumber',
222
+ :'office_code' => :'officeCode',
223
+ :'fatca_filing_requirement' => :'fatcaFilingRequirement',
196
224
  :'validation_errors' => :'validationErrors',
197
225
  :'created_at' => :'createdAt',
198
226
  :'updated_at' => :'updatedAt',
@@ -213,14 +241,15 @@ module AvalaraSdk::A1099::V2
213
241
  :'other_income' => :'Float',
214
242
  :'fed_income_tax_withheld' => :'Float',
215
243
  :'fishing_boat_proceeds' => :'Float',
216
- :'medical_and_health_care' => :'Float',
244
+ :'medical_and_health_care_payments' => :'Float',
217
245
  :'substitute_payments' => :'Float',
218
246
  :'direct_sales_indicator' => :'Boolean',
219
247
  :'crop_insurance_proceeds' => :'Float',
220
- :'excess_golden_parachute' => :'Float',
221
- :'gross_amount_paid_attorney' => :'Float',
248
+ :'excess_golden_parachute_payments' => :'Float',
249
+ :'gross_proceeds_paid_to_attorney' => :'Float',
250
+ :'fish_purchased_for_resale' => :'Float',
222
251
  :'section409_a_deferrals' => :'Float',
223
- :'section409_a_income' => :'Float',
252
+ :'nonqualified_deferred_compensation' => :'Float',
224
253
  :'id' => :'String',
225
254
  :'type' => :'String',
226
255
  :'issuer_id' => :'Integer',
@@ -228,19 +257,22 @@ module AvalaraSdk::A1099::V2
228
257
  :'issuer_tin' => :'String',
229
258
  :'tax_year' => :'Integer',
230
259
  :'federal_efile' => :'Boolean',
231
- :'federal_efile_status' => :'Form1099StatusDetailResponse',
260
+ :'federal_efile_status' => :'StatusDetail',
232
261
  :'state_efile' => :'Boolean',
233
262
  :'state_efile_status' => :'Array<StateEfileStatusDetailResponse>',
234
263
  :'postal_mail' => :'Boolean',
235
- :'postal_mail_status' => :'Form1099StatusDetailResponse',
264
+ :'postal_mail_status' => :'StatusDetail',
236
265
  :'tin_match' => :'Boolean',
237
- :'tin_match_status' => :'Form1099StatusDetailResponse',
266
+ :'tin_match_status' => :'StatusDetail',
238
267
  :'address_verification' => :'Boolean',
239
- :'address_verification_status' => :'Form1099StatusDetailResponse',
268
+ :'address_verification_status' => :'StatusDetail',
269
+ :'e_delivery_status' => :'StatusDetail',
240
270
  :'reference_id' => :'String',
241
271
  :'email' => :'String',
242
272
  :'tin_type' => :'String',
243
273
  :'tin' => :'String',
274
+ :'no_tin' => :'Boolean',
275
+ :'second_tin_notice' => :'Boolean',
244
276
  :'recipient_name' => :'String',
245
277
  :'recipient_second_name' => :'String',
246
278
  :'address' => :'String',
@@ -248,8 +280,11 @@ module AvalaraSdk::A1099::V2
248
280
  :'city' => :'String',
249
281
  :'state' => :'String',
250
282
  :'zip' => :'String',
251
- :'foreign_province' => :'String',
283
+ :'non_us_province' => :'String',
252
284
  :'country_code' => :'String',
285
+ :'account_number' => :'String',
286
+ :'office_code' => :'String',
287
+ :'fatca_filing_requirement' => :'Boolean',
253
288
  :'validation_errors' => :'Array<ValidationErrorResponse>',
254
289
  :'created_at' => :'Time',
255
290
  :'updated_at' => :'Time',
@@ -265,23 +300,26 @@ module AvalaraSdk::A1099::V2
265
300
  :'other_income',
266
301
  :'fed_income_tax_withheld',
267
302
  :'fishing_boat_proceeds',
268
- :'medical_and_health_care',
303
+ :'medical_and_health_care_payments',
269
304
  :'substitute_payments',
270
305
  :'crop_insurance_proceeds',
271
- :'excess_golden_parachute',
272
- :'gross_amount_paid_attorney',
306
+ :'excess_golden_parachute_payments',
307
+ :'gross_proceeds_paid_to_attorney',
308
+ :'fish_purchased_for_resale',
273
309
  :'section409_a_deferrals',
274
- :'section409_a_income',
310
+ :'nonqualified_deferred_compensation',
275
311
  :'issuer_reference_id',
276
312
  :'issuer_tin',
277
313
  :'state_efile_status',
278
314
  :'postal_mail_status',
279
315
  :'tin_match_status',
280
316
  :'address_verification_status',
317
+ :'e_delivery_status',
281
318
  :'reference_id',
282
319
  :'email',
283
320
  :'tin_type',
284
321
  :'tin',
322
+ :'second_tin_notice',
285
323
  :'recipient_name',
286
324
  :'recipient_second_name',
287
325
  :'address',
@@ -289,8 +327,11 @@ module AvalaraSdk::A1099::V2
289
327
  :'city',
290
328
  :'state',
291
329
  :'zip',
292
- :'foreign_province',
330
+ :'non_us_province',
293
331
  :'country_code',
332
+ :'account_number',
333
+ :'office_code',
334
+ :'fatca_filing_requirement',
294
335
  :'validation_errors',
295
336
  :'state_and_local_withholding'
296
337
  ])
@@ -338,8 +379,8 @@ module AvalaraSdk::A1099::V2
338
379
  self.fishing_boat_proceeds = attributes[:'fishing_boat_proceeds']
339
380
  end
340
381
 
341
- if attributes.key?(:'medical_and_health_care')
342
- self.medical_and_health_care = attributes[:'medical_and_health_care']
382
+ if attributes.key?(:'medical_and_health_care_payments')
383
+ self.medical_and_health_care_payments = attributes[:'medical_and_health_care_payments']
343
384
  end
344
385
 
345
386
  if attributes.key?(:'substitute_payments')
@@ -354,20 +395,24 @@ module AvalaraSdk::A1099::V2
354
395
  self.crop_insurance_proceeds = attributes[:'crop_insurance_proceeds']
355
396
  end
356
397
 
357
- if attributes.key?(:'excess_golden_parachute')
358
- self.excess_golden_parachute = attributes[:'excess_golden_parachute']
398
+ if attributes.key?(:'excess_golden_parachute_payments')
399
+ self.excess_golden_parachute_payments = attributes[:'excess_golden_parachute_payments']
400
+ end
401
+
402
+ if attributes.key?(:'gross_proceeds_paid_to_attorney')
403
+ self.gross_proceeds_paid_to_attorney = attributes[:'gross_proceeds_paid_to_attorney']
359
404
  end
360
405
 
361
- if attributes.key?(:'gross_amount_paid_attorney')
362
- self.gross_amount_paid_attorney = attributes[:'gross_amount_paid_attorney']
406
+ if attributes.key?(:'fish_purchased_for_resale')
407
+ self.fish_purchased_for_resale = attributes[:'fish_purchased_for_resale']
363
408
  end
364
409
 
365
410
  if attributes.key?(:'section409_a_deferrals')
366
411
  self.section409_a_deferrals = attributes[:'section409_a_deferrals']
367
412
  end
368
413
 
369
- if attributes.key?(:'section409_a_income')
370
- self.section409_a_income = attributes[:'section409_a_income']
414
+ if attributes.key?(:'nonqualified_deferred_compensation')
415
+ self.nonqualified_deferred_compensation = attributes[:'nonqualified_deferred_compensation']
371
416
  end
372
417
 
373
418
  if attributes.key?(:'id')
@@ -452,6 +497,10 @@ module AvalaraSdk::A1099::V2
452
497
  self.address_verification_status = attributes[:'address_verification_status']
453
498
  end
454
499
 
500
+ if attributes.key?(:'e_delivery_status')
501
+ self.e_delivery_status = attributes[:'e_delivery_status']
502
+ end
503
+
455
504
  if attributes.key?(:'reference_id')
456
505
  self.reference_id = attributes[:'reference_id']
457
506
  end
@@ -468,6 +517,14 @@ module AvalaraSdk::A1099::V2
468
517
  self.tin = attributes[:'tin']
469
518
  end
470
519
 
520
+ if attributes.key?(:'no_tin')
521
+ self.no_tin = attributes[:'no_tin']
522
+ end
523
+
524
+ if attributes.key?(:'second_tin_notice')
525
+ self.second_tin_notice = attributes[:'second_tin_notice']
526
+ end
527
+
471
528
  if attributes.key?(:'recipient_name')
472
529
  self.recipient_name = attributes[:'recipient_name']
473
530
  end
@@ -496,14 +553,26 @@ module AvalaraSdk::A1099::V2
496
553
  self.zip = attributes[:'zip']
497
554
  end
498
555
 
499
- if attributes.key?(:'foreign_province')
500
- self.foreign_province = attributes[:'foreign_province']
556
+ if attributes.key?(:'non_us_province')
557
+ self.non_us_province = attributes[:'non_us_province']
501
558
  end
502
559
 
503
560
  if attributes.key?(:'country_code')
504
561
  self.country_code = attributes[:'country_code']
505
562
  end
506
563
 
564
+ if attributes.key?(:'account_number')
565
+ self.account_number = attributes[:'account_number']
566
+ end
567
+
568
+ if attributes.key?(:'office_code')
569
+ self.office_code = attributes[:'office_code']
570
+ end
571
+
572
+ if attributes.key?(:'fatca_filing_requirement')
573
+ self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
574
+ end
575
+
507
576
  if attributes.key?(:'validation_errors')
508
577
  if (value = attributes[:'validation_errors']).is_a?(Array)
509
578
  self.validation_errors = value
@@ -638,14 +707,15 @@ module AvalaraSdk::A1099::V2
638
707
  other_income == o.other_income &&
639
708
  fed_income_tax_withheld == o.fed_income_tax_withheld &&
640
709
  fishing_boat_proceeds == o.fishing_boat_proceeds &&
641
- medical_and_health_care == o.medical_and_health_care &&
710
+ medical_and_health_care_payments == o.medical_and_health_care_payments &&
642
711
  substitute_payments == o.substitute_payments &&
643
712
  direct_sales_indicator == o.direct_sales_indicator &&
644
713
  crop_insurance_proceeds == o.crop_insurance_proceeds &&
645
- excess_golden_parachute == o.excess_golden_parachute &&
646
- gross_amount_paid_attorney == o.gross_amount_paid_attorney &&
714
+ excess_golden_parachute_payments == o.excess_golden_parachute_payments &&
715
+ gross_proceeds_paid_to_attorney == o.gross_proceeds_paid_to_attorney &&
716
+ fish_purchased_for_resale == o.fish_purchased_for_resale &&
647
717
  section409_a_deferrals == o.section409_a_deferrals &&
648
- section409_a_income == o.section409_a_income &&
718
+ nonqualified_deferred_compensation == o.nonqualified_deferred_compensation &&
649
719
  id == o.id &&
650
720
  type == o.type &&
651
721
  issuer_id == o.issuer_id &&
@@ -662,10 +732,13 @@ module AvalaraSdk::A1099::V2
662
732
  tin_match_status == o.tin_match_status &&
663
733
  address_verification == o.address_verification &&
664
734
  address_verification_status == o.address_verification_status &&
735
+ e_delivery_status == o.e_delivery_status &&
665
736
  reference_id == o.reference_id &&
666
737
  email == o.email &&
667
738
  tin_type == o.tin_type &&
668
739
  tin == o.tin &&
740
+ no_tin == o.no_tin &&
741
+ second_tin_notice == o.second_tin_notice &&
669
742
  recipient_name == o.recipient_name &&
670
743
  recipient_second_name == o.recipient_second_name &&
671
744
  address == o.address &&
@@ -673,8 +746,11 @@ module AvalaraSdk::A1099::V2
673
746
  city == o.city &&
674
747
  state == o.state &&
675
748
  zip == o.zip &&
676
- foreign_province == o.foreign_province &&
749
+ non_us_province == o.non_us_province &&
677
750
  country_code == o.country_code &&
751
+ account_number == o.account_number &&
752
+ office_code == o.office_code &&
753
+ fatca_filing_requirement == o.fatca_filing_requirement &&
678
754
  validation_errors == o.validation_errors &&
679
755
  created_at == o.created_at &&
680
756
  updated_at == o.updated_at &&
@@ -690,7 +766,7 @@ module AvalaraSdk::A1099::V2
690
766
  # Calculates hash code according to all attributes.
691
767
  # @return [Integer] Hash code
692
768
  def hash
693
- [rents, royalties, other_income, fed_income_tax_withheld, fishing_boat_proceeds, medical_and_health_care, substitute_payments, direct_sales_indicator, crop_insurance_proceeds, excess_golden_parachute, gross_amount_paid_attorney, section409_a_deferrals, section409_a_income, id, type, issuer_id, issuer_reference_id, issuer_tin, tax_year, federal_efile, federal_efile_status, state_efile, state_efile_status, postal_mail, postal_mail_status, tin_match, tin_match_status, address_verification, address_verification_status, reference_id, email, tin_type, tin, recipient_name, recipient_second_name, address, address2, city, state, zip, foreign_province, country_code, validation_errors, created_at, updated_at, state_and_local_withholding].hash
769
+ [rents, royalties, other_income, fed_income_tax_withheld, fishing_boat_proceeds, medical_and_health_care_payments, substitute_payments, direct_sales_indicator, crop_insurance_proceeds, excess_golden_parachute_payments, gross_proceeds_paid_to_attorney, fish_purchased_for_resale, section409_a_deferrals, nonqualified_deferred_compensation, id, type, issuer_id, issuer_reference_id, issuer_tin, tax_year, federal_efile, federal_efile_status, state_efile, state_efile_status, postal_mail, postal_mail_status, tin_match, tin_match_status, address_verification, address_verification_status, e_delivery_status, reference_id, email, tin_type, tin, no_tin, second_tin_notice, recipient_name, recipient_second_name, address, address2, city, state, zip, non_us_province, country_code, account_number, office_code, fatca_filing_requirement, validation_errors, created_at, updated_at, state_and_local_withholding].hash
694
770
  end
695
771
 
696
772
  # Builds the object from hash