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,111 +11,189 @@ require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
13
  class Form1099Int
14
+ # Interest Income
14
15
  attr_accessor :interest_income
15
16
 
17
+ # Early Withdrawal Penalty
16
18
  attr_accessor :early_withdrawal_penalty
17
19
 
20
+ # Interest on U.S. Savings Bonds and Treasury obligations
18
21
  attr_accessor :us_savings_bonds_interest
19
22
 
23
+ # Federal income tax withheld
20
24
  attr_accessor :federal_income_tax_withheld
21
25
 
26
+ # Investment Expenses
22
27
  attr_accessor :investment_expenses
23
28
 
29
+ # Foreign tax paid
24
30
  attr_accessor :foreign_tax_paid
25
31
 
32
+ # Foreign country or U.S. possession
26
33
  attr_accessor :foreign_country
27
34
 
35
+ # Tax-Exempt Interest
28
36
  attr_accessor :tax_exempt_interest
29
37
 
38
+ # Specified Private activity
30
39
  attr_accessor :specified_private_activity_bond_interest
31
40
 
41
+ # Market Discount
32
42
  attr_accessor :market_discount
33
43
 
44
+ # Bond Premium
34
45
  attr_accessor :bond_premium
35
46
 
47
+ # Bond Premium on Treasury obligations
36
48
  attr_accessor :bond_premium_on_treasury_obligations
37
49
 
50
+ # Bond Premium on tax exempt bond
38
51
  attr_accessor :bond_premium_on_tax_exempt_bond
39
52
 
53
+ # Tax exempt bond CUSIP no.
40
54
  attr_accessor :tax_exempt_bond_cusip_number
41
55
 
42
- attr_accessor :id
56
+ # FATCA filing requirement
57
+ attr_accessor :fatca_filing_requirement
43
58
 
59
+ # Form type
44
60
  attr_accessor :type
45
61
 
62
+ # Form ID. Unique identifier set when the record is created.
63
+ attr_accessor :id
64
+
65
+ # Issuer ID - only required when creating forms
46
66
  attr_accessor :issuer_id
47
67
 
68
+ # Issuer Reference ID - only required when creating forms
48
69
  attr_accessor :issuer_reference_id
49
70
 
71
+ # Issuer TIN - readonly
50
72
  attr_accessor :issuer_tin
51
73
 
74
+ # Tax Year - only required when creating forms
52
75
  attr_accessor :tax_year
53
76
 
54
- attr_accessor :federal_efile
77
+ # Internal reference ID. Never shown to any agency or recipient.
78
+ attr_accessor :reference_id
55
79
 
56
- attr_accessor :federal_efile_status
80
+ # Recipient's Federal Tax Identification Number (TIN).
81
+ attr_accessor :tin
57
82
 
58
- attr_accessor :state_efile
83
+ # Recipient name
84
+ attr_accessor :recipient_name
59
85
 
60
- attr_accessor :state_efile_status
86
+ # Type of TIN (Tax ID Number)
87
+ attr_accessor :tin_type
61
88
 
62
- attr_accessor :postal_mail
89
+ # Recipient second name
90
+ attr_accessor :recipient_second_name
63
91
 
64
- attr_accessor :postal_mail_status
92
+ # Address.
93
+ attr_accessor :address
65
94
 
66
- attr_accessor :tin_match
95
+ # Address line 2.
96
+ attr_accessor :address2
67
97
 
68
- attr_accessor :tin_match_status
98
+ # City.
99
+ attr_accessor :city
69
100
 
70
- attr_accessor :address_verification
101
+ # Two-letter US state or Canadian province code (required for US/CA addresses).
102
+ attr_accessor :state
71
103
 
72
- attr_accessor :address_verification_status
104
+ # ZIP/postal code.
105
+ attr_accessor :zip
73
106
 
74
- attr_accessor :e_delivery_status
107
+ # Recipient's Contact email address.
108
+ attr_accessor :email
75
109
 
76
- attr_accessor :reference_id
110
+ # Account number
111
+ attr_accessor :account_number
77
112
 
78
- attr_accessor :email
113
+ # Office code
114
+ attr_accessor :office_code
79
115
 
80
- attr_accessor :tin_type
116
+ # Province or region for non-US/CA addresses.
117
+ attr_accessor :non_us_province
81
118
 
82
- attr_accessor :fatca_filing_requirement
119
+ # Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes.
120
+ attr_accessor :country_code
83
121
 
84
- attr_accessor :tin
122
+ # Date when federal e-filing should be scheduled for this form
123
+ attr_accessor :federal_efile_date
85
124
 
86
- attr_accessor :no_tin
125
+ # Boolean indicating that postal mailing to the recipient should be scheduled for this form
126
+ attr_accessor :postal_mail
87
127
 
88
- attr_accessor :second_tin_notice
128
+ # Date when state e-filing should be scheduled for this form
129
+ attr_accessor :state_efile_date
89
130
 
90
- attr_accessor :recipient_name
131
+ # Date when recipient e-delivery should be scheduled for this form
132
+ attr_accessor :recipient_edelivery_date
91
133
 
92
- attr_accessor :recipient_second_name
134
+ # Boolean indicating that TIN Matching should be scheduled for this form
135
+ attr_accessor :tin_match
93
136
 
94
- attr_accessor :address
137
+ # No TIN indicator
138
+ attr_accessor :no_tin
95
139
 
96
- attr_accessor :address2
140
+ # Boolean indicating that address verification should be scheduled for this form
141
+ attr_accessor :address_verification
97
142
 
98
- attr_accessor :city
143
+ # State and local withholding information
144
+ attr_accessor :state_and_local_withholding
99
145
 
100
- attr_accessor :state
146
+ # Second TIN notice
147
+ attr_accessor :second_tin_notice
101
148
 
102
- attr_accessor :zip
149
+ # Federal e-file status
150
+ attr_accessor :federal_efile_status
103
151
 
104
- attr_accessor :non_us_province
152
+ # State e-file status
153
+ attr_accessor :state_efile_status
105
154
 
106
- attr_accessor :country_code
155
+ # Postal mail to recipient status
156
+ attr_accessor :postal_mail_status
107
157
 
108
- attr_accessor :account_number
158
+ # TIN Match status
159
+ attr_accessor :tin_match_status
109
160
 
110
- attr_accessor :office_code
161
+ # Address verification status
162
+ attr_accessor :address_verification_status
111
163
 
164
+ # EDelivery status
165
+ attr_accessor :e_delivery_status
166
+
167
+ # Validation errors
112
168
  attr_accessor :validation_errors
113
169
 
170
+ # Date time when the record was created.
114
171
  attr_accessor :created_at
115
172
 
173
+ # Date time when the record was last updated.
116
174
  attr_accessor :updated_at
117
175
 
118
- attr_accessor :state_and_local_withholding
176
+ class EnumAttributeValidator
177
+ attr_reader :datatype
178
+ attr_reader :allowable_values
179
+
180
+ def initialize(datatype, allowable_values)
181
+ @allowable_values = allowable_values.map do |value|
182
+ case datatype.to_s
183
+ when /Integer/i
184
+ value.to_i
185
+ when /Float/i
186
+ value.to_f
187
+ else
188
+ value
189
+ end
190
+ end
191
+ end
192
+
193
+ def valid?(value)
194
+ !value || allowable_values.include?(value)
195
+ end
196
+ end
119
197
 
120
198
  # Attribute mapping from ruby-style variable name to JSON key.
121
199
  def self.attribute_map
@@ -134,45 +212,46 @@ module AvalaraSdk::A1099::V2
134
212
  :'bond_premium_on_treasury_obligations' => :'bondPremiumOnTreasuryObligations',
135
213
  :'bond_premium_on_tax_exempt_bond' => :'bondPremiumOnTaxExemptBond',
136
214
  :'tax_exempt_bond_cusip_number' => :'taxExemptBondCusipNumber',
137
- :'id' => :'id',
215
+ :'fatca_filing_requirement' => :'fatcaFilingRequirement',
138
216
  :'type' => :'type',
217
+ :'id' => :'id',
139
218
  :'issuer_id' => :'issuerId',
140
219
  :'issuer_reference_id' => :'issuerReferenceId',
141
220
  :'issuer_tin' => :'issuerTin',
142
221
  :'tax_year' => :'taxYear',
143
- :'federal_efile' => :'federalEfile',
144
- :'federal_efile_status' => :'federalEfileStatus',
145
- :'state_efile' => :'stateEfile',
146
- :'state_efile_status' => :'stateEfileStatus',
147
- :'postal_mail' => :'postalMail',
148
- :'postal_mail_status' => :'postalMailStatus',
149
- :'tin_match' => :'tinMatch',
150
- :'tin_match_status' => :'tinMatchStatus',
151
- :'address_verification' => :'addressVerification',
152
- :'address_verification_status' => :'addressVerificationStatus',
153
- :'e_delivery_status' => :'eDeliveryStatus',
154
222
  :'reference_id' => :'referenceId',
155
- :'email' => :'email',
156
- :'tin_type' => :'tinType',
157
- :'fatca_filing_requirement' => :'fatcaFilingRequirement',
158
223
  :'tin' => :'tin',
159
- :'no_tin' => :'noTin',
160
- :'second_tin_notice' => :'secondTinNotice',
161
224
  :'recipient_name' => :'recipientName',
225
+ :'tin_type' => :'tinType',
162
226
  :'recipient_second_name' => :'recipientSecondName',
163
227
  :'address' => :'address',
164
228
  :'address2' => :'address2',
165
229
  :'city' => :'city',
166
230
  :'state' => :'state',
167
231
  :'zip' => :'zip',
168
- :'non_us_province' => :'nonUsProvince',
169
- :'country_code' => :'countryCode',
232
+ :'email' => :'email',
170
233
  :'account_number' => :'accountNumber',
171
234
  :'office_code' => :'officeCode',
235
+ :'non_us_province' => :'nonUsProvince',
236
+ :'country_code' => :'countryCode',
237
+ :'federal_efile_date' => :'federalEfileDate',
238
+ :'postal_mail' => :'postalMail',
239
+ :'state_efile_date' => :'stateEfileDate',
240
+ :'recipient_edelivery_date' => :'recipientEdeliveryDate',
241
+ :'tin_match' => :'tinMatch',
242
+ :'no_tin' => :'noTin',
243
+ :'address_verification' => :'addressVerification',
244
+ :'state_and_local_withholding' => :'stateAndLocalWithholding',
245
+ :'second_tin_notice' => :'secondTinNotice',
246
+ :'federal_efile_status' => :'federalEfileStatus',
247
+ :'state_efile_status' => :'stateEfileStatus',
248
+ :'postal_mail_status' => :'postalMailStatus',
249
+ :'tin_match_status' => :'tinMatchStatus',
250
+ :'address_verification_status' => :'addressVerificationStatus',
251
+ :'e_delivery_status' => :'eDeliveryStatus',
172
252
  :'validation_errors' => :'validationErrors',
173
253
  :'created_at' => :'createdAt',
174
- :'updated_at' => :'updatedAt',
175
- :'state_and_local_withholding' => :'stateAndLocalWithholding'
254
+ :'updated_at' => :'updatedAt'
176
255
  }
177
256
  end
178
257
 
@@ -198,45 +277,46 @@ module AvalaraSdk::A1099::V2
198
277
  :'bond_premium_on_treasury_obligations' => :'Float',
199
278
  :'bond_premium_on_tax_exempt_bond' => :'Float',
200
279
  :'tax_exempt_bond_cusip_number' => :'String',
201
- :'id' => :'String',
280
+ :'fatca_filing_requirement' => :'Boolean',
202
281
  :'type' => :'String',
203
- :'issuer_id' => :'Integer',
282
+ :'id' => :'String',
283
+ :'issuer_id' => :'String',
204
284
  :'issuer_reference_id' => :'String',
205
285
  :'issuer_tin' => :'String',
206
286
  :'tax_year' => :'Integer',
207
- :'federal_efile' => :'Boolean',
208
- :'federal_efile_status' => :'Form1099StatusDetail',
209
- :'state_efile' => :'Boolean',
210
- :'state_efile_status' => :'Array<StateEfileStatusDetail>',
211
- :'postal_mail' => :'Boolean',
212
- :'postal_mail_status' => :'Form1099StatusDetail',
213
- :'tin_match' => :'Boolean',
214
- :'tin_match_status' => :'Form1099StatusDetail',
215
- :'address_verification' => :'Boolean',
216
- :'address_verification_status' => :'Form1099StatusDetail',
217
- :'e_delivery_status' => :'Form1099StatusDetail',
218
287
  :'reference_id' => :'String',
219
- :'email' => :'String',
220
- :'tin_type' => :'String',
221
- :'fatca_filing_requirement' => :'Boolean',
222
288
  :'tin' => :'String',
223
- :'no_tin' => :'Boolean',
224
- :'second_tin_notice' => :'Boolean',
225
289
  :'recipient_name' => :'String',
290
+ :'tin_type' => :'String',
226
291
  :'recipient_second_name' => :'String',
227
292
  :'address' => :'String',
228
293
  :'address2' => :'String',
229
294
  :'city' => :'String',
230
295
  :'state' => :'String',
231
296
  :'zip' => :'String',
232
- :'non_us_province' => :'String',
233
- :'country_code' => :'String',
297
+ :'email' => :'String',
234
298
  :'account_number' => :'String',
235
299
  :'office_code' => :'String',
300
+ :'non_us_province' => :'String',
301
+ :'country_code' => :'String',
302
+ :'federal_efile_date' => :'Date',
303
+ :'postal_mail' => :'Boolean',
304
+ :'state_efile_date' => :'Date',
305
+ :'recipient_edelivery_date' => :'Date',
306
+ :'tin_match' => :'Boolean',
307
+ :'no_tin' => :'Boolean',
308
+ :'address_verification' => :'Boolean',
309
+ :'state_and_local_withholding' => :'StateAndLocalWithholding',
310
+ :'second_tin_notice' => :'Boolean',
311
+ :'federal_efile_status' => :'Form1099StatusDetail',
312
+ :'state_efile_status' => :'Array<StateEfileStatusDetail>',
313
+ :'postal_mail_status' => :'Form1099StatusDetail',
314
+ :'tin_match_status' => :'Form1099StatusDetail',
315
+ :'address_verification_status' => :'Form1099StatusDetail',
316
+ :'e_delivery_status' => :'Form1099StatusDetail',
236
317
  :'validation_errors' => :'Array<ValidationError>',
237
318
  :'created_at' => :'Time',
238
- :'updated_at' => :'Time',
239
- :'state_and_local_withholding' => :'StateAndLocalWithholding'
319
+ :'updated_at' => :'Time'
240
320
  }
241
321
  end
242
322
 
@@ -257,32 +337,42 @@ module AvalaraSdk::A1099::V2
257
337
  :'bond_premium_on_treasury_obligations',
258
338
  :'bond_premium_on_tax_exempt_bond',
259
339
  :'tax_exempt_bond_cusip_number',
340
+ :'fatca_filing_requirement',
341
+ :'id',
342
+ :'issuer_id',
260
343
  :'issuer_reference_id',
261
344
  :'issuer_tin',
262
- :'state_efile_status',
263
- :'postal_mail_status',
264
- :'tin_match_status',
265
- :'address_verification_status',
266
- :'e_delivery_status',
345
+ :'tax_year',
267
346
  :'reference_id',
268
- :'email',
269
- :'tin_type',
270
- :'fatca_filing_requirement',
271
347
  :'tin',
272
- :'second_tin_notice',
273
348
  :'recipient_name',
349
+ :'tin_type',
274
350
  :'recipient_second_name',
275
351
  :'address',
276
352
  :'address2',
277
353
  :'city',
278
354
  :'state',
279
355
  :'zip',
280
- :'non_us_province',
281
- :'country_code',
356
+ :'email',
282
357
  :'account_number',
283
358
  :'office_code',
359
+ :'non_us_province',
360
+ :'country_code',
361
+ :'federal_efile_date',
362
+ :'postal_mail',
363
+ :'state_efile_date',
364
+ :'recipient_edelivery_date',
365
+ :'tin_match',
366
+ :'no_tin',
367
+ :'address_verification',
368
+ :'state_and_local_withholding',
369
+ :'federal_efile_status',
370
+ :'state_efile_status',
371
+ :'postal_mail_status',
372
+ :'tin_match_status',
373
+ :'address_verification_status',
374
+ :'e_delivery_status',
284
375
  :'validation_errors',
285
- :'state_and_local_withholding'
286
376
  ])
287
377
  end
288
378
 
@@ -364,12 +454,18 @@ module AvalaraSdk::A1099::V2
364
454
  self.tax_exempt_bond_cusip_number = attributes[:'tax_exempt_bond_cusip_number']
365
455
  end
366
456
 
367
- if attributes.key?(:'id')
368
- self.id = attributes[:'id']
457
+ if attributes.key?(:'fatca_filing_requirement')
458
+ self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
369
459
  end
370
460
 
371
461
  if attributes.key?(:'type')
372
462
  self.type = attributes[:'type']
463
+ else
464
+ self.type = nil
465
+ end
466
+
467
+ if attributes.key?(:'id')
468
+ self.id = attributes[:'id']
373
469
  end
374
470
 
375
471
  if attributes.key?(:'issuer_id')
@@ -388,122 +484,134 @@ module AvalaraSdk::A1099::V2
388
484
  self.tax_year = attributes[:'tax_year']
389
485
  end
390
486
 
391
- if attributes.key?(:'federal_efile')
392
- self.federal_efile = attributes[:'federal_efile']
487
+ if attributes.key?(:'reference_id')
488
+ self.reference_id = attributes[:'reference_id']
393
489
  end
394
490
 
395
- if attributes.key?(:'federal_efile_status')
396
- self.federal_efile_status = attributes[:'federal_efile_status']
491
+ if attributes.key?(:'tin')
492
+ self.tin = attributes[:'tin']
397
493
  end
398
494
 
399
- if attributes.key?(:'state_efile')
400
- self.state_efile = attributes[:'state_efile']
495
+ if attributes.key?(:'recipient_name')
496
+ self.recipient_name = attributes[:'recipient_name']
497
+ else
498
+ self.recipient_name = nil
401
499
  end
402
500
 
403
- if attributes.key?(:'state_efile_status')
404
- if (value = attributes[:'state_efile_status']).is_a?(Array)
405
- self.state_efile_status = value
406
- end
501
+ if attributes.key?(:'tin_type')
502
+ self.tin_type = attributes[:'tin_type']
407
503
  end
408
504
 
409
- if attributes.key?(:'postal_mail')
410
- self.postal_mail = attributes[:'postal_mail']
505
+ if attributes.key?(:'recipient_second_name')
506
+ self.recipient_second_name = attributes[:'recipient_second_name']
411
507
  end
412
508
 
413
- if attributes.key?(:'postal_mail_status')
414
- self.postal_mail_status = attributes[:'postal_mail_status']
509
+ if attributes.key?(:'address')
510
+ self.address = attributes[:'address']
511
+ else
512
+ self.address = nil
415
513
  end
416
514
 
417
- if attributes.key?(:'tin_match')
418
- self.tin_match = attributes[:'tin_match']
515
+ if attributes.key?(:'address2')
516
+ self.address2 = attributes[:'address2']
419
517
  end
420
518
 
421
- if attributes.key?(:'tin_match_status')
422
- self.tin_match_status = attributes[:'tin_match_status']
519
+ if attributes.key?(:'city')
520
+ self.city = attributes[:'city']
521
+ else
522
+ self.city = nil
423
523
  end
424
524
 
425
- if attributes.key?(:'address_verification')
426
- self.address_verification = attributes[:'address_verification']
525
+ if attributes.key?(:'state')
526
+ self.state = attributes[:'state']
427
527
  end
428
528
 
429
- if attributes.key?(:'address_verification_status')
430
- self.address_verification_status = attributes[:'address_verification_status']
529
+ if attributes.key?(:'zip')
530
+ self.zip = attributes[:'zip']
431
531
  end
432
532
 
433
- if attributes.key?(:'e_delivery_status')
434
- self.e_delivery_status = attributes[:'e_delivery_status']
533
+ if attributes.key?(:'email')
534
+ self.email = attributes[:'email']
435
535
  end
436
536
 
437
- if attributes.key?(:'reference_id')
438
- self.reference_id = attributes[:'reference_id']
537
+ if attributes.key?(:'account_number')
538
+ self.account_number = attributes[:'account_number']
439
539
  end
440
540
 
441
- if attributes.key?(:'email')
442
- self.email = attributes[:'email']
541
+ if attributes.key?(:'office_code')
542
+ self.office_code = attributes[:'office_code']
443
543
  end
444
544
 
445
- if attributes.key?(:'tin_type')
446
- self.tin_type = attributes[:'tin_type']
545
+ if attributes.key?(:'non_us_province')
546
+ self.non_us_province = attributes[:'non_us_province']
447
547
  end
448
548
 
449
- if attributes.key?(:'fatca_filing_requirement')
450
- self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
549
+ if attributes.key?(:'country_code')
550
+ self.country_code = attributes[:'country_code']
551
+ else
552
+ self.country_code = nil
451
553
  end
452
554
 
453
- if attributes.key?(:'tin')
454
- self.tin = attributes[:'tin']
555
+ if attributes.key?(:'federal_efile_date')
556
+ self.federal_efile_date = attributes[:'federal_efile_date']
455
557
  end
456
558
 
457
- if attributes.key?(:'no_tin')
458
- self.no_tin = attributes[:'no_tin']
559
+ if attributes.key?(:'postal_mail')
560
+ self.postal_mail = attributes[:'postal_mail']
459
561
  end
460
562
 
461
- if attributes.key?(:'second_tin_notice')
462
- self.second_tin_notice = attributes[:'second_tin_notice']
563
+ if attributes.key?(:'state_efile_date')
564
+ self.state_efile_date = attributes[:'state_efile_date']
463
565
  end
464
566
 
465
- if attributes.key?(:'recipient_name')
466
- self.recipient_name = attributes[:'recipient_name']
567
+ if attributes.key?(:'recipient_edelivery_date')
568
+ self.recipient_edelivery_date = attributes[:'recipient_edelivery_date']
467
569
  end
468
570
 
469
- if attributes.key?(:'recipient_second_name')
470
- self.recipient_second_name = attributes[:'recipient_second_name']
571
+ if attributes.key?(:'tin_match')
572
+ self.tin_match = attributes[:'tin_match']
471
573
  end
472
574
 
473
- if attributes.key?(:'address')
474
- self.address = attributes[:'address']
575
+ if attributes.key?(:'no_tin')
576
+ self.no_tin = attributes[:'no_tin']
475
577
  end
476
578
 
477
- if attributes.key?(:'address2')
478
- self.address2 = attributes[:'address2']
579
+ if attributes.key?(:'address_verification')
580
+ self.address_verification = attributes[:'address_verification']
479
581
  end
480
582
 
481
- if attributes.key?(:'city')
482
- self.city = attributes[:'city']
583
+ if attributes.key?(:'state_and_local_withholding')
584
+ self.state_and_local_withholding = attributes[:'state_and_local_withholding']
483
585
  end
484
586
 
485
- if attributes.key?(:'state')
486
- self.state = attributes[:'state']
587
+ if attributes.key?(:'second_tin_notice')
588
+ self.second_tin_notice = attributes[:'second_tin_notice']
487
589
  end
488
590
 
489
- if attributes.key?(:'zip')
490
- self.zip = attributes[:'zip']
591
+ if attributes.key?(:'federal_efile_status')
592
+ self.federal_efile_status = attributes[:'federal_efile_status']
491
593
  end
492
594
 
493
- if attributes.key?(:'non_us_province')
494
- self.non_us_province = attributes[:'non_us_province']
595
+ if attributes.key?(:'state_efile_status')
596
+ if (value = attributes[:'state_efile_status']).is_a?(Array)
597
+ self.state_efile_status = value
598
+ end
495
599
  end
496
600
 
497
- if attributes.key?(:'country_code')
498
- self.country_code = attributes[:'country_code']
601
+ if attributes.key?(:'postal_mail_status')
602
+ self.postal_mail_status = attributes[:'postal_mail_status']
499
603
  end
500
604
 
501
- if attributes.key?(:'account_number')
502
- self.account_number = attributes[:'account_number']
605
+ if attributes.key?(:'tin_match_status')
606
+ self.tin_match_status = attributes[:'tin_match_status']
503
607
  end
504
608
 
505
- if attributes.key?(:'office_code')
506
- self.office_code = attributes[:'office_code']
609
+ if attributes.key?(:'address_verification_status')
610
+ self.address_verification_status = attributes[:'address_verification_status']
611
+ end
612
+
613
+ if attributes.key?(:'e_delivery_status')
614
+ self.e_delivery_status = attributes[:'e_delivery_status']
507
615
  end
508
616
 
509
617
  if attributes.key?(:'validation_errors')
@@ -519,10 +627,6 @@ module AvalaraSdk::A1099::V2
519
627
  if attributes.key?(:'updated_at')
520
628
  self.updated_at = attributes[:'updated_at']
521
629
  end
522
-
523
- if attributes.key?(:'state_and_local_withholding')
524
- self.state_and_local_withholding = attributes[:'state_and_local_withholding']
525
- end
526
630
  end
527
631
 
528
632
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -530,6 +634,10 @@ module AvalaraSdk::A1099::V2
530
634
  def list_invalid_properties
531
635
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
532
636
  invalid_properties = Array.new
637
+ if @type.nil?
638
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
639
+ end
640
+
533
641
  invalid_properties
534
642
  end
535
643
 
@@ -537,9 +645,34 @@ module AvalaraSdk::A1099::V2
537
645
  # @return true if the model is valid
538
646
  def valid?
539
647
  warn '[DEPRECATED] the `valid?` method is obsolete'
648
+ return false if @type.nil?
649
+ type_validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
650
+ return false unless type_validator.valid?(@type)
651
+ tin_type_validator = EnumAttributeValidator.new('String', ["Empty", "EIN", "SSN", "ITIN", "ATIN"])
652
+ return false unless tin_type_validator.valid?(@tin_type)
540
653
  true
541
654
  end
542
655
 
656
+ # Custom attribute writer method checking allowed values (enum).
657
+ # @param [Object] type Object to be assigned
658
+ def type=(type)
659
+ validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
660
+ unless validator.valid?(type)
661
+ fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
662
+ end
663
+ @type = type
664
+ end
665
+
666
+ # Custom attribute writer method checking allowed values (enum).
667
+ # @param [Object] tin_type Object to be assigned
668
+ def tin_type=(tin_type)
669
+ validator = EnumAttributeValidator.new('String', ["Empty", "EIN", "SSN", "ITIN", "ATIN"])
670
+ unless validator.valid?(tin_type)
671
+ fail ArgumentError, "invalid value for \"tin_type\", must be one of #{validator.allowable_values}."
672
+ end
673
+ @tin_type = tin_type
674
+ end
675
+
543
676
  # Custom attribute writer method with validation
544
677
  # @param [Object] state_efile_status Value to be assigned
545
678
  def state_efile_status=(state_efile_status)
@@ -571,45 +704,46 @@ module AvalaraSdk::A1099::V2
571
704
  bond_premium_on_treasury_obligations == o.bond_premium_on_treasury_obligations &&
572
705
  bond_premium_on_tax_exempt_bond == o.bond_premium_on_tax_exempt_bond &&
573
706
  tax_exempt_bond_cusip_number == o.tax_exempt_bond_cusip_number &&
574
- id == o.id &&
707
+ fatca_filing_requirement == o.fatca_filing_requirement &&
575
708
  type == o.type &&
709
+ id == o.id &&
576
710
  issuer_id == o.issuer_id &&
577
711
  issuer_reference_id == o.issuer_reference_id &&
578
712
  issuer_tin == o.issuer_tin &&
579
713
  tax_year == o.tax_year &&
580
- federal_efile == o.federal_efile &&
581
- federal_efile_status == o.federal_efile_status &&
582
- state_efile == o.state_efile &&
583
- state_efile_status == o.state_efile_status &&
584
- postal_mail == o.postal_mail &&
585
- postal_mail_status == o.postal_mail_status &&
586
- tin_match == o.tin_match &&
587
- tin_match_status == o.tin_match_status &&
588
- address_verification == o.address_verification &&
589
- address_verification_status == o.address_verification_status &&
590
- e_delivery_status == o.e_delivery_status &&
591
714
  reference_id == o.reference_id &&
592
- email == o.email &&
593
- tin_type == o.tin_type &&
594
- fatca_filing_requirement == o.fatca_filing_requirement &&
595
715
  tin == o.tin &&
596
- no_tin == o.no_tin &&
597
- second_tin_notice == o.second_tin_notice &&
598
716
  recipient_name == o.recipient_name &&
717
+ tin_type == o.tin_type &&
599
718
  recipient_second_name == o.recipient_second_name &&
600
719
  address == o.address &&
601
720
  address2 == o.address2 &&
602
721
  city == o.city &&
603
722
  state == o.state &&
604
723
  zip == o.zip &&
605
- non_us_province == o.non_us_province &&
606
- country_code == o.country_code &&
724
+ email == o.email &&
607
725
  account_number == o.account_number &&
608
726
  office_code == o.office_code &&
727
+ non_us_province == o.non_us_province &&
728
+ country_code == o.country_code &&
729
+ federal_efile_date == o.federal_efile_date &&
730
+ postal_mail == o.postal_mail &&
731
+ state_efile_date == o.state_efile_date &&
732
+ recipient_edelivery_date == o.recipient_edelivery_date &&
733
+ tin_match == o.tin_match &&
734
+ no_tin == o.no_tin &&
735
+ address_verification == o.address_verification &&
736
+ state_and_local_withholding == o.state_and_local_withholding &&
737
+ second_tin_notice == o.second_tin_notice &&
738
+ federal_efile_status == o.federal_efile_status &&
739
+ state_efile_status == o.state_efile_status &&
740
+ postal_mail_status == o.postal_mail_status &&
741
+ tin_match_status == o.tin_match_status &&
742
+ address_verification_status == o.address_verification_status &&
743
+ e_delivery_status == o.e_delivery_status &&
609
744
  validation_errors == o.validation_errors &&
610
745
  created_at == o.created_at &&
611
- updated_at == o.updated_at &&
612
- state_and_local_withholding == o.state_and_local_withholding
746
+ updated_at == o.updated_at
613
747
  end
614
748
 
615
749
  # @see the `==` method
@@ -621,7 +755,7 @@ module AvalaraSdk::A1099::V2
621
755
  # Calculates hash code according to all attributes.
622
756
  # @return [Integer] Hash code
623
757
  def hash
624
- [interest_income, early_withdrawal_penalty, us_savings_bonds_interest, federal_income_tax_withheld, investment_expenses, foreign_tax_paid, foreign_country, tax_exempt_interest, specified_private_activity_bond_interest, market_discount, bond_premium, bond_premium_on_treasury_obligations, bond_premium_on_tax_exempt_bond, tax_exempt_bond_cusip_number, 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
758
+ [interest_income, early_withdrawal_penalty, us_savings_bonds_interest, federal_income_tax_withheld, investment_expenses, foreign_tax_paid, foreign_country, tax_exempt_interest, specified_private_activity_bond_interest, market_discount, bond_premium, bond_premium_on_treasury_obligations, bond_premium_on_tax_exempt_bond, tax_exempt_bond_cusip_number, fatca_filing_requirement, 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
625
759
  end
626
760
 
627
761
  # Builds the object from hash