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
@@ -10,7 +10,7 @@ require 'date'
10
10
  require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
- class W8BenFormResponse
13
+ class W8BenFormResponse < W9FormBaseResponse
14
14
  # The name of the individual or entity associated with the form.
15
15
  attr_accessor :name
16
16
 
@@ -89,48 +89,6 @@ module AvalaraSdk::A1099::V2
89
89
  # The capacity in which the signer is signing the form.
90
90
  attr_accessor :signer_capacity
91
91
 
92
- # The unique identifier for the form.
93
- attr_accessor :id
94
-
95
- # The form type.
96
- attr_accessor :type
97
-
98
- # The form status.
99
- attr_accessor :entry_status
100
-
101
- # The timestamp for the latest status update.
102
- attr_accessor :entry_status_date
103
-
104
- # A reference identifier for the form.
105
- attr_accessor :reference_id
106
-
107
- # The ID of the associated company.
108
- attr_accessor :company_id
109
-
110
- # The display name associated with the form.
111
- attr_accessor :display_name
112
-
113
- # The email address of the individual associated with the form.
114
- attr_accessor :email
115
-
116
- # Indicates whether the form is archived.
117
- attr_accessor :archived
118
-
119
- # The signature of the form.
120
- attr_accessor :signature
121
-
122
- # The date the form was signed.
123
- attr_accessor :signed_date
124
-
125
- # The date when e-delivery was consented.
126
- attr_accessor :e_delivery_consented_at
127
-
128
- # The creation date of the form.
129
- attr_accessor :created_at
130
-
131
- # The last updated date of the form.
132
- attr_accessor :updated_at
133
-
134
92
  # Attribute mapping from ruby-style variable name to JSON key.
135
93
  def self.attribute_map
136
94
  {
@@ -159,27 +117,13 @@ module AvalaraSdk::A1099::V2
159
117
  :'withholding_rate' => :'withholdingRate',
160
118
  :'income_type' => :'incomeType',
161
119
  :'signer_name' => :'signerName',
162
- :'signer_capacity' => :'signerCapacity',
163
- :'id' => :'id',
164
- :'type' => :'type',
165
- :'entry_status' => :'entryStatus',
166
- :'entry_status_date' => :'entryStatusDate',
167
- :'reference_id' => :'referenceId',
168
- :'company_id' => :'companyId',
169
- :'display_name' => :'displayName',
170
- :'email' => :'email',
171
- :'archived' => :'archived',
172
- :'signature' => :'signature',
173
- :'signed_date' => :'signedDate',
174
- :'e_delivery_consented_at' => :'eDeliveryConsentedAt',
175
- :'created_at' => :'createdAt',
176
- :'updated_at' => :'updatedAt'
120
+ :'signer_capacity' => :'signerCapacity'
177
121
  }
178
122
  end
179
123
 
180
- # Returns all the JSON keys this model knows about
124
+ # Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
181
125
  def self.acceptable_attributes
182
- attribute_map.values
126
+ attribute_map.values.concat(superclass.acceptable_attributes)
183
127
  end
184
128
 
185
129
  # Attribute type mapping.
@@ -210,21 +154,7 @@ module AvalaraSdk::A1099::V2
210
154
  :'withholding_rate' => :'String',
211
155
  :'income_type' => :'String',
212
156
  :'signer_name' => :'String',
213
- :'signer_capacity' => :'String',
214
- :'id' => :'String',
215
- :'type' => :'String',
216
- :'entry_status' => :'String',
217
- :'entry_status_date' => :'Time',
218
- :'reference_id' => :'String',
219
- :'company_id' => :'String',
220
- :'display_name' => :'String',
221
- :'email' => :'String',
222
- :'archived' => :'Boolean',
223
- :'signature' => :'String',
224
- :'signed_date' => :'Time',
225
- :'e_delivery_consented_at' => :'Time',
226
- :'created_at' => :'Time',
227
- :'updated_at' => :'Time'
157
+ :'signer_capacity' => :'String'
228
158
  }
229
159
  end
230
160
 
@@ -247,13 +177,7 @@ module AvalaraSdk::A1099::V2
247
177
  :'withholding_rate',
248
178
  :'income_type',
249
179
  :'signer_name',
250
- :'signer_capacity',
251
- :'entry_status_date',
252
- :'reference_id',
253
- :'email',
254
- :'signature',
255
- :'signed_date',
256
- :'e_delivery_consented_at',
180
+ :'signer_capacity'
257
181
  ])
258
182
  end
259
183
 
@@ -279,6 +203,9 @@ module AvalaraSdk::A1099::V2
279
203
  h[k.to_sym] = v
280
204
  }
281
205
 
206
+ # call parent's initialize
207
+ super(attributes)
208
+
282
209
  if attributes.key?(:'name')
283
210
  self.name = attributes[:'name']
284
211
  end
@@ -382,69 +309,13 @@ module AvalaraSdk::A1099::V2
382
309
  if attributes.key?(:'signer_capacity')
383
310
  self.signer_capacity = attributes[:'signer_capacity']
384
311
  end
385
-
386
- if attributes.key?(:'id')
387
- self.id = attributes[:'id']
388
- end
389
-
390
- if attributes.key?(:'type')
391
- self.type = attributes[:'type']
392
- end
393
-
394
- if attributes.key?(:'entry_status')
395
- self.entry_status = attributes[:'entry_status']
396
- end
397
-
398
- if attributes.key?(:'entry_status_date')
399
- self.entry_status_date = attributes[:'entry_status_date']
400
- end
401
-
402
- if attributes.key?(:'reference_id')
403
- self.reference_id = attributes[:'reference_id']
404
- end
405
-
406
- if attributes.key?(:'company_id')
407
- self.company_id = attributes[:'company_id']
408
- end
409
-
410
- if attributes.key?(:'display_name')
411
- self.display_name = attributes[:'display_name']
412
- end
413
-
414
- if attributes.key?(:'email')
415
- self.email = attributes[:'email']
416
- end
417
-
418
- if attributes.key?(:'archived')
419
- self.archived = attributes[:'archived']
420
- end
421
-
422
- if attributes.key?(:'signature')
423
- self.signature = attributes[:'signature']
424
- end
425
-
426
- if attributes.key?(:'signed_date')
427
- self.signed_date = attributes[:'signed_date']
428
- end
429
-
430
- if attributes.key?(:'e_delivery_consented_at')
431
- self.e_delivery_consented_at = attributes[:'e_delivery_consented_at']
432
- end
433
-
434
- if attributes.key?(:'created_at')
435
- self.created_at = attributes[:'created_at']
436
- end
437
-
438
- if attributes.key?(:'updated_at')
439
- self.updated_at = attributes[:'updated_at']
440
- end
441
312
  end
442
313
 
443
314
  # Show invalid properties with the reasons. Usually used together with valid?
444
315
  # @return Array for valid properties with the reasons
445
316
  def list_invalid_properties
446
317
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
447
- invalid_properties = Array.new
318
+ invalid_properties = super
448
319
  invalid_properties
449
320
  end
450
321
 
@@ -452,7 +323,7 @@ module AvalaraSdk::A1099::V2
452
323
  # @return true if the model is valid
453
324
  def valid?
454
325
  warn '[DEPRECATED] the `valid?` method is obsolete'
455
- true
326
+ true && super
456
327
  end
457
328
 
458
329
  # Checks equality by comparing each attribute.
@@ -485,21 +356,7 @@ module AvalaraSdk::A1099::V2
485
356
  withholding_rate == o.withholding_rate &&
486
357
  income_type == o.income_type &&
487
358
  signer_name == o.signer_name &&
488
- signer_capacity == o.signer_capacity &&
489
- id == o.id &&
490
- type == o.type &&
491
- entry_status == o.entry_status &&
492
- entry_status_date == o.entry_status_date &&
493
- reference_id == o.reference_id &&
494
- company_id == o.company_id &&
495
- display_name == o.display_name &&
496
- email == o.email &&
497
- archived == o.archived &&
498
- signature == o.signature &&
499
- signed_date == o.signed_date &&
500
- e_delivery_consented_at == o.e_delivery_consented_at &&
501
- created_at == o.created_at &&
502
- updated_at == o.updated_at
359
+ signer_capacity == o.signer_capacity && super(o)
503
360
  end
504
361
 
505
362
  # @see the `==` method
@@ -511,7 +368,7 @@ module AvalaraSdk::A1099::V2
511
368
  # Calculates hash code according to all attributes.
512
369
  # @return [Integer] Hash code
513
370
  def hash
514
- [name, citizenship_country, residence_address, residence_city, residence_state, residence_zip, residence_country, residence_is_mailing, mailing_address, mailing_city, mailing_state, mailing_zip, mailing_country, tin_type, tin, foreign_tin_not_required, foreign_tin, reference_number, birthday, treaty_country, treaty_article, treaty_reasons, withholding_rate, income_type, signer_name, signer_capacity, id, type, entry_status, entry_status_date, reference_id, company_id, display_name, email, archived, signature, signed_date, e_delivery_consented_at, created_at, updated_at].hash
371
+ [name, citizenship_country, residence_address, residence_city, residence_state, residence_zip, residence_country, residence_is_mailing, mailing_address, mailing_city, mailing_state, mailing_zip, mailing_country, tin_type, tin, foreign_tin_not_required, foreign_tin, reference_number, birthday, treaty_country, treaty_article, treaty_reasons, withholding_rate, income_type, signer_name, signer_capacity].hash
515
372
  end
516
373
 
517
374
  # Builds the object from hash
@@ -519,6 +376,7 @@ module AvalaraSdk::A1099::V2
519
376
  # @return [Object] Returns the model itself
520
377
  def self.build_from_hash(attributes)
521
378
  return nil unless attributes.is_a?(Hash)
379
+ super(attributes)
522
380
  attributes = attributes.transform_keys(&:to_sym)
523
381
  transformed_hash = {}
524
382
  openapi_types.each_pair do |key, type|
@@ -595,7 +453,7 @@ module AvalaraSdk::A1099::V2
595
453
  # Returns the object in the form of hash
596
454
  # @return [Hash] Returns the object in the form of hash
597
455
  def to_hash
598
- hash = {}
456
+ hash = super
599
457
  self.class.attribute_map.each_pair do |attr, param|
600
458
  value = self.send(attr)
601
459
  if value.nil?
@@ -10,7 +10,7 @@ require 'date'
10
10
  require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
- class W8ImyFormResponse
13
+ class W8ImyFormResponse < W9FormBaseResponse
14
14
  # The name of the individual or entity associated with the form.
15
15
  attr_accessor :name
16
16
 
@@ -344,48 +344,6 @@ module AvalaraSdk::A1099::V2
344
344
  # The name of the signer.
345
345
  attr_accessor :signer_name
346
346
 
347
- # The unique identifier for the form.
348
- attr_accessor :id
349
-
350
- # The form type.
351
- attr_accessor :type
352
-
353
- # The form status.
354
- attr_accessor :entry_status
355
-
356
- # The timestamp for the latest status update.
357
- attr_accessor :entry_status_date
358
-
359
- # A reference identifier for the form.
360
- attr_accessor :reference_id
361
-
362
- # The ID of the associated company.
363
- attr_accessor :company_id
364
-
365
- # The display name associated with the form.
366
- attr_accessor :display_name
367
-
368
- # The email address of the individual associated with the form.
369
- attr_accessor :email
370
-
371
- # Indicates whether the form is archived.
372
- attr_accessor :archived
373
-
374
- # The signature of the form.
375
- attr_accessor :signature
376
-
377
- # The date the form was signed.
378
- attr_accessor :signed_date
379
-
380
- # The date when e-delivery was consented.
381
- attr_accessor :e_delivery_consented_at
382
-
383
- # The creation date of the form.
384
- attr_accessor :created_at
385
-
386
- # The last updated date of the form.
387
- attr_accessor :updated_at
388
-
389
347
  # Attribute mapping from ruby-style variable name to JSON key.
390
348
  def self.attribute_map
391
349
  {
@@ -499,27 +457,13 @@ module AvalaraSdk::A1099::V2
499
457
  :'passive_nffe_certification' => :'passiveNffeCertification',
500
458
  :'sponsored_direct_reporting_nffe_certification' => :'sponsoredDirectReportingNffeCertification',
501
459
  :'direct_reporting_nffe_sponsoring_entity' => :'directReportingNffeSponsoringEntity',
502
- :'signer_name' => :'signerName',
503
- :'id' => :'id',
504
- :'type' => :'type',
505
- :'entry_status' => :'entryStatus',
506
- :'entry_status_date' => :'entryStatusDate',
507
- :'reference_id' => :'referenceId',
508
- :'company_id' => :'companyId',
509
- :'display_name' => :'displayName',
510
- :'email' => :'email',
511
- :'archived' => :'archived',
512
- :'signature' => :'signature',
513
- :'signed_date' => :'signedDate',
514
- :'e_delivery_consented_at' => :'eDeliveryConsentedAt',
515
- :'created_at' => :'createdAt',
516
- :'updated_at' => :'updatedAt'
460
+ :'signer_name' => :'signerName'
517
461
  }
518
462
  end
519
463
 
520
- # Returns all the JSON keys this model knows about
464
+ # Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
521
465
  def self.acceptable_attributes
522
- attribute_map.values
466
+ attribute_map.values.concat(superclass.acceptable_attributes)
523
467
  end
524
468
 
525
469
  # Attribute type mapping.
@@ -635,21 +579,7 @@ module AvalaraSdk::A1099::V2
635
579
  :'passive_nffe_certification' => :'Boolean',
636
580
  :'sponsored_direct_reporting_nffe_certification' => :'Boolean',
637
581
  :'direct_reporting_nffe_sponsoring_entity' => :'String',
638
- :'signer_name' => :'String',
639
- :'id' => :'String',
640
- :'type' => :'String',
641
- :'entry_status' => :'String',
642
- :'entry_status_date' => :'Time',
643
- :'reference_id' => :'String',
644
- :'company_id' => :'String',
645
- :'display_name' => :'String',
646
- :'email' => :'String',
647
- :'archived' => :'Boolean',
648
- :'signature' => :'String',
649
- :'signed_date' => :'Time',
650
- :'e_delivery_consented_at' => :'Time',
651
- :'created_at' => :'Time',
652
- :'updated_at' => :'Time'
582
+ :'signer_name' => :'String'
653
583
  }
654
584
  end
655
585
 
@@ -688,13 +618,7 @@ module AvalaraSdk::A1099::V2
688
618
  :'publicly_traded_entity',
689
619
  :'nffe_affiliate_of_publicly_traded_entity_securities_market',
690
620
  :'direct_reporting_nffe_sponsoring_entity',
691
- :'signer_name',
692
- :'entry_status_date',
693
- :'reference_id',
694
- :'email',
695
- :'signature',
696
- :'signed_date',
697
- :'e_delivery_consented_at',
621
+ :'signer_name'
698
622
  ])
699
623
  end
700
624
 
@@ -720,6 +644,9 @@ module AvalaraSdk::A1099::V2
720
644
  h[k.to_sym] = v
721
645
  }
722
646
 
647
+ # call parent's initialize
648
+ super(attributes)
649
+
723
650
  if attributes.key?(:'name')
724
651
  self.name = attributes[:'name']
725
652
  end
@@ -1163,69 +1090,13 @@ module AvalaraSdk::A1099::V2
1163
1090
  if attributes.key?(:'signer_name')
1164
1091
  self.signer_name = attributes[:'signer_name']
1165
1092
  end
1166
-
1167
- if attributes.key?(:'id')
1168
- self.id = attributes[:'id']
1169
- end
1170
-
1171
- if attributes.key?(:'type')
1172
- self.type = attributes[:'type']
1173
- end
1174
-
1175
- if attributes.key?(:'entry_status')
1176
- self.entry_status = attributes[:'entry_status']
1177
- end
1178
-
1179
- if attributes.key?(:'entry_status_date')
1180
- self.entry_status_date = attributes[:'entry_status_date']
1181
- end
1182
-
1183
- if attributes.key?(:'reference_id')
1184
- self.reference_id = attributes[:'reference_id']
1185
- end
1186
-
1187
- if attributes.key?(:'company_id')
1188
- self.company_id = attributes[:'company_id']
1189
- end
1190
-
1191
- if attributes.key?(:'display_name')
1192
- self.display_name = attributes[:'display_name']
1193
- end
1194
-
1195
- if attributes.key?(:'email')
1196
- self.email = attributes[:'email']
1197
- end
1198
-
1199
- if attributes.key?(:'archived')
1200
- self.archived = attributes[:'archived']
1201
- end
1202
-
1203
- if attributes.key?(:'signature')
1204
- self.signature = attributes[:'signature']
1205
- end
1206
-
1207
- if attributes.key?(:'signed_date')
1208
- self.signed_date = attributes[:'signed_date']
1209
- end
1210
-
1211
- if attributes.key?(:'e_delivery_consented_at')
1212
- self.e_delivery_consented_at = attributes[:'e_delivery_consented_at']
1213
- end
1214
-
1215
- if attributes.key?(:'created_at')
1216
- self.created_at = attributes[:'created_at']
1217
- end
1218
-
1219
- if attributes.key?(:'updated_at')
1220
- self.updated_at = attributes[:'updated_at']
1221
- end
1222
1093
  end
1223
1094
 
1224
1095
  # Show invalid properties with the reasons. Usually used together with valid?
1225
1096
  # @return Array for valid properties with the reasons
1226
1097
  def list_invalid_properties
1227
1098
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
1228
- invalid_properties = Array.new
1099
+ invalid_properties = super
1229
1100
  invalid_properties
1230
1101
  end
1231
1102
 
@@ -1233,7 +1104,7 @@ module AvalaraSdk::A1099::V2
1233
1104
  # @return true if the model is valid
1234
1105
  def valid?
1235
1106
  warn '[DEPRECATED] the `valid?` method is obsolete'
1236
- true
1107
+ true && super
1237
1108
  end
1238
1109
 
1239
1110
  # Checks equality by comparing each attribute.
@@ -1351,21 +1222,7 @@ module AvalaraSdk::A1099::V2
1351
1222
  passive_nffe_certification == o.passive_nffe_certification &&
1352
1223
  sponsored_direct_reporting_nffe_certification == o.sponsored_direct_reporting_nffe_certification &&
1353
1224
  direct_reporting_nffe_sponsoring_entity == o.direct_reporting_nffe_sponsoring_entity &&
1354
- signer_name == o.signer_name &&
1355
- id == o.id &&
1356
- type == o.type &&
1357
- entry_status == o.entry_status &&
1358
- entry_status_date == o.entry_status_date &&
1359
- reference_id == o.reference_id &&
1360
- company_id == o.company_id &&
1361
- display_name == o.display_name &&
1362
- email == o.email &&
1363
- archived == o.archived &&
1364
- signature == o.signature &&
1365
- signed_date == o.signed_date &&
1366
- e_delivery_consented_at == o.e_delivery_consented_at &&
1367
- created_at == o.created_at &&
1368
- updated_at == o.updated_at
1225
+ signer_name == o.signer_name && super(o)
1369
1226
  end
1370
1227
 
1371
1228
  # @see the `==` method
@@ -1377,7 +1234,7 @@ module AvalaraSdk::A1099::V2
1377
1234
  # Calculates hash code according to all attributes.
1378
1235
  # @return [Integer] Hash code
1379
1236
  def hash
1380
- [name, citizenship_country, disregarded_entity, entity_type, fatca_status, residence_address, residence_city, residence_state, residence_zip, residence_country, residence_is_mailing, mailing_address, mailing_city, mailing_state, mailing_zip, mailing_country, tin_type, tin, giin, foreign_tin, reference_number, disregarded_entity_fatca_status, disregarded_address, disregarded_city, disregarded_state, disregarded_zip, disregarded_country, disregarded_entity_giin, qualified_intermediary_certification, qi_primary_withholding_responsibility_certification, qi_withholding_responsibility_for_ptp_sales_certification, qi_nominee_withholding_responsibility_for_ptp_distributions_certification, qi_securities_lender_substitute_dividend_withholding_certification, qi_withholding_and1099_reporting_responsibility_certification, qi_form1099_or_fatca_reporting_responsibility_certification, qi_opt_out_of_form1099_reporting_certification, qi_withholding_rate_pool_certification, qi_intermediary_or_flow_through_entity_documentation_certification, qualified_derivatives_dealer_certification, qdd_corporation, qdd_partnership, qdd_disregarded_entity, nonqualified_intermediary_certification, nqi_withholding_statement_transmission_certification, nqi_withholding_rate_pool_compliance_certification, nqi_qualified_securities_lender_certification, nqi_alternative_withholding_statement_verification_certification, territory_financial_institution_certification, tfi_treated_as_us_person_certification, tfi_withholding_statement_transmission_certification, tfi_treated_as_us_person_for_ptp_sales_certification, tfi_nominee_us_person_for_ptp_distributions_certification, tfi_not_nominee_for_ptp_distributions_certification, us_branch_non_effectively_connected_income_certification, us_branch_agreement_to_be_treated_as_us_person_certification, us_branch_withholding_statement_and_compliance_certification, us_branch_acting_as_us_person_for_ptp_sales_certification, us_branch_nominee_for_ptp_distributions_certification, us_branch_not_nominee_for_ptp_distributions_certification, withholding_foreign_partnership_or_trust_certification, nonwithholding_foreign_entity_withholding_statement_certification, foreign_entity_partner_in_lower_tier_partnership_certification, foreign_partnership_amount_realized_section1446_f_certification, foreign_partnership_modified_amount_realized_certification, foreign_grantor_trust_amount_realized_allocation_certification, alternative_withholding_statement_reliance_certification, np_ffi_with_exempt_beneficial_owners_certification, ffi_sponsoring_entity, investment_entity_certification, controlled_foreign_corporation_certification, owner_documented_ffi_certification, owner_documented_ffi_reporting_statement_certification, owner_documented_ffi_auditor_letter_certification, compliant_nonregistering_local_bank_certification, compliant_ffi_low_value_accounts_certification, sponsored_closely_held_entity_sponsoring_entity, sponsored_closely_held_investment_vehicle_certification, compliant_limited_life_debt_entity_certification, investment_entity_no_financial_accounts_certification, restricted_distributor_certification, restricted_distributor_agreement_certification, restricted_distributor_preexisting_sales_compliance_certification, foreign_central_bank_of_issue_certification, nonreporting_iga_ffi_certification, iga_country, iga_model, iga_legal_status_treatment, iga_ffi_trustee_or_sponsor, iga_ffi_trustee_is_foreign, treaty_qualified_pension_fund_certification, qualified_retirement_fund_certification, narrow_participation_retirement_fund_certification, section401_a_equivalent_pension_plan_certification, investment_entity_for_retirement_funds_certification, exempt_beneficial_owner_sponsored_retirement_fund_certification, excepted_nonfinancial_group_entity_certification, excepted_nonfinancial_start_up_certification, startup_formation_or_resolution_date, excepted_nonfinancial_entity_in_liquidation_or_bankruptcy_certification, nonfinancial_entity_filing_date, publicly_traded_nffe_certification, publicly_traded_nffe_securities_market, nffe_affiliate_of_publicly_traded_entity_certification, publicly_traded_entity, nffe_affiliate_of_publicly_traded_entity_securities_market, excepted_territory_nffe_certification, active_nffe_certification, passive_nffe_certification, sponsored_direct_reporting_nffe_certification, direct_reporting_nffe_sponsoring_entity, signer_name, id, type, entry_status, entry_status_date, reference_id, company_id, display_name, email, archived, signature, signed_date, e_delivery_consented_at, created_at, updated_at].hash
1237
+ [name, citizenship_country, disregarded_entity, entity_type, fatca_status, residence_address, residence_city, residence_state, residence_zip, residence_country, residence_is_mailing, mailing_address, mailing_city, mailing_state, mailing_zip, mailing_country, tin_type, tin, giin, foreign_tin, reference_number, disregarded_entity_fatca_status, disregarded_address, disregarded_city, disregarded_state, disregarded_zip, disregarded_country, disregarded_entity_giin, qualified_intermediary_certification, qi_primary_withholding_responsibility_certification, qi_withholding_responsibility_for_ptp_sales_certification, qi_nominee_withholding_responsibility_for_ptp_distributions_certification, qi_securities_lender_substitute_dividend_withholding_certification, qi_withholding_and1099_reporting_responsibility_certification, qi_form1099_or_fatca_reporting_responsibility_certification, qi_opt_out_of_form1099_reporting_certification, qi_withholding_rate_pool_certification, qi_intermediary_or_flow_through_entity_documentation_certification, qualified_derivatives_dealer_certification, qdd_corporation, qdd_partnership, qdd_disregarded_entity, nonqualified_intermediary_certification, nqi_withholding_statement_transmission_certification, nqi_withholding_rate_pool_compliance_certification, nqi_qualified_securities_lender_certification, nqi_alternative_withholding_statement_verification_certification, territory_financial_institution_certification, tfi_treated_as_us_person_certification, tfi_withholding_statement_transmission_certification, tfi_treated_as_us_person_for_ptp_sales_certification, tfi_nominee_us_person_for_ptp_distributions_certification, tfi_not_nominee_for_ptp_distributions_certification, us_branch_non_effectively_connected_income_certification, us_branch_agreement_to_be_treated_as_us_person_certification, us_branch_withholding_statement_and_compliance_certification, us_branch_acting_as_us_person_for_ptp_sales_certification, us_branch_nominee_for_ptp_distributions_certification, us_branch_not_nominee_for_ptp_distributions_certification, withholding_foreign_partnership_or_trust_certification, nonwithholding_foreign_entity_withholding_statement_certification, foreign_entity_partner_in_lower_tier_partnership_certification, foreign_partnership_amount_realized_section1446_f_certification, foreign_partnership_modified_amount_realized_certification, foreign_grantor_trust_amount_realized_allocation_certification, alternative_withholding_statement_reliance_certification, np_ffi_with_exempt_beneficial_owners_certification, ffi_sponsoring_entity, investment_entity_certification, controlled_foreign_corporation_certification, owner_documented_ffi_certification, owner_documented_ffi_reporting_statement_certification, owner_documented_ffi_auditor_letter_certification, compliant_nonregistering_local_bank_certification, compliant_ffi_low_value_accounts_certification, sponsored_closely_held_entity_sponsoring_entity, sponsored_closely_held_investment_vehicle_certification, compliant_limited_life_debt_entity_certification, investment_entity_no_financial_accounts_certification, restricted_distributor_certification, restricted_distributor_agreement_certification, restricted_distributor_preexisting_sales_compliance_certification, foreign_central_bank_of_issue_certification, nonreporting_iga_ffi_certification, iga_country, iga_model, iga_legal_status_treatment, iga_ffi_trustee_or_sponsor, iga_ffi_trustee_is_foreign, treaty_qualified_pension_fund_certification, qualified_retirement_fund_certification, narrow_participation_retirement_fund_certification, section401_a_equivalent_pension_plan_certification, investment_entity_for_retirement_funds_certification, exempt_beneficial_owner_sponsored_retirement_fund_certification, excepted_nonfinancial_group_entity_certification, excepted_nonfinancial_start_up_certification, startup_formation_or_resolution_date, excepted_nonfinancial_entity_in_liquidation_or_bankruptcy_certification, nonfinancial_entity_filing_date, publicly_traded_nffe_certification, publicly_traded_nffe_securities_market, nffe_affiliate_of_publicly_traded_entity_certification, publicly_traded_entity, nffe_affiliate_of_publicly_traded_entity_securities_market, excepted_territory_nffe_certification, active_nffe_certification, passive_nffe_certification, sponsored_direct_reporting_nffe_certification, direct_reporting_nffe_sponsoring_entity, signer_name].hash
1381
1238
  end
1382
1239
 
1383
1240
  # Builds the object from hash
@@ -1385,6 +1242,7 @@ module AvalaraSdk::A1099::V2
1385
1242
  # @return [Object] Returns the model itself
1386
1243
  def self.build_from_hash(attributes)
1387
1244
  return nil unless attributes.is_a?(Hash)
1245
+ super(attributes)
1388
1246
  attributes = attributes.transform_keys(&:to_sym)
1389
1247
  transformed_hash = {}
1390
1248
  openapi_types.each_pair do |key, type|
@@ -1461,7 +1319,7 @@ module AvalaraSdk::A1099::V2
1461
1319
  # Returns the object in the form of hash
1462
1320
  # @return [Hash] Returns the object in the form of hash
1463
1321
  def to_hash
1464
- hash = {}
1322
+ hash = super
1465
1323
  self.class.attribute_map.each_pair do |attr, param|
1466
1324
  value = self.send(attr)
1467
1325
  if value.nil?
@@ -14,9 +14,6 @@ module AvalaraSdk::A1099::V2
14
14
  # The unique identifier for the form.
15
15
  attr_accessor :id
16
16
 
17
- # The form type.
18
- attr_accessor :type
19
-
20
17
  # The form status.
21
18
  attr_accessor :entry_status
22
19
 
@@ -53,11 +50,13 @@ module AvalaraSdk::A1099::V2
53
50
  # The last updated date of the form.
54
51
  attr_accessor :updated_at
55
52
 
53
+ # The type of the response object.
54
+ attr_accessor :type
55
+
56
56
  # Attribute mapping from ruby-style variable name to JSON key.
57
57
  def self.attribute_map
58
58
  {
59
59
  :'id' => :'id',
60
- :'type' => :'type',
61
60
  :'entry_status' => :'entryStatus',
62
61
  :'entry_status_date' => :'entryStatusDate',
63
62
  :'reference_id' => :'referenceId',
@@ -69,7 +68,8 @@ module AvalaraSdk::A1099::V2
69
68
  :'signed_date' => :'signedDate',
70
69
  :'e_delivery_consented_at' => :'eDeliveryConsentedAt',
71
70
  :'created_at' => :'createdAt',
72
- :'updated_at' => :'updatedAt'
71
+ :'updated_at' => :'updatedAt',
72
+ :'type' => :'type'
73
73
  }
74
74
  end
75
75
 
@@ -82,7 +82,6 @@ module AvalaraSdk::A1099::V2
82
82
  def self.openapi_types
83
83
  {
84
84
  :'id' => :'String',
85
- :'type' => :'String',
86
85
  :'entry_status' => :'String',
87
86
  :'entry_status_date' => :'Time',
88
87
  :'reference_id' => :'String',
@@ -94,7 +93,8 @@ module AvalaraSdk::A1099::V2
94
93
  :'signed_date' => :'Time',
95
94
  :'e_delivery_consented_at' => :'Time',
96
95
  :'created_at' => :'Time',
97
- :'updated_at' => :'Time'
96
+ :'updated_at' => :'Time',
97
+ :'type' => :'String'
98
98
  }
99
99
  end
100
100
 
@@ -110,6 +110,11 @@ module AvalaraSdk::A1099::V2
110
110
  ])
111
111
  end
112
112
 
113
+ # discriminator's property name in OpenAPI v3
114
+ def self.openapi_discriminator_name
115
+ :'type'
116
+ end
117
+
113
118
  # Initializes the object
114
119
  # @param [Hash] attributes Model attributes in the form of hash
115
120
  def initialize(attributes = {})
@@ -129,10 +134,6 @@ module AvalaraSdk::A1099::V2
129
134
  self.id = attributes[:'id']
130
135
  end
131
136
 
132
- if attributes.key?(:'type')
133
- self.type = attributes[:'type']
134
- end
135
-
136
137
  if attributes.key?(:'entry_status')
137
138
  self.entry_status = attributes[:'entry_status']
138
139
  end
@@ -180,6 +181,10 @@ module AvalaraSdk::A1099::V2
180
181
  if attributes.key?(:'updated_at')
181
182
  self.updated_at = attributes[:'updated_at']
182
183
  end
184
+
185
+ if attributes.key?(:'type')
186
+ self.type = attributes[:'type']
187
+ end
183
188
  end
184
189
 
185
190
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -203,7 +208,6 @@ module AvalaraSdk::A1099::V2
203
208
  return true if self.equal?(o)
204
209
  self.class == o.class &&
205
210
  id == o.id &&
206
- type == o.type &&
207
211
  entry_status == o.entry_status &&
208
212
  entry_status_date == o.entry_status_date &&
209
213
  reference_id == o.reference_id &&
@@ -215,7 +219,8 @@ module AvalaraSdk::A1099::V2
215
219
  signed_date == o.signed_date &&
216
220
  e_delivery_consented_at == o.e_delivery_consented_at &&
217
221
  created_at == o.created_at &&
218
- updated_at == o.updated_at
222
+ updated_at == o.updated_at &&
223
+ type == o.type
219
224
  end
220
225
 
221
226
  # @see the `==` method
@@ -227,7 +232,7 @@ module AvalaraSdk::A1099::V2
227
232
  # Calculates hash code according to all attributes.
228
233
  # @return [Integer] Hash code
229
234
  def hash
230
- [id, type, entry_status, entry_status_date, reference_id, company_id, display_name, email, archived, signature, signed_date, e_delivery_consented_at, created_at, updated_at].hash
235
+ [id, entry_status, entry_status_date, reference_id, company_id, display_name, email, archived, signature, signed_date, e_delivery_consented_at, created_at, updated_at, type].hash
231
236
  end
232
237
 
233
238
  # Builds the object from hash