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
@@ -18,6 +18,8 @@ module AvalaraSdk::A1099::V2
18
18
  :'Form1042SListItemResponse',
19
19
  :'Form1095BListItemResponse',
20
20
  :'Form1099BaseResponse',
21
+ :'Form1099DivListItemResponse',
22
+ :'Form1099IntListItemResponse',
21
23
  :'Form1099KListItemResponse',
22
24
  :'Form1099MiscListItemResponse',
23
25
  :'Form1099NecListItemResponse',
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Avalara 1099 & W-9 API Definition
3
3
 
4
- ### 🔐 Authentication Use **username/password** or generate a **license key** from: *Avalara Portal → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
4
+ ### 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
5
5
 
6
6
 
7
7
  =end
@@ -21,9 +21,7 @@ module AvalaraSdk::A1099::V2
21
21
 
22
22
  attr_accessor :fishing_boat_proceeds
23
23
 
24
- attr_accessor :medical_and_health_care
25
-
26
- attr_accessor :nonemployee_compensation
24
+ attr_accessor :medical_and_health_care_payments
27
25
 
28
26
  attr_accessor :substitute_payments
29
27
 
@@ -31,13 +29,15 @@ module AvalaraSdk::A1099::V2
31
29
 
32
30
  attr_accessor :crop_insurance_proceeds
33
31
 
34
- attr_accessor :excess_golden_parachute
32
+ attr_accessor :excess_golden_parachute_payments
33
+
34
+ attr_accessor :gross_proceeds_paid_to_attorney
35
35
 
36
- attr_accessor :gross_amount_paid_attorney
36
+ attr_accessor :fish_purchased_for_resale
37
37
 
38
38
  attr_accessor :section409_a_deferrals
39
39
 
40
- attr_accessor :section409_a_income
40
+ attr_accessor :nonqualified_deferred_compensation
41
41
 
42
42
  attr_accessor :id
43
43
 
@@ -71,14 +71,22 @@ module AvalaraSdk::A1099::V2
71
71
 
72
72
  attr_accessor :address_verification_status
73
73
 
74
+ attr_accessor :e_delivery_status
75
+
74
76
  attr_accessor :reference_id
75
77
 
76
78
  attr_accessor :email
77
79
 
78
80
  attr_accessor :tin_type
79
81
 
82
+ attr_accessor :fatca_filing_requirement
83
+
80
84
  attr_accessor :tin
81
85
 
86
+ attr_accessor :no_tin
87
+
88
+ attr_accessor :second_tin_notice
89
+
82
90
  attr_accessor :recipient_name
83
91
 
84
92
  attr_accessor :recipient_second_name
@@ -93,10 +101,14 @@ module AvalaraSdk::A1099::V2
93
101
 
94
102
  attr_accessor :zip
95
103
 
96
- attr_accessor :foreign_province
104
+ attr_accessor :non_us_province
97
105
 
98
106
  attr_accessor :country_code
99
107
 
108
+ attr_accessor :account_number
109
+
110
+ attr_accessor :office_code
111
+
100
112
  attr_accessor :validation_errors
101
113
 
102
114
  attr_accessor :created_at
@@ -113,15 +125,15 @@ module AvalaraSdk::A1099::V2
113
125
  :'other_income' => :'otherIncome',
114
126
  :'fed_income_tax_withheld' => :'fedIncomeTaxWithheld',
115
127
  :'fishing_boat_proceeds' => :'fishingBoatProceeds',
116
- :'medical_and_health_care' => :'medicalAndHealthCare',
117
- :'nonemployee_compensation' => :'nonemployeeCompensation',
128
+ :'medical_and_health_care_payments' => :'medicalAndHealthCarePayments',
118
129
  :'substitute_payments' => :'substitutePayments',
119
130
  :'direct_sales_indicator' => :'directSalesIndicator',
120
131
  :'crop_insurance_proceeds' => :'cropInsuranceProceeds',
121
- :'excess_golden_parachute' => :'excessGoldenParachute',
122
- :'gross_amount_paid_attorney' => :'grossAmountPaidAttorney',
132
+ :'excess_golden_parachute_payments' => :'excessGoldenParachutePayments',
133
+ :'gross_proceeds_paid_to_attorney' => :'grossProceedsPaidToAttorney',
134
+ :'fish_purchased_for_resale' => :'fishPurchasedForResale',
123
135
  :'section409_a_deferrals' => :'section409ADeferrals',
124
- :'section409_a_income' => :'section409AIncome',
136
+ :'nonqualified_deferred_compensation' => :'nonqualifiedDeferredCompensation',
125
137
  :'id' => :'id',
126
138
  :'type' => :'type',
127
139
  :'issuer_id' => :'issuerId',
@@ -138,10 +150,14 @@ module AvalaraSdk::A1099::V2
138
150
  :'tin_match_status' => :'tinMatchStatus',
139
151
  :'address_verification' => :'addressVerification',
140
152
  :'address_verification_status' => :'addressVerificationStatus',
153
+ :'e_delivery_status' => :'eDeliveryStatus',
141
154
  :'reference_id' => :'referenceId',
142
155
  :'email' => :'email',
143
156
  :'tin_type' => :'tinType',
157
+ :'fatca_filing_requirement' => :'fatcaFilingRequirement',
144
158
  :'tin' => :'tin',
159
+ :'no_tin' => :'noTin',
160
+ :'second_tin_notice' => :'secondTinNotice',
145
161
  :'recipient_name' => :'recipientName',
146
162
  :'recipient_second_name' => :'recipientSecondName',
147
163
  :'address' => :'address',
@@ -149,8 +165,10 @@ module AvalaraSdk::A1099::V2
149
165
  :'city' => :'city',
150
166
  :'state' => :'state',
151
167
  :'zip' => :'zip',
152
- :'foreign_province' => :'foreignProvince',
168
+ :'non_us_province' => :'nonUsProvince',
153
169
  :'country_code' => :'countryCode',
170
+ :'account_number' => :'accountNumber',
171
+ :'office_code' => :'officeCode',
154
172
  :'validation_errors' => :'validationErrors',
155
173
  :'created_at' => :'createdAt',
156
174
  :'updated_at' => :'updatedAt',
@@ -171,15 +189,15 @@ module AvalaraSdk::A1099::V2
171
189
  :'other_income' => :'Float',
172
190
  :'fed_income_tax_withheld' => :'Float',
173
191
  :'fishing_boat_proceeds' => :'Float',
174
- :'medical_and_health_care' => :'Float',
175
- :'nonemployee_compensation' => :'Float',
192
+ :'medical_and_health_care_payments' => :'Float',
176
193
  :'substitute_payments' => :'Float',
177
194
  :'direct_sales_indicator' => :'Boolean',
178
195
  :'crop_insurance_proceeds' => :'Float',
179
- :'excess_golden_parachute' => :'Float',
180
- :'gross_amount_paid_attorney' => :'Float',
196
+ :'excess_golden_parachute_payments' => :'Float',
197
+ :'gross_proceeds_paid_to_attorney' => :'Float',
198
+ :'fish_purchased_for_resale' => :'Float',
181
199
  :'section409_a_deferrals' => :'Float',
182
- :'section409_a_income' => :'Float',
200
+ :'nonqualified_deferred_compensation' => :'Float',
183
201
  :'id' => :'String',
184
202
  :'type' => :'String',
185
203
  :'issuer_id' => :'Integer',
@@ -196,10 +214,14 @@ module AvalaraSdk::A1099::V2
196
214
  :'tin_match_status' => :'Form1099StatusDetail',
197
215
  :'address_verification' => :'Boolean',
198
216
  :'address_verification_status' => :'Form1099StatusDetail',
217
+ :'e_delivery_status' => :'Form1099StatusDetail',
199
218
  :'reference_id' => :'String',
200
219
  :'email' => :'String',
201
220
  :'tin_type' => :'String',
221
+ :'fatca_filing_requirement' => :'Boolean',
202
222
  :'tin' => :'String',
223
+ :'no_tin' => :'Boolean',
224
+ :'second_tin_notice' => :'Boolean',
203
225
  :'recipient_name' => :'String',
204
226
  :'recipient_second_name' => :'String',
205
227
  :'address' => :'String',
@@ -207,8 +229,10 @@ module AvalaraSdk::A1099::V2
207
229
  :'city' => :'String',
208
230
  :'state' => :'String',
209
231
  :'zip' => :'String',
210
- :'foreign_province' => :'String',
232
+ :'non_us_province' => :'String',
211
233
  :'country_code' => :'String',
234
+ :'account_number' => :'String',
235
+ :'office_code' => :'String',
212
236
  :'validation_errors' => :'Array<ValidationError>',
213
237
  :'created_at' => :'Time',
214
238
  :'updated_at' => :'Time',
@@ -224,24 +248,27 @@ module AvalaraSdk::A1099::V2
224
248
  :'other_income',
225
249
  :'fed_income_tax_withheld',
226
250
  :'fishing_boat_proceeds',
227
- :'medical_and_health_care',
228
- :'nonemployee_compensation',
251
+ :'medical_and_health_care_payments',
229
252
  :'substitute_payments',
230
253
  :'crop_insurance_proceeds',
231
- :'excess_golden_parachute',
232
- :'gross_amount_paid_attorney',
254
+ :'excess_golden_parachute_payments',
255
+ :'gross_proceeds_paid_to_attorney',
256
+ :'fish_purchased_for_resale',
233
257
  :'section409_a_deferrals',
234
- :'section409_a_income',
258
+ :'nonqualified_deferred_compensation',
235
259
  :'issuer_reference_id',
236
260
  :'issuer_tin',
237
261
  :'state_efile_status',
238
262
  :'postal_mail_status',
239
263
  :'tin_match_status',
240
264
  :'address_verification_status',
265
+ :'e_delivery_status',
241
266
  :'reference_id',
242
267
  :'email',
243
268
  :'tin_type',
269
+ :'fatca_filing_requirement',
244
270
  :'tin',
271
+ :'second_tin_notice',
245
272
  :'recipient_name',
246
273
  :'recipient_second_name',
247
274
  :'address',
@@ -249,8 +276,10 @@ module AvalaraSdk::A1099::V2
249
276
  :'city',
250
277
  :'state',
251
278
  :'zip',
252
- :'foreign_province',
279
+ :'non_us_province',
253
280
  :'country_code',
281
+ :'account_number',
282
+ :'office_code',
254
283
  :'validation_errors',
255
284
  :'state_and_local_withholding'
256
285
  ])
@@ -298,12 +327,8 @@ module AvalaraSdk::A1099::V2
298
327
  self.fishing_boat_proceeds = attributes[:'fishing_boat_proceeds']
299
328
  end
300
329
 
301
- if attributes.key?(:'medical_and_health_care')
302
- self.medical_and_health_care = attributes[:'medical_and_health_care']
303
- end
304
-
305
- if attributes.key?(:'nonemployee_compensation')
306
- self.nonemployee_compensation = attributes[:'nonemployee_compensation']
330
+ if attributes.key?(:'medical_and_health_care_payments')
331
+ self.medical_and_health_care_payments = attributes[:'medical_and_health_care_payments']
307
332
  end
308
333
 
309
334
  if attributes.key?(:'substitute_payments')
@@ -318,20 +343,24 @@ module AvalaraSdk::A1099::V2
318
343
  self.crop_insurance_proceeds = attributes[:'crop_insurance_proceeds']
319
344
  end
320
345
 
321
- if attributes.key?(:'excess_golden_parachute')
322
- self.excess_golden_parachute = attributes[:'excess_golden_parachute']
346
+ if attributes.key?(:'excess_golden_parachute_payments')
347
+ self.excess_golden_parachute_payments = attributes[:'excess_golden_parachute_payments']
348
+ end
349
+
350
+ if attributes.key?(:'gross_proceeds_paid_to_attorney')
351
+ self.gross_proceeds_paid_to_attorney = attributes[:'gross_proceeds_paid_to_attorney']
323
352
  end
324
353
 
325
- if attributes.key?(:'gross_amount_paid_attorney')
326
- self.gross_amount_paid_attorney = attributes[:'gross_amount_paid_attorney']
354
+ if attributes.key?(:'fish_purchased_for_resale')
355
+ self.fish_purchased_for_resale = attributes[:'fish_purchased_for_resale']
327
356
  end
328
357
 
329
358
  if attributes.key?(:'section409_a_deferrals')
330
359
  self.section409_a_deferrals = attributes[:'section409_a_deferrals']
331
360
  end
332
361
 
333
- if attributes.key?(:'section409_a_income')
334
- self.section409_a_income = attributes[:'section409_a_income']
362
+ if attributes.key?(:'nonqualified_deferred_compensation')
363
+ self.nonqualified_deferred_compensation = attributes[:'nonqualified_deferred_compensation']
335
364
  end
336
365
 
337
366
  if attributes.key?(:'id')
@@ -400,6 +429,10 @@ module AvalaraSdk::A1099::V2
400
429
  self.address_verification_status = attributes[:'address_verification_status']
401
430
  end
402
431
 
432
+ if attributes.key?(:'e_delivery_status')
433
+ self.e_delivery_status = attributes[:'e_delivery_status']
434
+ end
435
+
403
436
  if attributes.key?(:'reference_id')
404
437
  self.reference_id = attributes[:'reference_id']
405
438
  end
@@ -412,10 +445,22 @@ module AvalaraSdk::A1099::V2
412
445
  self.tin_type = attributes[:'tin_type']
413
446
  end
414
447
 
448
+ if attributes.key?(:'fatca_filing_requirement')
449
+ self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
450
+ end
451
+
415
452
  if attributes.key?(:'tin')
416
453
  self.tin = attributes[:'tin']
417
454
  end
418
455
 
456
+ if attributes.key?(:'no_tin')
457
+ self.no_tin = attributes[:'no_tin']
458
+ end
459
+
460
+ if attributes.key?(:'second_tin_notice')
461
+ self.second_tin_notice = attributes[:'second_tin_notice']
462
+ end
463
+
419
464
  if attributes.key?(:'recipient_name')
420
465
  self.recipient_name = attributes[:'recipient_name']
421
466
  end
@@ -444,14 +489,22 @@ module AvalaraSdk::A1099::V2
444
489
  self.zip = attributes[:'zip']
445
490
  end
446
491
 
447
- if attributes.key?(:'foreign_province')
448
- self.foreign_province = attributes[:'foreign_province']
492
+ if attributes.key?(:'non_us_province')
493
+ self.non_us_province = attributes[:'non_us_province']
449
494
  end
450
495
 
451
496
  if attributes.key?(:'country_code')
452
497
  self.country_code = attributes[:'country_code']
453
498
  end
454
499
 
500
+ if attributes.key?(:'account_number')
501
+ self.account_number = attributes[:'account_number']
502
+ end
503
+
504
+ if attributes.key?(:'office_code')
505
+ self.office_code = attributes[:'office_code']
506
+ end
507
+
455
508
  if attributes.key?(:'validation_errors')
456
509
  if (value = attributes[:'validation_errors']).is_a?(Array)
457
510
  self.validation_errors = value
@@ -508,15 +561,15 @@ module AvalaraSdk::A1099::V2
508
561
  other_income == o.other_income &&
509
562
  fed_income_tax_withheld == o.fed_income_tax_withheld &&
510
563
  fishing_boat_proceeds == o.fishing_boat_proceeds &&
511
- medical_and_health_care == o.medical_and_health_care &&
512
- nonemployee_compensation == o.nonemployee_compensation &&
564
+ medical_and_health_care_payments == o.medical_and_health_care_payments &&
513
565
  substitute_payments == o.substitute_payments &&
514
566
  direct_sales_indicator == o.direct_sales_indicator &&
515
567
  crop_insurance_proceeds == o.crop_insurance_proceeds &&
516
- excess_golden_parachute == o.excess_golden_parachute &&
517
- gross_amount_paid_attorney == o.gross_amount_paid_attorney &&
568
+ excess_golden_parachute_payments == o.excess_golden_parachute_payments &&
569
+ gross_proceeds_paid_to_attorney == o.gross_proceeds_paid_to_attorney &&
570
+ fish_purchased_for_resale == o.fish_purchased_for_resale &&
518
571
  section409_a_deferrals == o.section409_a_deferrals &&
519
- section409_a_income == o.section409_a_income &&
572
+ nonqualified_deferred_compensation == o.nonqualified_deferred_compensation &&
520
573
  id == o.id &&
521
574
  type == o.type &&
522
575
  issuer_id == o.issuer_id &&
@@ -533,10 +586,14 @@ module AvalaraSdk::A1099::V2
533
586
  tin_match_status == o.tin_match_status &&
534
587
  address_verification == o.address_verification &&
535
588
  address_verification_status == o.address_verification_status &&
589
+ e_delivery_status == o.e_delivery_status &&
536
590
  reference_id == o.reference_id &&
537
591
  email == o.email &&
538
592
  tin_type == o.tin_type &&
593
+ fatca_filing_requirement == o.fatca_filing_requirement &&
539
594
  tin == o.tin &&
595
+ no_tin == o.no_tin &&
596
+ second_tin_notice == o.second_tin_notice &&
540
597
  recipient_name == o.recipient_name &&
541
598
  recipient_second_name == o.recipient_second_name &&
542
599
  address == o.address &&
@@ -544,8 +601,10 @@ module AvalaraSdk::A1099::V2
544
601
  city == o.city &&
545
602
  state == o.state &&
546
603
  zip == o.zip &&
547
- foreign_province == o.foreign_province &&
604
+ non_us_province == o.non_us_province &&
548
605
  country_code == o.country_code &&
606
+ account_number == o.account_number &&
607
+ office_code == o.office_code &&
549
608
  validation_errors == o.validation_errors &&
550
609
  created_at == o.created_at &&
551
610
  updated_at == o.updated_at &&
@@ -561,7 +620,7 @@ module AvalaraSdk::A1099::V2
561
620
  # Calculates hash code according to all attributes.
562
621
  # @return [Integer] Hash code
563
622
  def hash
564
- [rents, royalties, other_income, fed_income_tax_withheld, fishing_boat_proceeds, medical_and_health_care, nonemployee_compensation, substitute_payments, direct_sales_indicator, crop_insurance_proceeds, excess_golden_parachute, gross_amount_paid_attorney, section409_a_deferrals, section409_a_income, id, type, issuer_id, issuer_reference_id, issuer_tin, tax_year, federal_efile, federal_efile_status, state_efile, state_efile_status, postal_mail, postal_mail_status, tin_match, tin_match_status, address_verification, address_verification_status, reference_id, email, tin_type, tin, recipient_name, recipient_second_name, address, address2, city, state, zip, foreign_province, country_code, validation_errors, created_at, updated_at, state_and_local_withholding].hash
623
+ [rents, royalties, other_income, fed_income_tax_withheld, fishing_boat_proceeds, medical_and_health_care_payments, substitute_payments, direct_sales_indicator, crop_insurance_proceeds, excess_golden_parachute_payments, gross_proceeds_paid_to_attorney, fish_purchased_for_resale, section409_a_deferrals, nonqualified_deferred_compensation, id, type, issuer_id, issuer_reference_id, issuer_tin, tax_year, federal_efile, federal_efile_status, state_efile, state_efile_status, postal_mail, postal_mail_status, tin_match, tin_match_status, address_verification, address_verification_status, e_delivery_status, reference_id, email, tin_type, 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
565
624
  end
566
625
 
567
626
  # Builds the object from hash