avalara_sdk 25.8.2 → 25.8.3

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 (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +18 -79
  4. data/docs/A1099/V2/CompaniesW9Api.md +18 -18
  5. data/docs/A1099/V2/CompanyCreateUpdateRequestModel.md +18 -18
  6. data/docs/A1099/V2/CompanyResponse.md +37 -37
  7. data/docs/A1099/V2/CoveredIndividual.md +56 -0
  8. data/docs/A1099/V2/CreateAndSendW9FormEmailRequest.md +55 -0
  9. data/docs/A1099/V2/CreateCompanyRequest.md +49 -0
  10. data/docs/A1099/V2/CreateIssuerRequest.md +49 -0
  11. data/docs/A1099/V2/EntryStatusResponse.md +20 -0
  12. data/docs/A1099/V2/Form1042S.md +83 -83
  13. data/docs/A1099/V2/Form1095B.md +72 -62
  14. data/docs/A1099/V2/Form1095C.md +112 -0
  15. data/docs/A1099/V2/Form1099Base.md +60 -60
  16. data/docs/A1099/V2/Form1099Div.md +79 -77
  17. data/docs/A1099/V2/Form1099Int.md +76 -74
  18. data/docs/A1099/V2/Form1099K.md +83 -83
  19. data/docs/A1099/V2/Form1099ListRequest.md +20 -0
  20. data/docs/A1099/V2/Form1099Misc.md +79 -77
  21. data/docs/A1099/V2/Form1099Nec.md +64 -64
  22. data/docs/A1099/V2/Form1099R.md +95 -93
  23. data/docs/A1099/V2/Forms1099Api.md +45 -41
  24. data/docs/A1099/V2/FormsW9Api.md +98 -14
  25. data/docs/A1099/V2/Get1099Form200Response.md +19 -19
  26. data/docs/A1099/V2/IntermediaryOrFlowThrough.md +11 -11
  27. data/docs/A1099/V2/IssuerCommand.md +16 -16
  28. data/docs/A1099/V2/IssuerResponse.md +35 -35
  29. data/docs/A1099/V2/Issuers1099Api.md +10 -10
  30. data/docs/A1099/V2/JobResponse.md +56 -0
  31. data/docs/A1099/V2/JobsApi.md +91 -0
  32. data/docs/A1099/V2/OfferAndCoverage.md +28 -0
  33. data/docs/A1099/V2/PaginatedQueryResultModelForm1099Base.md +22 -0
  34. data/docs/A1099/V2/PrimaryWithholdingAgent.md +4 -4
  35. data/docs/A1099/V2/StateAndLocalWithholding.md +8 -8
  36. data/docs/A1099/V2/ValidationError.md +2 -2
  37. data/docs/A1099/V2/W4FormMinimalRequest.md +30 -0
  38. data/docs/A1099/V2/W4FormRequest.md +6 -6
  39. data/docs/A1099/V2/W8BenEFormMinimalRequest.md +28 -0
  40. data/docs/A1099/V2/W8BenEFormRequest.md +6 -6
  41. data/docs/A1099/V2/W8BenFormMinimalRequest.md +28 -0
  42. data/docs/A1099/V2/W8BenFormRequest.md +6 -6
  43. data/docs/A1099/V2/W8ImyFormMinimalRequest.md +28 -0
  44. data/docs/A1099/V2/W8ImyFormRequest.md +6 -6
  45. data/docs/A1099/V2/W9FormBaseMinimalRequest.md +24 -0
  46. data/docs/A1099/V2/W9FormBaseRequest.md +6 -6
  47. data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
  48. data/docs/A1099/V2/W9FormMinimalRequest.md +28 -0
  49. data/docs/A1099/V2/W9FormRequest.md +6 -6
  50. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +27 -27
  51. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +89 -57
  52. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +144 -6
  53. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
  54. data/lib/avalara_sdk/api/A1099/V2/{jobs1099_api.rb → jobs_api.rb} +9 -9
  55. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
  56. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
  57. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  58. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
  59. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
  60. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
  61. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
  62. data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +58 -17
  63. data/lib/avalara_sdk/models/A1099/V2/company_response.rb +110 -69
  64. data/lib/avalara_sdk/models/A1099/V2/{covered_individual_request.rb → covered_individual.rb} +36 -7
  65. data/lib/avalara_sdk/models/A1099/V2/{i_create_form1099_request.rb → create_and_send_w9_form_email_request.rb} +6 -5
  66. data/lib/avalara_sdk/models/A1099/V2/{error_response_errors_inner.rb → create_company_request.rb} +3 -3
  67. data/lib/avalara_sdk/models/A1099/V2/{i_update_form1099_request.rb → create_issuer_request.rb} +3 -5
  68. data/lib/avalara_sdk/models/A1099/V2/{status_detail.rb → entry_status_response.rb} +20 -18
  69. data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +424 -179
  70. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +365 -179
  71. data/lib/avalara_sdk/models/A1099/V2/{form1095_b_response.rb → form1095_c.rb} +259 -111
  72. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +286 -177
  73. data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +310 -171
  74. data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +308 -174
  75. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +298 -186
  76. data/lib/avalara_sdk/models/A1099/V2/{form1099_div_list.rb → form1099_list_request.rb} +49 -22
  77. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +337 -201
  78. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +298 -183
  79. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +414 -274
  80. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +9 -9
  81. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +13 -1
  82. data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +42 -23
  83. data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +77 -46
  84. data/lib/avalara_sdk/models/A1099/V2/{job_result.rb → job_response.rb} +108 -42
  85. data/lib/avalara_sdk/models/A1099/V2/{offer_and_coverage_request.rb → offer_and_coverage.rb} +79 -9
  86. data/lib/avalara_sdk/models/A1099/V2/{paginated_query_result_model.rb → paginated_query_result_model_form1099_base.rb} +4 -4
  87. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +23 -16
  88. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +8 -0
  89. data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +2 -0
  90. data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +418 -0
  91. data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +53 -27
  92. data/lib/avalara_sdk/models/A1099/V2/{company_model.rb → w8_ben_e_form_minimal_request.rb} +139 -170
  93. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +53 -27
  94. data/lib/avalara_sdk/models/A1099/V2/{base_company_model.rb → w8_ben_form_minimal_request.rb} +148 -122
  95. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +53 -27
  96. data/lib/avalara_sdk/models/A1099/V2/{attribute.rb → w8_imy_form_minimal_request.rb} +135 -132
  97. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +53 -27
  98. data/lib/avalara_sdk/models/A1099/V2/{http_validation_problem_details.rb → w9_form_base_minimal_request.rb} +87 -53
  99. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +60 -27
  100. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +14 -14
  101. data/lib/avalara_sdk/models/A1099/V2/{company_response_model.rb → w9_form_minimal_request.rb} +140 -148
  102. data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +53 -27
  103. data/lib/avalara_sdk/version.rb +1 -1
  104. data/lib/avalara_sdk.rb +22 -105
  105. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  106. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  107. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
  108. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
  109. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
  110. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
  111. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
  112. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
  113. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  114. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  115. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  116. metadata +37 -103
  117. data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +0 -210
  118. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +0 -108
  119. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +0 -403
  120. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +0 -407
  121. data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +0 -108
  122. data/lib/avalara_sdk/models/A1099/V2/data.rb +0 -237
  123. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +0 -238
  124. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +0 -816
  125. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +0 -980
  126. data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +0 -778
  127. data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +0 -619
  128. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +0 -238
  129. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +0 -606
  130. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +0 -765
  131. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +0 -627
  132. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +0 -238
  133. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +0 -662
  134. data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +0 -726
  135. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +0 -747
  136. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +0 -931
  137. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +0 -729
  138. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +0 -790
  139. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +0 -238
  140. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +0 -702
  141. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +0 -887
  142. data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +0 -684
  143. data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +0 -773
  144. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +0 -238
  145. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +0 -788
  146. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +0 -995
  147. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +0 -770
  148. data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +0 -839
  149. data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +0 -219
  150. data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +0 -55
  151. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +0 -220
  152. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +0 -108
  153. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +0 -238
  154. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +0 -688
  155. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +0 -886
  156. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +0 -670
  157. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +0 -754
  158. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +0 -238
  159. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +0 -586
  160. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +0 -765
  161. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +0 -567
  162. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +0 -646
  163. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +0 -228
  164. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +0 -107
  165. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +0 -238
  166. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +0 -763
  167. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +0 -942
  168. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +0 -720
  169. data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +0 -839
  170. data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +0 -223
  171. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +0 -502
  172. data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +0 -475
  173. data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +0 -548
  174. data/lib/avalara_sdk/models/A1099/V2/form_request_model.rb +0 -345
  175. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +0 -612
  176. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +0 -530
  177. data/lib/avalara_sdk/models/A1099/V2/included_base.rb +0 -219
  178. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +0 -311
  179. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +0 -311
  180. data/lib/avalara_sdk/models/A1099/V2/link.rb +0 -210
  181. data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +0 -231
  182. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +0 -221
  183. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +0 -221
  184. data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +0 -251
  185. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +0 -278
  186. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +0 -282
  187. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +0 -231
  188. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +0 -231
  189. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +0 -108
  190. data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +0 -229
  191. data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +0 -231
  192. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response.rb +0 -233
  193. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner.rb +0 -274
  194. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_addresses_inner.rb +0 -251
  195. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_identifiers_inner.rb +0 -221
  196. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_supported_document_types_inner.rb +0 -241
  197. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request.rb +0 -224
  198. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_data_inner.rb +0 -237
  199. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_metadata.rb +0 -288
  200. data/lib/avalara_sdk/models/EInvoicing/V1/submit_document_data.rb +0 -216
@@ -11,126 +11,187 @@ require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
13
  class Form1099Base
14
- attr_accessor :id
15
-
14
+ # Form type
16
15
  attr_accessor :type
17
16
 
17
+ # Form ID. Unique identifier set when the record is created.
18
+ attr_accessor :id
19
+
20
+ # Issuer ID - only required when creating forms
18
21
  attr_accessor :issuer_id
19
22
 
23
+ # Issuer Reference ID - only required when creating forms
20
24
  attr_accessor :issuer_reference_id
21
25
 
26
+ # Issuer TIN - readonly
22
27
  attr_accessor :issuer_tin
23
28
 
29
+ # Tax Year - only required when creating forms
24
30
  attr_accessor :tax_year
25
31
 
26
- attr_accessor :federal_efile
32
+ # Internal reference ID. Never shown to any agency or recipient.
33
+ attr_accessor :reference_id
27
34
 
28
- attr_accessor :federal_efile_status
35
+ # Recipient's Federal Tax Identification Number (TIN).
36
+ attr_accessor :tin
29
37
 
30
- attr_accessor :state_efile
38
+ # Recipient name
39
+ attr_accessor :recipient_name
31
40
 
32
- attr_accessor :state_efile_status
41
+ # Type of TIN (Tax ID Number)
42
+ attr_accessor :tin_type
33
43
 
34
- attr_accessor :postal_mail
44
+ # Recipient second name
45
+ attr_accessor :recipient_second_name
35
46
 
36
- attr_accessor :postal_mail_status
47
+ # Address.
48
+ attr_accessor :address
37
49
 
38
- attr_accessor :tin_match
50
+ # Address line 2.
51
+ attr_accessor :address2
39
52
 
40
- attr_accessor :tin_match_status
53
+ # City.
54
+ attr_accessor :city
41
55
 
42
- attr_accessor :address_verification
56
+ # Two-letter US state or Canadian province code (required for US/CA addresses).
57
+ attr_accessor :state
43
58
 
44
- attr_accessor :address_verification_status
59
+ # ZIP/postal code.
60
+ attr_accessor :zip
45
61
 
46
- attr_accessor :e_delivery_status
62
+ # Recipient's Contact email address.
63
+ attr_accessor :email
47
64
 
48
- attr_accessor :reference_id
65
+ # Account number
66
+ attr_accessor :account_number
49
67
 
50
- attr_accessor :email
68
+ # Office code
69
+ attr_accessor :office_code
51
70
 
52
- attr_accessor :tin_type
71
+ # Province or region for non-US/CA addresses.
72
+ attr_accessor :non_us_province
53
73
 
54
- attr_accessor :fatca_filing_requirement
74
+ # Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes.
75
+ attr_accessor :country_code
55
76
 
56
- attr_accessor :tin
77
+ # Date when federal e-filing should be scheduled for this form
78
+ attr_accessor :federal_efile_date
57
79
 
58
- attr_accessor :no_tin
80
+ # Boolean indicating that postal mailing to the recipient should be scheduled for this form
81
+ attr_accessor :postal_mail
59
82
 
60
- attr_accessor :second_tin_notice
83
+ # Date when state e-filing should be scheduled for this form
84
+ attr_accessor :state_efile_date
61
85
 
62
- attr_accessor :recipient_name
86
+ # Date when recipient e-delivery should be scheduled for this form
87
+ attr_accessor :recipient_edelivery_date
63
88
 
64
- attr_accessor :recipient_second_name
89
+ # Boolean indicating that TIN Matching should be scheduled for this form
90
+ attr_accessor :tin_match
65
91
 
66
- attr_accessor :address
92
+ # No TIN indicator
93
+ attr_accessor :no_tin
67
94
 
68
- attr_accessor :address2
95
+ # Boolean indicating that address verification should be scheduled for this form
96
+ attr_accessor :address_verification
69
97
 
70
- attr_accessor :city
98
+ # State and local withholding information
99
+ attr_accessor :state_and_local_withholding
71
100
 
72
- attr_accessor :state
101
+ # Second TIN notice
102
+ attr_accessor :second_tin_notice
73
103
 
74
- attr_accessor :zip
104
+ # Federal e-file status
105
+ attr_accessor :federal_efile_status
75
106
 
76
- attr_accessor :non_us_province
107
+ # State e-file status
108
+ attr_accessor :state_efile_status
77
109
 
78
- attr_accessor :country_code
110
+ # Postal mail to recipient status
111
+ attr_accessor :postal_mail_status
79
112
 
80
- attr_accessor :account_number
113
+ # TIN Match status
114
+ attr_accessor :tin_match_status
81
115
 
82
- attr_accessor :office_code
116
+ # Address verification status
117
+ attr_accessor :address_verification_status
118
+
119
+ # EDelivery status
120
+ attr_accessor :e_delivery_status
83
121
 
122
+ # Validation errors
84
123
  attr_accessor :validation_errors
85
124
 
125
+ # Date time when the record was created.
86
126
  attr_accessor :created_at
87
127
 
128
+ # Date time when the record was last updated.
88
129
  attr_accessor :updated_at
89
130
 
90
- attr_accessor :state_and_local_withholding
131
+ class EnumAttributeValidator
132
+ attr_reader :datatype
133
+ attr_reader :allowable_values
134
+
135
+ def initialize(datatype, allowable_values)
136
+ @allowable_values = allowable_values.map do |value|
137
+ case datatype.to_s
138
+ when /Integer/i
139
+ value.to_i
140
+ when /Float/i
141
+ value.to_f
142
+ else
143
+ value
144
+ end
145
+ end
146
+ end
147
+
148
+ def valid?(value)
149
+ !value || allowable_values.include?(value)
150
+ end
151
+ end
91
152
 
92
153
  # Attribute mapping from ruby-style variable name to JSON key.
93
154
  def self.attribute_map
94
155
  {
95
- :'id' => :'id',
96
156
  :'type' => :'type',
157
+ :'id' => :'id',
97
158
  :'issuer_id' => :'issuerId',
98
159
  :'issuer_reference_id' => :'issuerReferenceId',
99
160
  :'issuer_tin' => :'issuerTin',
100
161
  :'tax_year' => :'taxYear',
101
- :'federal_efile' => :'federalEfile',
102
- :'federal_efile_status' => :'federalEfileStatus',
103
- :'state_efile' => :'stateEfile',
104
- :'state_efile_status' => :'stateEfileStatus',
105
- :'postal_mail' => :'postalMail',
106
- :'postal_mail_status' => :'postalMailStatus',
107
- :'tin_match' => :'tinMatch',
108
- :'tin_match_status' => :'tinMatchStatus',
109
- :'address_verification' => :'addressVerification',
110
- :'address_verification_status' => :'addressVerificationStatus',
111
- :'e_delivery_status' => :'eDeliveryStatus',
112
162
  :'reference_id' => :'referenceId',
113
- :'email' => :'email',
114
- :'tin_type' => :'tinType',
115
- :'fatca_filing_requirement' => :'fatcaFilingRequirement',
116
163
  :'tin' => :'tin',
117
- :'no_tin' => :'noTin',
118
- :'second_tin_notice' => :'secondTinNotice',
119
164
  :'recipient_name' => :'recipientName',
165
+ :'tin_type' => :'tinType',
120
166
  :'recipient_second_name' => :'recipientSecondName',
121
167
  :'address' => :'address',
122
168
  :'address2' => :'address2',
123
169
  :'city' => :'city',
124
170
  :'state' => :'state',
125
171
  :'zip' => :'zip',
126
- :'non_us_province' => :'nonUsProvince',
127
- :'country_code' => :'countryCode',
172
+ :'email' => :'email',
128
173
  :'account_number' => :'accountNumber',
129
174
  :'office_code' => :'officeCode',
175
+ :'non_us_province' => :'nonUsProvince',
176
+ :'country_code' => :'countryCode',
177
+ :'federal_efile_date' => :'federalEfileDate',
178
+ :'postal_mail' => :'postalMail',
179
+ :'state_efile_date' => :'stateEfileDate',
180
+ :'recipient_edelivery_date' => :'recipientEdeliveryDate',
181
+ :'tin_match' => :'tinMatch',
182
+ :'no_tin' => :'noTin',
183
+ :'address_verification' => :'addressVerification',
184
+ :'state_and_local_withholding' => :'stateAndLocalWithholding',
185
+ :'second_tin_notice' => :'secondTinNotice',
186
+ :'federal_efile_status' => :'federalEfileStatus',
187
+ :'state_efile_status' => :'stateEfileStatus',
188
+ :'postal_mail_status' => :'postalMailStatus',
189
+ :'tin_match_status' => :'tinMatchStatus',
190
+ :'address_verification_status' => :'addressVerificationStatus',
191
+ :'e_delivery_status' => :'eDeliveryStatus',
130
192
  :'validation_errors' => :'validationErrors',
131
193
  :'created_at' => :'createdAt',
132
- :'updated_at' => :'updatedAt',
133
- :'state_and_local_withholding' => :'stateAndLocalWithholding'
194
+ :'updated_at' => :'updatedAt'
134
195
  }
135
196
  end
136
197
 
@@ -142,77 +203,86 @@ module AvalaraSdk::A1099::V2
142
203
  # Attribute type mapping.
143
204
  def self.openapi_types
144
205
  {
145
- :'id' => :'String',
146
206
  :'type' => :'String',
147
- :'issuer_id' => :'Integer',
207
+ :'id' => :'String',
208
+ :'issuer_id' => :'String',
148
209
  :'issuer_reference_id' => :'String',
149
210
  :'issuer_tin' => :'String',
150
211
  :'tax_year' => :'Integer',
151
- :'federal_efile' => :'Boolean',
152
- :'federal_efile_status' => :'Form1099StatusDetail',
153
- :'state_efile' => :'Boolean',
154
- :'state_efile_status' => :'Array<StateEfileStatusDetail>',
155
- :'postal_mail' => :'Boolean',
156
- :'postal_mail_status' => :'Form1099StatusDetail',
157
- :'tin_match' => :'Boolean',
158
- :'tin_match_status' => :'Form1099StatusDetail',
159
- :'address_verification' => :'Boolean',
160
- :'address_verification_status' => :'Form1099StatusDetail',
161
- :'e_delivery_status' => :'Form1099StatusDetail',
162
212
  :'reference_id' => :'String',
163
- :'email' => :'String',
164
- :'tin_type' => :'String',
165
- :'fatca_filing_requirement' => :'Boolean',
166
213
  :'tin' => :'String',
167
- :'no_tin' => :'Boolean',
168
- :'second_tin_notice' => :'Boolean',
169
214
  :'recipient_name' => :'String',
215
+ :'tin_type' => :'String',
170
216
  :'recipient_second_name' => :'String',
171
217
  :'address' => :'String',
172
218
  :'address2' => :'String',
173
219
  :'city' => :'String',
174
220
  :'state' => :'String',
175
221
  :'zip' => :'String',
176
- :'non_us_province' => :'String',
177
- :'country_code' => :'String',
222
+ :'email' => :'String',
178
223
  :'account_number' => :'String',
179
224
  :'office_code' => :'String',
225
+ :'non_us_province' => :'String',
226
+ :'country_code' => :'String',
227
+ :'federal_efile_date' => :'Date',
228
+ :'postal_mail' => :'Boolean',
229
+ :'state_efile_date' => :'Date',
230
+ :'recipient_edelivery_date' => :'Date',
231
+ :'tin_match' => :'Boolean',
232
+ :'no_tin' => :'Boolean',
233
+ :'address_verification' => :'Boolean',
234
+ :'state_and_local_withholding' => :'StateAndLocalWithholding',
235
+ :'second_tin_notice' => :'Boolean',
236
+ :'federal_efile_status' => :'Form1099StatusDetail',
237
+ :'state_efile_status' => :'Array<StateEfileStatusDetail>',
238
+ :'postal_mail_status' => :'Form1099StatusDetail',
239
+ :'tin_match_status' => :'Form1099StatusDetail',
240
+ :'address_verification_status' => :'Form1099StatusDetail',
241
+ :'e_delivery_status' => :'Form1099StatusDetail',
180
242
  :'validation_errors' => :'Array<ValidationError>',
181
243
  :'created_at' => :'Time',
182
- :'updated_at' => :'Time',
183
- :'state_and_local_withholding' => :'StateAndLocalWithholding'
244
+ :'updated_at' => :'Time'
184
245
  }
185
246
  end
186
247
 
187
248
  # List of attributes with nullable: true
188
249
  def self.openapi_nullable
189
250
  Set.new([
251
+ :'id',
252
+ :'issuer_id',
190
253
  :'issuer_reference_id',
191
254
  :'issuer_tin',
192
- :'state_efile_status',
193
- :'postal_mail_status',
194
- :'tin_match_status',
195
- :'address_verification_status',
196
- :'e_delivery_status',
255
+ :'tax_year',
197
256
  :'reference_id',
198
- :'email',
199
- :'tin_type',
200
- :'fatca_filing_requirement',
201
257
  :'tin',
202
- :'second_tin_notice',
203
258
  :'recipient_name',
259
+ :'tin_type',
204
260
  :'recipient_second_name',
205
261
  :'address',
206
262
  :'address2',
207
263
  :'city',
208
264
  :'state',
209
265
  :'zip',
210
- :'non_us_province',
211
- :'country_code',
266
+ :'email',
212
267
  :'account_number',
213
268
  :'office_code',
269
+ :'non_us_province',
270
+ :'country_code',
271
+ :'federal_efile_date',
272
+ :'postal_mail',
273
+ :'state_efile_date',
274
+ :'recipient_edelivery_date',
275
+ :'tin_match',
276
+ :'no_tin',
277
+ :'address_verification',
278
+ :'state_and_local_withholding',
279
+ :'federal_efile_status',
280
+ :'state_efile_status',
281
+ :'postal_mail_status',
282
+ :'tin_match_status',
283
+ :'address_verification_status',
284
+ :'e_delivery_status',
214
285
  :'validation_errors',
215
- :'state_and_local_withholding'
216
286
  ])
217
287
  end
218
288
 
@@ -231,12 +301,14 @@ module AvalaraSdk::A1099::V2
231
301
  h[k.to_sym] = v
232
302
  }
233
303
 
234
- if attributes.key?(:'id')
235
- self.id = attributes[:'id']
236
- end
237
-
238
304
  if attributes.key?(:'type')
239
305
  self.type = attributes[:'type']
306
+ else
307
+ self.type = nil
308
+ end
309
+
310
+ if attributes.key?(:'id')
311
+ self.id = attributes[:'id']
240
312
  end
241
313
 
242
314
  if attributes.key?(:'issuer_id')
@@ -255,122 +327,134 @@ module AvalaraSdk::A1099::V2
255
327
  self.tax_year = attributes[:'tax_year']
256
328
  end
257
329
 
258
- if attributes.key?(:'federal_efile')
259
- self.federal_efile = attributes[:'federal_efile']
330
+ if attributes.key?(:'reference_id')
331
+ self.reference_id = attributes[:'reference_id']
332
+ end
333
+
334
+ if attributes.key?(:'tin')
335
+ self.tin = attributes[:'tin']
260
336
  end
261
337
 
262
- if attributes.key?(:'federal_efile_status')
263
- self.federal_efile_status = attributes[:'federal_efile_status']
338
+ if attributes.key?(:'recipient_name')
339
+ self.recipient_name = attributes[:'recipient_name']
340
+ else
341
+ self.recipient_name = nil
264
342
  end
265
343
 
266
- if attributes.key?(:'state_efile')
267
- self.state_efile = attributes[:'state_efile']
344
+ if attributes.key?(:'tin_type')
345
+ self.tin_type = attributes[:'tin_type']
268
346
  end
269
347
 
270
- if attributes.key?(:'state_efile_status')
271
- if (value = attributes[:'state_efile_status']).is_a?(Array)
272
- self.state_efile_status = value
273
- end
348
+ if attributes.key?(:'recipient_second_name')
349
+ self.recipient_second_name = attributes[:'recipient_second_name']
274
350
  end
275
351
 
276
- if attributes.key?(:'postal_mail')
277
- self.postal_mail = attributes[:'postal_mail']
352
+ if attributes.key?(:'address')
353
+ self.address = attributes[:'address']
354
+ else
355
+ self.address = nil
278
356
  end
279
357
 
280
- if attributes.key?(:'postal_mail_status')
281
- self.postal_mail_status = attributes[:'postal_mail_status']
358
+ if attributes.key?(:'address2')
359
+ self.address2 = attributes[:'address2']
282
360
  end
283
361
 
284
- if attributes.key?(:'tin_match')
285
- self.tin_match = attributes[:'tin_match']
362
+ if attributes.key?(:'city')
363
+ self.city = attributes[:'city']
364
+ else
365
+ self.city = nil
286
366
  end
287
367
 
288
- if attributes.key?(:'tin_match_status')
289
- self.tin_match_status = attributes[:'tin_match_status']
368
+ if attributes.key?(:'state')
369
+ self.state = attributes[:'state']
290
370
  end
291
371
 
292
- if attributes.key?(:'address_verification')
293
- self.address_verification = attributes[:'address_verification']
372
+ if attributes.key?(:'zip')
373
+ self.zip = attributes[:'zip']
294
374
  end
295
375
 
296
- if attributes.key?(:'address_verification_status')
297
- self.address_verification_status = attributes[:'address_verification_status']
376
+ if attributes.key?(:'email')
377
+ self.email = attributes[:'email']
298
378
  end
299
379
 
300
- if attributes.key?(:'e_delivery_status')
301
- self.e_delivery_status = attributes[:'e_delivery_status']
380
+ if attributes.key?(:'account_number')
381
+ self.account_number = attributes[:'account_number']
302
382
  end
303
383
 
304
- if attributes.key?(:'reference_id')
305
- self.reference_id = attributes[:'reference_id']
384
+ if attributes.key?(:'office_code')
385
+ self.office_code = attributes[:'office_code']
306
386
  end
307
387
 
308
- if attributes.key?(:'email')
309
- self.email = attributes[:'email']
388
+ if attributes.key?(:'non_us_province')
389
+ self.non_us_province = attributes[:'non_us_province']
310
390
  end
311
391
 
312
- if attributes.key?(:'tin_type')
313
- self.tin_type = attributes[:'tin_type']
392
+ if attributes.key?(:'country_code')
393
+ self.country_code = attributes[:'country_code']
394
+ else
395
+ self.country_code = nil
314
396
  end
315
397
 
316
- if attributes.key?(:'fatca_filing_requirement')
317
- self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
398
+ if attributes.key?(:'federal_efile_date')
399
+ self.federal_efile_date = attributes[:'federal_efile_date']
318
400
  end
319
401
 
320
- if attributes.key?(:'tin')
321
- self.tin = attributes[:'tin']
402
+ if attributes.key?(:'postal_mail')
403
+ self.postal_mail = attributes[:'postal_mail']
322
404
  end
323
405
 
324
- if attributes.key?(:'no_tin')
325
- self.no_tin = attributes[:'no_tin']
406
+ if attributes.key?(:'state_efile_date')
407
+ self.state_efile_date = attributes[:'state_efile_date']
326
408
  end
327
409
 
328
- if attributes.key?(:'second_tin_notice')
329
- self.second_tin_notice = attributes[:'second_tin_notice']
410
+ if attributes.key?(:'recipient_edelivery_date')
411
+ self.recipient_edelivery_date = attributes[:'recipient_edelivery_date']
330
412
  end
331
413
 
332
- if attributes.key?(:'recipient_name')
333
- self.recipient_name = attributes[:'recipient_name']
414
+ if attributes.key?(:'tin_match')
415
+ self.tin_match = attributes[:'tin_match']
334
416
  end
335
417
 
336
- if attributes.key?(:'recipient_second_name')
337
- self.recipient_second_name = attributes[:'recipient_second_name']
418
+ if attributes.key?(:'no_tin')
419
+ self.no_tin = attributes[:'no_tin']
338
420
  end
339
421
 
340
- if attributes.key?(:'address')
341
- self.address = attributes[:'address']
422
+ if attributes.key?(:'address_verification')
423
+ self.address_verification = attributes[:'address_verification']
342
424
  end
343
425
 
344
- if attributes.key?(:'address2')
345
- self.address2 = attributes[:'address2']
426
+ if attributes.key?(:'state_and_local_withholding')
427
+ self.state_and_local_withholding = attributes[:'state_and_local_withholding']
346
428
  end
347
429
 
348
- if attributes.key?(:'city')
349
- self.city = attributes[:'city']
430
+ if attributes.key?(:'second_tin_notice')
431
+ self.second_tin_notice = attributes[:'second_tin_notice']
350
432
  end
351
433
 
352
- if attributes.key?(:'state')
353
- self.state = attributes[:'state']
434
+ if attributes.key?(:'federal_efile_status')
435
+ self.federal_efile_status = attributes[:'federal_efile_status']
354
436
  end
355
437
 
356
- if attributes.key?(:'zip')
357
- self.zip = attributes[:'zip']
438
+ if attributes.key?(:'state_efile_status')
439
+ if (value = attributes[:'state_efile_status']).is_a?(Array)
440
+ self.state_efile_status = value
441
+ end
358
442
  end
359
443
 
360
- if attributes.key?(:'non_us_province')
361
- self.non_us_province = attributes[:'non_us_province']
444
+ if attributes.key?(:'postal_mail_status')
445
+ self.postal_mail_status = attributes[:'postal_mail_status']
362
446
  end
363
447
 
364
- if attributes.key?(:'country_code')
365
- self.country_code = attributes[:'country_code']
448
+ if attributes.key?(:'tin_match_status')
449
+ self.tin_match_status = attributes[:'tin_match_status']
366
450
  end
367
451
 
368
- if attributes.key?(:'account_number')
369
- self.account_number = attributes[:'account_number']
452
+ if attributes.key?(:'address_verification_status')
453
+ self.address_verification_status = attributes[:'address_verification_status']
370
454
  end
371
455
 
372
- if attributes.key?(:'office_code')
373
- self.office_code = attributes[:'office_code']
456
+ if attributes.key?(:'e_delivery_status')
457
+ self.e_delivery_status = attributes[:'e_delivery_status']
374
458
  end
375
459
 
376
460
  if attributes.key?(:'validation_errors')
@@ -386,10 +470,6 @@ module AvalaraSdk::A1099::V2
386
470
  if attributes.key?(:'updated_at')
387
471
  self.updated_at = attributes[:'updated_at']
388
472
  end
389
-
390
- if attributes.key?(:'state_and_local_withholding')
391
- self.state_and_local_withholding = attributes[:'state_and_local_withholding']
392
- end
393
473
  end
394
474
 
395
475
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -397,6 +477,10 @@ module AvalaraSdk::A1099::V2
397
477
  def list_invalid_properties
398
478
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
399
479
  invalid_properties = Array.new
480
+ if @type.nil?
481
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
482
+ end
483
+
400
484
  invalid_properties
401
485
  end
402
486
 
@@ -404,9 +488,34 @@ module AvalaraSdk::A1099::V2
404
488
  # @return true if the model is valid
405
489
  def valid?
406
490
  warn '[DEPRECATED] the `valid?` method is obsolete'
491
+ return false if @type.nil?
492
+ type_validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
493
+ return false unless type_validator.valid?(@type)
494
+ tin_type_validator = EnumAttributeValidator.new('String', ["Empty", "EIN", "SSN", "ITIN", "ATIN"])
495
+ return false unless tin_type_validator.valid?(@tin_type)
407
496
  true
408
497
  end
409
498
 
499
+ # Custom attribute writer method checking allowed values (enum).
500
+ # @param [Object] type Object to be assigned
501
+ def type=(type)
502
+ validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
503
+ unless validator.valid?(type)
504
+ fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
505
+ end
506
+ @type = type
507
+ end
508
+
509
+ # Custom attribute writer method checking allowed values (enum).
510
+ # @param [Object] tin_type Object to be assigned
511
+ def tin_type=(tin_type)
512
+ validator = EnumAttributeValidator.new('String', ["Empty", "EIN", "SSN", "ITIN", "ATIN"])
513
+ unless validator.valid?(tin_type)
514
+ fail ArgumentError, "invalid value for \"tin_type\", must be one of #{validator.allowable_values}."
515
+ end
516
+ @tin_type = tin_type
517
+ end
518
+
410
519
  # Custom attribute writer method with validation
411
520
  # @param [Object] state_efile_status Value to be assigned
412
521
  def state_efile_status=(state_efile_status)
@@ -424,45 +533,45 @@ module AvalaraSdk::A1099::V2
424
533
  def ==(o)
425
534
  return true if self.equal?(o)
426
535
  self.class == o.class &&
427
- id == o.id &&
428
536
  type == o.type &&
537
+ id == o.id &&
429
538
  issuer_id == o.issuer_id &&
430
539
  issuer_reference_id == o.issuer_reference_id &&
431
540
  issuer_tin == o.issuer_tin &&
432
541
  tax_year == o.tax_year &&
433
- federal_efile == o.federal_efile &&
434
- federal_efile_status == o.federal_efile_status &&
435
- state_efile == o.state_efile &&
436
- state_efile_status == o.state_efile_status &&
437
- postal_mail == o.postal_mail &&
438
- postal_mail_status == o.postal_mail_status &&
439
- tin_match == o.tin_match &&
440
- tin_match_status == o.tin_match_status &&
441
- address_verification == o.address_verification &&
442
- address_verification_status == o.address_verification_status &&
443
- e_delivery_status == o.e_delivery_status &&
444
542
  reference_id == o.reference_id &&
445
- email == o.email &&
446
- tin_type == o.tin_type &&
447
- fatca_filing_requirement == o.fatca_filing_requirement &&
448
543
  tin == o.tin &&
449
- no_tin == o.no_tin &&
450
- second_tin_notice == o.second_tin_notice &&
451
544
  recipient_name == o.recipient_name &&
545
+ tin_type == o.tin_type &&
452
546
  recipient_second_name == o.recipient_second_name &&
453
547
  address == o.address &&
454
548
  address2 == o.address2 &&
455
549
  city == o.city &&
456
550
  state == o.state &&
457
551
  zip == o.zip &&
458
- non_us_province == o.non_us_province &&
459
- country_code == o.country_code &&
552
+ email == o.email &&
460
553
  account_number == o.account_number &&
461
554
  office_code == o.office_code &&
555
+ non_us_province == o.non_us_province &&
556
+ country_code == o.country_code &&
557
+ federal_efile_date == o.federal_efile_date &&
558
+ postal_mail == o.postal_mail &&
559
+ state_efile_date == o.state_efile_date &&
560
+ recipient_edelivery_date == o.recipient_edelivery_date &&
561
+ tin_match == o.tin_match &&
562
+ no_tin == o.no_tin &&
563
+ address_verification == o.address_verification &&
564
+ state_and_local_withholding == o.state_and_local_withholding &&
565
+ second_tin_notice == o.second_tin_notice &&
566
+ federal_efile_status == o.federal_efile_status &&
567
+ state_efile_status == o.state_efile_status &&
568
+ postal_mail_status == o.postal_mail_status &&
569
+ tin_match_status == o.tin_match_status &&
570
+ address_verification_status == o.address_verification_status &&
571
+ e_delivery_status == o.e_delivery_status &&
462
572
  validation_errors == o.validation_errors &&
463
573
  created_at == o.created_at &&
464
- updated_at == o.updated_at &&
465
- state_and_local_withholding == o.state_and_local_withholding
574
+ updated_at == o.updated_at
466
575
  end
467
576
 
468
577
  # @see the `==` method
@@ -474,7 +583,7 @@ module AvalaraSdk::A1099::V2
474
583
  # Calculates hash code according to all attributes.
475
584
  # @return [Integer] Hash code
476
585
  def hash
477
- [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, fatca_filing_requirement, 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, validation_errors, created_at, updated_at, state_and_local_withholding].hash
586
+ [type, id, issuer_id, issuer_reference_id, issuer_tin, tax_year, reference_id, tin, recipient_name, tin_type, recipient_second_name, address, address2, city, state, zip, email, account_number, office_code, non_us_province, country_code, federal_efile_date, postal_mail, state_efile_date, recipient_edelivery_date, tin_match, no_tin, address_verification, state_and_local_withholding, second_tin_notice, federal_efile_status, state_efile_status, postal_mail_status, tin_match_status, address_verification_status, e_delivery_status, validation_errors, created_at, updated_at].hash
478
587
  end
479
588
 
480
589
  # Builds the object from hash