avalara_sdk 25.8.2 → 25.9.0
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +20 -91
- data/docs/A1099/V2/CompaniesW9Api.md +18 -18
- data/docs/A1099/V2/CompanyBase.md +50 -0
- data/docs/A1099/V2/CompanyCreateUpdateRequestModel.md +18 -18
- data/docs/A1099/V2/CompanyRequest.md +50 -0
- data/docs/A1099/V2/CompanyResponse.md +37 -37
- data/docs/A1099/V2/CoveredIndividual.md +56 -0
- data/docs/A1099/V2/CreateAndSendW9FormEmailRequest.md +55 -0
- data/docs/A1099/V2/CreateCompanyRequest.md +49 -0
- data/docs/A1099/V2/CreateIssuerRequest.md +49 -0
- data/docs/A1099/V2/EntryStatusResponse.md +20 -0
- data/docs/A1099/V2/Form1042S.md +83 -83
- data/docs/A1099/V2/Form1095B.md +72 -62
- data/docs/A1099/V2/Form1095C.md +112 -0
- data/docs/A1099/V2/Form1099Base.md +60 -60
- data/docs/A1099/V2/Form1099Div.md +79 -77
- data/docs/A1099/V2/Form1099Int.md +76 -74
- data/docs/A1099/V2/Form1099K.md +83 -83
- data/docs/A1099/V2/Form1099ListRequest.md +20 -0
- data/docs/A1099/V2/Form1099Misc.md +79 -77
- data/docs/A1099/V2/Form1099Nec.md +64 -64
- data/docs/A1099/V2/Form1099R.md +95 -93
- data/docs/A1099/V2/Forms1099Api.md +47 -43
- data/docs/A1099/V2/FormsW9Api.md +104 -20
- data/docs/A1099/V2/Get1099Form200Response.md +19 -19
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +11 -11
- data/docs/A1099/V2/IssuerBase.md +46 -0
- data/docs/A1099/V2/IssuerCommand.md +16 -16
- data/docs/A1099/V2/IssuerRequest.md +46 -0
- data/docs/A1099/V2/IssuerResponse.md +35 -35
- data/docs/A1099/V2/Issuers1099Api.md +10 -10
- data/docs/A1099/V2/JobResponse.md +56 -0
- data/docs/A1099/V2/JobsApi.md +91 -0
- data/docs/A1099/V2/OfferAndCoverage.md +28 -0
- data/docs/A1099/V2/PaginatedQueryResultModelForm1099Base.md +22 -0
- data/docs/A1099/V2/PrimaryWithholdingAgent.md +4 -4
- data/docs/A1099/V2/StateAndLocalWithholding.md +8 -8
- data/docs/A1099/V2/TinMatchStatusResponse.md +1 -1
- data/docs/A1099/V2/ValidationError.md +2 -2
- data/docs/A1099/V2/W4FormMinimalRequest.md +30 -0
- data/docs/A1099/V2/W4FormRequest.md +16 -16
- data/docs/A1099/V2/W4FormResponse.md +48 -20
- data/docs/A1099/V2/W8BenEFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenEFormRequest.md +15 -15
- data/docs/A1099/V2/W8BenEFormResponse.md +96 -68
- data/docs/A1099/V2/W8BenFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenFormRequest.md +11 -11
- data/docs/A1099/V2/W8BenFormResponse.md +55 -27
- data/docs/A1099/V2/W8ImyFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8ImyFormRequest.md +15 -15
- data/docs/A1099/V2/W8ImyFormResponse.md +118 -90
- data/docs/A1099/V2/W9FormBaseMinimalRequest.md +24 -0
- data/docs/A1099/V2/W9FormBaseRequest.md +7 -7
- data/docs/A1099/V2/W9FormBaseResponse.md +6 -6
- data/docs/A1099/V2/W9FormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W9FormRequest.md +15 -15
- data/docs/A1099/V2/W9FormResponse.md +44 -16
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +27 -27
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +93 -61
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +157 -19
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
- data/lib/avalara_sdk/api/A1099/V2/{jobs1099_api.rb → jobs_api.rb} +9 -9
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
- data/lib/avalara_sdk/api_client.rb +10 -2
- data/lib/avalara_sdk/models/A1099/V2/{base_company_model.rb → company_base.rb} +61 -13
- data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +58 -17
- data/lib/avalara_sdk/models/A1099/V2/{company_model.rb → company_request.rb} +62 -64
- data/lib/avalara_sdk/models/A1099/V2/company_response.rb +110 -69
- data/lib/avalara_sdk/models/A1099/V2/{covered_individual_request.rb → covered_individual.rb} +36 -7
- data/lib/avalara_sdk/models/A1099/V2/{i_create_form1099_request.rb → create_and_send_w9_form_email_request.rb} +6 -5
- data/lib/avalara_sdk/models/A1099/V2/{error_response_errors_inner.rb → create_company_request.rb} +3 -3
- data/lib/avalara_sdk/models/A1099/V2/{i_update_form1099_request.rb → create_issuer_request.rb} +3 -5
- data/lib/avalara_sdk/models/A1099/V2/{status_detail.rb → entry_status_response.rb} +20 -18
- data/lib/avalara_sdk/models/A1099/V2/error_response.rb +0 -6
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +422 -187
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +359 -194
- data/lib/avalara_sdk/models/A1099/V2/{form1095_b_response.rb → form1095_c.rb} +250 -133
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +283 -185
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +307 -179
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +307 -183
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +307 -198
- data/lib/avalara_sdk/models/A1099/V2/{http_validation_problem_details.rb → form1099_list_request.rb} +45 -59
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +334 -209
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +297 -192
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +437 -282
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +9 -9
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +59 -1
- data/lib/avalara_sdk/models/A1099/V2/{intermediary_or_flow_through_request.rb → issuer_base.rb} +119 -46
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +42 -23
- data/lib/avalara_sdk/models/A1099/V2/{company_response_model.rb → issuer_request.rb} +113 -112
- data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +77 -46
- data/lib/avalara_sdk/models/A1099/V2/{job_result.rb → job_response.rb} +102 -42
- data/lib/avalara_sdk/models/A1099/V2/{offer_and_coverage_request.rb → offer_and_coverage.rb} +79 -9
- data/lib/avalara_sdk/models/A1099/V2/{paginated_query_result_model.rb → paginated_query_result_model_form1099_base.rb} +4 -4
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +23 -16
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +8 -0
- data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +2 -6
- data/lib/avalara_sdk/models/A1099/V2/{attribute.rb → w4_form_minimal_request.rb} +142 -129
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +62 -34
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +68 -33
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +190 -14
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +51 -28
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +61 -33
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/{problem_details.rb → w9_form_base_minimal_request.rb} +61 -35
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +35 -28
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +60 -31
- data/lib/avalara_sdk/models/A1099/V2/w9_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +71 -30
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +190 -14
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +22 -101
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
- metadata +45 -103
- data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +0 -210
- data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +0 -403
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +0 -407
- data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/data.rb +0 -237
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +0 -816
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +0 -980
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +0 -778
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +0 -619
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +0 -606
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +0 -765
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +0 -627
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +0 -662
- data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +0 -726
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +0 -747
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +0 -931
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +0 -729
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +0 -790
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +0 -702
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +0 -887
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +0 -684
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +0 -773
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +0 -788
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +0 -995
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +0 -770
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +0 -839
- data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +0 -219
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +0 -55
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +0 -220
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +0 -688
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +0 -886
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +0 -670
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +0 -754
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +0 -586
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +0 -765
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +0 -567
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +0 -646
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +0 -228
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +0 -107
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +0 -763
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +0 -942
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +0 -720
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +0 -839
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +0 -223
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +0 -502
- data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +0 -475
- data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +0 -548
- data/lib/avalara_sdk/models/A1099/V2/form_request_model.rb +0 -345
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +0 -612
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +0 -530
- data/lib/avalara_sdk/models/A1099/V2/included_base.rb +0 -219
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +0 -311
- data/lib/avalara_sdk/models/A1099/V2/link.rb +0 -210
- data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +0 -221
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +0 -221
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +0 -278
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +0 -282
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +0 -229
- data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +0 -231
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response.rb +0 -233
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner.rb +0 -274
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_addresses_inner.rb +0 -251
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_identifiers_inner.rb +0 -221
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_supported_document_types_inner.rb +0 -241
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request.rb +0 -224
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_data_inner.rb +0 -237
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_metadata.rb +0 -288
- data/lib/avalara_sdk/models/EInvoicing/V1/submit_document_data.rb +0 -216
@@ -10,184 +10,269 @@ require 'date'
|
|
10
10
|
require 'time'
|
11
11
|
|
12
12
|
module AvalaraSdk::A1099::V2
|
13
|
-
|
14
|
-
|
13
|
+
# Form 1099-R: Distributions From Pensions, Annuities, Retirement or Profit-Sharing Plans, IRAs, Insurance Contracts, etc. *At least one of the following amounts must be provided:* Gross distribution, Taxable amount, Capital gain, Employee contributions/Designated Roth contributions or insurance premiums, Net unrealized appreciation in employer's securities, Other amount, Total employee contributions, Traditional IRA/SEP/SIMPLE or Roth conversion amount, or Amount allocable to IRR within 5 years
|
14
|
+
class Form1099R
|
15
|
+
# Gross distribution
|
16
|
+
attr_accessor :gross_distribution
|
15
17
|
|
18
|
+
# Taxable amount
|
16
19
|
attr_accessor :taxable_amount
|
17
20
|
|
21
|
+
# Taxable amount not determined
|
18
22
|
attr_accessor :taxable_amount_not_determined
|
19
23
|
|
20
|
-
|
24
|
+
# Total distribution
|
25
|
+
attr_accessor :total_distribution_determined
|
21
26
|
|
27
|
+
# Capital gain (included in Box 2a)
|
22
28
|
attr_accessor :capital_gain
|
23
29
|
|
24
|
-
|
30
|
+
# Federal income tax withheld
|
31
|
+
attr_accessor :federal_income_tax_withheld
|
25
32
|
|
26
|
-
|
33
|
+
# Employee contributions/Designated Roth contributions or insurance premiums
|
34
|
+
attr_accessor :employee_contributions_or_designated_roth_or_insurance_premiums
|
27
35
|
|
28
|
-
|
36
|
+
# Net unrealized appreciation in employer's securities
|
37
|
+
attr_accessor :net_unrealized_appreciation_in_employer_securities
|
29
38
|
|
30
|
-
|
39
|
+
# Distribution code. Available values: - 1: Early distribution, no known exception (in most cases, under age 59½) - 2: Early distribution, exception applies (under age 59½) - 3: Disability - 4: Death - 5: Prohibited transaction - 6: Section 1035 exchange (a tax-free exchange of life insurance, annuity, qualified long-term care insurance, or endowment contracts) - 7: Normal distribution - 8: Excess contributions plus earnings/excess deferrals (and/or earnings) taxable in payment year - 9: Cost of current life insurance protection (premiums paid by a trustee or custodian for current insurance protection) - A: May be eligible for 10-year tax option - B: Designated Roth account distribution - C: Reportable Death Benefits Under Section 6050Y(c) - D: Annuity payments from nonqualified annuity payments and distributions from life insurance contracts that may be subject to tax under section 1411 - E: Distribution under Employee Plans Compliance Resolution System (EPCRS) - F: Charitable gift annuity - G: Direct rollover and rollover contribution - H: Direct rollover of distribution from a designated Roth account to a Roth IRA - J: Early distribution from a Roth IRA (This code may be used with a Code 8 or P) - K: Distribution of IRA Assets Not Having A Readily Available FMV - L: Loans treated as deemed distributions under section 72(p) - M: Qualified Plan Loan Offsets - N: Recharacterized IRA contribution made for year following payment year - P: Excess contributions plus earnings/excess deferrals taxable for year prior to payment year - Q: Qualified distribution from a Roth IRA (Distribution from a Roth IRA when the 5-year holding period has been met, and the recipient has reached 59½, has died, or is disabled) - R: Recharacterized IRA contribution made for year prior to payment year - S: Early distribution from a SIMPLE IRA in first 2 years no known exceptions - T: Roth IRA distribution exception applies because participant has reached 59½, died or is disabled, but it is unknown if the 5-year period has been met - U: Distribution from ESOP under Section 404(k) - W: Charges or payments for purchasing qualified long-term care insurance contracts under combined arrangements
|
40
|
+
attr_accessor :distribution_code
|
31
41
|
|
32
|
-
|
42
|
+
# Second distribution code. Must be a valid combination with the first distribution code. See DistributionCode property documentation for code descriptions. Valid combinations based on first distribution code: - 1: _, 8, B, D, K, L, M, P - 2: _, 8, B, D, K, L, M, P - 3: _, D - 4: _, 8, A, B, D, G, H, K, L, M, P - 5: _ - 6: _, W - 7: _, A, B, D, K, L, M - 8: _, 1, 2, 4, B, J, K - 9: _ - A: 4, 7 - B: _, 1, 2, 4, 7, 8, G, L, M, P, U - C: _, D - D: 1, 2, 3, 4, 7, C - E: _ - F: _ - G: _, 4, B, K - H: _, 4 - J: _, 8, P - K: 1, 2, 4, 7, 8, G - L: _, 1, 2, 4, 7, B - M: _, 1, 2, 4, 7, B - N: _ - P: _, 1, 2, 4, B, J - Q: _ - R: _ - S: _ - T: _ - U: _, B - W: _, 6 (_ indicates no second distribution code) (format: firstDistributionCode: availableSecondDistributionCodes)
|
43
|
+
attr_accessor :second_distribution_code
|
33
44
|
|
34
|
-
|
45
|
+
# IRA/SEP/SIMPLE
|
46
|
+
attr_accessor :ira_sep_simple
|
35
47
|
|
36
|
-
|
48
|
+
# Traditional IRA/SEP/SIMPLE or Roth conversion amount
|
49
|
+
attr_accessor :traditional_ira_sep_simple_or_roth_conversion_amount
|
37
50
|
|
38
|
-
|
51
|
+
# Other amount
|
52
|
+
attr_accessor :other_amount
|
39
53
|
|
40
|
-
|
54
|
+
# Other percentage
|
55
|
+
attr_accessor :other_percentage
|
41
56
|
|
42
|
-
|
57
|
+
# Total distribution percentage
|
58
|
+
attr_accessor :total_distribution_percentage
|
43
59
|
|
60
|
+
# Total employee contributions
|
44
61
|
attr_accessor :total_employee_contributions
|
45
62
|
|
46
|
-
|
63
|
+
# Amount allocable to IRR within 5 years
|
64
|
+
attr_accessor :amount_allocable_to_irr_within5_years
|
47
65
|
|
48
|
-
|
66
|
+
# First year of designated Roth contribution
|
67
|
+
attr_accessor :first_year_of_designated_roth_contribution
|
49
68
|
|
69
|
+
# Date of payment
|
50
70
|
attr_accessor :date_of_payment
|
51
71
|
|
52
|
-
|
72
|
+
# FATCA filing requirement.
|
73
|
+
attr_accessor :fatca_filing_requirement
|
53
74
|
|
75
|
+
# Form type.
|
54
76
|
attr_accessor :type
|
55
77
|
|
78
|
+
# Form ID. Unique identifier set when the record is created.
|
79
|
+
attr_accessor :id
|
80
|
+
|
81
|
+
# Issuer ID - only required when creating forms
|
56
82
|
attr_accessor :issuer_id
|
57
83
|
|
84
|
+
# Issuer Reference ID - only required when creating forms via $bulk-upsert
|
58
85
|
attr_accessor :issuer_reference_id
|
59
86
|
|
87
|
+
# Issuer TIN - readonly
|
60
88
|
attr_accessor :issuer_tin
|
61
89
|
|
90
|
+
# Tax Year - only required when creating forms via $bulk-upsert
|
62
91
|
attr_accessor :tax_year
|
63
92
|
|
64
|
-
|
93
|
+
# Internal reference ID. Never shown to any agency or recipient.
|
94
|
+
attr_accessor :reference_id
|
65
95
|
|
66
|
-
|
96
|
+
# Recipient's Federal Tax Identification Number (TIN).
|
97
|
+
attr_accessor :tin
|
67
98
|
|
68
|
-
|
99
|
+
# Recipient name
|
100
|
+
attr_accessor :recipient_name
|
69
101
|
|
70
|
-
|
102
|
+
# Tax Identification Number (TIN) type. Available values: - EIN: Employer Identification Number - SSN: Social Security Number - ITIN: Individual Taxpayer Identification Number - ATIN: Adoption Taxpayer Identification Number
|
103
|
+
attr_accessor :tin_type
|
71
104
|
|
72
|
-
|
105
|
+
# Recipient second name
|
106
|
+
attr_accessor :recipient_second_name
|
73
107
|
|
74
|
-
|
108
|
+
# Address.
|
109
|
+
attr_accessor :address
|
75
110
|
|
76
|
-
|
111
|
+
# Address line 2.
|
112
|
+
attr_accessor :address2
|
77
113
|
|
78
|
-
|
114
|
+
# City.
|
115
|
+
attr_accessor :city
|
79
116
|
|
80
|
-
|
117
|
+
# Two-letter US state or Canadian province code (required for US/CA addresses).
|
118
|
+
attr_accessor :state
|
81
119
|
|
82
|
-
|
120
|
+
# ZIP/postal code.
|
121
|
+
attr_accessor :zip
|
83
122
|
|
84
|
-
|
123
|
+
# Recipient's Contact email address.
|
124
|
+
attr_accessor :email
|
85
125
|
|
86
|
-
|
126
|
+
# Account number
|
127
|
+
attr_accessor :account_number
|
87
128
|
|
88
|
-
|
129
|
+
# Office code
|
130
|
+
attr_accessor :office_code
|
89
131
|
|
90
|
-
|
132
|
+
# Province or region for non-US/CA addresses.
|
133
|
+
attr_accessor :non_us_province
|
91
134
|
|
92
|
-
|
135
|
+
# Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes.
|
136
|
+
attr_accessor :country_code
|
93
137
|
|
94
|
-
|
138
|
+
# Date when federal e-filing should be scheduled. If set between current date and beginning of blackout period, scheduled to that date. If in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. Set to null to leave unscheduled.
|
139
|
+
attr_accessor :federal_efile_date
|
95
140
|
|
96
|
-
|
141
|
+
# Boolean indicating that postal mailing to the recipient should be scheduled for this form
|
142
|
+
attr_accessor :postal_mail
|
97
143
|
|
98
|
-
|
144
|
+
# Date when state e-filing should be scheduled. Must be on or after federalEfileDate. If set between current date and beginning of blackout period, scheduled to that date. If in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. Set to null to leave unscheduled.
|
145
|
+
attr_accessor :state_efile_date
|
99
146
|
|
100
|
-
|
147
|
+
# Date when recipient e-delivery should be scheduled. If set between current date and beginning of blackout period, scheduled to that date. If in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. Set to null to leave unscheduled.
|
148
|
+
attr_accessor :recipient_edelivery_date
|
101
149
|
|
102
|
-
|
150
|
+
# Boolean indicating that TIN Matching should be scheduled for this form
|
151
|
+
attr_accessor :tin_match
|
103
152
|
|
104
|
-
|
153
|
+
# No TIN indicator
|
154
|
+
attr_accessor :no_tin
|
105
155
|
|
106
|
-
|
156
|
+
# Boolean indicating that address verification should be scheduled for this form
|
157
|
+
attr_accessor :address_verification
|
107
158
|
|
108
|
-
|
159
|
+
# State and local withholding information
|
160
|
+
attr_accessor :state_and_local_withholding
|
109
161
|
|
110
|
-
|
162
|
+
# Second TIN notice
|
163
|
+
attr_accessor :second_tin_notice
|
111
164
|
|
112
|
-
|
165
|
+
# Federal e-file status. Available values: - unscheduled: Form has not been scheduled for federal e-filing - scheduled: Form is scheduled for federal e-filing - airlock: Form is in process of being uploaded to the IRS (forms exist in this state for a very short period and cannot be updated while in this state) - sent: Form has been sent to the IRS - accepted: Form was accepted by the IRS - corrected_scheduled: Correction is scheduled to be sent - corrected_airlock: Correction is in process of being uploaded to the IRS (forms exist in this state for a very short period and cannot be updated while in this state) - corrected: A correction has been sent to the IRS - corrected_accepted: Correction was accepted by the IRS - rejected: Form was rejected by the IRS - corrected_rejected: Correction was rejected by the IRS - held: Form is held and will not be submitted to IRS (used for certain forms submitted only to states)
|
166
|
+
attr_accessor :federal_efile_status
|
113
167
|
|
114
|
-
|
168
|
+
# State e-file status. Available values: - unscheduled: Form has not been scheduled for state e-filing - scheduled: Form is scheduled for state e-filing - airlocked: Form is in process of being uploaded to the state - sent: Form has been sent to the state - rejected: Form was rejected by the state - accepted: Form was accepted by the state - corrected_scheduled: Correction is scheduled to be sent - corrected_airlocked: Correction is in process of being uploaded to the state - corrected_sent: Correction has been sent to the state - corrected_rejected: Correction was rejected by the state - corrected_accepted: Correction was accepted by the state
|
169
|
+
attr_accessor :state_efile_status
|
115
170
|
|
116
|
-
|
171
|
+
# Postal mail to recipient status. Available values: - unscheduled: Postal mail has not been scheduled - pending: Postal mail is pending to be sent - sent: Postal mail has been sent - delivered: Postal mail has been delivered
|
172
|
+
attr_accessor :postal_mail_status
|
117
173
|
|
118
|
-
|
174
|
+
# TIN Match status. Available values: - none: TIN matching has not been performed - pending: TIN matching request is pending - matched: Name/TIN combination matches IRS records - unknown: TIN is missing, invalid, or request contains errors - rejected: Name/TIN combination does not match IRS records or TIN not currently issued
|
175
|
+
attr_accessor :tin_match_status
|
119
176
|
|
120
|
-
|
177
|
+
# Address verification status. Available values: - unknown: Address verification has not been checked - pending: Address verification is in progress - failed: Address verification failed - incomplete: Address verification is incomplete - unchanged: User declined address changes - verified: Address has been verified and accepted
|
178
|
+
attr_accessor :address_verification_status
|
179
|
+
|
180
|
+
# EDelivery status. Available values: - unscheduled: E-delivery has not been scheduled - scheduled: E-delivery is scheduled to be sent - sent: E-delivery has been sent to recipient - bounced: E-delivery bounced back (invalid email) - refused: E-delivery was refused by recipient - bad_verify: E-delivery failed verification - accepted: E-delivery was accepted by recipient - bad_verify_limit: E-delivery failed verification limit reached - second_delivery: Second e-delivery attempt - undelivered: E-delivery is undelivered (temporary state allowing resend)
|
181
|
+
attr_accessor :e_delivery_status
|
121
182
|
|
183
|
+
# Validation errors
|
122
184
|
attr_accessor :validation_errors
|
123
185
|
|
186
|
+
# Date time when the record was created.
|
124
187
|
attr_accessor :created_at
|
125
188
|
|
189
|
+
# Date time when the record was last updated.
|
126
190
|
attr_accessor :updated_at
|
127
191
|
|
128
|
-
|
192
|
+
class EnumAttributeValidator
|
193
|
+
attr_reader :datatype
|
194
|
+
attr_reader :allowable_values
|
195
|
+
|
196
|
+
def initialize(datatype, allowable_values)
|
197
|
+
@allowable_values = allowable_values.map do |value|
|
198
|
+
case datatype.to_s
|
199
|
+
when /Integer/i
|
200
|
+
value.to_i
|
201
|
+
when /Float/i
|
202
|
+
value.to_f
|
203
|
+
else
|
204
|
+
value
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
def valid?(value)
|
210
|
+
!value || allowable_values.include?(value)
|
211
|
+
end
|
212
|
+
end
|
129
213
|
|
130
214
|
# Attribute mapping from ruby-style variable name to JSON key.
|
131
215
|
def self.attribute_map
|
132
216
|
{
|
133
|
-
:'
|
217
|
+
:'gross_distribution' => :'grossDistribution',
|
134
218
|
:'taxable_amount' => :'taxableAmount',
|
135
219
|
:'taxable_amount_not_determined' => :'taxableAmountNotDetermined',
|
136
|
-
:'
|
220
|
+
:'total_distribution_determined' => :'totalDistributionDetermined',
|
137
221
|
:'capital_gain' => :'capitalGain',
|
138
|
-
:'
|
139
|
-
:'
|
140
|
-
:'
|
141
|
-
:'
|
142
|
-
:'
|
143
|
-
:'
|
144
|
-
:'
|
145
|
-
:'
|
146
|
-
:'
|
147
|
-
:'
|
222
|
+
:'federal_income_tax_withheld' => :'federalIncomeTaxWithheld',
|
223
|
+
:'employee_contributions_or_designated_roth_or_insurance_premiums' => :'employeeContributionsOrDesignatedRothOrInsurancePremiums',
|
224
|
+
:'net_unrealized_appreciation_in_employer_securities' => :'netUnrealizedAppreciationInEmployerSecurities',
|
225
|
+
:'distribution_code' => :'distributionCode',
|
226
|
+
:'second_distribution_code' => :'secondDistributionCode',
|
227
|
+
:'ira_sep_simple' => :'iraSepSimple',
|
228
|
+
:'traditional_ira_sep_simple_or_roth_conversion_amount' => :'traditionalIraSepSimpleOrRothConversionAmount',
|
229
|
+
:'other_amount' => :'otherAmount',
|
230
|
+
:'other_percentage' => :'otherPercentage',
|
231
|
+
:'total_distribution_percentage' => :'totalDistributionPercentage',
|
148
232
|
:'total_employee_contributions' => :'totalEmployeeContributions',
|
149
|
-
:'
|
150
|
-
:'
|
233
|
+
:'amount_allocable_to_irr_within5_years' => :'amountAllocableToIrrWithin5Years',
|
234
|
+
:'first_year_of_designated_roth_contribution' => :'firstYearOfDesignatedRothContribution',
|
151
235
|
:'date_of_payment' => :'dateOfPayment',
|
152
|
-
:'
|
236
|
+
:'fatca_filing_requirement' => :'fatcaFilingRequirement',
|
153
237
|
:'type' => :'type',
|
238
|
+
:'id' => :'id',
|
154
239
|
:'issuer_id' => :'issuerId',
|
155
240
|
:'issuer_reference_id' => :'issuerReferenceId',
|
156
241
|
:'issuer_tin' => :'issuerTin',
|
157
242
|
:'tax_year' => :'taxYear',
|
158
|
-
:'federal_efile' => :'federalEfile',
|
159
|
-
:'federal_efile_status' => :'federalEfileStatus',
|
160
|
-
:'state_efile' => :'stateEfile',
|
161
|
-
:'state_efile_status' => :'stateEfileStatus',
|
162
|
-
:'postal_mail' => :'postalMail',
|
163
|
-
:'postal_mail_status' => :'postalMailStatus',
|
164
|
-
:'tin_match' => :'tinMatch',
|
165
|
-
:'tin_match_status' => :'tinMatchStatus',
|
166
|
-
:'address_verification' => :'addressVerification',
|
167
|
-
:'address_verification_status' => :'addressVerificationStatus',
|
168
|
-
:'e_delivery_status' => :'eDeliveryStatus',
|
169
243
|
:'reference_id' => :'referenceId',
|
170
|
-
:'email' => :'email',
|
171
|
-
:'tin_type' => :'tinType',
|
172
|
-
:'fatca_filing_requirement' => :'fatcaFilingRequirement',
|
173
244
|
:'tin' => :'tin',
|
174
|
-
:'no_tin' => :'noTin',
|
175
|
-
:'second_tin_notice' => :'secondTinNotice',
|
176
245
|
:'recipient_name' => :'recipientName',
|
246
|
+
:'tin_type' => :'tinType',
|
177
247
|
:'recipient_second_name' => :'recipientSecondName',
|
178
248
|
:'address' => :'address',
|
179
249
|
:'address2' => :'address2',
|
180
250
|
:'city' => :'city',
|
181
251
|
:'state' => :'state',
|
182
252
|
:'zip' => :'zip',
|
183
|
-
:'
|
184
|
-
:'country_code' => :'countryCode',
|
253
|
+
:'email' => :'email',
|
185
254
|
:'account_number' => :'accountNumber',
|
186
255
|
:'office_code' => :'officeCode',
|
256
|
+
:'non_us_province' => :'nonUsProvince',
|
257
|
+
:'country_code' => :'countryCode',
|
258
|
+
:'federal_efile_date' => :'federalEfileDate',
|
259
|
+
:'postal_mail' => :'postalMail',
|
260
|
+
:'state_efile_date' => :'stateEfileDate',
|
261
|
+
:'recipient_edelivery_date' => :'recipientEdeliveryDate',
|
262
|
+
:'tin_match' => :'tinMatch',
|
263
|
+
:'no_tin' => :'noTin',
|
264
|
+
:'address_verification' => :'addressVerification',
|
265
|
+
:'state_and_local_withholding' => :'stateAndLocalWithholding',
|
266
|
+
:'second_tin_notice' => :'secondTinNotice',
|
267
|
+
:'federal_efile_status' => :'federalEfileStatus',
|
268
|
+
:'state_efile_status' => :'stateEfileStatus',
|
269
|
+
:'postal_mail_status' => :'postalMailStatus',
|
270
|
+
:'tin_match_status' => :'tinMatchStatus',
|
271
|
+
:'address_verification_status' => :'addressVerificationStatus',
|
272
|
+
:'e_delivery_status' => :'eDeliveryStatus',
|
187
273
|
:'validation_errors' => :'validationErrors',
|
188
274
|
:'created_at' => :'createdAt',
|
189
|
-
:'updated_at' => :'updatedAt'
|
190
|
-
:'state_and_local_withholding' => :'stateAndLocalWithholding'
|
275
|
+
:'updated_at' => :'updatedAt'
|
191
276
|
}
|
192
277
|
end
|
193
278
|
|
@@ -199,115 +284,127 @@ module AvalaraSdk::A1099::V2
|
|
199
284
|
# Attribute type mapping.
|
200
285
|
def self.openapi_types
|
201
286
|
{
|
202
|
-
:'
|
287
|
+
:'gross_distribution' => :'Float',
|
203
288
|
:'taxable_amount' => :'Float',
|
204
289
|
:'taxable_amount_not_determined' => :'Boolean',
|
205
|
-
:'
|
290
|
+
:'total_distribution_determined' => :'Boolean',
|
206
291
|
:'capital_gain' => :'Float',
|
207
|
-
:'
|
208
|
-
:'
|
209
|
-
:'
|
210
|
-
:'
|
211
|
-
:'
|
212
|
-
:'
|
213
|
-
:'
|
214
|
-
:'
|
215
|
-
:'
|
216
|
-
:'
|
292
|
+
:'federal_income_tax_withheld' => :'Float',
|
293
|
+
:'employee_contributions_or_designated_roth_or_insurance_premiums' => :'Float',
|
294
|
+
:'net_unrealized_appreciation_in_employer_securities' => :'Float',
|
295
|
+
:'distribution_code' => :'String',
|
296
|
+
:'second_distribution_code' => :'String',
|
297
|
+
:'ira_sep_simple' => :'Boolean',
|
298
|
+
:'traditional_ira_sep_simple_or_roth_conversion_amount' => :'Float',
|
299
|
+
:'other_amount' => :'Float',
|
300
|
+
:'other_percentage' => :'String',
|
301
|
+
:'total_distribution_percentage' => :'String',
|
217
302
|
:'total_employee_contributions' => :'Float',
|
218
|
-
:'
|
219
|
-
:'
|
220
|
-
:'date_of_payment' => :'
|
221
|
-
:'
|
303
|
+
:'amount_allocable_to_irr_within5_years' => :'Float',
|
304
|
+
:'first_year_of_designated_roth_contribution' => :'String',
|
305
|
+
:'date_of_payment' => :'Date',
|
306
|
+
:'fatca_filing_requirement' => :'Boolean',
|
222
307
|
:'type' => :'String',
|
223
|
-
:'
|
308
|
+
:'id' => :'String',
|
309
|
+
:'issuer_id' => :'String',
|
224
310
|
:'issuer_reference_id' => :'String',
|
225
311
|
:'issuer_tin' => :'String',
|
226
312
|
:'tax_year' => :'Integer',
|
227
|
-
:'federal_efile' => :'Boolean',
|
228
|
-
:'federal_efile_status' => :'Form1099StatusDetail',
|
229
|
-
:'state_efile' => :'Boolean',
|
230
|
-
:'state_efile_status' => :'Array<StateEfileStatusDetail>',
|
231
|
-
:'postal_mail' => :'Boolean',
|
232
|
-
:'postal_mail_status' => :'Form1099StatusDetail',
|
233
|
-
:'tin_match' => :'Boolean',
|
234
|
-
:'tin_match_status' => :'Form1099StatusDetail',
|
235
|
-
:'address_verification' => :'Boolean',
|
236
|
-
:'address_verification_status' => :'Form1099StatusDetail',
|
237
|
-
:'e_delivery_status' => :'Form1099StatusDetail',
|
238
313
|
:'reference_id' => :'String',
|
239
|
-
:'email' => :'String',
|
240
|
-
:'tin_type' => :'String',
|
241
|
-
:'fatca_filing_requirement' => :'Boolean',
|
242
314
|
:'tin' => :'String',
|
243
|
-
:'no_tin' => :'Boolean',
|
244
|
-
:'second_tin_notice' => :'Boolean',
|
245
315
|
:'recipient_name' => :'String',
|
316
|
+
:'tin_type' => :'String',
|
246
317
|
:'recipient_second_name' => :'String',
|
247
318
|
:'address' => :'String',
|
248
319
|
:'address2' => :'String',
|
249
320
|
:'city' => :'String',
|
250
321
|
:'state' => :'String',
|
251
322
|
:'zip' => :'String',
|
252
|
-
:'
|
253
|
-
:'country_code' => :'String',
|
323
|
+
:'email' => :'String',
|
254
324
|
:'account_number' => :'String',
|
255
325
|
:'office_code' => :'String',
|
326
|
+
:'non_us_province' => :'String',
|
327
|
+
:'country_code' => :'String',
|
328
|
+
:'federal_efile_date' => :'Date',
|
329
|
+
:'postal_mail' => :'Boolean',
|
330
|
+
:'state_efile_date' => :'Date',
|
331
|
+
:'recipient_edelivery_date' => :'Date',
|
332
|
+
:'tin_match' => :'Boolean',
|
333
|
+
:'no_tin' => :'Boolean',
|
334
|
+
:'address_verification' => :'Boolean',
|
335
|
+
:'state_and_local_withholding' => :'StateAndLocalWithholding',
|
336
|
+
:'second_tin_notice' => :'Boolean',
|
337
|
+
:'federal_efile_status' => :'Form1099StatusDetail',
|
338
|
+
:'state_efile_status' => :'Array<StateEfileStatusDetail>',
|
339
|
+
:'postal_mail_status' => :'Form1099StatusDetail',
|
340
|
+
:'tin_match_status' => :'Form1099StatusDetail',
|
341
|
+
:'address_verification_status' => :'Form1099StatusDetail',
|
342
|
+
:'e_delivery_status' => :'Form1099StatusDetail',
|
256
343
|
:'validation_errors' => :'Array<ValidationError>',
|
257
344
|
:'created_at' => :'Time',
|
258
|
-
:'updated_at' => :'Time'
|
259
|
-
:'state_and_local_withholding' => :'StateAndLocalWithholding'
|
345
|
+
:'updated_at' => :'Time'
|
260
346
|
}
|
261
347
|
end
|
262
348
|
|
263
349
|
# List of attributes with nullable: true
|
264
350
|
def self.openapi_nullable
|
265
351
|
Set.new([
|
266
|
-
:'
|
352
|
+
:'gross_distribution',
|
267
353
|
:'taxable_amount',
|
268
354
|
:'taxable_amount_not_determined',
|
269
|
-
:'
|
355
|
+
:'total_distribution_determined',
|
270
356
|
:'capital_gain',
|
271
|
-
:'
|
272
|
-
:'
|
273
|
-
:'
|
274
|
-
:'
|
275
|
-
:'
|
276
|
-
:'
|
277
|
-
:'
|
278
|
-
:'
|
279
|
-
:'
|
280
|
-
:'
|
357
|
+
:'federal_income_tax_withheld',
|
358
|
+
:'employee_contributions_or_designated_roth_or_insurance_premiums',
|
359
|
+
:'net_unrealized_appreciation_in_employer_securities',
|
360
|
+
:'distribution_code',
|
361
|
+
:'second_distribution_code',
|
362
|
+
:'ira_sep_simple',
|
363
|
+
:'traditional_ira_sep_simple_or_roth_conversion_amount',
|
364
|
+
:'other_amount',
|
365
|
+
:'other_percentage',
|
366
|
+
:'total_distribution_percentage',
|
281
367
|
:'total_employee_contributions',
|
282
|
-
:'
|
283
|
-
:'
|
368
|
+
:'amount_allocable_to_irr_within5_years',
|
369
|
+
:'first_year_of_designated_roth_contribution',
|
284
370
|
:'date_of_payment',
|
371
|
+
:'fatca_filing_requirement',
|
372
|
+
:'id',
|
373
|
+
:'issuer_id',
|
285
374
|
:'issuer_reference_id',
|
286
375
|
:'issuer_tin',
|
287
|
-
:'
|
288
|
-
:'postal_mail_status',
|
289
|
-
:'tin_match_status',
|
290
|
-
:'address_verification_status',
|
291
|
-
:'e_delivery_status',
|
376
|
+
:'tax_year',
|
292
377
|
:'reference_id',
|
293
|
-
:'email',
|
294
|
-
:'tin_type',
|
295
|
-
:'fatca_filing_requirement',
|
296
378
|
:'tin',
|
297
|
-
:'second_tin_notice',
|
298
379
|
:'recipient_name',
|
380
|
+
:'tin_type',
|
299
381
|
:'recipient_second_name',
|
300
382
|
:'address',
|
301
383
|
:'address2',
|
302
384
|
:'city',
|
303
385
|
:'state',
|
304
386
|
:'zip',
|
305
|
-
:'
|
306
|
-
:'country_code',
|
387
|
+
:'email',
|
307
388
|
:'account_number',
|
308
389
|
:'office_code',
|
390
|
+
:'non_us_province',
|
391
|
+
:'country_code',
|
392
|
+
:'federal_efile_date',
|
393
|
+
:'postal_mail',
|
394
|
+
:'state_efile_date',
|
395
|
+
:'recipient_edelivery_date',
|
396
|
+
:'tin_match',
|
397
|
+
:'no_tin',
|
398
|
+
:'address_verification',
|
399
|
+
:'state_and_local_withholding',
|
400
|
+
:'second_tin_notice',
|
401
|
+
:'federal_efile_status',
|
402
|
+
:'state_efile_status',
|
403
|
+
:'postal_mail_status',
|
404
|
+
:'tin_match_status',
|
405
|
+
:'address_verification_status',
|
406
|
+
:'e_delivery_status',
|
309
407
|
:'validation_errors',
|
310
|
-
:'state_and_local_withholding'
|
311
408
|
])
|
312
409
|
end
|
313
410
|
|
@@ -333,8 +430,8 @@ module AvalaraSdk::A1099::V2
|
|
333
430
|
h[k.to_sym] = v
|
334
431
|
}
|
335
432
|
|
336
|
-
if attributes.key?(:'
|
337
|
-
self.
|
433
|
+
if attributes.key?(:'gross_distribution')
|
434
|
+
self.gross_distribution = attributes[:'gross_distribution']
|
338
435
|
end
|
339
436
|
|
340
437
|
if attributes.key?(:'taxable_amount')
|
@@ -345,76 +442,84 @@ module AvalaraSdk::A1099::V2
|
|
345
442
|
self.taxable_amount_not_determined = attributes[:'taxable_amount_not_determined']
|
346
443
|
end
|
347
444
|
|
348
|
-
if attributes.key?(:'
|
349
|
-
self.
|
445
|
+
if attributes.key?(:'total_distribution_determined')
|
446
|
+
self.total_distribution_determined = attributes[:'total_distribution_determined']
|
350
447
|
end
|
351
448
|
|
352
449
|
if attributes.key?(:'capital_gain')
|
353
450
|
self.capital_gain = attributes[:'capital_gain']
|
354
451
|
end
|
355
452
|
|
356
|
-
if attributes.key?(:'
|
357
|
-
self.
|
453
|
+
if attributes.key?(:'federal_income_tax_withheld')
|
454
|
+
self.federal_income_tax_withheld = attributes[:'federal_income_tax_withheld']
|
358
455
|
end
|
359
456
|
|
360
|
-
if attributes.key?(:'
|
361
|
-
self.
|
457
|
+
if attributes.key?(:'employee_contributions_or_designated_roth_or_insurance_premiums')
|
458
|
+
self.employee_contributions_or_designated_roth_or_insurance_premiums = attributes[:'employee_contributions_or_designated_roth_or_insurance_premiums']
|
362
459
|
end
|
363
460
|
|
364
|
-
if attributes.key?(:'
|
365
|
-
self.
|
461
|
+
if attributes.key?(:'net_unrealized_appreciation_in_employer_securities')
|
462
|
+
self.net_unrealized_appreciation_in_employer_securities = attributes[:'net_unrealized_appreciation_in_employer_securities']
|
366
463
|
end
|
367
464
|
|
368
|
-
if attributes.key?(:'
|
369
|
-
self.
|
465
|
+
if attributes.key?(:'distribution_code')
|
466
|
+
self.distribution_code = attributes[:'distribution_code']
|
467
|
+
else
|
468
|
+
self.distribution_code = nil
|
370
469
|
end
|
371
470
|
|
372
|
-
if attributes.key?(:'
|
373
|
-
self.
|
471
|
+
if attributes.key?(:'second_distribution_code')
|
472
|
+
self.second_distribution_code = attributes[:'second_distribution_code']
|
374
473
|
end
|
375
474
|
|
376
|
-
if attributes.key?(:'
|
377
|
-
self.
|
475
|
+
if attributes.key?(:'ira_sep_simple')
|
476
|
+
self.ira_sep_simple = attributes[:'ira_sep_simple']
|
378
477
|
end
|
379
478
|
|
380
|
-
if attributes.key?(:'
|
381
|
-
self.
|
479
|
+
if attributes.key?(:'traditional_ira_sep_simple_or_roth_conversion_amount')
|
480
|
+
self.traditional_ira_sep_simple_or_roth_conversion_amount = attributes[:'traditional_ira_sep_simple_or_roth_conversion_amount']
|
382
481
|
end
|
383
482
|
|
384
|
-
if attributes.key?(:'
|
385
|
-
self.
|
483
|
+
if attributes.key?(:'other_amount')
|
484
|
+
self.other_amount = attributes[:'other_amount']
|
386
485
|
end
|
387
486
|
|
388
|
-
if attributes.key?(:'
|
389
|
-
self.
|
487
|
+
if attributes.key?(:'other_percentage')
|
488
|
+
self.other_percentage = attributes[:'other_percentage']
|
390
489
|
end
|
391
490
|
|
392
|
-
if attributes.key?(:'
|
393
|
-
self.
|
491
|
+
if attributes.key?(:'total_distribution_percentage')
|
492
|
+
self.total_distribution_percentage = attributes[:'total_distribution_percentage']
|
394
493
|
end
|
395
494
|
|
396
495
|
if attributes.key?(:'total_employee_contributions')
|
397
496
|
self.total_employee_contributions = attributes[:'total_employee_contributions']
|
398
497
|
end
|
399
498
|
|
400
|
-
if attributes.key?(:'
|
401
|
-
self.
|
499
|
+
if attributes.key?(:'amount_allocable_to_irr_within5_years')
|
500
|
+
self.amount_allocable_to_irr_within5_years = attributes[:'amount_allocable_to_irr_within5_years']
|
402
501
|
end
|
403
502
|
|
404
|
-
if attributes.key?(:'
|
405
|
-
self.
|
503
|
+
if attributes.key?(:'first_year_of_designated_roth_contribution')
|
504
|
+
self.first_year_of_designated_roth_contribution = attributes[:'first_year_of_designated_roth_contribution']
|
406
505
|
end
|
407
506
|
|
408
507
|
if attributes.key?(:'date_of_payment')
|
409
508
|
self.date_of_payment = attributes[:'date_of_payment']
|
410
509
|
end
|
411
510
|
|
412
|
-
if attributes.key?(:'
|
413
|
-
self.
|
511
|
+
if attributes.key?(:'fatca_filing_requirement')
|
512
|
+
self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
|
414
513
|
end
|
415
514
|
|
416
515
|
if attributes.key?(:'type')
|
417
516
|
self.type = attributes[:'type']
|
517
|
+
else
|
518
|
+
self.type = nil
|
519
|
+
end
|
520
|
+
|
521
|
+
if attributes.key?(:'id')
|
522
|
+
self.id = attributes[:'id']
|
418
523
|
end
|
419
524
|
|
420
525
|
if attributes.key?(:'issuer_id')
|
@@ -433,122 +538,134 @@ module AvalaraSdk::A1099::V2
|
|
433
538
|
self.tax_year = attributes[:'tax_year']
|
434
539
|
end
|
435
540
|
|
436
|
-
if attributes.key?(:'
|
437
|
-
self.
|
541
|
+
if attributes.key?(:'reference_id')
|
542
|
+
self.reference_id = attributes[:'reference_id']
|
438
543
|
end
|
439
544
|
|
440
|
-
if attributes.key?(:'
|
441
|
-
self.
|
545
|
+
if attributes.key?(:'tin')
|
546
|
+
self.tin = attributes[:'tin']
|
442
547
|
end
|
443
548
|
|
444
|
-
if attributes.key?(:'
|
445
|
-
self.
|
549
|
+
if attributes.key?(:'recipient_name')
|
550
|
+
self.recipient_name = attributes[:'recipient_name']
|
551
|
+
else
|
552
|
+
self.recipient_name = nil
|
446
553
|
end
|
447
554
|
|
448
|
-
if attributes.key?(:'
|
449
|
-
|
450
|
-
self.state_efile_status = value
|
451
|
-
end
|
555
|
+
if attributes.key?(:'tin_type')
|
556
|
+
self.tin_type = attributes[:'tin_type']
|
452
557
|
end
|
453
558
|
|
454
|
-
if attributes.key?(:'
|
455
|
-
self.
|
559
|
+
if attributes.key?(:'recipient_second_name')
|
560
|
+
self.recipient_second_name = attributes[:'recipient_second_name']
|
456
561
|
end
|
457
562
|
|
458
|
-
if attributes.key?(:'
|
459
|
-
self.
|
563
|
+
if attributes.key?(:'address')
|
564
|
+
self.address = attributes[:'address']
|
565
|
+
else
|
566
|
+
self.address = nil
|
460
567
|
end
|
461
568
|
|
462
|
-
if attributes.key?(:'
|
463
|
-
self.
|
569
|
+
if attributes.key?(:'address2')
|
570
|
+
self.address2 = attributes[:'address2']
|
464
571
|
end
|
465
572
|
|
466
|
-
if attributes.key?(:'
|
467
|
-
self.
|
573
|
+
if attributes.key?(:'city')
|
574
|
+
self.city = attributes[:'city']
|
575
|
+
else
|
576
|
+
self.city = nil
|
468
577
|
end
|
469
578
|
|
470
|
-
if attributes.key?(:'
|
471
|
-
self.
|
579
|
+
if attributes.key?(:'state')
|
580
|
+
self.state = attributes[:'state']
|
472
581
|
end
|
473
582
|
|
474
|
-
if attributes.key?(:'
|
475
|
-
self.
|
583
|
+
if attributes.key?(:'zip')
|
584
|
+
self.zip = attributes[:'zip']
|
476
585
|
end
|
477
586
|
|
478
|
-
if attributes.key?(:'
|
479
|
-
self.
|
587
|
+
if attributes.key?(:'email')
|
588
|
+
self.email = attributes[:'email']
|
480
589
|
end
|
481
590
|
|
482
|
-
if attributes.key?(:'
|
483
|
-
self.
|
591
|
+
if attributes.key?(:'account_number')
|
592
|
+
self.account_number = attributes[:'account_number']
|
484
593
|
end
|
485
594
|
|
486
|
-
if attributes.key?(:'
|
487
|
-
self.
|
595
|
+
if attributes.key?(:'office_code')
|
596
|
+
self.office_code = attributes[:'office_code']
|
488
597
|
end
|
489
598
|
|
490
|
-
if attributes.key?(:'
|
491
|
-
self.
|
599
|
+
if attributes.key?(:'non_us_province')
|
600
|
+
self.non_us_province = attributes[:'non_us_province']
|
492
601
|
end
|
493
602
|
|
494
|
-
if attributes.key?(:'
|
495
|
-
self.
|
603
|
+
if attributes.key?(:'country_code')
|
604
|
+
self.country_code = attributes[:'country_code']
|
605
|
+
else
|
606
|
+
self.country_code = nil
|
496
607
|
end
|
497
608
|
|
498
|
-
if attributes.key?(:'
|
499
|
-
self.
|
609
|
+
if attributes.key?(:'federal_efile_date')
|
610
|
+
self.federal_efile_date = attributes[:'federal_efile_date']
|
500
611
|
end
|
501
612
|
|
502
|
-
if attributes.key?(:'
|
503
|
-
self.
|
613
|
+
if attributes.key?(:'postal_mail')
|
614
|
+
self.postal_mail = attributes[:'postal_mail']
|
504
615
|
end
|
505
616
|
|
506
|
-
if attributes.key?(:'
|
507
|
-
self.
|
617
|
+
if attributes.key?(:'state_efile_date')
|
618
|
+
self.state_efile_date = attributes[:'state_efile_date']
|
508
619
|
end
|
509
620
|
|
510
|
-
if attributes.key?(:'
|
511
|
-
self.
|
621
|
+
if attributes.key?(:'recipient_edelivery_date')
|
622
|
+
self.recipient_edelivery_date = attributes[:'recipient_edelivery_date']
|
512
623
|
end
|
513
624
|
|
514
|
-
if attributes.key?(:'
|
515
|
-
self.
|
625
|
+
if attributes.key?(:'tin_match')
|
626
|
+
self.tin_match = attributes[:'tin_match']
|
516
627
|
end
|
517
628
|
|
518
|
-
if attributes.key?(:'
|
519
|
-
self.
|
629
|
+
if attributes.key?(:'no_tin')
|
630
|
+
self.no_tin = attributes[:'no_tin']
|
520
631
|
end
|
521
632
|
|
522
|
-
if attributes.key?(:'
|
523
|
-
self.
|
633
|
+
if attributes.key?(:'address_verification')
|
634
|
+
self.address_verification = attributes[:'address_verification']
|
524
635
|
end
|
525
636
|
|
526
|
-
if attributes.key?(:'
|
527
|
-
self.
|
637
|
+
if attributes.key?(:'state_and_local_withholding')
|
638
|
+
self.state_and_local_withholding = attributes[:'state_and_local_withholding']
|
528
639
|
end
|
529
640
|
|
530
|
-
if attributes.key?(:'
|
531
|
-
self.
|
641
|
+
if attributes.key?(:'second_tin_notice')
|
642
|
+
self.second_tin_notice = attributes[:'second_tin_notice']
|
532
643
|
end
|
533
644
|
|
534
|
-
if attributes.key?(:'
|
535
|
-
self.
|
645
|
+
if attributes.key?(:'federal_efile_status')
|
646
|
+
self.federal_efile_status = attributes[:'federal_efile_status']
|
536
647
|
end
|
537
648
|
|
538
|
-
if attributes.key?(:'
|
539
|
-
|
649
|
+
if attributes.key?(:'state_efile_status')
|
650
|
+
if (value = attributes[:'state_efile_status']).is_a?(Array)
|
651
|
+
self.state_efile_status = value
|
652
|
+
end
|
540
653
|
end
|
541
654
|
|
542
|
-
if attributes.key?(:'
|
543
|
-
self.
|
655
|
+
if attributes.key?(:'postal_mail_status')
|
656
|
+
self.postal_mail_status = attributes[:'postal_mail_status']
|
544
657
|
end
|
545
658
|
|
546
|
-
if attributes.key?(:'
|
547
|
-
self.
|
659
|
+
if attributes.key?(:'tin_match_status')
|
660
|
+
self.tin_match_status = attributes[:'tin_match_status']
|
548
661
|
end
|
549
662
|
|
550
|
-
if attributes.key?(:'
|
551
|
-
self.
|
663
|
+
if attributes.key?(:'address_verification_status')
|
664
|
+
self.address_verification_status = attributes[:'address_verification_status']
|
665
|
+
end
|
666
|
+
|
667
|
+
if attributes.key?(:'e_delivery_status')
|
668
|
+
self.e_delivery_status = attributes[:'e_delivery_status']
|
552
669
|
end
|
553
670
|
|
554
671
|
if attributes.key?(:'validation_errors')
|
@@ -564,10 +681,6 @@ module AvalaraSdk::A1099::V2
|
|
564
681
|
if attributes.key?(:'updated_at')
|
565
682
|
self.updated_at = attributes[:'updated_at']
|
566
683
|
end
|
567
|
-
|
568
|
-
if attributes.key?(:'state_and_local_withholding')
|
569
|
-
self.state_and_local_withholding = attributes[:'state_and_local_withholding']
|
570
|
-
end
|
571
684
|
end
|
572
685
|
|
573
686
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -575,6 +688,10 @@ module AvalaraSdk::A1099::V2
|
|
575
688
|
def list_invalid_properties
|
576
689
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
577
690
|
invalid_properties = Array.new
|
691
|
+
if @type.nil?
|
692
|
+
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
693
|
+
end
|
694
|
+
|
578
695
|
invalid_properties
|
579
696
|
end
|
580
697
|
|
@@ -582,19 +699,56 @@ module AvalaraSdk::A1099::V2
|
|
582
699
|
# @return true if the model is valid
|
583
700
|
def valid?
|
584
701
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
702
|
+
distribution_code_validator = EnumAttributeValidator.new('String', ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "W"])
|
703
|
+
return false unless distribution_code_validator.valid?(@distribution_code)
|
704
|
+
second_distribution_code_validator = EnumAttributeValidator.new('String', ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "W"])
|
705
|
+
return false unless second_distribution_code_validator.valid?(@second_distribution_code)
|
706
|
+
return false if @type.nil?
|
707
|
+
type_validator = EnumAttributeValidator.new('String', ["Form1099Nec", "Form1099Misc", "Form1099Div", "Form1099R", "Form1099K", "Form1095B", "Form1042S", "Form1095C", "Form1099Int"])
|
708
|
+
return false unless type_validator.valid?(@type)
|
709
|
+
tin_type_validator = EnumAttributeValidator.new('String', ["EIN", "SSN", "ITIN", "ATIN"])
|
710
|
+
return false unless tin_type_validator.valid?(@tin_type)
|
585
711
|
true
|
586
712
|
end
|
587
713
|
|
588
|
-
# Custom attribute writer method
|
589
|
-
# @param [Object]
|
590
|
-
def
|
591
|
-
|
714
|
+
# Custom attribute writer method checking allowed values (enum).
|
715
|
+
# @param [Object] distribution_code Object to be assigned
|
716
|
+
def distribution_code=(distribution_code)
|
717
|
+
validator = EnumAttributeValidator.new('String', ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "W"])
|
718
|
+
unless validator.valid?(distribution_code)
|
719
|
+
fail ArgumentError, "invalid value for \"distribution_code\", must be one of #{validator.allowable_values}."
|
720
|
+
end
|
721
|
+
@distribution_code = distribution_code
|
592
722
|
end
|
593
723
|
|
594
|
-
# Custom attribute writer method
|
595
|
-
# @param [Object]
|
596
|
-
def
|
597
|
-
|
724
|
+
# Custom attribute writer method checking allowed values (enum).
|
725
|
+
# @param [Object] second_distribution_code Object to be assigned
|
726
|
+
def second_distribution_code=(second_distribution_code)
|
727
|
+
validator = EnumAttributeValidator.new('String', ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "W"])
|
728
|
+
unless validator.valid?(second_distribution_code)
|
729
|
+
fail ArgumentError, "invalid value for \"second_distribution_code\", must be one of #{validator.allowable_values}."
|
730
|
+
end
|
731
|
+
@second_distribution_code = second_distribution_code
|
732
|
+
end
|
733
|
+
|
734
|
+
# Custom attribute writer method checking allowed values (enum).
|
735
|
+
# @param [Object] type Object to be assigned
|
736
|
+
def type=(type)
|
737
|
+
validator = EnumAttributeValidator.new('String', ["Form1099Nec", "Form1099Misc", "Form1099Div", "Form1099R", "Form1099K", "Form1095B", "Form1042S", "Form1095C", "Form1099Int"])
|
738
|
+
unless validator.valid?(type)
|
739
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
740
|
+
end
|
741
|
+
@type = type
|
742
|
+
end
|
743
|
+
|
744
|
+
# Custom attribute writer method checking allowed values (enum).
|
745
|
+
# @param [Object] tin_type Object to be assigned
|
746
|
+
def tin_type=(tin_type)
|
747
|
+
validator = EnumAttributeValidator.new('String', ["EIN", "SSN", "ITIN", "ATIN"])
|
748
|
+
unless validator.valid?(tin_type)
|
749
|
+
fail ArgumentError, "invalid value for \"tin_type\", must be one of #{validator.allowable_values}."
|
750
|
+
end
|
751
|
+
@tin_type = tin_type
|
598
752
|
end
|
599
753
|
|
600
754
|
# Checks equality by comparing each attribute.
|
@@ -602,64 +756,65 @@ module AvalaraSdk::A1099::V2
|
|
602
756
|
def ==(o)
|
603
757
|
return true if self.equal?(o)
|
604
758
|
self.class == o.class &&
|
605
|
-
|
759
|
+
gross_distribution == o.gross_distribution &&
|
606
760
|
taxable_amount == o.taxable_amount &&
|
607
761
|
taxable_amount_not_determined == o.taxable_amount_not_determined &&
|
608
|
-
|
762
|
+
total_distribution_determined == o.total_distribution_determined &&
|
609
763
|
capital_gain == o.capital_gain &&
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
764
|
+
federal_income_tax_withheld == o.federal_income_tax_withheld &&
|
765
|
+
employee_contributions_or_designated_roth_or_insurance_premiums == o.employee_contributions_or_designated_roth_or_insurance_premiums &&
|
766
|
+
net_unrealized_appreciation_in_employer_securities == o.net_unrealized_appreciation_in_employer_securities &&
|
767
|
+
distribution_code == o.distribution_code &&
|
768
|
+
second_distribution_code == o.second_distribution_code &&
|
769
|
+
ira_sep_simple == o.ira_sep_simple &&
|
770
|
+
traditional_ira_sep_simple_or_roth_conversion_amount == o.traditional_ira_sep_simple_or_roth_conversion_amount &&
|
771
|
+
other_amount == o.other_amount &&
|
772
|
+
other_percentage == o.other_percentage &&
|
773
|
+
total_distribution_percentage == o.total_distribution_percentage &&
|
620
774
|
total_employee_contributions == o.total_employee_contributions &&
|
621
|
-
|
622
|
-
|
775
|
+
amount_allocable_to_irr_within5_years == o.amount_allocable_to_irr_within5_years &&
|
776
|
+
first_year_of_designated_roth_contribution == o.first_year_of_designated_roth_contribution &&
|
623
777
|
date_of_payment == o.date_of_payment &&
|
624
|
-
|
778
|
+
fatca_filing_requirement == o.fatca_filing_requirement &&
|
625
779
|
type == o.type &&
|
780
|
+
id == o.id &&
|
626
781
|
issuer_id == o.issuer_id &&
|
627
782
|
issuer_reference_id == o.issuer_reference_id &&
|
628
783
|
issuer_tin == o.issuer_tin &&
|
629
784
|
tax_year == o.tax_year &&
|
630
|
-
federal_efile == o.federal_efile &&
|
631
|
-
federal_efile_status == o.federal_efile_status &&
|
632
|
-
state_efile == o.state_efile &&
|
633
|
-
state_efile_status == o.state_efile_status &&
|
634
|
-
postal_mail == o.postal_mail &&
|
635
|
-
postal_mail_status == o.postal_mail_status &&
|
636
|
-
tin_match == o.tin_match &&
|
637
|
-
tin_match_status == o.tin_match_status &&
|
638
|
-
address_verification == o.address_verification &&
|
639
|
-
address_verification_status == o.address_verification_status &&
|
640
|
-
e_delivery_status == o.e_delivery_status &&
|
641
785
|
reference_id == o.reference_id &&
|
642
|
-
email == o.email &&
|
643
|
-
tin_type == o.tin_type &&
|
644
|
-
fatca_filing_requirement == o.fatca_filing_requirement &&
|
645
786
|
tin == o.tin &&
|
646
|
-
no_tin == o.no_tin &&
|
647
|
-
second_tin_notice == o.second_tin_notice &&
|
648
787
|
recipient_name == o.recipient_name &&
|
788
|
+
tin_type == o.tin_type &&
|
649
789
|
recipient_second_name == o.recipient_second_name &&
|
650
790
|
address == o.address &&
|
651
791
|
address2 == o.address2 &&
|
652
792
|
city == o.city &&
|
653
793
|
state == o.state &&
|
654
794
|
zip == o.zip &&
|
655
|
-
|
656
|
-
country_code == o.country_code &&
|
795
|
+
email == o.email &&
|
657
796
|
account_number == o.account_number &&
|
658
797
|
office_code == o.office_code &&
|
798
|
+
non_us_province == o.non_us_province &&
|
799
|
+
country_code == o.country_code &&
|
800
|
+
federal_efile_date == o.federal_efile_date &&
|
801
|
+
postal_mail == o.postal_mail &&
|
802
|
+
state_efile_date == o.state_efile_date &&
|
803
|
+
recipient_edelivery_date == o.recipient_edelivery_date &&
|
804
|
+
tin_match == o.tin_match &&
|
805
|
+
no_tin == o.no_tin &&
|
806
|
+
address_verification == o.address_verification &&
|
807
|
+
state_and_local_withholding == o.state_and_local_withholding &&
|
808
|
+
second_tin_notice == o.second_tin_notice &&
|
809
|
+
federal_efile_status == o.federal_efile_status &&
|
810
|
+
state_efile_status == o.state_efile_status &&
|
811
|
+
postal_mail_status == o.postal_mail_status &&
|
812
|
+
tin_match_status == o.tin_match_status &&
|
813
|
+
address_verification_status == o.address_verification_status &&
|
814
|
+
e_delivery_status == o.e_delivery_status &&
|
659
815
|
validation_errors == o.validation_errors &&
|
660
816
|
created_at == o.created_at &&
|
661
|
-
updated_at == o.updated_at
|
662
|
-
state_and_local_withholding == o.state_and_local_withholding
|
817
|
+
updated_at == o.updated_at
|
663
818
|
end
|
664
819
|
|
665
820
|
# @see the `==` method
|
@@ -671,7 +826,7 @@ module AvalaraSdk::A1099::V2
|
|
671
826
|
# Calculates hash code according to all attributes.
|
672
827
|
# @return [Integer] Hash code
|
673
828
|
def hash
|
674
|
-
[
|
829
|
+
[gross_distribution, taxable_amount, taxable_amount_not_determined, total_distribution_determined, capital_gain, federal_income_tax_withheld, employee_contributions_or_designated_roth_or_insurance_premiums, net_unrealized_appreciation_in_employer_securities, distribution_code, second_distribution_code, ira_sep_simple, traditional_ira_sep_simple_or_roth_conversion_amount, other_amount, other_percentage, total_distribution_percentage, total_employee_contributions, amount_allocable_to_irr_within5_years, first_year_of_designated_roth_contribution, date_of_payment, 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
|
675
830
|
end
|
676
831
|
|
677
832
|
# Builds the object from hash
|